diff --git a/.gitignore b/.gitignore index f9a6690..42ec29c 100644 --- a/.gitignore +++ b/.gitignore @@ -97,7 +97,7 @@ publish/ # NuGet Packages Directory ## TODO: If you have NuGet Package Restore enabled, uncomment the next line -#packages/ +packages/ # Windows Azure Build Output csx diff --git a/app/DDWDResultHandler/App.config b/app/DDWDResultHandler/App.config index afa0e37..44be410 100644 --- a/app/DDWDResultHandler/App.config +++ b/app/DDWDResultHandler/App.config @@ -4,8 +4,8 @@
-
+
diff --git a/app/DDWDResultHandler/ServiceDDWDResultHandler.vbproj b/app/DDWDResultHandler/ServiceDDWDResultHandler.vbproj index 7d13592..21eb855 100644 --- a/app/DDWDResultHandler/ServiceDDWDResultHandler.vbproj +++ b/app/DDWDResultHandler/ServiceDDWDResultHandler.vbproj @@ -1,5 +1,6 @@  + Debug @@ -55,10 +56,10 @@ ..\..\..\DDMonorepo\Modules.Logging\bin\Debug\DigitalData.Modules.Logging.dll - ..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll + ..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.dll - ..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll + ..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll P:\Visual Studio Projekte\Bibliotheken\windream\Interop.WINDREAMLib.dll @@ -182,6 +183,14 @@ + + + Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}". + + + + + - - diff --git a/app/packages/EntityFramework.6.2.0/content/net40/Web.config.transform b/app/packages/EntityFramework.6.2.0/content/net40/Web.config.transform deleted file mode 100644 index 4fa1b95..0000000 --- a/app/packages/EntityFramework.6.2.0/content/net40/Web.config.transform +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/app/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.SqlServer.dll b/app/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.SqlServer.dll deleted file mode 100644 index 71df078..0000000 Binary files a/app/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.SqlServer.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.SqlServer.xml b/app/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.SqlServer.xml deleted file mode 100644 index cac2d74..0000000 --- a/app/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.SqlServer.xml +++ /dev/null @@ -1,1959 +0,0 @@ - - - - EntityFramework.SqlServer - - - - - An that retries actions that throw exceptions caused by SQL Azure transient failures. - - - This execution strategy will retry the operation on and - if the contains any of the following error numbers: - 40613, 40501, 40197, 10929, 10928, 10060, 10054, 10053, 233, 64 and 20 - - - - - Creates a new instance of . - - - The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor. - - - - - Creates a new instance of with the specified limits for - number of retries and the delay between retries. - - The maximum number of retry attempts. - The maximum delay in milliseconds between retries. - - - - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Returns the checksum of the values in a collection. Null values are ignored. - The checksum computed from the input collection. - The collection of values over which the checksum is computed. - - - Returns the checksum of the values in a collection. Null values are ignored. - The checksum computed from the input collection. - The collection of values over which the checksum is computed. - - - Returns the ASCII code value of the left-most character of a character expression. - The ASCII code of the first character in the input string. - A valid string. - - - Returns the character that corresponds to the specified integer ASCII value. - The character that corresponds to the specified ASCII value. - An ASCII code. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - - A of value that is the starting position of toFind if it is found in toSearch . - - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns an integer value that indicates the difference between the SOUNDEX values of two character expressions. - The SOUNDEX difference between the two strings. - The first string. - The second string. - - - Returns the Unicode character with the specified integer code, as defined by the Unicode standard. - The character that corresponds to the input character code. - A character code. - - - Returns the starting position of the first occurrence of a pattern in a specified expression, or zeros if the pattern is not found, on all valid text and character data types. - The starting character position where the string pattern was found. - A string pattern to search for. - The string to search. - - - Returns a Unicode string with the delimiters added to make the input string a valid Microsoft SQL Server delimited identifier. - The original string with brackets added. - The expression that quote characters will be added to. - - - Returns a Unicode string with the delimiters added to make the input string a valid Microsoft SQL Server delimited identifier. - The original string with the specified quote characters added. - The expression that quote characters will be added to. - The one-character string to use as the delimiter. It can be a single quotation mark ( ' ), a left or right bracket ( [ ] ), or a double quotation mark ( " ). If quote_character is not specified, brackets are used. - - - Repeats a string value a specified number of times. - The target string, repeated the number of times specified by count . - A valid string. - The value that specifies how many time to repeat target . - - - Converts an alphanumeric string to a four-character (SOUNDEX) code to find similar-sounding words or names. - The SOUNDEX code of the input string. - A valid string. - - - Returns a string of repeated spaces. - A string that consists of the specified number of spaces. - The number of spaces. If negative, a null string is returned. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point. - - - Inserts a string into another string. It deletes a specified length of characters in the target string at the start position and then inserts the second string into the target string at the start position. - A string consisting of the two strings. - The target string. - The character position in stringinput where the replacement string is to be inserted. - The number of characters to delete from stringInput . If length is longer than stringInput , deletion occurs up to the last character in stringReplacement . - The substring to be inserted into stringInput . - - - Returns the integer value, as defined by the Unicode standard, for the first character of the input expression. - The character code for the first character in the input string. - A valid string. - - - A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine. - The angle, in radians, defined by the input cosine value. - The cosine of an angle. - - - A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine. - An angle, measured in radians. - The cosine of an angle. - - - A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine. - An angle, measured in radians. - The sine of an angle. - - - A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine. - An angle, measured in radians. - The sine of an angle. - - - A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent. - An angle, measured in radians. - The tangent of an angle. - - - A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent. - An angle, measured in radians. - The tangent of an angle. - - - Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value. - An angle, measured in radians. - The y-coordinate of a point. - The x-coordinate of a point. - - - Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value. - An angle, measured in radians. - The y-coordinate of a point. - The x-coordinate of a point. - - - Returns the trigonometric cosine of the specified angle, in radians, in the specified expression. - The trigonometric cosine of the specified angle. - An angle, measured in radians. - - - Returns the trigonometric cosine of the specified angle, in radians, in the specified expression. - The trigonometric cosine of the specified angle. - An angle, measured in radians. - - - A mathematical function that returns the trigonometric cotangent of the specified angle, in radians. - The trigonometric cotangent of the specified angle. - An angle, measured in radians. - - - A mathematical function that returns the trigonometric cotangent of the specified angle, in radians. - The trigonometric cotangent of the specified angle. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the exponential value of the specified float expression. - The constant e raised to the power of the input value. - The input value. - - - Returns the exponential value of the specified float expression. - The constant e raised to the power of the input value. - The input value. - - - Returns the natural logarithm of the specified input value. - The natural logarithm of the input value. - A numeric expression. - - - Returns the natural logarithm of the specified input value. - The natural logarithm of the input value. - A numeric expression. - - - Returns the base-10 logarithm of the specified input value. - The base-10 logarithm of the input value. - A numeric expression. - - - Returns the base-10 logarithm of the specified input value. - The base-10 logarithm of the input value. - A numeric expression. - - - Returns the constant value of pi. - The numeric value of pi. - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees. - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees. - - - Returns a pseudo-random float value from 0 through 1, exclusive. - The pseudo-random value. - - - Returns a pseudo-random float value from 0 through 1, exclusive. - The pseudo-random value. - The seed value. If seed is not specified, the SQL Server Database Engine assigns a seed value at random. For a specified seed value, the result returned is always the same. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the trigonometric sine of the specified angle. - The trigonometric sine of the input expression. - An angle, measured in radians. - - - Returns the trigonometric sine of the specified angle. - The trigonometric sine of the input expression. - An angle, measured in radians. - - - Returns the square root of the specified number. - The square root of the input value. - A numeric expression. - - - Returns the square root of the specified number. - The square root of the input value. - A numeric expression. - - - Returns the square of the specified number. - The square of the input value. - A numeric expression. - - - Returns the square of the specified number. - The square of the input value. - A numeric expression. - - - Returns the trigonometric tangent of the input expression. - The tangent of the input angle. - An angle, measured in radians. - - - Returns the trigonometric tangent of the input expression. - The tangent of the input angle. - An angle, measured in radians. - - - Returns a new datetime value based on adding an interval to the specified date. - The new date. - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns a new time span value based on adding an interval to the specified time span. - The new time span. - The part of the date to increment. - The value used to increment a date by a specified amount. - The time span to increment. - - - Returns a new date value based on adding an interval to the specified date. - The new point in time, expressed as a date and time of day, relative to Coordinated Universal Time (UTC). - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns a new datetime value based on adding an interval to the specified date. - - A of value that is the new date. - - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The value specifying the number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two Dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The the specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns the current database system timestamp as a datetime value without the database time zone offset. This value is derived from the operating system of the computer on which the instance of SQL Server is running. - The current database timestamp. - - - Returns the current database system timestamp as a datetime value. The database time zone offset is not included. This value represents the current UTC time (Coordinated Universal Time). This value is derived from the operating system of the computer on which the instance of SQL Server is running. - The current database UTC timestamp. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input values. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the current date and time. - The current date and time. - - - Returns the name of the current user. - The name of the current user. - - - Returns the workstation name. - The name of the workstation. - - - Returns a database user name corresponding to a specified identification number. - The user name. - A user ID. - - - Returns a database user name corresponding to a specified identification number. - The user name. - - - Indicates whether the input value is a valid numeric type. - 1 if the input expression is a valid numeric data type; otherwise, 0. - A string expression. - - - Indicates whether the input value is a valid date or time. - 1 if the input expression is a valid date or time value of datetime or smalldatetime data types; otherwise, 0. - The tested value. - - - - Provider to convert provider agnostic migration operations into SQL commands - that can be run against a Microsoft SQL Server database. - - - - - Determines if a provider specific exception corresponds to a database-level permission denied error. - - The database exception. - true if the supplied exception corresponds to a database-level permission denied error; otherwise false. - - - - Converts a set of migration operations into Microsoft SQL Server specific SQL. - - The operations to be converted. - Token representing the version of SQL Server being targeted (i.e. "2005", "2008"). - A list of SQL statements to be executed to perform the migration operations. - - - - Generates the SQL body for a stored procedure. - - The command trees representing the commands for an insert, update or delete operation. - The rows affected parameter name. - The provider manifest token. - The SQL body for the stored procedure. - - - - Generates the specified update database operation which represents applying a series of migrations. - The generated script is idempotent, meaning it contains conditional logic to check if individual migrations - have already been applied and only apply the pending ones. - - The update database operation. - - - - Generates SQL for a . - Allows derived providers to handle additional operation types. - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Creates an empty connection for the current provider. - Allows derived providers to use connection other than . - - An empty connection for the current provider. - - - - Generates the specified create procedure operation. - - The create procedure operation. - - - - Generates the specified alter procedure operation. - - The alter procedure operation. - - - - Generates the specified drop procedure operation. - - The drop procedure operation. - - - - Generates SQL for a . This method differs from - in that it will - create the target database schema if it does not already exist. - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Writes CREATE TABLE SQL to the target writer. - - The operation to produce SQL for. - The target writer. - - - - Override this method to generate SQL when the definition of a table or its attributes are changed. - The default implementation of this method does nothing. - - The operation describing changes to the table. - - - - Generates SQL to mark a table as a system table. - Generated SQL should be added using the Statement method. - - The table to mark as a system table. - The to write the generated SQL to. - - - - Generates SQL to create a database schema. - Generated SQL should be added using the Statement method. - - The name of the schema to create. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Call this method to generate SQL that will attempt to drop the default constraint created - when a column is created. This method is usually called by code that overrides the creation or - altering of columns. - - The table to which the constraint applies. - The column to which the constraint applies. - The writer to which generated SQL should be written. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement or StatementBatch methods. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates the specified rename procedure operation. - - The rename procedure operation. - - - - Generates the specified move procedure operation. - - The move procedure operation. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for the given column model. This method is called by other methods that - process columns and can be overridden to change the SQL generated. - - The column for which SQL is being generated. - The writer to which generated SQL should be written. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL to specify a constant byte[] default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant bool default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant DateTime default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant DateTimeOffset default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant Guid default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant string default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant TimeSpan default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant geogrpahy default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant geometry default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify the data type of a column. - This method just generates the actual type, not the SQL to create the column. - - The definition of the column. - SQL representing the data type. - - - - Generates a quoted name. The supplied name may or may not contain the schema. - - The name to be quoted. - The quoted name. - - - - Quotes an identifier for SQL Server. - - The identifier to be quoted. - The quoted identifier. - - - - Adds a new Statement to be executed against the database. - - The statement to be executed. - Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. - The batch terminator for the database provider. - - - - Gets a new that can be used to build SQL. - This is just a helper method to create a writer. Writing to the writer will - not cause SQL to be registered for execution. You must pass the generated - SQL to the Statement method. - - An empty text writer to use for SQL generation. - - - - Adds a new Statement to be executed against the database. - - The writer containing the SQL to be executed. - The batch terminator for the database provider. - - - - Breaks sql string into one or more statements, handling T-SQL utility statements as necessary. - - The SQL to split into one ore more statements to be executed. - Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. - - - - Returns the column default value to use for store-generated GUID columns when - no default value is explicitly specified in the migration. - Returns newsequentialid() for on-premises SQL Server 2005 and later. - Returns newid() for SQL Azure. - - Either newsequentialid() or newid() as described above. - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Constructs a geography instance representing a Point instance from its x and y values and a spatial reference ID (SRID). - The constructed geography instance. - The x-coordinate of the Point being generated. - The y-coordinate of the Point being generated - The SRID of the geography instance. - - - Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance. - The Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance. - The geography value. - - - Returns a geometric object representing the union of all point values whose distance from a geography instance is less than or equal to a specified value, allowing for a specified tolerance. - The union of all point values whose distance from a geography instance is less than or equal to a specified value - The geography value. - The distance. - The specified tolerance. - Specifying whether the tolerance value is relative or absolute. - - - Returns the maximum angle between the point returned by EnvelopeCenter() and a point in the geography instance in degrees. - the maximum angle between the point returned by EnvelopeCenter(). - The geography value. - - - Returns a point that can be used as the center of a bounding circle for the geography instance. - A SqlGeography value that specifies the location of the center of a bounding circle. - The geography value. - - - Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available. - True if a geography instance potentially intersects another SqlGeography instance; otherwise, false. - The geography value. - Another geography instance to compare against the instance on which Filter is invoked. - - - Tests if the SqlGeography instance is the same as the specified type. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - The geography value. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - - - Returns the total number of rings in a Polygon instance. - The total number of rings. - The geography value. - - - Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance. - - Returns . - - The geography value. - The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number. - - - Returns the specified ring of the SqlGeography instance: 1 ≤ n ≤ NumRings(). - A SqlGeography object that represents the ring specified by n. - The geography value. - An int expression between 1 and the number of rings in a polygon instance. - - - Constructs a geometry instance representing a Point instance from its x and y values and a spatial reference ID (SRID). - The constructed geometry instance. - The x-coordinate of the Point being generated. - The y-coordinate of the Point being generated - The SRID of the geography instance. - - - Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance. - The Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geometry instance. - The geometry value. - - - Returns a geometric object representing the union of all point values whose distance from a geometry instance is less than or equal to a specified value, allowing for a specified tolerance. - The union of all point values whose distance from a geometry instance is less than or equal to a specified value - The geometry value. - The distance. - The specified tolerance. - Specifying whether the tolerance value is relative or absolute. - - - Tests if the SqlGeometry instance is the same as the specified type. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - The geometry value. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - - - Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available. - True if a geography instance potentially intersects another SqlGeography instance; otherwise, false. - The geometry value. - Another geography instance to compare against the instance on which Filter is invoked. - - - Converts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium (OGC) type. - The converted geometry instance. - The geometry value. - - - Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance. - - Returns . - - The geometry value. - The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number. - - - - Indicates if the provider supports the parameter optimization described in EntityFramework6 GitHub issue #195. - - True since this provider supports the parameter optimization. - - - - The DbProviderServices implementation for the SqlClient provider for SQL Server. - - - Note that instance of this type also resolve additional provider services for Microsoft SQL Server - when this type is registered as an EF provider either using an entry in the application's config file - or through code-based registration in . - The services resolved are: - Requests for are resolved to a Singleton instance of - to create connections to SQL Express by default. - Requests for for the invariant name "System.Data.SqlClient" - for any server name are resolved to a delegate that returns a - to provide a non-retrying policy for SQL Server. - Requests for for the invariant name "System.Data.SqlClient" are - resolved to instances to provide default Migrations SQL - generation for SQL Server. - Requests for for the invariant name "System.Data.SqlClient" are - resolved to a Singleton instance of to provide default spatial - services for SQL Server. - - - - - This is the well-known string using in configuration files and code-based configuration as - the "provider invariant name" used to specify Microsoft SQL Server for ADO.NET and - Entity Framework provider services. - - - - - Registers a handler to process non-error messages coming from the database provider. - - The connection to receive information for. - The handler to process messages. - - - - Create a Command Definition object, given the connection and command tree - - provider manifest that was determined from metadata - command tree for the statement - an executable command definition object - - - - See issue 2390 - cloning the DesignTimeVisible property on the - can cause deadlocks. - So here overriding to provide a method that does not clone DesignTimeVisible. - - the object to clone - a clone of the - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - - Returns provider manifest token for a given connection. - - Connection to find manifest token from. - The provider manifest token for the specified connection. - - - - Returns the provider manifest by using the specified version information. - - The token information associated with the provider manifest. - The provider manifest by using the specified version information. - - - - Gets a spatial data reader for SQL Server. - - The reader where the spatial data came from. - The manifest token associated with the provider manifest. - The spatial data reader. - - - - Gets a spatial data reader for SQL Server. - - The manifest token associated with the provider manifest. - The spatial data reader. - - - - Generates a data definition language (DDL) script that creates schema objects - (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection - parameter and targeted for the version of the database corresponding to the provider manifest token. - - The provider manifest token identifying the target version. - The structure of the database. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter - and targeted for the version of the database corresponding to the provider manifest token. - - - - - Create the database and the database objects. - If initial catalog is not specified, but AttachDBFilename is specified, we generate a random database name based on the AttachDBFilename. - Note: this causes pollution of the db, as when the connection string is later used, the mdf will get attached under a different name. - However if we try to replicate the name under which it would be attached, the following scenario would fail: - The file does not exist, but registered with database. - The user calls: If (DatabaseExists) DeleteDatabase - CreateDatabase - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - - Determines whether the database for the given connection exists. - There are three cases: - 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 then true, - if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise - if the there are no databases corresponding to the given file return false, otherwise throw. - Note: We open the connection to cover the scenario when the mdf exists, but is not attached. - Given that opening the connection would auto-attach it, it would not be appropriate to return false in this case. - Also note that checking for the existence of the file does not work for a remote server. (Dev11 #290487) - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - True if the provider can deduce the database only based on the connection. - - - - Determines whether the database for the given connection exists. - There are three cases: - 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 then true, - if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise - if the there are no databases corresponding to the given file return false, otherwise throw. - Note: We open the connection to cover the scenario when the mdf exists, but is not attached. - Given that opening the connection would auto-attach it, it would not be appropriate to return false in this case. - Also note that checking for the existence of the file does not work for a remote server. (Dev11 #290487) - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - True if the provider can deduce the database only based on the connection. - - - - Delete the database for the given connection. - There are three cases: - 1. If Initial Catalog is specified (X) drop database X - 2. Else if AttachDBFilename is specified (F) drop all the databases corresponding to F - if none throw - 3. If niether the catalog not the file name is specified - throw - Note that directly deleting the files does not work for a remote server. However, even for not attached - databases the current logic would work assuming the user does: if (DatabaseExists) DeleteDatabase - - Connection - Timeout for internal commands. - Item Collection. - - - - Clones the connection. - - The original connection. - The factory to use. - Cloned connection - - - - The Singleton instance of the SqlProviderServices type. - - - - - Set to the full name of the Microsoft.SqlServer.Types assembly to override the default selection - - - - - Get or sets a value indicating whether parameter values are truncated to - the scale (number of decimal places) defined for their corresponding columns when they are sent - to the database. A value of true indicates that objects - created for columns will have their - properties set, which will cause the parameter values to be truncated. If set to false - then the properties will not be set, avoiding the truncation - behavior of and allowing SQL Server to round values if necessary. - The default value is true to prevent breaking existing applications that depend on this - behavior. - - - - - Gets or sets a value indicating whether to use the SCOPE_IDENTITY() function to retrieve values - generated by the database for numeric columns during an INSERT operation. The default value of - true is recommended and can provide better performance if all numeric values are generated - using IDENTITY columns. If set to false, an OUTPUT clause will be used instead. An OUTPUT - clause makes it possible to retrieve values generated by sequences or other means. - - - - - Gets or sets a value indicating whether the ROW_NUMBER() function is used in sort expression - passed to the ORDER BY clause when OFFSET is present in query. The default value of true - is recommended to obtain query results that are stable for paging operations. The value of - false can be used for compatibility with previous versions of EF and will cause the sort - expression to be passed unmodified to the ORDER BY clause, which can lead to unstable results - if the ordering is ambiguous. - - - This flag only applies to SQL Server 2012 or later. This flag does not affect queries that have - already been translated to SQL and cached, therefore applications that need to set the value to - false for compatibility should do so before executing any queries. - - - - - An implementation of to provide support for geospatial types when using - Entity Framework with Microsoft SQL Server. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.dll b/app/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.dll deleted file mode 100644 index 21e93bb..0000000 Binary files a/app/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.xml b/app/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.xml deleted file mode 100644 index 01e86ef..0000000 --- a/app/packages/EntityFramework.6.2.0/lib/net40/EntityFramework.xml +++ /dev/null @@ -1,45898 +0,0 @@ - - - - EntityFramework - - - - - Represents a result mapping for a function import. - - - - - Base class for items in the mapping space (DataSpace.CSSpace) - - - - - Adds a type mapping. - - The type mapping to add. - - - - Removes a type mapping. - - The type mapping to remove. - - - - Gets the type mappings. - - - - - Specifies a mapping condition evaluated by checking whether the value - of the a property/column is null or not null. - - - - - Mapping metadata for Conditional property mapping on a type. - Condition Property Mapping specifies a Condition either on the C side property or S side property. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ConditionProperyMap ( constant value-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --ConditionProperyMap ( constant value-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the condition property map elements in the - above example. - - - - - Mapping metadata for all types of property mappings. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all property map elements in the - above example. This includes the scalar property maps, complex property maps - and end property maps. - - - - - Gets an EdmProperty that specifies the mapped property. - - - - - Gets an EdmProperty that specifies the mapped property. - - - - - Gets an EdmProperty that specifies the mapped column. - - - - - Creates an IsNullConditionMapping instance. - - An EdmProperty that specifies a property or column. - A boolean that indicates whether to perform a null or a not-null check. - - - - Gets a bool that specifies whether the condition is evaluated by performing a null check - or a not-null check. - - - - - Specifies a mapping condition evaluated by comparing the value of - a property or column with a given value. - - - - - Creates a ValueConditionMapping instance. - - An EdmProperty that specifies a property or column. - An object that specifies the value to compare with. - - - - Gets an object that specifies the value to check against. - - - - - Serializes an that conforms to the restrictions of a single - CSDL schema file to an XML writer. The model to be serialized must contain a single - . - - - - - Serialize the to the XmlWriter. - - - The EdmModel to serialize. - - The XmlWriter to serialize to. - The serialized model's namespace. - true if the model is valid; otherwise, false. - - - - Occurs when an error is encountered serializing the model. - - - - - Information about an error that occurred processing an Entity Framework model. - - - - - Gets an optional value indicating which property of the source item caused the event to be raised. - - - - - Gets an optional descriptive message the describes the error that is being raised. - - - - - Gets a value indicating the that caused the event to be raised. - - - - - Contains additional attributes and properties of the - - - Note that objects are short lived and exist only to - make initialization easier. Instance of this type are not - compared to each other and arrays returned by array properties are copied to internal - collections in the ctor. Therefore it is fine to suppress the - Code Analysis messages. - - - - Gets or sets the function schema. - The function schema. - - - Gets or sets the store function name. - The store function name. - - - Gets or sets the command text associated with the function. - The command text associated with the function. - - - Gets or sets the entity sets for the function. - The entity sets for the function. - - - Gets a value that indicates whether this is an aggregate function. - true if this is an aggregate function; otherwise, false. - - - Gets or sets whether this function is a built-in function. - true if this function is a built-in function; otherwise, false. - - - Gets or sets whether the function contains no arguments. - true if the function contains no arguments; otherwise, false. - - - Gets or sets whether this function can be composed. - true if this function can be composed; otherwise, false. - - - Gets or sets whether this function is from a provider manifest. - true if this function is from a provider manifest; otherwise, false. - - - Gets or sets whether this function is a cached store function. - true if this function is a cached store function; otherwise, false. - - - Gets or sets whether this function is a function import. - true if this function is a function import; otherwise, false. - - - Gets or sets the return parameters. - The return parameters. - - - Gets or sets the parameter type semantics. - The parameter type semantics. - - - Gets or sets the function parameters. - The function parameters. - - - - Serializes the storage (database) section of an to XML. - - - - - Serialize the to the - - The EdmModel to serialize - Provider information on the Schema element - ProviderManifestToken information on the Schema element - The XmlWriter to serialize to - A value indicating whether to serialize Nullable attributes when they are set to the default value. - true if model can be serialized, otherwise false - - - - Serialize the to the - - The EdmModel to serialize - Namespace name on the Schema element - Provider information on the Schema element - ProviderManifestToken information on the Schema element - The XmlWriter to serialize to - A value indicating whether to serialize Nullable attributes when they are set to the default value. - true if model can be serialized, otherwise false - - - - Occurs when an error is encountered serializing the model. - - - - Visits each element of an expression tree from a given root expression. If any element changes, the tree is rebuilt back to the root and the new root expression is returned; otherwise the original root expression is returned. - - - Defines the basic functionality that should be implemented by visitors that return a result value of a specific type. - The type of the result produced by the visitor. - - - When overridden in a derived class, handles any expression of an unrecognized type. - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern method for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - Typed visitor pattern method for DbInExpression. - - The DbInExpression that is being visited. - An instance of TResultType. - - - - Initializes a new instance of the - - class. - - - - Replaces an old expression with a new one for the expression visitor. - The old expression. - The new expression. - - - Represents an event when the variable is rebound for the expression visitor. - The location of the variable. - The reference of the variable where it is rebounded. - - - Represents an event when entering the scope for the expression visitor with specified scope variables. - The collection of scope variables. - - - Exits the scope for the expression visitor. - - - Implements the visitor pattern for the expression. - The implemented visitor pattern. - The expression. - - - Implements the visitor pattern for the expression list. - The implemented visitor pattern. - The expression list. - - - Implements the visitor pattern for expression binding. - The implemented visitor pattern. - The expression binding. - - - Implements the visitor pattern for the expression binding list. - The implemented visitor pattern. - The expression binding list. - - - Implements the visitor pattern for the group expression binding. - The implemented visitor pattern. - The binding. - - - Implements the visitor pattern for the sort clause. - The implemented visitor pattern. - The sort clause. - - - Implements the visitor pattern for the sort order. - The implemented visitor pattern. - The sort order. - - - Implements the visitor pattern for the aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the function aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the group aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the Lambda function. - The implemented visitor pattern. - The lambda function. - - - Implements the visitor pattern for the type. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the type usage. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the entity set. - The implemented visitor pattern. - The entity set. - - - Implements the visitor pattern for the function. - The implemented visitor pattern. - The function metadata. - - - Implements the visitor pattern for the basic functionality required by expression types. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the different kinds of constants. - The implemented visitor. - The constant expression. - - - Implements the visitor pattern for a reference to a typed null literal. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a reference to a variable that is currently in scope. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a reference to a parameter declared on the command tree that contains this expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for an invocation of a function. - The implemented visitor. - The function expression. - - - Implements the visitor pattern for the application of a lambda function to arguments represented by DbExpression objects. - The implemented visitor. - The expression. - - - Implements the visitor pattern for retrieving an instance property. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the comparison operation applied to two arguments. - The implemented visitor. - The cast expression. - - - Implements the visitor pattern for a string comparison against the specified pattern with an optional escape string. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the restriction of the number of elements in the argument collection to the specified limit value. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the null determination applied to a single argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the arithmetic operation applied to numeric arguments. - The implemented visitor. - The arithmetic expression. - - - Implements the visitor pattern for the logical AND expression. - The implemented visitor. - The logical AND expression. - - - Implements the visitor pattern for the logical OR of two Boolean arguments. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the DbInExpression. - The implemented visitor. - The DbInExpression that is being visited. - - - Implements the visitor pattern for the logical NOT of a single Boolean argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the removed duplicate elements from the specified set argument. - The implemented visitor. - The distinct expression. - - - Implements the visitor pattern for the conversion of the specified set argument to a singleton the conversion of the specified set argument to a singleton. - The implemented visitor. - The element expression. - - - Implements the visitor pattern for an empty set determination applied to a single set argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set union operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set intersection operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set subtraction operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a type conversion operation applied to a polymorphic argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the type comparison of a single argument against the specified type. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the type conversion of a single argument to the specified type. - The implemented visitor. - The cast expression. - - - Implements the visitor pattern for the When, Then, and Else clauses. - The implemented visitor. - The case expression. - - - Implements the visitor pattern for the retrieval of elements of the specified type from the given set argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the construction of a new instance of a given type, including set and record types. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a strongly typed reference to a specific instance within an entity set. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the navigation of a relationship. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the expression that retrieves an entity based on the specified reference. - The implemented visitor. - The DEREF expression. - - - Implements the visitor pattern for the retrieval of the key value from the underlying reference value. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the expression that extracts a reference from the underlying entity instance. - The implemented visitor. - The entity reference expression. - - - Implements the visitor pattern for a scan over an entity set or relationship set, as indicated by the Target property. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a predicate applied to filter an input set. - The implemented visitor. - The filter expression. - - - Implements the visitor pattern for the projection of a given input set over the specified expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the unconditional join operation between the given collection arguments. - The implemented visitor. - The join expression. - - - Implements the visitor pattern for an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the invocation of the specified function for each element in the specified input set. - The implemented visitor. - The APPLY expression. - - - Implements the visitor pattern for a group by operation. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the skip expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a sort key that can be used as part of the sort order. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a quantifier operation of the specified kind over the elements of the specified input set. - The implemented visitor. - The expression. - - - - When this attribute is placed on a property it indicates that the database column to which the - property is mapped has an index. - - - This attribute is used by Entity Framework Migrations to create indexes on mapped database columns. - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - Creates a instance for an index that will be named by convention and - has no column order, clustering, or uniqueness specified. - - - - - Creates a instance for an index with the given name and - has no column order, clustering, or uniqueness specified. - - The index name. - - - - Creates a instance for an index with the given name and column order, - but with no clustering or uniqueness specified. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - The index name. - A number which will be used to determine column ordering for multi-column indexes. - - - - Returns true if this attribute specifies the same name and configuration as the given attribute. - - The attribute to compare. - True if the other object is equal to this object; otherwise false. - - - - - - - Returns true if this attribute specifies the same name and configuration as the given attribute. - - The attribute to compare. - True if the other object is equal to this object; otherwise false. - - - - - - - The index name. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - A number which will be used to determine column ordering for multi-column indexes. This will be -1 if no - column order has been specified. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - Set this property to true to define a clustered index. Set this property to false to define a - non-clustered index. - - - The value of this property is only relevant if returns true. - If returns false, then the value of this property is meaningless. - - - - - Returns true if has been set to a value. - - - - - Set this property to true to define a unique index. Set this property to false to define a - non-unique index. - - - The value of this property is only relevant if returns true. - If returns false, then the value of this property is meaningless. - - - - - Returns true if has been set to a value. - - - - - Returns a different ID for each object instance such that type descriptors won't - attempt to combine all IndexAttribute instances into a single instance. - - - - - A class derived from this class can be placed in the same assembly as a class derived from - to define Entity Framework configuration for an application. - Configuration is set by calling protected methods and setting protected properties of this - class in the constructor of your derived type. - The type to use can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Any class derived from must have a public parameterless constructor - and that constructor should call this constructor. - - - - - The Singleton instance of for this app domain. This can be - set at application start before any Entity Framework features have been used and afterwards - should be treated as read-only. - - The instance of . - - - - Attempts to discover and load the associated with the given - type. This method is intended to be used by tooling to ensure that - the correct configuration is loaded into the app domain. Tooling should use this method - before accessing the property. - - A type to use for configuration discovery. - - - - Attempts to discover and load the from the given assembly. - This method is intended to be used by tooling to ensure that the correct configuration is loaded into - the app domain. Tooling should use this method before accessing the - property. If the tooling knows the type being used, then the - method should be used since it gives a greater chance that - the correct configuration will be found. - - An to use for configuration discovery. - - - - Call this method from the constructor of a class derived from to - add a instance to the Chain of Responsibility of resolvers that - are used to resolve dependencies needed by the Entity Framework. - - - Resolvers are asked to resolve dependencies in reverse order from which they are added. This means - that a resolver can be added to override resolution of a dependency that would already have been - resolved in a different way. - The exceptions to this is that any dependency registered in the application's config file - will always be used in preference to using a dependency resolver added here. - - The resolver to add. - - - - Call this method from the constructor of a class derived from to - add a instance to the Chain of Responsibility of resolvers that - are used to resolve dependencies needed by the Entity Framework. Unlike the AddDependencyResolver - method, this method puts the resolver at the bottom of the Chain of Responsibility such that it will only - be used to resolve a dependency that could not be resolved by any of the other resolvers. - - - A implementation is automatically registered as a default resolver - when it is added with a call to . This allows EF providers to act as - resolvers for other services that may need to be overridden by the provider. - - The resolver to add. - - - - Call this method from the constructor of a class derived from to register - an Entity Framework provider. - - - Note that the provider is both registered as a service itself and also registered as a default resolver with - a call to AddDefaultResolver. This allows EF providers to act as resolvers for other services that - may need to be overridden by the provider. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - and also using AddDefaultResolver to add the provider as a default - resolver. This means that, if desired, the same functionality can be achieved using a custom resolver or a - resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The provider instance. - - - - Call this method from the constructor of a class derived from to register - an ADO.NET provider. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolvers for - and . This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The provider instance. - - - - Call this method from the constructor of a class derived from to register an - for use with the provider represented by the given invariant name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - A function that returns a new instance of an execution strategy. - - - - Call this method from the constructor of a class derived from to register an - for use with the provider represented by the given invariant name and - for a given server name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - A function that returns a new instance of an execution strategy. - A string that will be matched against the server name in the connection string. - - - - Call this method from the constructor of a class derived from to register a - . - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - A function that returns a new instance of a transaction handler. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this transaction handler will be used. - - A function that returns a new instance of a transaction handler. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name and - for a given server name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this transaction handler will be used. - - A function that returns a new instance of a transaction handler. - A string that will be matched against the server name in the connection string. - - - - Sets the that is used to create connections by convention if no other - connection string or connection is given to or can be discovered by . - Note that a default connection factory is set in the app.config or web.config file whenever the - EntityFramework NuGet package is installed. As for all config file settings, the default connection factory - set in the config file will take precedence over any setting made with this method. Therefore the setting - must be removed from the config file before calling this method will have any effect. - Call this method from the constructor of a class derived from to change - the default connection factory being used. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The connection factory. - - - - Call this method from the constructor of a class derived from to - set the pluralization service. - - The pluralization service to use. - - - - Call this method from the constructor of a class derived from to - set the database initializer to use for the given context type. The database initializer is called when a - the given type is used to access a database for the first time. - The default strategy for Code First contexts is an instance of . - - - Calling this method is equivalent to calling . - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The type of the context. - The initializer to use, or null to disable initialization for the given context type. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name. - - - This method is typically used by providers to register an associated SQL generator for Code First Migrations. - It is different from setting the generator in the because it allows - EF to use the Migrations pipeline to create a database even when there is no Migrations configuration in the project - and/or Migrations are not being explicitly used. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The invariant name of the ADO.NET provider for which this generator should be used. - A delegate that returns a new instance of the SQL generator each time it is called. - - - - Call this method from the constructor of a class derived from to set - an implementation of which allows provider manifest tokens to - be obtained from connections without necessarily opening the connection. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The manifest token resolver. - - - - Call this method from the constructor of a class derived from to set - a factory for implementations of which allows custom annotations - represented by instances to be serialized to and from the EDMX XML. - - - Note that an is not needed if the annotation uses a simple string value. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The name of custom annotation that will be handled by this serializer. - A delegate that will be used to create serializer instances. - - - - Call this method from the constructor of a class derived from to set - an implementation of which allows a - to be obtained from a in cases where the default implementation is not - sufficient. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The provider factory service. - - - - Call this method from the constructor of a class derived from to set - a as the model cache key factory which allows the key - used to cache the model behind a to be changed. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can - be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - The key factory. - - - - Call this method from the constructor of a class derived from to set - a delegate which which be used for - creation of the default for a any - . This default factory will only be used if no factory is - set explicitly in the and if no factory has been registered - for the provider in use using the - - method. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality - can be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - - A factory for creating instances for a given and - representing the default schema. - - - - - Call this method from the constructor of a class derived from to set - a delegate which allows for creation of a customized - for the given provider for any - that does not have an explicit factory set. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality - can be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - The invariant name of the ADO.NET provider for which this generator should be used. - - A factory for creating instances for a given and - representing the default schema. - - - - - Call this method from the constructor of a class derived from to set - the global instance of which will be used whenever a spatial provider is - required and a provider-specific spatial provider cannot be found. Normally, a provider-specific spatial provider - is obtained from the a implementation which is in turn returned by resolving - a service for passing the provider invariant name as a key. However, this - cannot work for stand-alone instances of and since - it is impossible to know the spatial provider to use. Therefore, when creating stand-alone instances - of and the global spatial provider is always used. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - an implementation of to use for a specific provider and provider - manifest token. - - - Use - to register spatial services for use only when a specific manifest token is returned by the provider. - Use to register global - spatial services to be used when provider information is not available or no provider-specific - spatial services are found. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The indicating the type of ADO.NET connection for which this spatial provider will be used. - - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - an implementation of to use for a specific provider with any - manifest token. - - - Use - to register spatial services for use when any manifest token is returned by the provider. - Use to register global - spatial services to be used when provider information is not available or no provider-specific - spatial services are found. - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this spatial provider will be used. - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - a factory for the type of to use with . - - - Note that setting the type of formatter to use with this method does change the way command are - logged when is used. It is still necessary to set a - instance onto before any commands will be logged. - For more low-level control over logging/interception see and - . - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - A delegate that will create formatter instances. - - - - Call this method from the constructor of a class derived from to - register an at application startup. Note that interceptors can also - be added and removed at any time using . - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The interceptor to register. - - - - Call this method from the constructor of a class derived from to set - a factory to allow to create instances of a context that does not have a public, - parameterless constructor. - - - This is typically needed to allow design-time tools like Migrations or scaffolding code to use contexts that - do not have public, parameterless constructors. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - with the context as the key. This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The context type for which the factory should be used. - The delegate to use to create context instances. - - - - Call this method from the constructor of a class derived from to set - a factory to allow to create instances of a context that does not have a public, - parameterless constructor. - - - This is typically needed to allow design-time tools like Migrations or scaffolding code to use contexts that - do not have public, parameterless constructors. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - with the context as the key. This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The context type for which the factory should be used. - The delegate to use to create context instances. - - - - Sets a singleton model store implementation (persisted model cache). - - The model store implementation. - - - - Call this method from the constructor of a class derived from to register - a database table existence checker for a given provider. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - and also using AddDefaultResolver to add the provider as a default - resolver. This means that, if desired, the same functionality can be achieved using a custom resolver or a - resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The table existence checker to use. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Occurs during EF initialization after the DbConfiguration has been constructed but just before - it is locked ready for use. Use this event to inspect and/or override services that have been - registered before the configuration is locked. Note that this event should be used carefully - since it may prevent tooling from discovering the same configuration that is used at runtime. - - - Handlers can only be added before EF starts to use the configuration and so handlers should - generally be added as part of application initialization. Do not access the DbConfiguration - static methods inside the handler; instead use the the members of - to get current services and/or add overrides. - - - - - Gets the that is being used to resolve service - dependencies in the Entity Framework. - - - - - This attribute can be placed on a subclass of to indicate that the subclass of - representing the code-based configuration for the application is in a different - assembly than the context type. - - - Normally a subclass of should be placed in the same assembly as - the subclass of used by the application. It will then be discovered automatically. - However, if this is not possible or if the application contains multiple context types in different - assemblies, then this attribute can be used to direct DbConfiguration discovery to the appropriate type. - An alternative to using this attribute is to specify the DbConfiguration type to use in the application's - config file. See http://go.microsoft.com/fwlink/?LinkId=260883 for more information. - - - - - Indicates that the given subclass of should be used for code-based configuration - for this application. - - - The type to use. - - - - - Indicates that the subclass of represented by the given assembly-qualified - name should be used for code-based configuration for this application. - - - The type to use. - - - - - Gets the subclass of that should be used for code-based configuration - for this application. - - - - Implements the basic functionality required by aggregates in a GroupBy clause. - - - - Gets the result type of this . - - - The result type of this . - - - - - Gets the list of expressions that define the arguments to this - - . - - - The list of expressions that define the arguments to this - - . - - - - Represents the logical AND of two Boolean arguments. This class cannot be inherited. - - - Implements the basic functionality required by expressions that accept two expression operands. - - - Represents the base type for all expressions. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - The type of the result produced by . - - - An instance of . - - The type of the result produced by visitor. - - - - Determines whether the specified is equal to the current DbExpression instance. - - - True if the specified is equal to the current DbExpression instance; otherwise, false. - - - The object to compare to the current . - - - - Serves as a hash function for the type. - A hash code for the current expression. - - - - Creates a that represents the specified binary value, which may be null - - - A that represents the specified binary value. - - The binary value on which the returned expression should be based. - - - - Enables implicit casting from a byte array. - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Boolean value. - - - A that represents the specified Boolean value. - - The Boolean value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) byte value. - - - A that represents the specified byte value. - - The byte value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified DateTime value. - - The DateTime value on which the returned expression should be based. - - - - Enables implicit casting from . - - The expression to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified DateTimeOffset value. - - The DateTimeOffset value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) decimal value. - - - A that represents the specified decimal value. - - The decimal value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) double value. - - - A that represents the specified double value. - - The double value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified - - value, which may be null. - - - A that represents the specified DbGeography value. - - The DbGeography value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified - - value, which may be null. - - - A that represents the specified DbGeometry value. - - The DbGeometry value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified Guid value. - - The Guid value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int16 value. - - - A that represents the specified Int16 value. - - The Int16 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int32 value. - - - A that represents the specified Int32 value. - - The Int32 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int64 value. - - - A that represents the specified Int64 value. - - The Int64 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Single value. - - - A that represents the specified Single value. - - The Single value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified string value. - - - A that represents the specified string value. - - The string value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - Gets the type metadata for the result type of the expression. - The type metadata for the result type of the expression. - - - Gets the kind of the expression, which indicates the operation of this expression. - The kind of the expression, which indicates the operation of this expression. - - - - Gets the that defines the left argument. - - - The that defines the left argument. - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the required type for the left argument. - - - - - Gets the that defines the right argument. - - - The that defines the right argument. - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the required type for the right argument. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by the visitor . - visitor is null. - - - Represents an apply operation, which is the invocation of the specified function for each element in the specified input set. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by the visitor . - visitor is null. - - - - Gets the that specifies the function that is invoked for each element in the input set. - - - The that specifies the function that is invoked for each element in the input set. - - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Represents an arithmetic operation applied to numeric arguments. - Addition, subtraction, multiplication, division, modulo, and negation are arithmetic operations. - This class cannot be inherited. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the list of elements that define the current arguments. - - - A fixed-size list of elements. - - - - - Represents the When, Then, and Else clauses of the - - . This class cannot be inherited. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - - Gets the When clauses of this . - - - The When clauses of this . - - - - - Gets the Then clauses of this . - - - The Then clauses of this . - - - - - Gets the Else clause of this . - - - The Else clause of this . - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the result type of the - - . - - - - Represents the type conversion of a single argument to the specified type. This class cannot be inherited. - - - Implements the basic functionality required by expressions that accept a single expression argument. - - - - Gets the that defines the argument. - - - The that defines the argument. - - The expression is null. - - The expression is not associated with the command tree of a - - , or its result type is not equal or promotable to the required type for the argument. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - - Describes the different "kinds" (classes) of command trees. - - - - - A query to retrieve data - - - - - Update existing data - - - - - Insert new data - - - - - Deleted existing data - - - - - Call a function - - - - Represents a comparison operation applied to two arguments. Equality, greater than, greater than or equal, less than, less than or equal, and inequality are comparison operations. This class cannot be inherited. - - DbComparisonExpression requires that its arguments have a common result type - that is equality comparable (for .Equals and .NotEquals), - order comparable (for .GreaterThan and .LessThan), - or both (for .GreaterThanOrEquals and .LessThanOrEquals). - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents different kinds of constants (literals). This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Gets the constant value. - The constant value. - - - Represents an unconditional join operation between the given collection arguments. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - - Gets a list that provides the input sets to the join. - - - A list that provides the input sets to the join. - - - - Represents the an expression that retrieves an entity based on the specified reference. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Removes duplicate elements from the specified set argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the conversion of the specified set argument to a singleton. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents an expression that extracts a reference from the underlying entity instance. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the set subtraction operation between the left and right operands. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - - Describes a binding for an expression. Conceptually similar to a foreach loop - in C#. The DbExpression property defines the collection being iterated over, - while the Var property provides a means to reference the current element - of the collection during the iteration. DbExpressionBinding is used to describe the set arguments - to relational expressions such as , - and . - - - - - - - Gets the that defines the input set. - - - The that defines the input set. - - The expression is null. - The expression is not associated with the command tree of the binding, or its result type is not equal or promotable to the result type of the current value of the property. - - - Gets the name assigned to the element variable. - The name assigned to the element variable. - - - Gets the type metadata of the element variable. - The type metadata of the element variable. - - - - Gets the that references the element variable. - - The variable reference. - - - Represents a predicate applied to filter an input set. This produces the set of elements that satisfy the predicate. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets the that specifies the predicate used to filter the input set. - - - The that specifies the predicate used to filter the input set. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a Boolean type. - - - - Represents an invocation of a function. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the metadata for the function to invoke. - The metadata for the function to invoke. - - - - Gets an list that provides the arguments to the function. - - - An list that provides the arguments to the function. - - - - Represents a collection of elements that compose a group. - - - Represents a group by operation. A group by operation is a grouping of the elements in the input set based on the specified key expressions followed by the application of the specified aggregates. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the that specifies the input set and provides access to the set element and group element variables. - - - The that specifies the input set and provides access to the set element and group element variables. - - - - - Gets a list that provides grouping keys. - - - A list that provides grouping keys. - - - - - Gets a list that provides the aggregates to apply. - - - A list that provides the aggregates to apply. - - - - Represents the set intersection operation between the left and right operands. This class cannot be inherited. - - DbIntersectExpression requires that its arguments have a common collection result type - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents an empty set determination applied to a single set argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents null determination applied to a single argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the type comparison of a single argument against the specified type. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the type metadata that the type metadata of the argument should be compared to. - The type metadata that the type metadata of the argument should be compared to. - - - Represents an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the that provides the left input. - - - The that provides the left input. - - - - - Gets the that provides the right input. - - - The that provides the right input. - - - - Gets the join condition to apply. - The join condition to apply. - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a Boolean type. - - - - - Allows the application of a lambda function to arguments represented by - - objects. - - - - The visitor pattern method for expression visitors that do not produce a result value. - - An instance of . - - visitor is null - - - The visitor pattern method for expression visitors that produce a result value of a specific type. - The type of the result produced by the expression visitor. - - An instance of a typed that produces a result value of type TResultType. - - The type of the result produced by visitor - visitor is null - - - - Gets the representing the Lambda function applied by this expression. - - - The representing the Lambda function applied by this expression. - - - - - Gets a list that provides the arguments to which the Lambda function should be applied. - - - The list. - - - - Represents a string comparison against the specified pattern with an optional escape string. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets an expression that specifies the string to compare against the given pattern. - An expression that specifies the string to compare against the given pattern. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Gets an expression that specifies the pattern against which the given string should be compared. - An expression that specifies the pattern against which the given string should be compared. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Gets an expression that provides an optional escape string to use for the comparison. - An expression that provides an optional escape string to use for the comparison. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Represents the restriction of the number of elements in the argument collection to the specified limit value. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets an expression that specifies the input collection. - An expression that specifies the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a collection type. - - - - Gets an expression that specifies the limit on the number of elements returned from the input collection. - An expression that specifies the limit on the number of elements returned from the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - , or is not one of - - or - - , or its result type is not equal or promotable to a 64-bit integer type. - - - - - Gets whether the limit operation will include tied results. Including tied results might produce more results than specified by the - - value. - - true if the limit operation will include tied results; otherwise, false. The default is false. - - - Represents the construction of a new instance of a given type, including set and record types. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets an list that provides the property/column values or set elements for the new instance. - - - An list that provides the property/column values or set elements for the new instance. - - - - Represents the logical NOT of a single Boolean argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a reference to a typed null literal. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the retrieval of elements of the specified type from the given set argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the metadata of the type of elements that should be retrieved from the set argument. - The metadata of the type of elements that should be retrieved from the set argument. - - - Represents the logical OR of two Boolean arguments. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a reference to a parameter declared on the command tree that contains this expression. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the name of the referenced parameter. - The name of the referenced parameter. - - - Represents the projection of a given input set over the specified expression. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets the that defines the projection. - - - The that defines the projection. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the reference type of the current projection. - - - - Provides methods and properties for retrieving an instance property. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Creates a new key/value pair based on this property expression. - - A new key/value pair with the key and value derived from the - - . - - - - - Enables implicit casting to . - - The expression to be converted. - The converted value. - - - Gets the property metadata for the property to retrieve. - The property metadata for the property to retrieve. - - - - Gets a that defines the instance from which the property should be retrieved. - - - A that defines the instance from which the property should be retrieved. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the type that defines the property. - - - - Represents a quantifier operation of the specified kind over the elements of the specified input set. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - Gets the Boolean predicate that should be evaluated for each element in the input set. - The Boolean predicate that should be evaluated for each element in the input set. - The expression is null. - - The expression is not associated with the command tree for the - - ,or its result type is not a Boolean type. - - - - Represents a strongly typed reference to a specific instance within an entity set. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the metadata for the entity set that contains the instance. - The metadata for the entity set that contains the instance. - - - Represents the navigation of a relationship. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the metadata for the relationship over which navigation occurs. - The metadata for the relationship over which navigation occurs. - - - Gets the metadata for the relationship end to navigate from. - The metadata for the relationship end to navigate from. - - - Gets the metadata for the relationship end to navigate to. - The metadata for the relationship end to navigate to. - - - - Gets an that specifies the starting point of the navigation and must be a reference to an entity instance. - - - An that specifies the instance of the source relationship end from which navigation should occur. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the reference type of the - - property. - - - - - Skips a specified number of elements in the input set. - - can only be used after the input collection has been sorted as specified by the sort keys. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets a list that defines the sort order. - - - A list that defines the sort order. - - - - Gets an expression that specifies the number of elements to skip from the input collection. - An expression that specifies the number of elements to skip from the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - ; the expression is not either a - - or a - - ; or the result type of the expression is not equal or promotable to a 64-bit integer type. - - - - - Specifies a sort key that can be used as part of the sort order in a - - . This class cannot be inherited. - - - - Gets a Boolean value indicating whether or not this sort key uses an ascending sort order. - true if this sort key uses an ascending sort order; otherwise, false. - - - Gets a string value that specifies the collation for this sort key. - A string value that specifies the collation for this sort key. - - - - Gets the that provides the value for this sort key. - - - The that provides the value for this sort key. - - - - Represents a sort operation applied to the elements of the specified input set based on the given sort keys. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by - visitor - - - visitor - is null. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets a list that defines the sort order. - - - A list that defines the sort order. - - - - Represents a type conversion operation applied to a polymorphic argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Supports standard aggregate functions, such as MIN, MAX, AVG, SUM, and so on. This class cannot be inherited. - - - Gets a value indicating whether this aggregate is a distinct aggregate. - true if the aggregate is a distinct aggregate; otherwise, false. - - - Gets the method metadata that specifies the aggregate function to invoke. - The method metadata that specifies the aggregate function to invoke. - - - - An abstract base type for types that implement the IExpressionVisitor interface to derive from. - - - - - An abstract base type for types that implement the IExpressionVisitor interface to derive from. - - - - Defines the basic functionality that should be implemented by visitors that do not return a result value. - - - When overridden in a derived class, handles any expression of an unrecognized type. - The expression to be handled. - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - Visitor pattern method for DbInExpression. - - The DbInExpression that is being visited. - - - - Convenience method to visit the specified . - - The DbUnaryExpression to visit. - - - is null - - - - - Convenience method to visit the specified . - - The DbBinaryExpression to visit. - - - is null - - - - - Convenience method to visit the specified . - - The DbExpressionBinding to visit. - - - is null - - - - - Convenience method for post-processing after a DbExpressionBinding has been visited. - - The previously visited DbExpressionBinding. - - - - Convenience method to visit the specified . - - The DbGroupExpressionBinding to visit. - - - is null - - - - - Convenience method indicating that the grouping keys of a have been visited and the aggregates are now about to be visited. - - The DbGroupExpressionBinding of the DbGroupByExpression - - - - Convenience method for post-processing after a DbGroupExpressionBinding has been visited. - - The previously visited DbGroupExpressionBinding. - - - - Convenience method indicating that the body of a Lambda is now about to be visited. - - The DbLambda that is about to be visited - - - is null - - - - - Convenience method for post-processing after a DbLambda has been visited. - - The previously visited DbLambda. - - - - Convenience method to visit the specified , if non-null. - - The expression to visit. - - - is null - - - - - Convenience method to visit each in the given list, if the list is non-null. - - The list of expressions to visit. - - - is null - - - - - Convenience method to visit each in the list, if the list is non-null. - - The list of aggregates to visit. - - - is null - - - - - Convenience method to visit the specified . - - The aggregate to visit. - - - is null - - - - - Called when an of an otherwise unrecognized type is encountered. - - The expression - - - is null - - - Always thrown if this method is called, since it indicates that - - is of an unsupported type - - - - - Visitor pattern method for . - - The DbConstantExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNullExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbVariableReferenceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbParameterReferenceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbFunctionExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLambdaExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbPropertyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbComparisonExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLikeExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLimitExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsNullExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbArithmeticExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbAndExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbOrExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbInExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNotExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbDistinctExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbElementExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsEmptyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbUnionAllExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIntersectExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbExceptExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbOfTypeExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbTreatExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCastExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsOfExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCaseExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNewInstanceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRelationshipNavigationExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DeRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRefKeyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbEntityRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbScanExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbFilterExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbProjectExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCrossJoinExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbJoinExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbApplyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbSkipExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbSortExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbQuantifierExpression that is being visited. - - - is null - - - - Implements the visitor pattern for the set clause. - The set clause. - - - Implements the visitor pattern for the modification clause. - The modification clause. - - - Implements the visitor pattern for the collection of modification clauses. - The modification clauses. - - - Implements the visitor pattern for the command tree. - The command tree. - - - Implements the visitor pattern for the delete command tree. - The delete command tree. - - - Implements the visitor pattern for the function command tree. - The function command tree. - - - Implements the visitor pattern for the insert command tree. - The insert command tree. - - - Implements the visitor pattern for the query command tree. - The query command tree. - - - Implements the visitor pattern for the update command tree. - The update command tree. - - - An immutable class that implements the basic functionality for the Query, Insert, Update, Delete, and function invocation command tree types. - - - - Returns a that represents this command. - - - A that represents this command. - - - - - Gets a value indicating whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. The default value is true. - - For example (operand1 == operand2) will be translated as: - - (operand1 = operand2) - - if UseDatabaseNullSemantics is true, respectively - - (((operand1 = operand2) AND (NOT (operand1 IS NULL OR operand2 IS NULL))) OR ((operand1 IS NULL) AND (operand2 IS NULL))) - - if UseDatabaseNullSemantics is false. - - - true if database null comparison behavior is enabled, otherwise false . - - - - - Gets the name and corresponding type of each parameter that can be referenced within this - - . - - - The name and corresponding type of each parameter that can be referenced within this - - . - - - - - Gets the kind of this command tree. - - - - - Gets the metadata workspace used by this command tree. - - - - - Gets the data space in which metadata used by this command tree must reside. - - - - Represents a single row delete operation expressed as a command tree. This class cannot be inherited. - - - Represents a data manipulation language (DML) operation expressed as a command tree. - - - - Gets the that specifies the target table for the data manipulation language (DML) operation. - - - The that specifies the target table for the DML operation. - - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - A predicate used to determine which members of the target collection should be deleted. - - - - Gets an that specifies the predicate used to determine which members of the target collection should be deleted. - - - The predicate can include only the following elements: - - Equality expression - Constant expression - IsNull expression - Property expression - Reference expression to the target - And expression - Or expression - Not expression - - - - An that specifies the predicate used to determine which members of the target collection should be deleted. - - - - Gets the kind of this command tree. - The kind of this command tree. - - - - Contains values that each expression class uses to denote the operation it represents. The - - property of an - - can be retrieved to determine which operation that expression represents. - - - - - True for all. - - - - - Logical And. - - - - - True for any. - - - - - Conditional case statement. - - - - - Polymorphic type cast. - - - - - A constant value. - - - - - Cross apply - - - - - Cross join - - - - - Dereference. - - - - - Duplicate removal. - - - - - Division. - - - - - Set to singleton conversion. - - - - - Entity ref value retrieval. - - - - - Equality - - - - - Set subtraction - - - - - Restriction. - - - - - Full outer join - - - - - Invocation of a stand-alone function - - - - - Greater than. - - - - - Greater than or equal. - - - - - Grouping. - - - - - Inner join - - - - - Set intersection. - - - - - Empty set determination. - - - - - Null determination. - - - - - Type comparison (specified Type or Subtype). - - - - - Type comparison (specified Type only). - - - - - Left outer join - - - - - Less than. - - - - - Less than or equal. - - - - - String comparison. - - - - - Result count restriction (TOP n). - - - - - Subtraction. - - - - - Modulo. - - - - - Multiplication. - - - - - Instance, row, and set construction. - - - - - Logical Not. - - - - - Inequality. - - - - - Null. - - - - - Set members by type (or subtype). - - - - - Set members by (exact) type. - - - - - Logical Or. - - - - - Outer apply. - - - - - A reference to a parameter. - - - - - Addition. - - - - - Projection. - - - - - Retrieval of a static or instance property. - - - - - Reference. - - - - - Ref key value retrieval. - - - - - Navigation of a (composition or association) relationship. - - - - - Entity or relationship set scan. - - - - - Skip elements of an ordered collection. - - - - - Sorting. - - - - - Type conversion. - - - - - Negation. - - - - - Set union (with duplicates). - - - - - A reference to a variable. - - - - - Application of a lambda function - - - - - In. - - - - Represents the invocation of a database function. - - - - Constructs a new DbFunctionCommandTree that uses the specified metadata workspace, data space and function metadata - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - The that represents the function that is being invoked. - The expected result type for the function’s first result set. - The function's parameters. - - , or is null - - - does not represent a valid data space or - is a composable function - - - - - Gets the that represents the function that is being invoked. - - - The that represents the function that is being invoked. - - - - Gets the expected result type for the function’s first result set. - The expected result type for the function’s first result set. - - - Gets or sets the command tree kind. - The command tree kind. - - - Represents a single row insert operation expressed as a command tree. This class cannot be inherited. - - Represents a single row insert operation expressed as a canonical command tree. - When the property is set, the command returns a reader; otherwise, - it returns a scalar value indicating the number of rows affected. - - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - The list of insert set clauses that define the insert operation. . - A that specifies a projection of results to be returned, based on the modified rows. - - - Gets the list of insert set clauses that define the insert operation. - The list of insert set clauses that define the insert operation. - - - - Gets an that specifies a projection of results to be returned based on the modified rows. - - - An that specifies a projection of results to be returned based on the modified rows. null indicates that no results should be returned from this command. - - - - Gets the command tree kind. - The command tree kind. - - - - Represents a Lambda function that can be invoked to produce a - - . - - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters - An expression that defines the logic of the Lambda function - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - - - is null or contains null, or - - is null - - - - contains more than one element with the same variable name. - - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters - An expression that defines the logic of the Lambda function - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - - - is null or contains null, or - - is null. - - - - contains more than one element with the same variable name. - - - - - Creates a new with a single argument of the specified type, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and single formal parameter. - - A that defines the EDM type of the argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A that defines the EDM type of the fifteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A that defines the EDM type of the fifteenth argument to the Lambda function - - - A that defines the EDM type of the sixteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - Gets the body of the lambda expression. - - A that represents the body of the lambda function. - - - - Gets the parameters of the lambda expression. - The list of lambda function parameters represented as DbVariableReferenceExpression objects. - - - - Specifies a single clause in an insert or update modification operation, see - and - - - An abstract base class allows the possibility of patterns other than - Property = Value in future versions, e.g., - update SomeTable - set ComplexTypeColumn.SomeProperty() - where Id = 2 - - - - Represents a query operation expressed as a command tree. This class cannot be inherited. - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - A boolean that indicates whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - - - or - - is null - - - - does not represent a valid data space - - - - - Gets an that defines the logic of the query operation. - - - An that defines the logic of the query operation. - - The expression is null. - The expression is associated with a different command tree. - - - Gets the kind of this command tree. - The kind of this command tree. - - - Specifies the clause in a modification operation that sets the value of a property. This class cannot be inherited. - - - - Gets an that specifies the property that should be updated. - - - An that specifies the property that should be updated. - - - - - Gets an that specifies the new value with which to update the property. - - - An that specifies the new value with which to update the property. - - - - Represents a single-row update operation expressed as a command tree. This class cannot be inherited. - - Represents a single-row update operation expressed as a canonical command tree. - When the property is set, the command returns a reader; otherwise, - it returns a scalar indicating the number of rows affected. - - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - A predicate used to determine which members of the target collection should be updated. - The list of update set clauses that define the update operation. - A that specifies a projection of results to be returned, based on the modified rows. - - - Gets the list of update set clauses that define the update operation. - The list of update set clauses that define the update operation. - - - - Gets an that specifies a projection of results to be returned, based on the modified rows. - - - An that specifies a projection of results to be returned based, on the modified rows. null indicates that no results should be returned from this command. - - - - - Gets an that specifies the predicate used to determine which members of the target collection should be updated. - - - An that specifies the predicate used to determine which members of the target collection should be updated. - - - - Gets the kind of this command tree. - The kind of this command tree. - - - Represents a reference to a variable that is currently in scope. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the name of the referenced variable. - The name of the referenced variable. - - - - Defines the binding for the input set to a . - In addition to the properties of , DbGroupExpressionBinding - also provides access to the group element via the variable reference - and to the group aggregate via the property. - - - - - Gets the that defines the input set. - - - The that defines the input set. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the result type of the current value of the property. - - - - Gets the name assigned to the element variable. - The name assigned to the element variable. - - - Gets the type metadata of the element variable. - The type metadata of the element variable. - - - - Gets the that references the element variable. - - A reference to the element variable. - - - Gets the name assigned to the group element variable. - The name assigned to the group element variable. - - - Gets the type metadata of the group element variable. - The type metadata of the group element variable. - - - - Gets the that references the group element variable. - - A reference to the group element variable. - - - - Gets the that represents the collection of elements in the group. - - The elements in the group. - - - - Provides an API to construct s and allows that API to be accessed as extension methods on the expression type itself. - - - - Returns the specified arguments as a key/value pair object. - A key/value pair object. - The value in the key/value pair. - The key in the key/value pair. - - - Returns the specified arguments as a key/value pair object. - A key/value pair object. - The value in the key/value pair. - The key in the key/value pair. - - - - Creates a new that uses a generated variable name to bind the given expression. - - A new expression binding with the specified expression and a generated variable name. - The expression to bind. - input is null. - input does not have a collection result. - - - - Creates a new that uses the specified variable name to bind the given expression - - A new expression binding with the specified expression and variable name. - The expression to bind. - The variable name that should be used for the binding. - input or varName is null. - input does not have a collection result. - - - Creates a new group expression binding that uses generated variable and group variable names to bind the given expression. - A new group expression binding with the specified expression and a generated variable name and group variable name. - The expression to bind. - input is null. - input does not have a collection result type. - - - - Creates a new that uses the specified variable name and group variable names to bind the given expression. - - A new group expression binding with the specified expression, variable name and group variable name. - The expression to bind. - The variable name that should be used for the binding. - The variable name that should be used to refer to the group when the new group expression binding is used in a group-by expression. - input, varName or groupVarName is null. - input does not have a collection result type. - - - - Creates a new . - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value false. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new that is applied in a distinct fashion. - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value true. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument is null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new over the specified argument - - The argument over which to perform the nest operation - A new group aggregate representing the elements of the group referenced by the given argument. - - - is null - - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new expression that describes an inline Lambda function with the specified body and formal parameters. - An expression that defines the logic of the Lambda function. - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - variables is null or contains null, or body is null. - variables contains more than one element with the same variable name. - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new expression that describes an inline Lambda function with the specified body and formal parameters. - An expression that defines the logic of the Lambda function. - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - variables is null or contains null, or body is null. - variables contains more than one element with the same variable name. - - - - Creates a new with an ascending sort order and default collation. - - A new sort clause with the given sort key and ascending sort order. - The expression that defines the sort key. - key is null. - key does not have an order-comparable result type. - - - - Creates a new with a descending sort order and default collation. - - A new sort clause with the given sort key and descending sort order. - The expression that defines the sort key. - key is null. - key does not have an order-comparable result type. - - - - Creates a new with an ascending sort order and the specified collation. - - A new sort clause with the given sort key and collation, and ascending sort order. - The expression that defines the sort key. - The collation to sort under. - key is null. - collation is empty or contains only space characters. - key does not have an order-comparable result type. - - - - Creates a new with a descending sort order and the specified collation. - - A new sort clause with the given sort key and collation, and descending sort order. - The expression that defines the sort key. - The collation to sort under. - key is null. - collation is empty or contains only space characters. - key does not have an order-comparable result type. - - - - Creates a new that determines whether the given predicate holds for all elements of the input set. - - A new DbQuantifierExpression that represents the All operation. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - predicate does not have a Boolean result type. - - - - Creates a new that determines whether the given predicate holds for any element of the input set. - - A new DbQuantifierExpression that represents the Any operation. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - An that specifies the input set. - - - An that specifies logic to evaluate once for each member of the input set. - - input or apply is null. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set have an apply column value of null. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of OuterApply. - - - An that specifies the input set. - - - An that specifies logic to evaluate once for each member of the input set. - - input or apply is null. - - - - Creates a new that unconditionally joins the sets specified by the list of input expression bindings. - - - A new DbCrossJoinExpression, with an of CrossJoin, that represents the unconditional join of the input sets. - - A list of expression bindings that specifies the input sets. - inputs is null or contains null element. - inputs contains fewer than 2 expression bindings. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using LeftOuterJoin as the - - . - - - A new DbJoinExpression, with an of LeftOuterJoin, that represents the left outer join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using FullOuterJoin as the - - . - - - A new DbJoinExpression, with an of FullOuterJoin, that represents the full outer join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that filters the elements in the given input set using the specified predicate. - - A new DbFilterExpression that produces the filtered set. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - predicate does not have a Boolean result type. - - - - Creates a new that groups the elements of the input set according to the specified group keys and applies the given aggregates. - - A new DbGroupByExpression with the specified input set, grouping keys and aggregates. - - A that specifies the input set. - - A list of string-expression pairs that define the grouping columns. - A list of expressions that specify aggregates to apply. - input, keys or aggregates is null, keys contains a null column key or expression, or aggregates contains a null aggregate column name or aggregate. - Both keys and aggregates are empty, or an invalid or duplicate column name was specified. - - - - Creates a new that projects the specified expression over the given input set. - - A new DbProjectExpression that represents the projection operation. - An expression binding that specifies the input set. - An expression to project over the set. - input or projection is null. - - - - Creates a new that sorts the given input set by the given sort specifications before skipping the specified number of elements. - - A new DbSkipExpression that represents the skip operation. - An expression binding that specifies the input set. - A list of sort specifications that determine how the elements of the input set should be sorted. - An expression the specifies how many elements of the ordered set to skip. - input, sortOrder or count is null, or sortOrder contains null. - - sortOrder is empty, or count is not or - - or has a result type that is not equal or promotable to a 64-bit integer type. - - - - - Creates a new that sorts the given input set by the specified sort specifications. - - A new DbSortExpression that represents the sort operation. - An expression binding that specifies the input set. - A list of sort specifications that determine how the elements of the input set should be sorted. - input or sortOrder is null, or sortOrder contains null. - sortOrder is empty. - - - - Creates a new , which represents a typed null value. - - An instance of DbNullExpression. - The type of the null value. - nullType is null. - - - - Creates a new with the given constant value. - - A new DbConstantExpression with the given value. - The constant value to represent. - value is null. - value is not an instance of a valid constant type. - - - - Creates a new of the specified primitive type with the given constant value. - - A new DbConstantExpression with the given value and a result type of constantType. - The type of the constant value. - The constant value to represent. - value or constantType is null. - value is not an instance of a valid constant type, constantType does not represent a primitive type, or value is of a different primitive type than that represented by constantType. - - - - Creates a new that references a parameter with the specified name and type. - - A DbParameterReferenceExpression that represents a reference to a parameter with the specified name and type. The result type of the expression will be the same as type. - The type of the referenced parameter. - The name of the referenced parameter. - - - - Creates a new that references a variable with the specified name and type. - - A DbVariableReferenceExpression that represents a reference to a variable with the specified name and type. The result type of the expression will be the same as type. - The type of the referenced variable. - The name of the referenced variable. - - - - Creates a new that references the specified entity or relationship set. - - A new DbScanExpression based on the specified entity or relationship set. - Metadata for the entity or relationship set to reference. - targetSet is null. - - - - Creates an that performs the logical And of the left and right arguments. - - A new DbAndExpression with the specified arguments. - A Boolean expression that specifies the left argument. - A Boolean expression that specifies the right argument. - left or right is null. - left and right does not have a Boolean result type. - - - - Creates an that performs the logical Or of the left and right arguments. - - A new DbOrExpression with the specified arguments. - A Boolean expression that specifies the left argument. - A Boolean expression that specifies the right argument. - left or right is null. - left or right does not have a Boolean result type. - - - - Creates a that matches the result of the specified - expression with the results of the constant expressions in the specified list. - - A DbExpression to be matched. - A list of DbConstantExpression to test for a match. - - A new DbInExpression with the specified arguments. - - - - or - - is null. - - - The result type of - - is different than the result type of an expression from - . - - - - - Creates a that performs the logical negation of the given argument. - - A new DbNotExpression with the specified argument. - A Boolean expression that specifies the argument. - argument is null. - argument does not have a Boolean result type. - - - - Creates a new that divides the left argument by the right argument. - - A new DbArithmeticExpression representing the division operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left or right. - - - - Creates a new that subtracts the right argument from the left argument. - - A new DbArithmeticExpression representing the subtraction operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that computes the remainder of the left argument divided by the right argument. - - A new DbArithmeticExpression representing the modulo operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that multiplies the left argument by the right argument. - - A new DbArithmeticExpression representing the multiplication operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that adds the left argument to the right argument. - - A new DbArithmeticExpression representing the addition operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that negates the value of the argument. - - A new DbArithmeticExpression representing the negation operation. - An expression that specifies the argument. - argument is null. - No numeric result type exists for argument. - - - - Creates a new that negates the value of the argument. - - A new DbArithmeticExpression representing the negation operation. - An expression that specifies the argument. - argument is null. - No numeric result type exists for argument. - - - - Creates a new that compares the left and right arguments for equality. - - A new DbComparisonExpression representing the equality comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common equality-comparable result type exists between left and right. - - - - Creates a new that compares the left and right arguments for inequality. - - A new DbComparisonExpression representing the inequality comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common equality-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is greater than the right argument. - - A new DbComparisonExpression representing the greater-than comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is less than the right argument. - - A new DbComparisonExpression representing the less-than comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is greater than or equal to the right argument. - - A new DbComparisonExpression representing the greater-than-or-equal-to comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is less than or equal to the right argument. - - A new DbComparisonExpression representing the less-than-or-equal-to comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common result type that is both equality- and order-comparable exists between left and right. - - - - Creates a new that determines whether the specified argument is null. - - A new DbIsNullExpression with the specified argument. - An expression that specifies the argument. - argument is null. - argument has a collection result type. - - - - Creates a new that compares the specified input string to the given pattern. - - A new DbLikeExpression with the specified input, pattern and a null escape. - An expression that specifies the input string. - An expression that specifies the pattern string. - Argument or pattern is null. - Argument or pattern does not have a string result type. - - - - Creates a new that compares the specified input string to the given pattern using the optional escape. - - A new DbLikeExpression with the specified input, pattern and escape. - An expression that specifies the input string. - An expression that specifies the pattern string. - An optional expression that specifies the escape string. - argument, pattern or escape is null. - argument, pattern or escape does not have a string result type. - - - - Creates a new that applies a cast operation to a polymorphic argument. - - A new DbCastExpression with the specified argument and target type. - The argument to which the cast should be applied. - Type metadata that specifies the type to cast to. - Argument or toType is null. - The specified cast is not valid. - - - - Creates a new . - - A new DbTreatExpression with the specified argument and type. - An expression that specifies the instance. - Type metadata for the treat-as type. - argument or treatType is null. - treatType is not in the same type hierarchy as the result type of argument. - - - - Creates a new that produces a set consisting of the elements of the given input set that are of the specified type. - - - A new DbOfTypeExpression with the specified set argument and type, and an ExpressionKind of - - . - - - A that specifies the input set. - - Type metadata for the type that elements of the input set must have to be included in the resulting set. - argument or type is null. - argument does not have a collection result type, or type is not a type in the same type hierarchy as the element type of the collection result type of argument. - - - - Creates a new that produces a set consisting of the elements of the given input set that are of exactly the specified type. - - - A new DbOfTypeExpression with the specified set argument and type, and an ExpressionKind of - - . - - - An that specifies the input set. - - Type metadata for the type that elements of the input set must match exactly to be included in the resulting set. - argument or type is null. - argument does not have a collection result type, or type is not a type in the same type hierarchy as the element type of the collection result type of argument. - - - - Creates a new that determines whether the given argument is of the specified type or a subtype. - - A new DbIsOfExpression with the specified instance and type and DbExpressionKind IsOf. - An expression that specifies the instance. - Type metadata that specifies the type that the instance's result type should be compared to. - argument or type is null. - type is not in the same type hierarchy as the result type of argument. - - - - Creates a new expression that determines whether the given argument is of the specified type, and only that type (not a subtype). - - A new DbIsOfExpression with the specified instance and type and DbExpressionKind IsOfOnly. - An expression that specifies the instance. - Type metadata that specifies the type that the instance's result type should be compared to. - argument or type is null. - type is not in the same type hierarchy as the result type of argument. - - - - Creates a new that retrieves a specific Entity given a reference expression. - - A new DbDerefExpression that retrieves the specified Entity. - - An that provides the reference. This expression must have a reference Type. - - argument is null. - argument does not have a reference result type. - - - - Creates a new that retrieves the ref of the specifed entity in structural form. - - A new DbEntityRefExpression that retrieves a reference to the specified entity. - The expression that provides the entity. This expression must have an entity result type. - argument is null. - argument does not have an entity result type. - - - - Creates a new that encodes a reference to a specific entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet is null, or keyValues is null or contains null. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet is null, or keyValues is null or contains null. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity of a given type based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - The specific type of the referenced entity. This must be an entity type from the same hierarchy as the entity set's element type. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet or entityType is null, or keyValues is null or contains null. - entityType is not from the same type hierarchy (a subtype, supertype, or the same type) as entitySet's element type. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity of a given type based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - The specific type of the referenced entity. This must be an entity type from the same hierarchy as the entity set's element type. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet or entityType is null, or keyValues is null or contains null. - entityType is not from the same type hierarchy (a subtype, supertype, or the same type) as entitySet's element type. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific Entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given Entity set. - The Entity set in which the referenced element resides. - - A that constructs a record with columns that match (in number, type, and order) the Key properties of the referenced Entity type. - - entitySet or keyRow is null. - keyRow does not have a record result type that matches the key properties of the referenced entity set's entity type. - - - - Creates a new that encodes a reference to a specific Entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given Entity set. - The Entity set in which the referenced element resides. - - A that constructs a record with columns that match (in number, type, and order) the Key properties of the referenced Entity type. - - The type of the Entity that the reference should refer to. - entitySet, keyRow or entityType is null. - entityType is not in the same type hierarchy as the entity set's entity type, or keyRow does not have a record result type that matches the key properties of the referenced entity set's entity type. - - - - Creates a new that retrieves the key values of the specifed reference in structural form. - - A new DbRefKeyExpression that retrieves the key values of the specified reference. - The expression that provides the reference. This expression must have a reference Type with an Entity element type. - argument is null. - argument does not have a reference result type. - - - - Creates a new representing the navigation of a composition or association relationship. - - A new DbRelationshipNavigationExpression representing the navigation of the specified from and to relation ends of the specified relation type from the specified navigation source instance. - An expression that specifies the instance from which navigation should occur. - Metadata for the property that represents the end of the relationship from which navigation should occur. - Metadata for the property that represents the end of the relationship to which navigation should occur. - fromEnd, toEnd or navigateFrom is null. - fromEnd and toEnd are not declared by the same relationship type, or navigateFrom has a result type that is not compatible with the property type of fromEnd. - - - - Creates a new representing the navigation of a composition or association relationship. - - A new DbRelationshipNavigationExpression representing the navigation of the specified from and to relation ends of the specified relation type from the specified navigation source instance. - Metadata for the relation type that represents the relationship. - The name of the property of the relation type that represents the end of the relationship from which navigation should occur. - The name of the property of the relation type that represents the end of the relationship to which navigation should occur. - An expression the specifies the instance from which naviagtion should occur. - type, fromEndName, toEndName or navigateFrom is null. - type is not associated with this command tree's metadata workspace or navigateFrom is associated with a different command tree, or type does not declare a relation end property with name toEndName or fromEndName, or navigateFrom has a result type that is not compatible with the property type of the relation end property with name fromEndName. - - - - Creates a new that removes duplicates from the given set argument. - - A new DbDistinctExpression that represents the distinct operation applied to the specified set argument. - An expression that defines the set over which to perfom the distinct operation. - argument is null. - argument does not have a collection result type. - - - - Creates a new that converts a set into a singleton. - - A DbElementExpression that represents the conversion of the set argument to a singleton. - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that determines whether the specified set argument is an empty set. - - A new DbIsEmptyExpression with the specified argument. - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that computes the subtraction of the right set argument from the left set argument. - - A new DbExceptExpression that represents the difference of the left argument from the right argument. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type exists between left and right. - - - - Creates a new that computes the intersection of the left and right set arguments. - - A new DbIntersectExpression that represents the intersection of the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type exists between left or right. - - - - Creates a new that computes the union of the left and right set arguments and does not remove duplicates. - - A new DbUnionAllExpression that union, including duplicates, of the the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type with an equality-comparable element type exists between left and right. - - - - Creates a new that restricts the number of elements in the Argument collection to the specified count Limit value. Tied results are not included in the output. - - A new DbLimitExpression with the specified argument and count limit values that does not include tied results. - An expression that specifies the input collection. - An expression that specifies the limit value. - argument or count is null. - argument does not have a collection result type, or count does not have a result type that is equal or promotable to a 64-bit integer type. - - - - Creates a new . - - A new DbCaseExpression with the specified cases and default result. - A list of expressions that provide the conditional for of each case. - A list of expressions that provide the result of each case. - An expression that defines the result when no case is matched. - whenExpressions or thenExpressions is null or contains null, or elseExpression is null. - whenExpressions or thenExpressions is empty or whenExpressions contains an expression with a non-Boolean result type, or no common result type exists for all expressions in thenExpressions and elseExpression. - - - - Creates a new representing the invocation of the specified function with the given arguments. - - A new DbFunctionExpression representing the function invocation. - Metadata for the function to invoke. - A list of expressions that provide the arguments to the function. - function is null, or arguments is null or contains null. - The count of arguments does not equal the number of parameters declared by function, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding function parameter type. - - - - Creates a new representing the invocation of the specified function with the given arguments. - - A new DbFunctionExpression representing the function invocation. - Metadata for the function to invoke. - Expressions that provide the arguments to the function. - function is null, or arguments is null or contains null. - The count of arguments does not equal the number of parameters declared by function, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding function parameter type. - - - - Creates a new representing the application of the specified Lambda function to the given arguments. - - A new Expression representing the Lambda function application. - - A instance representing the Lambda function to apply. - - A list of expressions that provide the arguments. - lambda or arguments is null. - The count of arguments does not equal the number of variables declared by lambda, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding variable type. - - - - Creates a new representing the application of the specified Lambda function to the given arguments. - - A new expression representing the Lambda function application. - - A instance representing the Lambda function to apply. - - Expressions that provide the arguments. - lambda or arguments is null. - The count of arguments does not equal the number of variables declared by lambda, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding variable type. - - - - Creates a new . If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance. - - A new DbNewInstanceExpression with the specified type and arguments. - The type of the new instance. - Expressions that specify values of the new instances, interpreted according to the instance's type. - instanceType or arguments is null, or arguments contains null. - arguments is empty or the result types of the contained expressions do not match the requirements of instanceType (as explained in the remarks section). - - - - Creates a new . If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance. - - A new DbNewInstanceExpression with the specified type and arguments. - The type of the new instance. - Expressions that specify values of the new instances, interpreted according to the instance's type. - instanceType or arguments is null, or arguments contains null. - arguments is empty or the result types of the contained expressions do not match the requirements of instanceType (as explained in the remarks section). - - - - Creates a new that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown. - - A new DbNewInstanceExpression with the specified collection type and arguments. - A list of expressions that provide the elements of the collection. - elements is null, or contains null. - elements is empty or contains expressions for which no common result type exists. - - - - Creates a new that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown. - - A new DbNewInstanceExpression with the specified collection type and arguments. - A list of expressions that provide the elements of the collection. - elements is null, or contains null.. - elements is empty or contains expressions for which no common result type exists. - - - - Creates a new that constructs an empty collection of the specified collection type. - - A new DbNewInstanceExpression with the specified collection type and an empty Arguments list. - The type metadata for the collection to create - collectionType is null. - collectionType is not a collection type. - - - - Creates a new that produces a row with the specified named columns and the given values, specified as expressions. - - A new DbNewInstanceExpression that represents the construction of the row. - A list of string-DbExpression key-value pairs that defines the structure and values of the row. - columnValues is null or contains an element with a null column name or expression. - columnValues is empty, or contains a duplicate or invalid column name. - - - - Creates a new representing the retrieval of the specified property. - - A new DbPropertyExpression representing the property retrieval. - The instance from which to retrieve the property. May be null if the property is static. - Metadata for the property to retrieve. - propertyMetadata is null or instance is null and the property is not static. - - - - Creates a new representing the retrieval of the specified navigation property. - - A new DbPropertyExpression representing the navigation property retrieval. - The instance from which to retrieve the navigation property. - Metadata for the navigation property to retrieve. - navigationProperty or instance is null. - - - - Creates a new representing the retrieval of the specified relationship end member. - - A new DbPropertyExpression representing the relationship end member retrieval. - The instance from which to retrieve the relationship end member. - Metadata for the relationship end member to retrieve. - relationshipEnd is null or instance is null and the property is not static. - - - - Creates a new representing the retrieval of the instance property with the specified name from the given instance. - - A new DbPropertyExpression that represents the property retrieval. - The instance from which to retrieve the property. - The name of the property to retrieve. - propertyName is null or instance is null and the property is not static. - No property with the specified name is declared by the type of instance. - - - - Creates a new representing setting a property to a value. - - The property to be set. - The value to set the property to. - The newly created set clause. - - - - Creates a new that determines whether the given predicate holds for all elements of the input set. - - A new DbQuantifierExpression that represents the All operation. - An expression that specifies the input set. - A method representing a predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - source does not have a collection result type. - The expression produced by Predicate does not have a Boolean result type. - - - - Creates a new that determines whether the specified set argument is non-empty. - - - A new applied to a new - - with the specified argument. - - An expression that specifies the input set. - source is null. - source does not have a collection result type. - - - - Creates a new that determines whether the specified set argument is non-empty. - - - A new applied to a new - - with the specified argument. - - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that determines whether the given predicate holds for any element of the input set. - - A new DbQuantifierExpression that represents the Any operation. - An expression that specifies the input set. - A method representing the predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - source does not have a collection result type. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that specifies the logic to evaluate once for each member of the input set. - source or apply is null. - source does not have a collection result type. - The result of apply contains a name or expression that is null. - The result of apply contains a name or expression that is not valid in an expression binding. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set have an apply column value of null. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of OuterApply. - - - A that specifies the input set. - - A method that specifies the logic to evaluate once for each member of the input set. - source or apply is null. - Source does not have a collection result type. - The result of apply contains a name or expression that is null. - The result of apply contains a name or expression that is not valid in an expression binding. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using FullOuterJoin as the - - . - - - A new DbJoinExpression, with an of FullOuterJoin, that represents the full outer join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using LeftOuterJoin as the - - . - - - A new DbJoinExpression, with an of LeftOuterJoin, that represents the left outer join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the outer and inner expressions, on an equality condition between the specified outer and inner keys, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under a join condition that compares the outer and inner key values for equality. - - - A that specifies the outer set argument. - - - A that specifies the inner set argument. - - A method that specifies how the outer key value should be derived from an element of the outer set. - A method that specifies how the inner key value should be derived from an element of the inner set. - outer, inner, outerKey or innerKey is null. - outer or inner does not have a collection result type. - The expression produced by outerKey or innerKey is null. - The expressions produced by outerKey and innerKey are not comparable for equality. - - - - Creates a new that projects the specified selector over the sets specified by the outer and inner expressions, joined on an equality condition between the specified outer and inner keys, using InnerJoin as the - - . - - - A new DbProjectExpression with the specified selector as its projection, and a new DbJoinExpression as its input. The input DbJoinExpression is created with an - - of InnerJoin, that represents the inner join operation applied to the left and right input sets under a join condition that compares the outer and inner key values for equality. - - - A that specifies the outer set argument. - - - A that specifies the inner set argument. - - A method that specifies how the outer key value should be derived from an element of the outer set. - A method that specifies how the inner key value should be derived from an element of the inner set. - - A method that specifies how an element of the result set should be derived from elements of the inner and outer sets. This method must produce an instance of a type that is compatible with Join and can be resolved into a - - . Compatibility requirements for TSelector are described in remarks. - - The type of the selector . - outer, inner, outerKey, innerKey or selector is null. - outer or inner does not have a collection result type. - The expression produced by outerKey or innerKey is null. - The result of selector is null after conversion to DbExpression. - The expressions produced by outerKey and innerKey is not comparable for equality. - The result of Selector is not compatible with SelectMany. - - - - Creates a new that sorts the given input set by the specified sort key, with ascending sort order and default collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that sorts the given input set by the specified sort key, with ascending sort order and the specified collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that sorts the given input set by the specified sort key, with descending sort order and default collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that sorts the given input set by the specified sort key, with descending sort order and the specified collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that selects the specified expression over the given input set. - - A new DbProjectExpression that represents the select operation. - An expression that specifies the input set. - - A method that specifies how to derive the projected expression given a member of the input set. This method must produce an instance of a type that is compatible with Select and can be resolved into a - - . Compatibility requirements for TProjection are described in remarks. - - The method result type of projection. - source or projection is null. - The result of projection is null. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. A - - is then created that selects the apply column from each row, producing the overall collection of apply results. - - - An new DbProjectExpression that selects the apply column from a new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that represents the logic to evaluate once for each member of the input set. - source or apply is null. - The expression produced by apply is null. - source does not have a collection result type. - The expression produced by apply does not have a collection type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. A - - is then created that selects the specified selector over each row, producing the overall collection of results. - - - An new DbProjectExpression that selects the result of the given selector from a new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that represents the logic to evaluate once for each member of the input set. - - A method that specifies how an element of the result set should be derived given an element of the input and apply sets. This method must produce an instance of a type that is compatible with SelectMany and can be resolved into a - - . Compatibility requirements for TSelector are described in remarks. - - The method result type of selector. - source, apply or selector is null. - The expression produced by apply is null. - The result of selector is null on conversion to DbExpression. - source does not have a collection result type. - The expression produced by apply does not have a collection type. does not have a collection type. - - - - Creates a new that skips the specified number of elements from the given sorted input set. - - A new DbSkipExpression that represents the skip operation. - - A that specifies the sorted input set. - - An expression the specifies how many elements of the ordered set to skip. - argument or count is null. - - count is not or - - or has a result type that is not equal or promotable to a 64-bit integer type. - - - - - Creates a new that restricts the number of elements in the Argument collection to the specified count Limit value. Tied results are not included in the output. - - A new DbLimitExpression with the specified argument and count limit values that does not include tied results. - An expression that specifies the input collection. - An expression that specifies the limit value. - argument or count is null. - argument does not have a collection result type, count does not have a result type that is equal or promotable to a 64-bit integer type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in ascending sort order and with default collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - sortKey does not have an order-comparable result type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in ascending sort order and with the specified collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in descending sort order and with default collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in descending sort order and with the specified collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that filters the elements in the given input set using the specified predicate. - - A new DbQuantifierExpression that represents the Any operation. - An expression that specifies the input set. - A method representing the predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that computes the union of the left and right set arguments with duplicates removed. - - A new DbExpression that computes the union, without duplicates, of the the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type with an equality-comparable element type exists between left and right. - - - - Gets a with the Boolean value true. - - - A with the Boolean value true. - - - - - Gets a with the Boolean value false. - - - A with the Boolean value false. - - - - - Provides an API to construct s that invoke canonical EDM functions, and allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'Avg' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the average value. - An expression that specifies the collection from which the average value should be computed. - - - - Creates a that invokes the canonical 'Count' function over the specified collection. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that produces the count value. - An expression that specifies the collection over which the count value should be computed. - - - - Creates a that invokes the canonical 'BigCount' function over the specified collection. The result type of the expression is Edm.Int64. - - A new DbFunctionExpression that produces the count value. - An expression that specifies the collection over which the count value should be computed. - - - - Creates a that invokes the canonical 'Max' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the maximum value. - An expression that specifies the collection from which the maximum value should be retrieved - - - - Creates a that invokes the canonical 'Min' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the minimum value. - An expression that specifies the collection from which the minimum value should be retrieved. - - - - Creates a that invokes the canonical 'Sum' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the sum. - An expression that specifies the collection from which the sum should be computed. - - - - Creates a that invokes the canonical 'StDev' function over the non-null members of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the standard deviation value over non-null members of the collection. - An expression that specifies the collection for which the standard deviation should be computed. - - - - Creates a that invokes the canonical 'StDevP' function over the population of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the standard deviation value. - An expression that specifies the collection for which the standard deviation should be computed. - - - - Creates a that invokes the canonical 'Var' function over the non-null members of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the statistical variance value for the non-null members of the collection. - An expression that specifies the collection for which the statistical variance should be computed. - - - - Creates a that invokes the canonical 'VarP' function over the population of the specified collection. The result type of the expression Edm.Double. - - A new DbFunctionExpression that produces the statistical variance value. - An expression that specifies the collection for which the statistical variance should be computed. - - - - Creates a that invokes the canonical 'Concat' function with the specified arguments, which must each have a string result type. The result type of the expression is string. - - A new DbFunctionExpression that produces the concatenated string. - An expression that specifies the string that should appear first in the concatenated result string. - An expression that specifies the string that should appear second in the concatenated result string. - - - - Creates a that invokes the canonical 'Contains' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not searchedForString occurs within searchedString. - An expression that specifies the string to search for any occurence of searchedForString. - An expression that specifies the string to search for in searchedString. - - - - Creates a that invokes the canonical 'EndsWith' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not stringArgument ends with suffix. - An expression that specifies the string that is searched at the end for string suffix. - An expression that specifies the target string that is searched for at the end of stringArgument. - - - - Creates a that invokes the canonical 'IndexOf' function with the specified arguments, which must each have a string result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the first index of stringToFind in searchString. - An expression that specifies the string to search for stringToFind. - An expression that specifies the string to locate within searchString should be checked. - - - - Creates a that invokes the canonical 'Left' function with the specified arguments, which must have a string and integer numeric result type. The result type of the expression is string. - - A new DbFunctionExpression that returns the the leftmost substring of length length from stringArgument. - An expression that specifies the string from which to extract the leftmost substring. - An expression that specifies the length of the leftmost substring to extract from stringArgument. - - - - Creates a that invokes the canonical 'Length' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the length of stringArgument. - An expression that specifies the string for which the length should be computed. - - - - Creates a that invokes the canonical 'Replace' function with the specified arguments, which must each have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression than returns a new string based on stringArgument where every occurence of toReplace is replaced by replacement. - An expression that specifies the string in which to perform the replacement operation. - An expression that specifies the string that is replaced. - An expression that specifies the replacement string. - - - - Creates a that invokes the canonical 'Reverse' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that produces the reversed value of stringArgument. - An expression that specifies the string to reverse. - - - - Creates a that invokes the canonical 'Right' function with the specified arguments, which must have a string and integer numeric result type. The result type of the expression is string. - - A new DbFunctionExpression that returns the the rightmost substring of length length from stringArgument. - An expression that specifies the string from which to extract the rightmost substring. - An expression that specifies the length of the rightmost substring to extract from stringArgument. - - - - Creates a that invokes the canonical 'StartsWith' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not stringArgument starts with prefix. - An expression that specifies the string that is searched at the start for string prefix. - An expression that specifies the target string that is searched for at the start of stringArgument. - - - - Creates a that invokes the canonical 'Substring' function with the specified arguments, which must have a string and integer numeric result types. The result type of the expression is string. - - A new DbFunctionExpression that returns the substring of length length from stringArgument starting at start. - An expression that specifies the string from which to extract the substring. - An expression that specifies the starting index from which the substring should be taken. - An expression that specifies the length of the substring. - - - - Creates a that invokes the canonical 'ToLower' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument converted to lower case. - An expression that specifies the string that should be converted to lower case. - - - - Creates a that invokes the canonical 'ToUpper' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument converted to upper case. - An expression that specifies the string that should be converted to upper case. - - - - Creates a that invokes the canonical 'Trim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with leading and trailing space removed. - An expression that specifies the string from which leading and trailing space should be removed. - - - - Creates a that invokes the canonical 'RTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with trailing space removed. - An expression that specifies the string from which trailing space should be removed. - - - - Creates a that invokes the canonical 'LTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with leading space removed. - An expression that specifies the string from which leading space should be removed. - - - - Creates a that invokes the canonical 'Year' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer year value from dateValue. - An expression that specifies the value from which the year should be retrieved. - - - - Creates a that invokes the canonical 'Month' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer month value from dateValue. - An expression that specifies the value from which the month should be retrieved. - - - - Creates a that invokes the canonical 'Day' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer day value from dateValue. - An expression that specifies the value from which the day should be retrieved. - - - - Creates a that invokes the canonical 'DayOfYear' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer day of year value from dateValue. - An expression that specifies the value from which the day within the year should be retrieved. - - - - Creates a that invokes the canonical 'Hour' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer hour value from timeValue. - An expression that specifies the value from which the hour should be retrieved. - - - - Creates a that invokes the canonical 'Minute' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer minute value from timeValue. - An expression that specifies the value from which the minute should be retrieved. - - - - Creates a that invokes the canonical 'Second' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer second value from timeValue. - An expression that specifies the value from which the second should be retrieved. - - - - Creates a that invokes the canonical 'Millisecond' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer millisecond value from timeValue. - An expression that specifies the value from which the millisecond should be retrieved. - - - - Creates a that invokes the canonical 'GetTotalOffsetMinutes' function with the specified argument, which must have a DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of minutes dateTimeOffsetArgument is offset from GMT. - An expression that specifies the DateTimeOffset value from which the minute offset from GMT should be retrieved. - - - - Creates a that invokes the canonical 'CurrentDateTime' function. - - A new DbFunctionExpression that returns the current date and time as an Edm.DateTime instance. - - - - Creates a that invokes the canonical 'CurrentDateTimeOffset' function. - - A new DbFunctionExpression that returns the current date and time as an Edm.DateTimeOffset instance. - - - - Creates a that invokes the canonical 'CurrentUtcDateTime' function. - - A new DbFunctionExpression that returns the current UTC date and time as an Edm.DateTime instance. - - - - Creates a that invokes the canonical 'TruncateTime' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that returns the value of dateValue with time set to zero. - An expression that specifies the value for which the time portion should be truncated. - - - - Creates a that invokes the canonical 'CreateDateTime' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.DateTime. - - A new DbFunctionExpression that returns a new DateTime based on the specified values. - An expression that provides the year value for the new DateTime instance. - An expression that provides the month value for the new DateTime instance. - An expression that provides the day value for the new DateTime instance. - An expression that provides the hour value for the new DateTime instance. - An expression that provides the minute value for the new DateTime instance. - An expression that provides the second value for the new DateTime instance. - - - - Creates a that invokes the canonical 'CreateDateTimeOffset' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.DateTimeOffset. - - A new DbFunctionExpression that returns a new DateTimeOffset based on the specified values. - An expression that provides the year value for the new DateTimeOffset instance. - An expression that provides the month value for the new DateTimeOffset instance. - An expression that provides the day value for the new DateTimeOffset instance. - An expression that provides the hour value for the new DateTimeOffset instance. - An expression that provides the minute value for the new DateTimeOffset instance. - An expression that provides the second value for the new DateTimeOffset instance. - An expression that provides the number of minutes in the time zone offset value for the new DateTimeOffset instance. - - - - Creates a that invokes the canonical 'CreateTime' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.Time. - - A new DbFunctionExpression that returns a new Time based on the specified values. - An expression that provides the hour value for the new DateTime instance. - An expression that provides the minute value for the new DateTime instance. - An expression that provides the second value for the new DateTime instance. - - - - Creates a that invokes the canonical 'AddYears' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of years specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of years to add to dateValue. - - - - Creates a that invokes the canonical 'AddMonths' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of months specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of months to add to dateValue. - - - - Creates a that invokes the canonical 'AddDays' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of days specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of days to add to dateValue. - - - - Creates a that invokes the canonical 'AddHours' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of hours specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of hours to add to timeValue. - - - - Creates a that invokes the canonical 'AddMinutes' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of minutes specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of minutes to add to timeValue. - - - - Creates a that invokes the canonical 'AddSeconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of seconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of seconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddMilliseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of milliseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of milliseconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddMicroseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of microseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of microseconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddNanoseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of nanoseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of nanoseconds to add to timeValue. - - - - Creates a that invokes the canonical 'DiffYears' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of years that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffMonths' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of months that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffDays' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of days that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffHours' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of hours that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMinutes' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of minutes that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffSeconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of seconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMilliseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of milliseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMicroseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of microseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffNanoseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of nanoseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'Round' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that rounds the specified argument to the nearest integer value. - An expression that specifies the numeric value to round. - - - - Creates a that invokes the canonical 'Round' function with the specified arguments, which must have a single, double or decimal, and integer result types. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that rounds the specified argument to the nearest integer value, with precision as specified by digits. - An expression that specifies the numeric value to round. - An expression that specifies the number of digits of precision to use when rounding. - - - - Creates a that invokes the canonical 'Floor' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the largest integer value not greater than value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Ceiling' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the smallest integer value not less than than value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Abs' function with the specified argument, which must each have a numeric result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the absolute value of value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Truncate' function with the specified arguments, which must have a single, double or decimal, and integer result types. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that truncates the specified argument to the nearest integer value, with precision as specified by digits. - An expression that specifies the numeric value to truncate. - An expression that specifies the number of digits of precision to use when truncating. - - - - Creates a that invokes the canonical 'Power' function with the specified arguments, which must have numeric result types. The result type of the expression is the same as the result type of baseArgument. - - A new DbFunctionExpression that returns the value of baseArgument raised to the power specified by exponent. - An expression that specifies the numeric value to raise to the given power. - An expression that specifies the power to which baseArgument should be raised. - - - - Creates a that invokes the canonical 'BitwiseAnd' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise AND of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'BitwiseOr' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise OR of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'BitwiseNot' function with the specified argument, which must have an integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise NOT of value. - An expression that specifies the first operand. - - - - Creates a that invokes the canonical 'BitwiseXor' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise XOR (exclusive OR) of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'NewGuid' function. - - A new DbFunctionExpression that returns a new GUID value. - - - - Provides a constructor-like means of calling - - . - - - - - Initializes a new instance of the class with the specified first column value and optional successive column values. - - A key-value pair that provides the first column in the new row instance. (required) - A key-value pairs that provide any subsequent columns in the new row instance. (optional) - - - - Creates a new that constructs a new row based on the columns contained in this Row instance. - - A new DbNewInstanceExpression that constructs a row with the same column names and DbExpression values as this Row instance. - - - - Converts the given Row instance into an instance of - - The Row instance. - A DbExpression based on the Row instance - - - is null. - - - - - - Provides an API to construct s that invoke spatial realted canonical EDM functions, and, where appropriate, allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'GeometryFromText' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geometry. Its value has the default coordinate system id (SRID) of the underlying provider. - - A new DbFunctionExpression that returns a new geometry value based on the specified value. - An expression that provides the well known text representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromText' function with the specified arguments. wellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the well known text representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPointFromText' function with the specified arguments. pointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry point value based on the specified values. - An expression that provides the well known text representation of the geometry point value. - An expression that provides the coordinate system id (SRID) of the geometry point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryLineFromText' function with the specified arguments. lineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry line value based on the specified values. - An expression that provides the well known text representation of the geometry line value. - An expression that provides the coordinate system id (SRID) of the geometry line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPolygonFromText' function with the specified arguments. polygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry polygon value based on the specified values. - An expression that provides the well known text representation of the geometry polygon value. - An expression that provides the coordinate system id (SRID) of the geometry polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPointFromText' function with the specified arguments. multiPointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-point value based on the specified values. - An expression that provides the well known text representation of the geometry multi-point value. - An expression that provides the coordinate system id (SRID) of the geometry multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiLineFromText' function with the specified arguments. multiLineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-line value based on the specified values. - An expression that provides the well known text representation of the geometry multi-line value. - An expression that provides the coordinate system id (SRID) of the geometry multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPolygonFromText' function with the specified arguments. multiPolygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-polygon value based on the specified values. - An expression that provides the well known text representation of the geometry multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geometry multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryCollectionFromText' function with the specified arguments. geometryCollectionWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry collection value based on the specified values. - An expression that provides the well known text representation of the geometry collection value. - An expression that provides the coordinate system id (SRID) of the geometry collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryFromBinary' function with the specified argument, which must have a binary result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified binary value. - An expression that provides the well known binary representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromBinary' function with the specified arguments. wellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the well known binary representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPointFromBinary' function with the specified arguments. pointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry point value based on the specified values. - An expression that provides the well known binary representation of the geometry point value. - An expression that provides the coordinate system id (SRID) of the geometry point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryLineFromBinary' function with the specified arguments. lineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry line value based on the specified values. - An expression that provides the well known binary representation of the geometry line value. - An expression that provides the coordinate system id (SRID) of the geometry line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPolygonFromBinary' function with the specified arguments. polygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry polygon value based on the specified values. - An expression that provides the well known binary representation of the geometry polygon value. - An expression that provides the coordinate system id (SRID) of the geometry polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPointFromBinary' function with the specified arguments. multiPointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-point value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-point value. - An expression that provides the coordinate system id (SRID) of the geometry multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiLineFromBinary' function with the specified arguments. multiLineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-line value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-line value. - An expression that provides the coordinate system id (SRID) of the geometry multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPolygonFromBinary' function with the specified arguments. multiPolygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-polygon value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geometry multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryCollectionFromBinary' function with the specified arguments. geometryCollectionWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry collection value based on the specified values. - An expression that provides the well known binary representation of the geometry collection value. - An expression that provides the coordinate system id (SRID) of the geometry collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified value with the default coordinate system id (SRID) of the underlying provider. - An expression that provides the Geography Markup Language (GML) representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromGml' function with the specified arguments. geometryMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the Geography Markup Language (GML) representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromText' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography. Its value has the default coordinate system id (SRID) of the underlying provider. - - A new DbFunctionExpression that returns a new geography value based on the specified value. - An expression that provides the well known text representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromText' function with the specified arguments. wellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the well known text representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPointFromText' function with the specified arguments. - - The canonical 'GeographyPointFromText' function. - An expression that provides the well-known text representation of the geography point value. - An expression that provides the coordinate system id (SRID) of the geography point value's coordinate systempointWellKnownTextValue. - - - - Creates a that invokes the canonical 'GeographyLineFromText' function with the specified arguments. lineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography line value based on the specified values. - An expression that provides the well known text representation of the geography line value. - An expression that provides the coordinate system id (SRID) of the geography line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPolygonFromText' function with the specified arguments. polygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography polygon value based on the specified values. - An expression that provides the well known text representation of the geography polygon value. - An expression that provides the coordinate system id (SRID) of the geography polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPointFromText' function with the specified arguments. multiPointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-point value based on the specified values. - An expression that provides the well known text representation of the geography multi-point value. - An expression that provides the coordinate system id (SRID) of the geography multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiLineFromText' function with the specified arguments. multiLineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-line value based on the specified values. - An expression that provides the well known text representation of the geography multi-line value. - An expression that provides the coordinate system id (SRID) of the geography multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPolygonFromText' function with the specified arguments. multiPolygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-polygon value based on the specified values. - An expression that provides the well known text representation of the geography multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geography multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyCollectionFromText' function with the specified arguments. geographyCollectionWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography collection value based on the specified values. - An expression that provides the well known text representation of the geography collection value. - An expression that provides the coordinate system id (SRID) of the geography collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromBinary' function with the specified argument, which must have a binary result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified binary value. - An expression that provides the well known binary representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromBinary' function with the specified arguments. wellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the well known binary representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPointFromBinary' function with the specified arguments. pointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography point value based on the specified values. - An expression that provides the well known binary representation of the geography point value. - An expression that provides the coordinate system id (SRID) of the geography point value's coordinate systempointWellKnownBinaryValue. - - - - Creates a that invokes the canonical 'GeographyLineFromBinary' function with the specified arguments. lineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography line value based on the specified values. - An expression that provides the well known binary representation of the geography line value. - An expression that provides the coordinate system id (SRID) of the geography line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPolygonFromBinary' function with the specified arguments. polygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography polygon value based on the specified values. - An expression that provides the well known binary representation of the geography polygon value. - An expression that provides the coordinate system id (SRID) of the geography polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPointFromBinary' function with the specified arguments. multiPointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-point value based on the specified values. - An expression that provides the well known binary representation of the geography multi-point value. - An expression that provides the coordinate system id (SRID) of the geography multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiLineFromBinary' function with the specified arguments. multiLineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-line value based on the specified values. - An expression that provides the well known binary representation of the geography multi-line value. - An expression that provides the coordinate system id (SRID) of the geography multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPolygonFromBinary' function with the specified arguments. multiPolygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-polygon value based on the specified values. - An expression that provides the well known binary representation of the geography multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geography multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyCollectionFromBinary' function with the specified arguments. geographyCollectionWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography collection value based on the specified values. - An expression that provides the well known binary representation of the geography collection value. - An expression that provides the coordinate system id (SRID) of the geography collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified value with the default coordinate system id (SRID) of the underlying provider. - An expression that provides the Geography Markup Language (GML) representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromGml' function with the specified arguments. geographyMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the Geography Markup Language (GML) representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'CoordinateSystemId' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer SRID value from spatialValue. - An expression that specifies the value from which the coordinate system id (SRID) should be retrieved. - - - - Creates a that invokes the canonical 'SpatialTypeName' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the string Geometry Type name from spatialValue. - An expression that specifies the value from which the Geometry Type name should be retrieved. - - - - Creates a that invokes the canonical 'SpatialDimension' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the Dimension value from spatialValue. - An expression that specifies the value from which the Dimension value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialEnvelope' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the the minimum bounding box for geometryValue. - An expression that specifies the value from which the Envelope value should be retrieved. - - - - Creates a that invokes the canonical 'AsBinary' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Binary. - - A new DbFunctionExpression that returns the well known binary representation of spatialValue. - An expression that specifies the spatial value from which the well known binary representation should be produced. - - - - Creates a that invokes the canonical 'AsGml' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the Geography Markup Language (GML) representation of spatialValue. - An expression that specifies the spatial value from which the Geography Markup Language (GML) representation should be produced. - - - - Creates a that invokes the canonical 'AsText' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the well known text representation of spatialValue. - An expression that specifies the spatial value from which the well known text representation should be produced. - - - - Creates a that invokes the canonical 'IsEmptySpatial' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue is empty. - An expression that specifies the spatial value from which the IsEmptySptiaal value should be retrieved. - - - - Creates a that invokes the canonical 'IsSimpleGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue is a simple geometry. - The geometry value. - - - - Creates a that invokes the canonical 'SpatialBoundary' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the the boundary for geometryValue. - An expression that specifies the geometry value from which the SpatialBoundary value should be retrieved. - - - - Creates a that invokes the canonical 'IsValidGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue is valid. - An expression that specifies the geometry value which should be tested for spatial validity. - - - - Creates a that invokes the canonical 'SpatialEquals' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 are equal. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for equality. - - - - Creates a that invokes the canonical 'SpatialDisjoint' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 are spatially disjoint. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for disjointness. - - - - Creates a that invokes the canonical 'SpatialIntersects' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 intersect. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for intersection. - - - - Creates a that invokes the canonical 'SpatialTouches' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 touches geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialCrosses' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 crosses geometryValue2 intersect. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialWithin' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 is spatially within geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialContains' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 spatially contains geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialOverlaps' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 spatially overlaps geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialRelate' function with the specified arguments, which must have Edm.Geometry and string result types. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 is spatially related to geometryValue2 according to the spatial relationship designated by intersectionPatternMatrix. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - An expression that specifies the text representation of the Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern used to compare geometryValue1 and geometryValue2. - - - - Creates a that invokes the canonical 'SpatialBuffer' function with the specified arguments, which must have a Edm.Geography or Edm.Geometry and Edm.Double result types. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a geometry value representing all points less than or equal to distance from spatialValue. - An expression that specifies the spatial value. - An expression that specifies the buffer distance. - - - - Creates a that invokes the canonical 'Distance' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns the distance between the closest points in spatialValue1 and spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value from which the distance from spatialValue1 should be measured. - - - - Creates a that invokes the canonical 'SpatialConvexHull' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the the convex hull for geometryValue. - An expression that specifies the geometry value from which the convex hull value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialIntersection' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the spatial value representing the intersection of spatialValue1 and spatialValue2. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the intersection with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialUnion' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the spatial value representing the union of spatialValue1 and spatialValue2. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the union with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialDifference' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the geometry value representing the difference of spatialValue2 with spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the difference with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialSymmetricDifference' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the geometry value representing the symmetric difference of spatialValue2 with spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the symmetric difference with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialElementCount' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of elements in spatialValue or null if spatialValue is not a collection. - An expression that specifies the geography or geometry collection value from which the number of elements should be retrieved. - - - - Creates a that invokes the canonical 'SpatialElementAt' function with the specified arguments. The first argument must have an Edm.Geography or Edm.Geometry result type. The second argument must have an integer numeric result type. The result type of the expression is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the collection element at position indexValue in spatialValue or null if spatialValue is not a collection. - An expression that specifies the geography or geometry collection value. - An expression that specifies the position of the element to be retrieved from within the geometry or geography collection. - - - - Creates a that invokes the canonical 'XCoordinate' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the X co-ordinate value of geometryValue or null if geometryValue is not a point. - An expression that specifies the geometry point value from which the X co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'YCoordinate' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Y co-ordinate value of geometryValue or null if geometryValue is not a point. - An expression that specifies the geometry point value from which the Y co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'Elevation' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the elevation value of spatialValue or null if spatialValue is not a point. - An expression that specifies the spatial point value from which the elevation (Z co-ordinate) value should be retrieved. - - - - Creates a that invokes the canonical 'Measure' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Measure of spatialValue or null if spatialValue is not a point. - An expression that specifies the spatial point value from which the Measure (M) co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'Latitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Latitude value of geographyValue or null if geographyValue is not a point. - An expression that specifies the geography point value from which the Latitude value should be retrieved. - - - - Creates a that invokes the canonical 'Longitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Longitude value of geographyValue or null if geographyValue is not a point. - An expression that specifies the geography point value from which the Longitude value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialLength' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the length of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the length should be retrieved. - - - - Creates a that invokes the canonical 'StartPoint' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the start point of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the start point should be retrieved. - - - - Creates a that invokes the canonical 'EndPoint' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the end point of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the end point should be retrieved. - - - - Creates a that invokes the canonical 'IsClosedSpatial' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is Edm.Boolean. - - A new DbFunctionExpression that returns either a Boolean value indicating whether spatialValue is closed, or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the IsClosedSpatial value should be retrieved. - - - - Creates a that invokes the canonical 'IsRing' function with the specified argument, which must have an Edm.Geometry result type. The result type is Edm.Boolean. - - A new DbFunctionExpression that returns either a Boolean value indicating whether geometryValue is a ring (both closed and simple), or null if geometryValue is not a curve. - An expression that specifies the geometry curve value from which the IsRing value should be retrieved. - - - - Creates a that invokes the canonical 'PointCount' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of points in spatialValue or null if spatialValue is not a line string. - An expression that specifies the spatial line string value from which the number of points should be retrieved. - - - - Creates a that invokes the canonical 'PointAt' function with the specified arguments. The first argument must have an Edm.Geography or Edm.Geometry result type. The second argument must have an integer numeric result type. The result type of the expression is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the point at position indexValue in spatialValue or null if spatialValue is not a line string. - An expression that specifies the spatial line string value. - An expression that specifies the position of the point to be retrieved from within the line string. - - - - Creates a that invokes the canonical 'Area' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the area of spatialValue or null if spatialValue is not a surface. - An expression that specifies the spatial surface value for which the area should be calculated. - - - - Creates a that invokes the canonical 'Centroid' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the centroid point of geometryValue (which may not be on the surface itself) or null if geometryValue is not a surface. - An expression that specifies the geometry surface value from which the centroid should be retrieved. - - - - Creates a that invokes the canonical 'PointOnSurface' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either a point guaranteed to be on the surface geometryValue or null if geometryValue is not a surface. - An expression that specifies the geometry surface value from which the point should be retrieved. - - - - Creates a that invokes the canonical 'ExteriorRing' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the exterior ring of the polygon geometryValue or null if geometryValue is not a polygon. - The geometry value. - - - - Creates a that invokes the canonical 'InteriorRingCount' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of interior rings in the polygon geometryValue or null if geometryValue is not a polygon. - The geometry value. - - - - Creates a that invokes the canonical 'InteriorRingAt' function with the specified arguments. The first argument must have an Edm.Geometry result type. The second argument must have an integer numeric result types. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the interior ring at position indexValue in geometryValue or null if geometryValue is not a polygon. - The geometry value. - An expression that specifies the position of the interior ring to be retrieved from within the polygon. - - - - Ensures that all metadata in a given expression tree is from the specified metadata workspace, - potentially rebinding and rebuilding the expressions to appropriate replacement metadata where necessary. - - - - Initializes a new instance of the class. - The target workspace. - - - Implements the visitor pattern for the entity set. - The implemented visitor pattern. - The entity set. - - - Implements the visitor pattern for the function. - The implemented visitor pattern. - The function metadata. - - - Implements the visitor pattern for the type. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the type usage. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for retrieving an instance property. - The implemented visitor. - The expression. - - - - Represents a boolean expression that tests whether a specified item matches any element in a list. - - - - - The visitor pattern method for expression visitors that do not produce a result value. - - An instance of DbExpressionVisitor. - - - is null - - - - - The visitor pattern method for expression visitors that produce a result value of a specific type. - - An instance of a typed DbExpressionVisitor that produces a result value of type TResultType. - - The type of the result produced by - - - - is null - - - An instance of . - - - - - Gets a DbExpression that specifies the item to be matched. - - - - - Gets the list of DbExpression to test for a match. - - - - - Represents the retrieval of the key value of the specified Reference as a row. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents the set union (without duplicate removal) operation between the left and right operands. - - - DbUnionAllExpression requires that its arguments have a common collection result type - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents a 'scan' of all elements of a given entity set. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the metadata for the referenced entity or relationship set. - The metadata for the referenced entity or relationship set. - - - - Extension methods for . - - - - - Gets the conceptual model from the specified DbModel. - - An instance of a class that implements IEdmModelAdapter (ex. DbModel). - An instance of EdmModel that represents the conceptual model. - - - - Gets the store model from the specified DbModel. - - An instance of a class that implements IEdmModelAdapter (ex. DbModel). - An instance of EdmModel that represents the store model. - - - - An interface to get the underlying store and conceptual model for a . - - - - - Gets the conceptual model. - - - - - Gets the store model. - - - - - Inherit from this class to create a service that allows for code generation of custom annotations as part of - scaffolding Migrations. The derived class should be set onto the . - - - Note that an is not needed if the annotation uses a simple string value, - or if calling ToString on the annotation object is sufficient for use in the scaffolded Migration. - - - - - Override this method to return additional namespaces that should be included in the code generated for the - scaffolded migration. The default implementation returns an empty enumeration. - - The names of the annotations that are being included in the generated code. - A list of additional namespaces to include. - - - - Implement this method to generate code for the given annotation value. - - The name of the annotation for which a value is being generated. - The annotation value. - The writer to which generated code should be written. - - - - Represents a pair of annotation values in a scaffolded or hand-coded . - - - Code First allows for custom annotations to be associated with columns and tables in the - generated model. This class represents a pair of annotation values in a migration such - that when the Code First model changes the old annotation value and the new annotation - value can be provided to the migration and used in SQL generation. - - - - - Creates a new pair of annotation values. - - The old value of the annotation, which may be null if the annotation has just been created. - The new value of the annotation, which may be null if the annotation has been deleted. - - - - - - - - - - Returns true if both annotation pairs contain the same values, otherwise false. - - A pair of annotation values. - A pair of annotation values. - True if both pairs contain the same values. - - - - Returns true if the two annotation pairs contain different values, otherwise false. - - A pair of annotation values. - A pair of annotation values. - True if the pairs contain different values. - - - - Gets the old value of the annotation, which may be null if the annotation has just been created. - - - - - Gets the new value of the annotation, which may be null if the annotation has been deleted. - - - - - Returned by and related methods to indicate whether or - not one object does not conflict with another such that the two can be combined into one. - - - If the two objects are not compatible then information about why they are not compatible is contained - in the property. - - - - - Creates a new instance. - - Indicates whether or not the two tested objects are compatible. - - An error message indicating how the objects are not compatible. Expected to be null if isCompatible is true. - - - - - Implicit conversion to a bool to allow the result object to be used directly in checks. - - The object to convert. - True if the result is compatible; false otherwise. - - - - True if the two tested objects are compatible; otherwise false. - - - - - If is true, then returns an error message indicating how the two tested objects - are incompatible. - - - - - Types used as custom annotations can implement this interface to indicate that an attempt to use - multiple annotations with the same name on a given table or column may be possible by merging - the multiple annotations into one. - - - Normally there can only be one custom annotation with a given name on a given table or - column. If a table or column ends up with multiple annotations, for example, because - multiple CLR properties map to the same column, then an exception will be thrown. - However, if the annotation type implements this interface, then the two annotations will be - checked for compatibility using the method and, if compatible, - will be merged into one using the method. - - - - - Returns true if this annotation does not conflict with the given annotation such that - the two can be combined together using the method. - - The annotation to compare. - A CompatibilityResult indicating whether or not this annotation is compatible with the other. - - - - Merges this annotation with the given annotation and returns a new merged annotation. This method is - only expected to succeed if returns true. - - The annotation to merge with this one. - A new merged annotation. - - - - Instances of this class are used as custom annotations for representing database indexes in an - Entity Framework model. - - - An index annotation is added to a Code First model when an is placed on - a mapped property of that model. This is used by Entity Framework Migrations to create indexes on - mapped database columns. Note that multiple index attributes on a property will be merged into a - single annotation for the column. Similarly, index attributes on multiple properties that map to the - same column will be merged into a single annotation for the column. This means that one index - annotation can represent multiple indexes. Within an annotation there can be only one index with any - given name. - - - - - The name used when this annotation is stored in Entity Framework metadata or serialized into - an SSDL/EDMX file. - - - - - Creates a new annotation for the given index. - - An index attributes representing an index. - - - - Creates a new annotation for the given collection of indexes. - - Index attributes representing one or more indexes. - - - - Returns true if this annotation does not conflict with the given annotation such that - the two can be combined together using the method. - - - Each index annotation contains at most one with a given name. - Two annotations are considered compatible if each IndexAttribute with a given name is only - contained in one annotation or the other, or if both annotations contain an IndexAttribute - with the given name. - - The annotation to compare. - A CompatibilityResult indicating whether or not this annotation is compatible with the other. - - - - Merges this annotation with the given annotation and returns a new annotation containing the merged indexes. - - - Each index annotation contains at most one with a given name. - The merged annotation will contain IndexAttributes from both this and the other annotation. - If both annotations contain an IndexAttribute with the same name, then the merged annotation - will contain one IndexAttribute with that name. - - The annotation to merge with this one. - A new annotation with indexes from both annotations merged. - - The other annotation contains indexes that are not compatible with indexes in this annotation. - - - - - - - - Gets the indexes represented by this annotation. - - - - - This class is used to serialize and deserialize objects so that they - can be stored in the EDMX form of the Entity Framework model. - - - An example of the serialized format is: - { Name: 'MyIndex', Order: 7, IsClustered: True, IsUnique: False } { } { Name: 'MyOtherIndex' }. - Note that properties that have not been explicitly set in an index attribute will be excluded from - the serialized output. So, in the example above, the first index has all properties specified, - the second has none, and the third has just the name set. - - - - - Implement this interface to allow custom annotations represented by instances to be - serialized to and from the EDMX XML. Usually a serializer instance is set using the - method. - - - - - Serializes the given annotation value into a string for storage in the EDMX XML. - - The name of the annotation that is being serialized. - The value to serialize. - The serialized value. - - - - Deserializes the given string back into the expected annotation value. - - The name of the annotation that is being deserialized. - The string to deserialize. - The deserialized annotation value. - - - - Serializes the given into a string for storage in the EDMX XML. - - The name of the annotation that is being serialized. - The value to serialize which must be an IndexAnnotation object. - The serialized value. - - - - Deserializes the given string back into an object. - - The name of the annotation that is being deserialized. - The string to deserialize. - The deserialized annotation value. - If there is an error reading the serialized value. - - - - Base class for persisted model cache. - - - - - Loads a model from the store. - - The type of context representing the model. - The loaded metadata model. - - - - Retrieves an edmx XDocument version of the model from the store. - - The type of context representing the model. - The loaded XDocument edmx. - - - - Saves a model to the store. - - The type of context representing the model. - The metadata model to save. - - - - Gets the default database schema used by a model. - - The type of context representing the model. - The default database schema. - - - - Loads or saves models from/into .edmx files at a specified location. - - - - - Initializes a new DefaultDbModelStore instance. - - The parent directory for the .edmx files. - - - - Loads a model from the store. - - The type of context representing the model. - The loaded metadata model. - - - - Retrieves an edmx XDocument version of the model from the store. - - The type of context representing the model. - The loaded XDocument edmx. - - - - Saves a model to the store. - - The type of context representing the model. - The metadata model to save. - - - - Gets the path of the .edmx file corresponding to the specified context type. - - A context type. - The .edmx file path. - - - - Validates the model store is valid. - The default implementation verifies that the .edmx file was last - written after the context assembly was last written. - - The type of context representing the model. - The path of the stored model. - Whether the edmx file should be invalidated. - - - - Gets the location of the .edmx files. - - - - - This interface is implemented by any object that can resolve a dependency, either directly - or through use of an external container. - - - The public services currently resolved using IDbDependencyResolver are documented here: - http://msdn.microsoft.com/en-us/data/jj680697 - - - - - Attempts to resolve a dependency for a given contract type and optionally a given key. - If the resolver cannot resolve the dependency then it must return null and not throw. This - allows resolvers to be used in a Chain of Responsibility pattern such that multiple resolvers - can be asked to resolve a dependency until one finally does. - - The interface or abstract base class that defines the dependency to be resolved. The returned object is expected to be an instance of this type. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - The resolved dependency, which must be an instance of the given contract type, or null if the dependency could not be resolved. - - - - Attempts to resolve a dependencies for a given contract type and optionally a given key. - If the resolver cannot resolve the dependency then it must return an empty enumeration and - not throw. This method differs from in that it returns all registered - services for the given type and key combination. - - The interface or abstract base class that defines the dependency to be resolved. Every returned object is expected to be an instance of this type. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - All services that resolve the dependency, which must be instances of the given contract type, or an empty enumeration if the dependency could not be resolved. - - - - An implementation used for resolving - factories. - - - - - Initializes a new instance of - - A function that returns a new instance of a transaction handler. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which the transaction handler will be used. - null will match anything. - - - A string that will be matched against the server name in the connection string. null will match anything. - - - - - If the given type is , then this method will attempt - to return the service to use, otherwise it will return null. When the given type is - , then the key is expected to be a . - - The service type to resolve. - A key used to make a determination of the service to return. - - An , or null. - - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return an empty enumeration. When the given type is - , then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An enumerable of , or an empty enumeration. - - - - - - - - - - - Utility class for reading a metadata model from .edmx. - - - - - Reads a metadata model from .edmx. - - XML reader for the .edmx - Default database schema used by the model. - The loaded metadata model. - - - - Provides utility methods for reading from an App.config or Web.config file. - - - - - Initializes a new instance of . - - The configuration to read from. - - - - Gets the specified provider services from the configuration. - - The invariant name of the provider services. - The provider services type name, or null if not found. - - - - A simple logger for logging SQL and other database operations to the console or a file. - A logger can be registered in code or in the application's web.config /app.config file. - - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework loads the application's . - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - This is the base interface for all interfaces that provide interception points for various - different types and operations. For example, see . - Interceptors are registered on the class. - - - - - Occurs during EF initialization after the has been constructed but just before - it is locked ready for use. Use this event to inspect and/or override services that have been - registered before the configuration is locked. Note that an interceptor of this type should be used carefully - since it may prevent tooling from discovering the same configuration that is used at runtime. - - - Handlers can only be added before EF starts to use the configuration and so handlers should - generally be added as part of application initialization. Do not access the DbConfiguration - static methods inside the handler; instead use the the members of - to get current services and/or add overrides. - - Arguments to the event that this interceptor mirrors. - Contextual information about the event. - - - - Creates a new logger that will send log output to the console. - - - - - Creates a new logger that will send log output to a file. If the file already exists then - it is overwritten. - - A path to the file to which log output will be written. - - - - Creates a new logger that will send log output to a file. - - A path to the file to which log output will be written. - True to append data to the file if it exists; false to overwrite the file. - - - - Stops logging and closes the underlying file if output is being written to a file. - - - - - Stops logging and closes the underlying file if output is being written to a file. - - - True to release both managed and unmanaged resources; False to release only unmanaged resources. - - - - - Starts logging. This method is a no-op if logging is already started. - - - - - Stops logging. This method is a no-op if logging is not started. - - - - - Called to start logging during Entity Framework initialization when this logger is registered. - as an . - - Arguments to the event that this interceptor mirrors. - Contextual information about the event. - - - - Represents contextual information associated with calls into - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Represents contextual information associated with calls into - implementations. - - - Note that specific types/operations that can be intercepted may use a more specific - interception context derived from this class. For example, if SQL is being executed by - a , then the DbContext will be contained in the - instance that is passed to the methods - of . - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. See - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - Call this method when creating a copy of an interception context in order to add new state - to it. Using this method instead of calling the constructor directly ensures virtual dispatch - so that the new type will have the same type (and any specialized state) as the context that - is being cloned. - - A new context with all state copied. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets all the instances associated with this interception context. - - - This list usually contains zero or one items. However, it can contain more than one item if - a single has been used to construct multiple - instances. - - - - - Gets all the instances associated with this interception context. - - - This list usually contains zero or one items. However, it can contain more than one item when - EF has created a new for use in database creation and initialization, or - if a single is used with multiple . - - - - - True if the operation is being executed asynchronously, otherwise false. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - - - - Creates a new that contains all the contextual information in - this interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in - this interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in - this interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - Implemented by Entity Framework providers and used to check whether or not tables exist - in a given database. This is used by database initializers when determining whether or not to - treat an existing database as empty such that tables should be created. - - - - - When overridden in a derived class checks where the given tables exist in the database - for the given connection. - - - The context for which table checking is being performed, usually used to obtain an appropriate - . - - - A connection to the database. May be open or closed; should be closed again if opened. Do not - dispose. - - The tables to check for existence. - The name of the EdmMetadata table to check for existence. - True if any of the model tables or EdmMetadata table exists. - - - - Helper method to get the table name for the given s-space . - - The s-space entity set for the table. - The table name. - - - - Thrown when an error occurs committing a . - - - - - Initializes a new instance of - - - - - Initializes a new instance of - - The exception message. - - - - Initializes a new instance of - - The exception message. - The inner exception. - - - - Initializes a new instance of the class. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - Event arguments passed to event handlers. - - - - - Call this method to add a instance to the Chain of - Responsibility of resolvers that are used to resolve dependencies needed by the Entity Framework. - - - Resolvers are asked to resolve dependencies in reverse order from which they are added. This means - that a resolver can be added to override resolution of a dependency that would already have been - resolved in a different way. - The only exception to this is that any dependency registered in the application's config file - will always be used in preference to using a dependency resolver added here, unless the - overrideConfigFile is set to true in which case the resolver added here will also override config - file settings. - - The resolver to add. - If true, then the resolver added will take precedence over settings in the config file. - - - - Call this method to add a instance to the Chain of Responsibility - of resolvers that are used to resolve dependencies needed by the Entity Framework. Unlike the AddDependencyResolver - method, this method puts the resolver at the bottom of the Chain of Responsibility such that it will only - be used to resolve a dependency that could not be resolved by any of the other resolvers. - - The resolver to add. - - - - Adds a wrapping resolver to the configuration that is about to be locked. A wrapping - resolver is a resolver that incepts a service would have been returned by the resolver - chain and wraps or replaces it with another service of the same type. - - The type of service to wrap or replace. - A delegate that takes the unwrapped service and key and returns the wrapped or replaced service. - - - - - - - - - - - - - - - - Returns a snapshot of the that is about to be locked. - Use the GetService methods on this object to get services that have been registered. - - - - - An implementation used for resolving - factories. - - - This class can be used by to aid in the resolving - of factories as a default service for the provider. - - The type of execution strategy that is resolved. - - - - Initializes a new instance of - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - - A string that will be matched against the server name in the connection string. null will match anything. - - A function that returns a new instance of an execution strategy. - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return null. When the given type is - Func{IExecutionStrategy}, then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An , or null. - - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return an empty enumeration. When the given type is - Func{IExecutionStrategy}, then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An enumerable of , or an empty enumeration. - - - - - Extension methods to call the method using - a generic type parameter and/or no name. - - - - - Calls passing the generic type of the method and the given - name as arguments. - - The contract type to resolve. - The resolver to use. - The key of the dependency to resolve. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the generic type of the method as - the type argument and null for the name argument. - - The contract type to resolve. - The resolver to use. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the given type argument and using - null for the name argument. - - The resolver to use. - The contract type to resolve. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the generic type of the method and the given - name as arguments. - - The contract type to resolve. - The resolver to use. - The key of the dependency to resolve. - All resolved dependencies, or an if no services are resolved. - - - - Calls passing the generic type of the method as - the type argument and null for the name argument. - - The contract type to resolve. - The resolver to use. - All resolved dependencies, or an if no services are resolved. - - - - Calls passing the given type argument and using - null for the name argument. - - The resolver to use. - The contract type to resolve. - All resolved dependencies, or an if no services are resolved. - - - - Implements to resolve a dependency such that it always returns - the same instance. - - The type that defines the contract for the dependency that will be resolved. - - This class is immutable such that instances can be accessed by multiple threads at the same time. - - - - - Constructs a new resolver that will return the given instance for the contract type - regardless of the key passed to the Get method. - - The instance to return. - - - - Constructs a new resolver that will return the given instance for the contract type - if the given key matches exactly the key passed to the Get method. - - The instance to return. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - - - - Constructs a new resolver that will return the given instance for the contract type - if the given key matches the key passed to the Get method based on the given predicate. - - The instance to return. - A predicate that takes the key object and returns true if and only if it matches. - - - - - - - - - - Represents contextual information associated with calls to - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Represents contextual information associated with calls to with return type . - - The return type of the target method. - - - - Represents contextual information associated with calls with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - If execution of the operation completes without throwing, then this property will contain - the result of the operation. If the operation was suppressed or did not fail, then this property - will always contain the default value for the generic type. - - - When an operation operation completes without throwing both this property and the - property are set. However, the property can be set or changed by interceptors, - while this property will always represent the actual result returned by the operation, if any. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set result will be returned instead. Otherwise, if the operation succeeds, then - this property will be set to the returned result. In either case, interceptors that run - after the operation can change this property to change the result that will be returned. - - - When an operation operation completes without throwing both this property and the - property are set. However, this property can be set or changed by interceptors, while the - property will always represent the actual result returned by the - operation, if any. - - - - - When true, this flag indicates that that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - , by setting an to be thrown, or - by setting the operation result using . - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The isolation level to associate. - A new interception context associated with the given isolation level. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - The that will be used or has been used to start a transaction. - - - - - This is the default log formatter used when some is set onto the - property. A different formatter can be used by creating a class that inherits from this class and overrides - some or all methods to change behavior. - - - To set the new formatter create a code-based configuration for EF using and then - set the formatter class to use with . - Note that setting the type of formatter to use with this method does change the way command are - logged when is used. It is still necessary to set a - onto before any commands will be logged. - For more low-level control over logging/interception see and - . - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework executes commands. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework performs operations on a . - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Called before is invoked. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - Called after is invoked. - The transaction used by Entity Framework can be changed by setting - . - - The connection that began the transaction. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection being closed. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection that was closed. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is set. - - The connection. - Contextual information associated with the call. - - - - Called after is set. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection being disposed. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection that was disposed. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection. - Contextual information associated with the call. - - - - Called before or its async counterpart is invoked. - - The connection being opened. - Contextual information associated with the call. - - - - Called after or its async counterpart is invoked. - - The connection that was opened. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework commits or rollbacks a transaction. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Called before is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called after is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called before is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called after is retrieved. - - The transaction. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being commited. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was commited. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being disposed. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was disposed. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being rolled back. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - Creates a formatter that will not filter by any and will instead log every command - from any context and also commands that do not originate from a context. - - - This constructor is not used when a delegate is set on . Instead it can be - used by setting the formatter directly using . - - The delegate to which output will be sent. - - - - Creates a formatter that will only log commands the come from the given instance. - - - This constructor must be called by a class that inherits from this class to override the behavior - of . - - - The context for which commands should be logged. Pass null to log every command - from any context and also commands that do not originate from a context. - - The delegate to which output will be sent. - - - - Writes the given string to the underlying write delegate. - - The string to write. - - - - The stopwatch used to time executions. This stopwatch is started at the end of - , , and - methods and is stopped at the beginning of the , , - and methods. If these methods are overridden and the stopwatch is being used - then the overrides should either call the base method or start/stop the stopwatch themselves. - - The interception context for which the stopwatch will be obtained. - The stopwatch. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - Called whenever a command is about to be executed. The default implementation of this method - filters by set into , if any, and then calls - . This method would typically only be overridden to change the - context filtering behavior. - - The type of the operation's results. - The command that will be executed. - Contextual information associated with the command. - - - - Called whenever a command has completed executing. The default implementation of this method - filters by set into , if any, and then calls - . This method would typically only be overridden to change the context - filtering behavior. - - The type of the operation's results. - The command that was executed. - Contextual information associated with the command. - - - - Called to log a command that is about to be executed. Override this method to change how the - command is logged to . - - The type of the operation's results. - The command to be logged. - Contextual information associated with the command. - - - - Called by to log each parameter. This method can be called from an overridden - implementation of to log parameters, and/or can be overridden to - change the way that parameters are logged to . - - The type of the operation's results. - The command being logged. - Contextual information associated with the command. - The parameter to log. - - - - Called to log the result of executing a command. Override this method to change how results are - logged to . - - The type of the operation's results. - The command being logged. - Contextual information associated with the command. - - - - Does not write to log unless overridden. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - Called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that began the transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection being opened. - Contextual information associated with the call. - - - - Called after or its async counterpart is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that was opened. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection being closed. - Contextual information associated with the call. - - - - Called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that was closed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Called before is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection being disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection that was disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction being commited. - Contextual information associated with the call. - - - - This method is called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction that was commited. - Contextual information associated with the call. - - - - This method is called before is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction being disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction that was disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction being rolled back. - Contextual information associated with the call. - - - - This method is called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - - - - - - - - - - - - The context for which commands are being logged, or null if commands from all contexts are - being logged. - - - - - This property is obsolete. Using it can result in logging incorrect execution times. Call - instead. - - - - - Represents contextual information associated with calls to that don't return any results. - - - - - Represents contextual information associated with calls that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - When true, this flag indicates that that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - or by setting an to be thrown - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to property setters of type on a . - - The type of the target property. - - - - Represents contextual information associated with calls to property setters of type . - - - An instance of this class is passed to the dispatch methods and does not contain mutable information such as - the result of the operation. This mutable information is obtained from the - that is passed to the interceptors. Instances of this class are publicly immutable. To add contextual information - use one of the With... or As... methods to create a new interception context containing the new information. - - The type of the target property. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given property value. - - The value that will be assigned to the target property. - A new interception context associated with the given property value. - - - - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - The value that will be assigned to the target property. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - When true, this flag indicates that that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - or by setting an to be thrown - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the given property value. - - The value that will be assigned to the target property. - A new interception context associated with the given property value. - - - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the the fluent API. - - - This class is used internally by Entity Framework when executing commands. It is provided publicly so that - code that runs outside of the core EF assemblies can opt-in to command interception/tracing. This is - typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls into - implementations. - - - An instance of this class is passed to the dispatch methods of - and does not contain mutable information such as the result of the operation. This mutable information - is obtained from the that is passed to the interceptors. - Instances of this class are publicly immutable. To add contextual information use one of the - With... or As... methods to create a new interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The command behavior to associate. - A new interception context associated with the given command behavior. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - The that will be used or has been used to execute the command with a - . This property is only used for - and its async counterparts. - - - - - Represents contextual information associated with calls into - implementations including the result of the operation. - - The type of the operation's results. - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The command behavior to associate. - A new interception context associated with the given command behavior. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - If execution of the operation completes without throwing, then this property will contain - the result of the operation. If the operation was suppressed or did not fail, then this property - will always contain the default value for the generic type. - - - When an operation operation completes without throwing both this property and the - property are set. However, the property can be set or changed by interceptors, - while this property will always represent the actual result returned by the operation, if any. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set result will be returned instead. Otherwise, if the operation succeeds, then - this property will be set to the returned result. In either case, interceptors that run - after the operation can change this property to change the result that will be returned. - - - When an operation operation completes without throwing both this property and the - property are set. However, this property can be set or changed by interceptors, while the - property will always represent the actual result returned by the - operation, if any. - - - - - When true, this flag indicates that that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - , by setting an to be thrown, or - by setting the operation result using . - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Base class that implements . This class is a convenience for - use when only one or two methods of the interface actually need to have any implementation. - - - - - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls into - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - The original tree created by Entity Framework. Interceptors can change the - property to change the tree that will be used, but the - will always be the tree created by Entity Framework. - - - - - The command tree that will be used by Entity Framework. This starts as the tree contained in the - the property but can be set by interceptors to change - the tree that will be used by Entity Framework. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the the fluent API. - - - This class is used internally by Entity Framework when interacting with . - It is provided publicly so that code that runs outside of the core EF assemblies can opt-in to command - interception/tracing. This is typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - setting . - - The connection on which the operation will be executed. - Information about the context of the call being made, including the value to be set. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Provides access to all dispatchers through the the fluent API. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - This is the registration point for interceptors. Interceptors - receive notifications when EF performs certain operations such as executing commands against - the database. For example, see . - - - - - Registers a new to receive notifications. Note that the interceptor - must implement some interface that extends from to be useful. - - The interceptor to add. - - - - Removes a registered so that it will no longer receive notifications. - If the given interceptor is not registered, then this is a no-op. - - The interceptor to remove. - - - - This is the entry point for dispatching to interceptors. This is usually only used internally by - Entity Framework but it is provided publicly so that other code can make sure that registered - interceptors are called when operations are performed on behalf of EF. For example, EF providers - a may make use of this when executing commands. - - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the the fluent API. - - - This class is used internally by Entity Framework when interacting with . - It is provided publicly so that code that runs outside of the core EF assemblies can opt-in to command - interception/tracing. This is typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls to that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The connection on which the transaction was started. - A new interception context that also contains the connection on which the transaction was started. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - The connection on which the transaction was started - - - - - Represents contextual information associated with calls to with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The transaction to be used in the invocation. - A new interception context associated with the given isolation level. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - The that will be used or has been used to enlist a connection. - - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework creates command trees. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - This method is called after a new has been created. - The tree that is used after interception can be changed by setting - while intercepting. - - - Command trees are created for both queries and insert/update/delete commands. However, query - command trees are cached by model which means that command tree creation only happens the - first time a query is executed and this notification will only happen at that time - - Contextual information associated with the call. - - - - Represents a mapping view. - - - - - Creates a instance having the specified entity SQL. - - A string that specifies the entity SQL. - - - - Gets the entity SQL. - - - - - Base abstract class for mapping view cache implementations. - Derived classes must have a parameterless constructor if used with . - - - - - Gets a view corresponding to the specified extent. - - An that specifies the extent. - A that specifies the mapping view, - or null if the extent is not associated with a mapping view. - - - - Gets a hash value computed over the mapping closure. - - - - - Specifies the means to create concrete instances. - - - - - Creates a generated view cache instance for the container mapping specified by - the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - - A that specifies the generated view cache. - - - - - Defines a custom attribute that specifies the mapping view cache type (subclass of ) - associated with a context type (subclass of or ). - The cache type is instantiated at runtime and used to retrieve pre-generated views in the - corresponding context. - - - - - Creates a instance that associates a context type - with a mapping view cache type. - - - A subclass of or . - - - A subclass of . - - - - - Creates a instance that associates a context type - with a mapping view cache type. - - - A subclass of or . - - The assembly qualified full name of the cache type. - - - - The base class for interceptors that handle the transaction operations. Derived classes can be registered using - or - . - - - - - Initializes a new instance of the class. - - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Initializes this instance using the specified context. - - The context for which transaction operations will be handled. - - - - Initializes this instance using the specified context. - - The context for which transaction operations will be handled. - The connection to use for the initialization. - - This method is called by migrations. It is important that no action is performed on the - specified context that causes it to be initialized. - - - - - - - - Releases the resources used by this transaction handler. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - Checks whether the supplied interception context contains the target context - or the supplied connection is the same as the one used by the target context. - - A connection. - An interception context. - - true if the supplied interception context contains the target context or - the supplied connection is the same as the one used by the target context if - the supplied interception context doesn't contain any contexts; false otherwise. - - - Note that calling this method will trigger initialization of any DbContext referenced from the - - - - - When implemented in a derived class returns the script to prepare the database - for this transaction handler. - - A script to change the database schema for this transaction handler. - - - - Can be implemented in a derived class. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that began the transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being closed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that was closed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being disposed. - Contextual information associated with the call. - - - - Can be implemented in a derived class. - - The connection that was disposed. - Contextual information associated with the call. - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being opened. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that was opened. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being commited. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was commited. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being disposed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was disposed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being rolled back. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - Gets the context. - - - The for which the transaction operations will be handled. - - - - - Gets the context. - - - The for which the transaction operations will be handled, could be null. - - - - - Gets the connection. - - - The for which the transaction operations will be handled. - - - This connection object is only used to determine whether a particular operation needs to be handled - in cases where a context is not available. - - - - - Gets or sets a value indicating whether this transaction handler is disposed. - - - true if disposed; otherwise, false. - - - - - This class is used by to write and read transaction tracing information - from the database. - To customize the definition of the transaction table you can derive from - this class and override . Derived classes can be registered - using . - - - By default EF will poll the resolved to check wether the database schema is compatible and - will try to modify it accordingly if it's not. To disable this check call - Database.SetInitializer<TTransactionContext>(null) where TTransactionContext is the type of the resolved context. - - - - - A DbContext instance represents a combination of the Unit Of Work and Repository patterns such that - it can be used to query from a database and group together changes that will then be written - back to the store as a unit. - DbContext is conceptually similar to ObjectContext. - - - DbContext is usually used with a derived type that contains properties for - the root entities of the model. These sets are automatically initialized when the - instance of the derived class is created. This behavior can be modified by applying the - attribute to either the entire derived context - class, or to individual properties on the class. - The Entity Data Model backing the context can be specified in several ways. When using the Code First - approach, the properties on the derived context are used to build a model - by convention. The protected OnModelCreating method can be overridden to tweak this model. More - control over the model used for the Model First approach can be obtained by creating a - explicitly from a and passing this model to one of the DbContext constructors. - When using the Database First or Model First approach the Entity Data Model can be created using the - Entity Designer (or manually through creation of an EDMX file) and then this model can be specified using - entity connection string or an object. - The connection to the database (including the name of the database) can be specified in several ways. - If the parameterless DbContext constructor is called from a derived context, then the name of the derived context - is used to find a connection string in the app.config or web.config file. If no connection string is found, then - the name is passed to the DefaultConnectionFactory registered on the class. The connection - factory then uses the context name as the database name in a default connection string. (This default connection - string points to .\SQLEXPRESS on the local machine unless a different DefaultConnectionFactory is registered.) - Instead of using the derived context name, the connection/database name can also be specified explicitly by - passing the name to one of the DbContext constructors that takes a string. The name can also be passed in - the form "name=myname", in which case the name must be found in the config file or an exception will be thrown. - Note that the connection found in the app.config or web.config file can be a normal database connection - string (not a special Entity Framework connection string) in which case the DbContext will use Code First. - However, if the connection found in the config file is a special Entity Framework connection string, then the - DbContext will use Database/Model First and the model specified in the connection string will be used. - An existing or explicitly created DbConnection can also be used instead of the database/connection name. - A can be applied to a class derived from DbContext to set the - version of conventions used by the context when it creates a model. If no attribute is applied then the - latest version of conventions will be used. - - - - - Interface implemented by objects that can provide an instance. - The class implements this interface to provide access to the underlying - ObjectContext. - - - - - Gets the object context. - - The object context. - - - - Constructs a new context instance using conventions to create the name of the database to - which a connection will be made. The by-convention name is the full name (namespace + class name) - of the derived context class. - See the class remarks for how this is used to create a connection. - - - - - Constructs a new context instance using conventions to create the name of the database to - which a connection will be made, and initializes it from the given model. - The by-convention name is the full name (namespace + class name) of the derived context class. - See the class remarks for how this is used to create a connection. - - The model that will back this context. - - - - Constructs a new context instance using the given string as the name or connection string for the - database to which a connection will be made. - See the class remarks for how this is used to create a connection. - - Either the database name or a connection string. - - - - Constructs a new context instance using the given string as the name or connection string for the - database to which a connection will be made, and initializes it from the given model. - See the class remarks for how this is used to create a connection. - - Either the database name or a connection string. - The model that will back this context. - - - - Constructs a new context instance using the existing connection to connect to a database. - The connection will not be disposed when the context is disposed if - is false. - - An existing connection to use for the new context. - - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - - Constructs a new context instance using the existing connection to connect to a database, - and initializes it from the given model. - The connection will not be disposed when the context is disposed if - is false. - - An existing connection to use for the new context. - The model that will back this context. - - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - - Constructs a new context instance around an existing ObjectContext. - - An existing ObjectContext to wrap with the new context. - - If set to true the ObjectContext is disposed when the DbContext is disposed, otherwise the caller must dispose the connection. - - - - - This method is called when the model for a derived context has been initialized, but - before the model has been locked down and used to initialize the context. The default - implementation of this method does nothing, but it can be overridden in a derived class - such that the model can be further configured before it is locked down. - - - Typically, this method is called only once when the first instance of a derived context - is created. The model for that context is then cached and is for all further instances of - the context in the app domain. This caching can be disabled by setting the ModelCaching - property on the given ModelBuidler, but note that this can seriously degrade performance. - More control over caching is provided through use of the DbModelBuilder and DbContextFactory - classes directly. - - The builder that defines the model for the context being created. - - - - Returns a instance for access to entities of the given type in the context - and the underlying store. - - - Note that Entity Framework requires that this method return the same instance each time that it is called - for a given context instance and entity type. Also, the non-generic returned by the - method must wrap the same underlying query and set of entities. These invariants must - be maintained if this method is overridden for anything other than creating test doubles for unit testing. - See the class for more details. - - The type entity for which a set should be returned. - A set for the given entity type. - - - - Returns a non-generic instance for access to entities of the given type in the context - and the underlying store. - - The type of entity for which a set should be returned. - A set for the given entity type. - - Note that Entity Framework requires that this method return the same instance each time that it is called - for a given context instance and entity type. Also, the generic returned by the - method must wrap the same underlying query and set of entities. These invariants must - be maintained if this method is overridden for anything other than creating test doubles for unit testing. - See the class for more details. - - - - - Saves all changes made in this context to the underlying database. - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An error occurred sending updates to the database. - - A database command did not affect the expected number of rows. This usually indicates an optimistic - concurrency violation; that is, a row has been changed in the database since it was queried. - - - The save was aborted because validation of entity property values failed. - - - An attempt was made to use unsupported behavior such as executing multiple asynchronous commands concurrently - on the same context instance. - The context or connection have been disposed. - - Some error occurred attempting to process entities in the context either before or after sending commands - to the database. - - - - - Validates tracked entities and returns a Collection of containing validation results. - - Collection of validation results for invalid entities. The collection is never null and must not contain null values or results for valid entities. - - 1. This method calls DetectChanges() to determine states of the tracked entities unless - DbContextConfiguration.AutoDetectChangesEnabled is set to false. - 2. By default only Added on Modified entities are validated. The user is able to change this behavior - by overriding ShouldValidateEntity method. - - - - - Extension point allowing the user to override the default behavior of validating only - added and modified entities. - - DbEntityEntry instance that is supposed to be validated. - true to proceed with validation; false otherwise. - - - - Extension point allowing the user to customize validation of an entity or filter out validation results. - Called by . - - DbEntityEntry instance to be validated. - - User-defined dictionary containing additional info for custom validation. It will be passed to - - and will be exposed as - - . This parameter is optional and can be null. - - Entity validation result. Possibly null when overridden. - - - - Gets a object for the given entity providing access to - information about the entity and the ability to perform actions on the entity. - - The type of the entity. - The entity. - An entry for the entity. - - - - Gets a object for the given entity providing access to - information about the entity and the ability to perform actions on the entity. - - The entity. - An entry for the entity. - - - - Calls the protected Dispose method. - - - - - Disposes the context. The underlying is also disposed if it was created - is by this context or ownership was passed to this context when this context was created. - The connection to the database ( object) is also disposed if it was created - is by this context or ownership was passed to this context when this context was created. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - - - - - - - - - - - - - Creates a Database instance for this context that allows for creation/deletion/existence checks - for the underlying database. - - - - - Returns the Entity Framework ObjectContext that is underlying this context. - - Thrown if the context has been disposed. - - - - Provides access to features of the context that deal with change tracking of entities. - - An object used to access features that deal with change tracking. - - - - Provides access to configuration options for the context. - - An object used to access configuration options. - - - - Initializes a new instance of the class. - - The connection used by the context for which the transactions will be recorded. - - - - - - - Gets or sets a that can be used to read and write instances. - - - - - A transaction handler that allows to gracefully recover from connection failures - during transaction commit by storing transaction tracing information in the database. - It needs to be registered by using . - - - This transaction handler uses to store the transaction information - the schema used can be configured by creating a class derived from - that overrides and passing it to the constructor of this class. - - - - - Initializes a new instance of the class using the default . - - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Initializes a new instance of the class. - - The transaction context factory. - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Creates a new instance of an to use for quering the transaction log. - If null the default will be used. - - An instance or null. - - - - - - - - - - - - - - - - Stores the tracking information for the new transaction to the database in the same transaction. - - The connection that began the transaction. - Contextual information associated with the call. - - - - - If there was an exception thrown checks the database for this transaction and rethrows it if not found. - Otherwise marks the commit as succeeded and queues the transaction information to be deleted. - - The transaction that was commited. - Contextual information associated with the call. - - - - - Stops tracking the transaction that was rolled back. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - Stops tracking the transaction that was disposed. - - The transaction that was disposed. - Contextual information associated with the call. - - - - - Removes all the transaction history. - - - This method should only be invoked when there are no active transactions to remove any leftover history - that was not deleted due to catastrophic failures - - - - - Adds the specified transaction to the list of transactions that can be removed from the database - - The transaction to be removed from the database. - - - - Removes the transactions marked for deletion. - - - - - Removes the transactions marked for deletion if their number exceeds . - - - if set to true will remove all the old transactions even if their number does not exceed . - - - if set to true the operation will be executed using the associated execution strategy - - - - - Gets the associated with the if there is one; - otherwise returns null. - - The context - The associated . - - - - Gets the associated with the if there is one; - otherwise returns null. - - The context - The associated . - - - - Gets the transaction context. - - - The transaction context. - - - - - The map between the store transactions and the transaction tracking objects - - - - - Gets the number of transactions to be executed on the context before the transaction log will be cleaned. - The default value is 20. - - - - - An implementation of this interface is used to initialize the underlying database when - an instance of a derived class is used for the first time. - This initialization can conditionally create the database and/or seed it with data. - The strategy used is set using the static InitializationStrategy property of the - class. - The following implementations are provided: , - , . - - The type of the context. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - Rrepresents a transaction - - - - - - - - - - - A unique id assigned to a transaction object. - - - - - The local time when the transaction was started. - - - - - Helper class that is used to configure a parameter. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a new parameter definition to pass Binary data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The maximum allowable length of the array data. - Value indicating whether or not all data should be padded to the maximum length. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Boolean data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Byte data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass DateTime data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Decimal data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The numeric precision of the parameter. - The numeric scale of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Double data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass GUID data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Single data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Short data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Integer data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Long data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass String data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The maximum allowable length of the string data. - Value indicating whether or not all data should be padded to the maximum length. - Value indicating whether or not the parameter supports Unicode content. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Time data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass DateTimeOffset data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass geography data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass geometry data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Represents altering an existing stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - A migration operation that affects stored procedures. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Represents an operation to modify a database schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the MigrationOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" - }'. - - - - - Gets additional arguments that may be processed by providers. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure. - - - The name of the stored procedure. - - - - - Gets the body of the stored procedure expressed in SQL. - - - The body of the stored procedure expressed in SQL. - - - - - Gets the parameters of the stored procedure. - - - The parameters of the stored procedure. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation that will revert this operation. - Always returns a . - - - - - Represents changes made to custom annotations on a table. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AlterTableOperation class. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table on which annotations have changed. - The custom annotations on the table that have changed. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table on which annotations have changed. - - - - - Gets the columns to be included in the table for which annotations have changed. - - - - - Gets the custom annotations that have changed on the table. - - - - - Gets an operation that is the inverse of this one such that annotations will be changed back to how - they were before this operation was applied. - - - - - - - - Represents renaming an existing index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table the index belongs to. - Name of the index to be renamed. - New name for the index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the index belongs to. - - - - - Gets the name of the index to be renamed. - - - - - Gets the new name for the index. - - - - - Gets an operation that reverts the rename. - - - - - - - - Used when scripting an update database operation to store the operations that would have been performed against the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The queries used to determine if this migration needs to be applied to the database. - This is used to generate an idempotent SQL script that can be run against a database at any version. - - - - - Adds a migration to this update database operation. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The id of the migration. - The individual operations applied by the migration. - - - - The queries used to determine if this migration needs to be applied to the database. - This is used to generate an idempotent SQL script that can be run against a database at any version. - - - - - Gets the migrations applied during the update database operation. - - - The migrations applied during the update database operation. - - - - - Gets a value indicating if any of the operations may result in data loss. - - - - - Represents a migration to be applied to the database. - - - - - Gets the id of the migration. - - - The id of the migration. - - - - - Gets the individual operations applied by this migration. - - - The individual operations applied by this migration. - - - - - Represents moving a stored procedure to a new schema in the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to move. - The new schema for the stored procedure. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to move. - - - The name of the stored procedure to move. - - - - - Gets the new schema for the stored procedure. - - - The new schema for the stored procedure. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents renaming a stored procedure in the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to rename. - The new name for the stored procedure. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to rename. - - - The name of the stored procedure to rename. - - - - - Gets the new name for the stored procedure. - - - The new name for the stored procedure. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents a migration operation that can not be performed, possibly because it is not supported by the targeted database provider. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents information about a parameter. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Represents information about a property of an entity. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the PropertyModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this property model. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets the data type for this property model. - - - - - Gets additional details about the data type of this property model. - This includes details such as maximum length, nullability etc. - - - - - Gets or sets the name of the property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a provider specific data type to use for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the maximum length for this property model. - Only valid for array data types. - - - - - Gets or sets the precision for this property model. - Only valid for decimal data types. - - - - - Gets or sets the scale for this property model. - Only valid for decimal data types. - - - - - Gets or sets a constant value to use as the default value for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a SQL expression used as the default value for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating if this property model is fixed length. - Only valid for array data types. - - - - - Gets or sets a value indicating if this property model supports Unicode characters. - Only valid for textual data types. - - - - - Initializes a new instance of the ParameterModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this parameter. - - - - Initializes a new instance of the ParameterModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this parameter. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets or sets a value indicating whether this instance is out parameter. - - - true if this instance is out parameter; otherwise, false. - - - - - Drops a stored procedure from the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to drop. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to drop. - - - The name of the stored procedure to drop. - - - - - Gets an operation that will revert this operation. - Always returns a . - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Configures an index. - - - - - Configures the index to be unique. - - The same IndexConfiguration instance so that multiple calls can be chained. - - - - Configures whether the index will be unique. - - Value indicating if the index should be unique or not. - The same IndexConfiguration instance so that multiple calls can be chained. - - - - Configures the index to be clustered. - - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures whether or not the index will be clustered. - - Value indicating if the index should be clustered or not. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures the index to have a specific name. - - Value indicating what the index name should be. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures a primary key index. - - - - - Configures the index to be clustered. - - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures whether or not the index will be clustered. - - Value indicating if the index should be clustered or not. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures the index to have a specific name. - - Value indicating what the index name should be. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model. - - - - - Filters the entity types that this convention applies to based on a - predicate. - - A function to test each entity type for a condition. - - An instance so that multiple calls can be chained. - - - - - Filters the entity types that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each entity type. If the value is null, the - entity type will be filtered out. - - - An instance so that multiple calls can be chained. - - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model that inherit from a common, specified type. - - The common type of the entity types that this convention applies to. - - - - Filters the entity types that this convention applies to based on a - predicate. - - A function to test each entity type for a condition. - - An instance so that multiple calls can be chained. - - - - - Filters the entity types that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each entity type. If the value is null, the - entity type will be filtered out. - - - An instance so that multiple calls can be chained. - - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model that inherit from a common, specified type and a - captured value. - - The common type of the entity types that this convention applies to. - Type of the captured value. - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model and a captured value. - - Type of the captured value. - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for an entity type in a model. - This configuration functionality is available via lightweight conventions. - - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Excludes this entity type from the model so that it will not be mapped to the database. - - - The same instance so that multiple calls can be chained. - - - - - Changes this entity type to a complex type. - - - The same instance so that multiple calls can be chained. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The name of the property to be configured. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect if the property does not exist. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The property to be configured. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect if the property does not exist. - - - - - Configures a property that is defined on this type. - - The name of the property being configured. - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - The property being configured. - A configuration object that can be used to configure the property. - - - - Configures the primary key property for this entity type. - - The name of the property to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property for this entity type. - - The property to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property(s) for this entity type. - - The names of the properties to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property(s) for this entity type. - - The properties to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured or if any - property does not exist. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the of this entity type. - - - - - Allows configuration to be performed for an entity type in a model. - This configuration functionality is available via lightweight conventions. - - A type inherited by the entity type. - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Excludes this entity type from the model so that it will not be mapped to the database. - - - The same instance so that multiple calls can be chained. - - - - - Changes this entity type to a complex type. - - - The same instance so that multiple calls can be chained. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - - The same instance so that multiple calls can be chained. - - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the of this entity type. - - - - - Identifies conventions that can be added to or removed from a instance. - - - Note that implementations of this interface must be immutable. - - - - - A general purpose class for Code First conventions that read attributes from .NET properties - and generate column annotations based on those attributes. - - The type of attribute to discover. - The type of annotation that will be created. - - - - A convention that doesn't override configuration. - - - - - The derived class can use the default constructor to apply a set rule of that change the model configuration. - - - - - Begins configuration of a lightweight convention that applies to all mapped types in - the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all mapped types in - the model that derive from or implement the specified type. - - The type of the entities that this convention will apply to. - A configuration object for the convention. - This method does not add new types to the model. - - - - Begins configuration of a lightweight convention that applies to all properties - in the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all primitive - properties of the specified type in the model. - - The type of the properties that the convention will apply to. - A configuration object for the convention. - - The convention will apply to both nullable and non-nullable properties of the - specified type. - - - - - Constructs a convention that will create column annotations with the given name and - using the given factory delegate. - - The name of the annotations to create. - A factory for creating the annotation on each column. - - - - A general purpose class for Code First conventions that read attributes from .NET types - and generate table annotations based on those attributes. - - The type of attribute to discover. - The type of annotation that will be created. - - - - Constructs a convention that will create table annotations with the given name and - using the given factory delegate. - - The name of the annotations to create. - A factory for creating the annotation on each table. - - - - A convention for discovering attributes on properties and generating - column annotations in the model. - - - - - Constructs a new instance of the convention. - - - - - Base class for conventions that process CLR attributes found on primitive properties in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a property that has an attribute of type TAttribute applied. - - The configuration for the property that has the attribute. - The attribute. - - - - Base class for conventions that process CLR attributes found on properties of types in the model. - - - Note that the derived convention will be applied for any non-static property on the mapped type that has - the specified attribute, even if it wasn't included in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a property that has an attribute of type TAttribute applied. - - The member info for the property that has the attribute. - The configuration for the class that contains the property. - The attribute. - - - - Base class for conventions that process CLR attributes found in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a class that has an attribute of type TAttribute applied. - - The configuration for the class that contains the property. - The attribute. - - - - Used to configure a property in a mapping fragment. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the name of the database column used to store the property, in a mapping fragment. - - The name of the column. - The same PropertyMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same PropertyMappingConfiguration instance so that multiple calls can be chained. - - - - Convention to introduce indexes for foreign keys. - - - - - A convention that operates on the database section of the model after the model is created. - - The type of metadata item that this convention operates on. - - - - Applies this convention to an item in the model. - - The item to apply the convention to. - The model. - - - - - - - A convention that operates on the conceptual section of the model after the model is created. - - The type of metadata item that this convention operates on. - - - - Applies this convention to an item in the model. - - The item to apply the convention to. - The model. - - - - Useful extension methods for use with Entity Framework LINQ queries. - - - - - Specifies the related objects to include in the query results. - - - This extension method calls the Include(String) method of the source object, - if such a method exists. If the source does not have a matching method, - then this method does nothing. The , , - and types all have an appropriate Include method to call. - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the . Other instances of - and the object context itself are not affected. Because the Include method returns the query object, - you can call this method multiple times on an to specify multiple paths for the query. - - The type of entity being queried. - - The source on which to call Include. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Specifies the related objects to include in the query results. - - - This extension method calls the Include(String) method of the source object, - if such a method exists. If the source does not have a matching method, - then this method does nothing. The , , - and types all have an appropriate Include method to call. - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the . Other instances of - and the object context itself are not affected. Because the Include method returns the query object, - you can call this method multiple times on an to specify multiple paths for the query. - - - The source on which to call Include. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Specifies the related objects to include in the query results. - - - The path expression must be composed of simple property access expressions together with calls to Select for - composing additional includes after including a collection proprty. Examples of possible include paths are: - To include a single reference: query.Include(e => e.Level1Reference) - To include a single collection: query.Include(e => e.Level1Collection) - To include a reference and then a reference one level down: query.Include(e => e.Level1Reference.Level2Reference) - To include a reference and then a collection one level down: query.Include(e => e.Level1Reference.Level2Collection) - To include a collection and then a reference one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference)) - To include a collection and then a collection one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection)) - To include a collection and then a reference one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference)) - To include a collection and then a collection one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection)) - To include a collection, a reference, and a reference two levels down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference.Level3Reference)) - To include a collection, a collection, and a reference two levels down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection.Select(l2 => l2.Level3Reference))) - This extension method calls the Include(String) method of the source IQueryable object, if such a method exists. - If the source IQueryable does not have a matching method, then this method does nothing. - The Entity Framework ObjectQuery, ObjectSet, DbQuery, and DbSet types all have an appropriate Include method to call. - When you call the Include method, the query path is only valid on the returned instance of the IQueryable<T>. Other - instances of IQueryable<T> and the object context itself are not affected. Because the Include method returns the - query object, you can call this method multiple times on an IQueryable<T> to specify multiple paths for the query. - - The type of entity being queried. - The type of navigation property being included. - The source IQueryable on which to call Include. - A lambda expression representing the path to include. - - A new IQueryable<T> with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the - or . This method works by calling the AsNoTracking method of the - underlying query object. If the underlying query object does not have an AsNoTracking method, - then calling this method will have no affect. - - The element type. - The source query. - A new query with NoTracking applied, or the source query if NoTracking is not supported. - - - - Returns a new query where the entities returned will not be cached in the - or . This method works by calling the AsNoTracking method of the - underlying query object. If the underlying query object does not have an AsNoTracking method, - then calling this method will have no affect. - - The source query. - A new query with NoTracking applied, or the source query if NoTracking is not supported. - - - - Returns a new query that will stream the results instead of buffering. This method works by calling - the AsStreaming method of the underlying query object. If the underlying query object does not have - an AsStreaming method, then calling this method will have no affect. - - - The type of the elements of . - - - An to apply AsStreaming to. - - A new query with AsStreaming applied, or the source query if AsStreaming is not supported. - - - - Returns a new query that will stream the results instead of buffering. This method works by calling - the AsStreaming method of the underlying query object. If the underlying query object does not have - an AsStreaming method, then calling this method will have no affect. - - - An to apply AsStreaming to. - - A new query with AsStreaming applied, or the source query if AsStreaming is not supported. - - - - Enumerates the query such that for server queries such as those of , - - , - , and others the results of the query will be loaded into the associated - - , - or other cache on the client. - This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. - - The source query. - - - - Bypasses a specified number of elements in a sequence and then returns the remaining elements. - - The type of the elements of source. - A sequence to return elements from. - An expression that evaluates to the number of elements to skip. - A sequence that contains elements that occur after the specified index in the - input sequence. - - - - Returns a specified number of contiguous elements from the start of a sequence. - - The type of the elements of source. - The sequence to return elements from. - An expression that evaluates to the number of elements - to return. - A sequence that contains the specified number of elements from the - start of the input sequence. - - - - Controls the transaction creation behavior while executing a database command or query. - - - - - If no transaction is present then a new transaction will be used for the operation. - - - - - If an existing transaction is present then use it, otherwise execute the command or query without a transaction. - - - - - Specifies a structural type mapping. - - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Represents the base item class for all the metadata - - - Represents the base item class for all the metadata - - - - - Adds or updates an annotation with the specified name and value. - - - If an annotation with the given name already exists then the value of that annotation - is updated to the given value. If the given value is null then the annotation will be - removed. - - The name of the annotation property. - The value of the annotation property. - - - - Removes an annotation with the specified name. - - The name of the annotation property. - true if an annotation was removed; otherwise, false. - - - - Returns a conceptual model built-in type that matches one of the - - values. - - - An object that represents the built-in type in the EDM. - - - One of the values. - - - - Returns the list of the general facet descriptions for a specified type. - - A object that represents the list of the general facet descriptions for a specified type. - - - - Gets the built-in type kind for this type. - - A object that represents the built-in type kind for this type. - - - - Gets the list of properties of the current type. - - A collection of type that contains the list of properties of the current type. - - - - Gets or sets the documentation associated with this type. - - A object that represents the documentation on this type. - - - - - Indicates that the given method is a proxy for an EDM function. - - - Note that this attribute has been replaced by the starting with EF6. - - - - - Indicates that the given method is a proxy for an EDM function. - - - Note that this class was called EdmFunctionAttribute in some previous versions of Entity Framework. - - - - - Initializes a new instance of the class. - - The namespace of the mapped-to function. - The name of the mapped-to function. - - - The namespace of the mapped-to function. - The namespace of the mapped-to function. - - - The name of the mapped-to function. - The name of the mapped-to function. - - - - Creates a new DbFunctionAttribute instance. - - The namespace name of the EDM function represented by the attributed method. - The function name of the EDM function represented by the attributed method. - - - - Provides common language runtime (CLR) methods that expose EDM canonical functions - for use in or LINQ to Entities queries. - - - Note that these functions have been moved to the class starting with EF6. - The functions are retained here only to help in the migration of older EF apps to EF6. - - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Left EDM function to return a given - number of the leftmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the left of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Right EDM function to return a given - number of the rightmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the right of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Reverse EDM function to return a given - string with the order of the characters reversed. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The input string with the order of the characters reversed. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to - return the number of minutes that the given date/time is offset from UTC. This is generally between +780 - and -780 (+ or - 13 hrs). - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The offset of the input from UTC. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTimeOffset EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The time zone offset part of the new date. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of hours between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of minutes between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of seconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of milliseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of microseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of nanoseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - The string to escape special characters with, must only be a single character. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a Unicode string. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a non-Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a non-Unicode string. - - - - Options for query execution. - - - - - Creates a new instance of . - - Merge option to use for entity results. - - - - Creates a new instance of . - - Merge option to use for entity results. - Whether the query is streaming or buffering. - - - Determines whether the specified objects are equal. - true if the two objects are equal; otherwise, false. - The left object to compare. - The right object to compare. - - - - Determines whether the specified objects are not equal. - - The left object to compare. - The right object to compare. - true if the two objects are not equal; otherwise, false. - - - - - - - - - - Merge option to use for entity results. - - - - - Whether the query is streaming or buffering. - - - - - DataRecord interface supporting structured types and rich metadata information. - - - - - Gets a object with the specified index. - - - A object. - - The index of the row. - - - - Returns nested readers as objects. - - - Nested readers as objects. - - The ordinal of the column. - - - - Gets for this - - . - - - A object. - - - - - DataRecordInfo class providing a simple way to access both the type information and the column information. - - - - - Initializes a new object for a specific type with an enumerable collection of data fields. - - - The metadata for the type represented by this object, supplied by - - . - - - An enumerable collection of objects that represent column information. - - - - - Gets for this - - object. - - - A object. - - - - - Gets type info for this object as a object. - - - A value. - - - - - A prepared command definition, can be cached and reused to avoid - repreparing a command. - - - - - Initializes a new instance of the class using the supplied - - . - - - The supplied . - - method used to clone the - - - - Initializes a new instance of the class. - - - - - Creates and returns a object that can be executed. - - The command for database. - - - - Metadata Interface for all CLR types types - - - - - Value to pass to GetInformation to get the StoreSchemaDefinition - - - - - Value to pass to GetInformation to get the StoreSchemaMapping - - - - - Value to pass to GetInformation to get the ConceptualSchemaDefinition - - - - - Value to pass to GetInformation to get the StoreSchemaDefinitionVersion3 - - - - - Value to pass to GetInformation to get the StoreSchemaMappingVersion3 - - - - - Value to pass to GetInformation to get the ConceptualSchemaDefinitionVersion3 - - - - - Name of the MaxLength Facet - - - - - Name of the Unicode Facet - - - - - Name of the FixedLength Facet - - - - - Name of the Precision Facet - - - - - Name of the Scale Facet - - - - - Name of the Nullable Facet - - - - - Name of the DefaultValue Facet - - - - - Name of the Collation Facet - - - - - Name of the SRID Facet - - - - - Name of the IsStrict Facet - - - - When overridden in a derived class, returns the set of primitive types supported by the data source. - The set of types supported by the data source. - - - When overridden in a derived class, returns a collection of EDM functions supported by the provider manifest. - A collection of EDM functions. - - - Returns the FacetDescription objects for a particular type. - The FacetDescription objects for the specified EDM type. - The EDM type to return the facet description for. - - - When overridden in a derived class, this method maps the specified storage type and a set of facets for that type to an EDM type. - - The instance that describes an EDM type and a set of facets for that type. - - The TypeUsage instance that describes a storage type and a set of facets for that type to be mapped to the EDM type. - - - When overridden in a derived class, this method maps the specified EDM type and a set of facets for that type to a storage type. - The TypeUsage instance that describes a storage type and a set of facets for that type. - The TypeUsage instance that describes the EDM type and a set of facets for that type to be mapped to a storage type. - - - When overridden in a derived class, this method returns provider-specific information. - The XmlReader object that represents the mapping to the underlying data store catalog. - The type of the information to return. - - - Gets the provider-specific information. - The provider-specific information. - The type of the information to return. - - - Indicates if the provider supports escaping strings to be used as patterns in a Like expression. - True if this provider supports escaping strings to be used as patterns in a Like expression; otherwise, false. - If the provider supports escaping, the character that would be used as the escape character. - - - - Indicates if the provider supports the parameter optimization described in EntityFramework6 GitHub issue #195. - The default is false. Providers should change this to true only after testing that schema queries (as - used in the Database First flow) work correctly with this flag. - - True only if the provider supports the parameter optimization. - - - Provider writers should override this method to return the argument with the wildcards and the escape character escaped. This method is only used if SupportsEscapingLikeArgument returns true. - The argument with the wildcards and the escape character escaped. - The argument to be escaped. - - - - Returns a boolean that specifies whether the provider can handle expression trees - containing instances of DbInExpression. - The default implementation returns false for backwards compatibility. Derived classes can override this method. - - - false - - - - - Returns a boolean that specifies whether the provider can process expression trees not having DbProjectExpression - nodes directly under both Left and Right sides of DbUnionAllExpression and DbIntersectExpression - - - false - - - - Gets the namespace used by this provider manifest. - The namespace used by this provider manifest. - - - - The factory for building command definitions; use the type of this object - as the argument to the IServiceProvider.GetService method on the provider - factory; - - - - - Constructs an EF provider that will use the obtained from - the app domain Singleton for resolving EF dependencies such - as the instance to use. - - - - - Registers a handler to process non-error messages coming from the database provider. - - The connection to receive information for. - The handler to process messages. - - - - Create a Command Definition object given a command tree. - - command tree for the statement - an executable command definition object - - This method simply delegates to the provider's implementation of CreateDbCommandDefinition. - - - - Creates command definition from specified manifest and command tree. - The created command definition. - The manifest. - The command tree. - - - Creates a command definition object for the specified provider manifest and command tree. - An executable command definition object. - Provider manifest previously retrieved from the store provider. - Command tree for the statement. - - - - Create the default DbCommandDefinition object based on the prototype command - This method is intended for provider writers to build a default command definition - from a command. - Note: This will clone the prototype - - the prototype command - an executable command definition object - - - - See issue 2390 - cloning the DesignTimeVisible property on the - DbCommand can cause deadlocks. So here allow sub-classes to override. - - the object to clone - a clone of the - - - - Clones the connection. - - The original connection. - Cloned connection - - - - Clones the connection. - - The original connection. - The factory to use. - Cloned connection - - - Returns provider manifest token given a connection. - The provider manifest token. - Connection to provider. - - - - Returns provider manifest token for a given connection. - - Connection to find manifest token from. - The provider manifest token for the specified connection. - - - Returns the provider manifest by using the specified version information. - The provider manifest by using the specified version information. - The token information associated with the provider manifest. - - - When overridden in a derived class, returns an instance of a class that derives from the DbProviderManifest. - A DbProviderManifest object that represents the provider manifest. - The token information associated with the provider manifest. - - - - Gets the that will be used to execute methods that use the specified connection. - - The database connection - - A new instance of - - - - - Gets the that will be used to execute methods that use the specified connection. - This overload should be used by the derived classes for compatability with wrapping providers. - - The database connection - The provider invariant name - - A new instance of - - - - - Gets the spatial data reader for the . - - The spatial data reader. - The reader where the spatial data came from. - The manifest token associated with the provider manifest. - - - - Gets the spatial services for the . - - The spatial services. - The token information associated with the provider manifest. - - - Gets the spatial services for the . - The spatial services. - Information about the database that the spatial services will be used for. - - - - Gets the spatial data reader for the . - - The spatial data reader. - The reader where the spatial data came from. - The token information associated with the provider manifest. - - - - Gets the spatial services for the . - - The spatial services. - The token information associated with the provider manifest. - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - Returns providers given a connection. - - The instanced based on the specified connection. - - Connection to provider. - - - Retrieves the DbProviderFactory based on the specified DbConnection. - The retrieved DbProviderFactory. - The connection to use. - - - - Return an XML reader which represents the CSDL description - - The name of the CSDL description. - An XmlReader that represents the CSDL description - - - Generates a data definition language (DDL script that creates schema objects (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token. - - Individual statements should be separated using database-specific DDL command separator. - It is expected that the generated script would be executed in the context of existing database with - sufficient permissions, and it should not include commands to create the database, but it may include - commands to create schemas and other auxiliary objects such as sequences, etc. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token. - The provider manifest token identifying the target version. - The structure of the database. - - - - Generates a data definition language (DDL) script that creates schema objects - (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection - parameter and targeted for the version of the database corresponding to the provider manifest token. - - - Individual statements should be separated using database-specific DDL command separator. - It is expected that the generated script would be executed in the context of existing database with - sufficient permissions, and it should not include commands to create the database, but it may include - commands to create schemas and other auxiliary objects such as sequences, etc. - - The provider manifest token identifying the target version. - The structure of the database. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter - and targeted for the version of the database corresponding to the provider manifest token. - - - - - Creates a database indicated by connection and creates schema objects - (tables, primary keys, foreign keys) based on the contents of storeItemCollection. - - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - Creates a database indicated by connection and creates schema objects (tables, primary keys, foreign keys) based on the contents of a StoreItemCollection. - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - Override this method to avoid creating the store item collection if it is not needed. The default implementation evaluates the Lazy and calls the other overload of this method. - - - Deletes the specified database. - Connection to an existing database that needs to be deleted. - Execution timeout for any commands needed to delete the database. - The collection of all store items from the model. This parameter is no longer used for database deletion. - - - Deletes the specified database. - Connection to an existing database that needs to be deleted. - Execution timeout for any commands needed to delete the database. - The collection of all store items from the model. This parameter is no longer used for database deletion. - - - - Expands |DataDirectory| in the given path if it begins with |DataDirectory| and returns the expanded path, - or returns the given string if it does not start with |DataDirectory|. - - The path to expand. - The expanded path. - - - - Adds an that will be used to resolve additional default provider - services when a derived type is registered as an EF provider either using an entry in the application's - config file or through code-based registration in . - - The resolver to add. - - - - Called to resolve additional default provider services when a derived type is registered as an - EF provider either using an entry in the application's config file or through code-based - registration in . The implementation of this method in this - class uses the resolvers added with the AddDependencyResolver method to resolve - dependencies. - - - Use this method to set, add, or change other provider-related services. Note that this method - will only be called for such services if they are not already explicitly configured in some - other way by the application. This allows providers to set default services while the - application is still able to override and explicitly configure each service if required. - See and for more details. - - The type of the service to be resolved. - An optional key providing additional information for resolving the service. - An instance of the given type, or null if the service could not be resolved. - - - - Called to resolve additional default provider services when a derived type is registered as an - EF provider either using an entry in the application's config file or through code-based - registration in . The implementation of this method in this - class uses the resolvers added with the AddDependencyResolver method to resolve - dependencies. - - The type of the service to be resolved. - An optional key providing additional information for resolving the service. - All registered services that satisfy the given type and key, or an empty enumeration if there are none. - - - - A specialization of the ProviderManifest that accepts an XmlReader - - - - - Initializes a new instance of the class. - - - An object that provides access to the XML data in the provider manifest file. - - - - Returns the list of facet descriptions for the specified Entity Data Model (EDM) type. - - A collection of type that contains the list of facet descriptions for the specified EDM type. - - - An for which the facet descriptions are to be retrieved. - - - - Returns the list of primitive types supported by the storage provider. - - A collection of type that contains the list of primitive types supported by the storage provider. - - - - Returns the list of provider-supported functions. - - A collection of type that contains the list of provider-supported functions. - - - - Gets the namespace name supported by this provider manifest. - The namespace name supported by this provider manifest. - - - Gets the best mapped equivalent Entity Data Model (EDM) type for a specified storage type name. - The best mapped equivalent EDM type for a specified storage type name. - - - Gets the best mapped equivalent storage primitive type for a specified storage type name. - The best mapped equivalent storage primitive type for a specified storage type name. - - - - Class for representing a collection of items. - Most of the implementation for actual maintenance of the collection is - done by MetadataCollection - - - - - Class representing a read-only wrapper around MetadataCollection - - The type of items in this collection - - - Retrieves an item from this collection by using the specified identity. - An item from this collection. - The identity of the item to be searched for. - true to perform the case-insensitive search; otherwise, false. - - - Determines whether the collection contains an item with the specified identity. - true if the collection contains the item to be searched for; otherwise, false. The default is false. - The identity of the item. - - - Retrieves an item from this collection by using the specified identity. - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item to be searched for. - true to perform the case-insensitive search; otherwise, false. - When this method returns, this output parameter contains an item from the collection. If there is no matched item, this output parameter contains null. - - - Returns an enumerator that can iterate through this collection. - - A that can be used to iterate through this - - . - - - - Returns the index of the specified value in this collection. - The index of the specified value in this collection. - A value to seek. - - - Gets a value indicating whether this collection is read-only. - true if this collection is read-only; otherwise, false. - - - Gets an item from this collection by using the specified identity. - An item from this collection. - The identity of the item to be searched for. - - - - The enumerator for MetadataCollection - - - - Disposes of this enumerator. - - - - Moves to the next member in the collection of type - - . - - - true if the enumerator is moved in the collection of type - - ; otherwise, false. - - - - - Positions the enumerator before the first position in the collection of type - - . - - - - Gets the member at the current position. - The member at the current position. - - - - Gets the member at the current position - - - - - Returns a strongly typed object by using the specified identity. - - The item that is specified by the identity. - The identity of the item. - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity from this item collection. - - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item. - - When this method returns, the output parameter contains a - - object. If there is no global item with the specified identity in the item collection, this output parameter contains null. - - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity from this item collection. - - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, the output parameter contains a - - object. If there is no global item with the specified identity in the item collection, this output parameter contains null. - - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity with either case-sensitive or case-insensitive search. - - The item that is specified by the identity. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - The type returned by the method. - - - Returns all the items of the specified type from this item collection. - - A collection of type that contains all the items of the specified type. - - The type returned by the method. - - - - Returns an object by using the specified type name and the namespace name in this item collection. - - - An object that represents the type that matches the specified type name and the namespace name in this item collection. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - - When this method returns, this output parameter contains an - - object. If there is no type with the specified name and namespace name in this item collection, this output parameter contains null. - - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - - An object that represents the type that matches the specified type name and the namespace name in this item collection. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, this output parameter contains an - - object. If there is no type with the specified name and namespace name in this item collection, this output parameter contains null. - - - - Returns all the overloads of the functions by using the specified name from this item collection. - - A collection of type that contains all the functions that have the specified name. - - The full name of the function. - - - Returns all the overloads of the functions by using the specified name from this item collection. - - A collection of type that contains all the functions that have the specified name. - - The full name of the function. - true to perform the case-insensitive search; otherwise, false. - - - Returns all the overloads of the functions by using the specified name from this item collection. - A collection of type ReadOnlyCollection that contains all the functions that have the specified name. - A dictionary of functions. - The full name of the function. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified entity container name. - - If there is no entity container, this method returns null; otherwise, it returns the first one. - The name of the entity container. - - - - Returns an object by using the specified entity container name. If there is no entity container, the output parameter contains null; otherwise, it contains the first entity container. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - - When this method returns, it contains an object. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - - - - Returns an object by using the specified entity container name. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified entity container name. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, it contains an object. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - - - Gets the data model associated with this item collection. - The data model associated with this item collection. - - - - EntityRecordInfo class providing a simple way to access both the type information and the column information. - - - - - Initializes a new instance of the class of a specific entity type with an enumerable collection of data fields and with specific key and entity set information. - - - The of the entity represented by the - - described by this - - object. - - - An enumerable collection of objects that represent column information. - - The key for the entity. - The entity set to which the entity belongs. - - - - Gets the for the entity. - - The key for the entity. - - - - Public Entity SQL Parser class. - - - - Parse the specified query with the specified parameters. - - The containing - - and information describing inline function definitions if any. - - The EntitySQL query to be parsed. - The optional query parameters. - - - - Parse a specific query with a specific set variables and produce a - - . - - - The containing - - and information describing inline function definitions if any. - - The query to be parsed. - The optional query variables. - - - - Entity SQL query inline function definition, returned as a part of . - - - - Function name. - - - Function body and parameters. - - - Start position of the function definition in the eSQL query text. - - - End position of the function definition in the eSQL query text. - - - - Entity SQL Parser result information. - - - - A command tree produced during parsing. - - - - List of objects describing query inline function definitions. - - - - - Compares objects using reference equality. - - - - - Gets the default instance. - - - - - Specifies the maximum length of array/string data allowed in a property. - - - - - Initializes a new instance of the class. - - The maximum allowable length of array/string data. Value must be greater than zero. - - - - Initializes a new instance of the class. - The maximum allowable length supported by the database will be used. - - - - - Determines whether a specified object is valid. (Overrides ) - - - This method returns true if the is null. - It is assumed the is used if the value may not be null. - - The object to validate. - true if the value is null or less than or equal to the specified maximum length, otherwise false - Length is zero or less than negative one. - - - - Applies formatting to a specified error message. (Overrides ) - - The name to include in the formatted string. - A localized string to describe the maximum acceptable length. - - - - Checks that Length has a legal value. Throws InvalidOperationException if not. - - - - - Gets the maximum allowable length of the array/string data. - - - - - Specifies the minimum length of array/string data allowed in a property. - - - - - Initializes a new instance of the class. - - The minimum allowable length of array/string data. Value must be greater than or equal to zero. - - - - Determines whether a specified object is valid. (Overrides ) - - - This method returns true if the is null. - It is assumed the is used if the value may not be null. - - The object to validate. - true if the value is null or greater than or equal to the specified minimum length, otherwise false - Length is less than zero. - - - - Applies formatting to a specified error message. (Overrides ) - - The name to include in the formatted string. - A localized string to describe the minimum acceptable length. - - - - Checks that Length has a legal value. Throws InvalidOperationException if not. - - - - - Gets the minimum allowable length of the array/string data. - - - - - Specifies the database column that a property is mapped to. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column the property is mapped to. - - - - The name of the column the property is mapped to. - - - - - The zero-based order of the column the property is mapped to. - - - - - The database provider specific data type of the column the property is mapped to. - - - - - Denotes that the class is a complex type. - Complex types are non-scalar properties of entity types that enable scalar properties to be organized within entities. - Complex types do not have keys and cannot be managed by the Entity Framework apart from the parent object. - - - - - Specifies how the database generates values for a property. - - - - - Initializes a new instance of the class. - - The pattern used to generate values for the property in the database. - - - - The pattern used to generate values for the property in the database. - - - - - The pattern used to generate values for a property in the database. - - - - - The database does not generate values. - - - - - The database generates a value when a row is inserted. - - - - - The database generates a value when a row is inserted or updated. - - - - - Denotes a property used as a foreign key in a relationship. - The annotation may be placed on the foreign key property and specify the associated navigation property name, - or placed on a navigation property and specify the associated foreign key name. - - - - - Initializes a new instance of the class. - - If placed on a foreign key property, the name of the associated navigation property. If placed on a navigation property, the name of the associated foreign key(s). If a navigation property has multiple foreign keys, a comma separated list should be supplied. - - - - If placed on a foreign key property, the name of the associated navigation property. - If placed on a navigation property, the name of the associated foreign key(s). - - - - - Specifies the inverse of a navigation property that represents the other end of the same relationship. - - - - - Initializes a new instance of the class. - - The navigation property representing the other end of the same relationship. - - - - The navigation property representing the other end of the same relationship. - - - - - Denotes that a property or class should be excluded from database mapping. - - - - - Specifies the database table that a class is mapped to. - - - - - Initializes a new instance of the class. - - The name of the table the class is mapped to. - - - - The name of the table the class is mapped to. - - - - - The schema of the table the class is mapped to. - - - - - Wraps access to the transaction object on the underlying store connection and ensures that the - Entity Framework executes commands on the database within the context of that transaction. - An instance of this class is retrieved by calling BeginTransaction() on the - - object. - - - - - Commits the underlying store transaction - - - - - Rolls back the underlying store transaction - - - - - Cleans up this transaction object and ensures the Entity Framework - is no longer using that transaction. - - - - - Releases the resources used by this transaction object - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - - - - - - - - - - - - - Gets the database (store) transaction that is underlying this context transaction. - - - - - A service for obtaining the correct from a given - . - - - On .NET 4.5 the provider is publicly accessible from the connection. On .NET 4 the - default implementation of this service uses some heuristics to find the matching - provider. If these fail then a new implementation of this service can be registered - on to provide an appropriate resolution. - - - - - Returns the for the given connection. - - The connection. - The provider factory for the connection. - - - - Explicitly implemented by to prevent certain members from showing up - in the IntelliSense of scaffolded migrations. - - - - - Adds a custom to the migration. - Custom operation implementors are encouraged to create extension methods on - that provide a fluent-style API for adding new operations. - - The operation to add. - - - - A default implementation of that uses the - underlying provider to get the manifest token. - Note that to avoid multiple queries, this implementation using caching based on the actual type of - instance, the property, - and the property. - - - - - A service for getting a provider manifest token given a connection. - The class is used by default and makes use of the - underlying provider to get the token which often involves opening the connection. - A different implementation can be used instead by adding an - to that may use any information in the connection to return - the token. For example, if the connection is known to point to a SQL Server 2008 database then - "2008" can be returned without opening the connection. - - - - - Returns the manifest token to use for the given connection. - - The connection for which a manifest token is required. - The manifest token to use. - - - - - - - A strategy that is used to execute a command or query against the database, possibly with logic to retry when a failure occurs. - - - - - Executes the specified operation. - - A delegate representing an executable operation that doesn't return any results. - - - - Executes the specified operation and returns the result. - - - The return type of . - - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - - - - Indicates whether this might retry the execution after a failure. - - - - - Provides the base implementation of the retry mechanism for unreliable operations and transient conditions that uses - exponentially increasing delays between retries. - - - A new instance will be created each time an operation is executed. - The following formula is used to calculate the delay after retryCount number of attempts: - min(random(1, 1.1) * (2 ^ retryCount - 1), maxDelay) - The retryCount starts at 0. - The random factor distributes uniformly the retry attempts from multiple simultaneous operations failing simultaneously. - - - - - Creates a new instance of . - - - The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor. - - - - - Creates a new instance of with the specified limits for number of retries and the delay between retries. - - The maximum number of retry attempts. - The maximum delay in milliseconds between retries. - - - - Repetitively executes the specified operation while it satisfies the current retry policy. - - A delegate representing an executable operation that doesn't return any results. - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Repetitively executes the specified operation while it satisfies the current retry policy. - - The type of result expected from the executable operation. - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Determines whether the operation should be retried and the delay before the next attempt. - - The exception thrown during the last execution attempt. - - Returns the delay indicating how long to wait for before the next execution attempt if the operation should be retried; - null otherwise - - - - - Recursively gets InnerException from as long as it's an - , or - and passes it to - - The type of the unwrapped exception. - The exception to be unwrapped. - A delegate that will be called with the unwrapped exception. - - The result from . - - - - - Determines whether the specified exception represents a transient failure that can be compensated by a retry. - - The exception object to be verified. - - true if the specified exception is considered as transient, otherwise false. - - - - - Returns true to indicate that might retry the execution after a failure. - - - - - Indicates whether the strategy is suspended. The strategy is typically suspending while executing to avoid - recursive execution from nested operations. - - - - - A key used for resolving . It consists of the ADO.NET provider invariant name - and the database server name as specified in the connection string. - - - - - Initializes a new instance of - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - A string that will be matched against the server name in the connection string. - - - - - - - - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - - - - A string that will be matched against the server name in the connection string. - - - - - Implement this interface on your context to use custom logic to calculate the key used to lookup an already created model in the cache. - This interface allows you to have a single context type that can be used with different models in the same AppDomain, - or multiple context types that use the same model. - - - - Gets the cached key associated with the provider. - The cached key associated with the provider. - - - - Used by and when resolving - a provider invariant name from a . - - - - Gets the name of the provider. - The name of the provider. - - - - Represents a custom pluralization term to be used by the - - - - - Create a new instance - - A non null or empty string representing the singular. - A non null or empty string representing the plural. - - - - Get the singular. - - - - - Get the plural. - - - - - Default pluralization service implementation to be used by Entity Framework. This pluralization - service is based on English locale. - - - - - Pluralization services to be used by the EF runtime implement this interface. - By default the is used, but the pluralization service to use - can be set in a class derived from . - - - - - Pluralize a word using the service. - - The word to pluralize. - The pluralized word - - - - Singularize a word using the service. - - The word to singularize. - The singularized word. - - - - Constructs a new instance of default pluralization service - used in Entity Framework. - - - - - Constructs a new instance of default pluralization service - used in Entity Framework. - - - A collection of user dictionary entries to be used by this service.These inputs - can customize the service according the user needs. - - - - Returns the plural form of the specified word. - The plural form of the input parameter. - The word to be made plural. - - - Returns the singular form of the specified word. - The singular form of the input parameter. - The word to be made singular. - - - - The exception that is thrown when the action failed again after being retried the configured number of times. - - - - - Provider exception - Used by the entity client. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - - - Initializes a new instance of the class. - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - Initializes a new instance of the class with no error message. - - - - - Initializes a new instance of the class with a specified error message. - - The message that describes the error. - - - - Initializes a new instance of the class. - - The message that describes the error. - The exception that is the cause of the current exception. - - - - An that doesn't retry operations if they fail. - - - - - Executes the specified operation once. - - A delegate representing an executable operation that doesn't return any results. - - - - Executes the specified operation once and returns the result. - - - The return type of . - - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - - - - Returns false to indicate that will not retry the execution after a failure. - - - - - Represents a SQL query for entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance for the - entity type. The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for non-entities are created using . - See for a generic version of this class. - - - - - Represents a SQL query for non-entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance. - The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for entities are created using . - See for a generic version of this class. - - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - Never returns; always throws. - - - - - - - - - - - - - Returns false. - - - false . - - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for . Methods and properties - that will be used by the test double must be implemented by the test double except AsNoTracking - and AsStreaming where the default implementation is a no-op. - - - - - Returns a new query where the results of the query will not be tracked by the associated - . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - - - - - - - - - - - - - Represents a SQL query for entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance for the - entity type. The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for non-entities are created using . - See for a non-generic version of this class. - - The type of entities returned by the query. - - - - Represents a SQL query for non-entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance. - The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for entities are created using . - See for a non-generic version of this class. - - The type of elements returned by the query. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - Never returns; always throws. - - - - - - - - - - - - - Returns false. - - - false . - - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for . Methods and properties - that will be used by the test double must be implemented by the test double except AsNoTracking and - AsStreaming where the default implementation is a no-op. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - - - - - - - - - - - - - Represents a key value that uniquely identifies an Entity Framework model that has been loaded into memory. - - - - Determines whether the current cached model key is equal to the specified cached model key. - true if the current cached model key is equal to the specified cached model key; otherwise, false. - The cached model key to compare to the current cached model key. - - - Returns the hash function for this cached model key. - The hash function for this cached model key. - - - - Thrown when an operation can't be performed because there are existing migrations that have not been applied to the database. - - - - - Represents errors that occur inside the Code First Migrations pipeline. - - - - - Initializes a new instance of the MigrationsException class. - - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the MigrationsException class with serialized data. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - Initializes a new instance of the MigrationsPendingException class. - - - - - Initializes a new instance of the MigrationsPendingException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsPendingException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - A migration operation to add a new stored procedure to the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the stored procedure. - - - - - Allows configuration to be performed for a lightweight convention based on - the properties in a model. - - - - - Filters the properties that this convention applies to based on a predicate. - - A function to test each property for a condition. - - A instance so that multiple calls can be chained. - - - - - Filters the properties that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each property. If the value is null, the - property will be filtered out. - - - A instance so that multiple calls can be chained. - - - - - Allows configuration of the properties that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the properties of entity types in a model and a captured value. - - The type of the captured value. - - - - Allows configuration of the properties that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a stored procedure that is used to modify a relationship. - - The type of the entity that the relationship is being configured from. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - The type of the property. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - The type of the property. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - - Creates a convention that configures stored procedures to be used to delete entities in the database. - - - - - Creates a convention that configures stored procedures to be used to modify entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - - - - - - - - - - - - - - Creates a convention that configures stored procedures to be used to insert entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the result for. - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The property to configure the result for. - The name of the result column. - - - - - - - - - - - - - - - - Creates a convention that configures stored procedures to be used to modify entities in the database. - - - - Configures stored procedure used to insert entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to update entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a convention that configures stored procedures to be used to update entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The current value parameter name. - The original value parameter name. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the result for. - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The property to configure the result for. - The name of the result column. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to modify a many to many relationship. - - The type of the entity that the relationship is being configured from. - The type of the entity that the other end of the relationship targets. - - - - Performs configuration of a stored procedure uses to modify an entity in the database. - - - - - Sets the name of the stored procedure. - - Name of the procedure. - The same configuration instance so that multiple calls can be chained. - - - - Sets the name of the stored procedure. - - Name of the procedure. - Name of the schema. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to modify a many to many relationship. - - The type of the entity that the relationship is being configured from. - The type of the entity that the other end of the relationship targets. - - - Configures stored procedure used to insert relationships. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete relationships. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a stored procedure that is used to delete entities. - - The type of the entity that the stored procedure can be used to delete. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to insert entities. - - The type of the entity that the stored procedure can be used to insert. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to update entities. - - The type of the entity that the stored procedure can be used to update. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to modify entities. - - The type of the entity that the stored procedure can be used to modify. - - - Configures stored procedure used to insert entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to update entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a primitive property of an entity type or complex type. - This configuration functionality is available via lightweight conventions. - - - - - Configures the name of the database column used to store the property. - - The name of the column. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the name of the parameter used in stored procedures for this property. - - Name of the parameter. - - The same instance so that multiple calls can be chained. - - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be used as an optimistic concurrency token. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures how values for the property are generated by the database. - - The pattern used to generate values for the property in the database. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to support Unicode string content. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures whether or not the property supports Unicode string content. - - Value indicating if the property supports Unicode string content or not. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to be variable length. - Properties are variable length by default. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to allow the maximum length supported by the database provider. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the precision of the property. - If the database provider does not support precision for the data type of the column then the value is ignored. - - Precision of the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method will throw if the property is not a . - - - - - Configures the precision and scale of the property. - - The precision of the property. - The scale of the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method will throw if the property is not a . - - - - - Configures the property to be a row version in the database. - The actual data type will vary depending on the database provider being used. - Setting the property to be a row version will automatically configure it to be an - optimistic concurrency token. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures this property to be part of the entity type's primary key. - - - The same instance so that - multiple calls can be chained. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the for this property. - - - - - An implementation of that does nothing. Using this - initializer disables database initialization for the given context type. Passing an instance - of this class to is equivalent to passing null. - When is being used to resolve initializers an instance of - this class must be used to disable initialization. - - The type of the context. - - - - - - - FieldMetadata class providing the correlation between the column ordinals and MemberMetadata. - - - - - Initializes a new object with the specified ordinal value and field type. - - An integer specified the location of the metadata. - The field type. - - - - Gets the type of field for this object. - - - The type of field for this object. - - - - - Gets the ordinal for this object. - - An integer representing the ordinal value. - - - - Class representing a parameter collection used in EntityCommand - - - - - Adds the specified object to the . - - - The index of the new object. - - - An . - - - - - Adds an array of values to the end of the - - . - - - The values to add. - - - - - Removes all the objects from the - - . - - - - - Determines whether the specified is in this - - . - - - true if the contains the value; otherwise false. - - - The value. - - - - - Copies all the elements of the current to the specified one-dimensional - - starting at the specified destination index. - - - The one-dimensional that is the destination of the elements copied from the current - - . - - - A 32-bit integer that represents the index in the at which copying starts. - - - - - Returns an enumerator that iterates through the - - . - - - An for the - - . - - - - - - - - - - - Gets the location of the specified with the specified name. - - - The zero-based location of the specified with the specified case-sensitive name. Returns -1 when the object does not exist in the - - . - - - The case-sensitive name of the to find. - - - - - Gets the location of the specified in the collection. - - - The zero-based location of the specified that is a - - in the collection. Returns -1 when the object does not exist in the - - . - - - The to find. - - - - - Inserts an into the - - at the specified index. - - The zero-based index at which value should be inserted. - - An to be inserted in the - - . - - - - Removes the specified parameter from the collection. - - A object to remove from the collection. - - - - - Removes the from the - - at the specified index. - - - The zero-based index of the object to remove. - - - - - Removes the from the - - at the specified parameter name. - - - The name of the to remove. - - - - - - - - - - - Adds the specified object to the - - . - - - A new object. - - - The to add to the collection. - - - The specified in the value parameter is already added to this or another - - . - - - The parameter passed was not a . - - The value parameter is null. - - - - Adds a value to the end of the . - - - A object. - - The name of the parameter. - The value to be added. - - - - Adds a to the - - given the parameter name and the data type. - - - A new object. - - The name of the parameter. - - One of the values. - - - - - Adds a to the - - with the parameter name, the data type, and the column length. - - - A new object. - - The name of the parameter. - - One of the values. - - The column length. - - - - Adds an array of values to the end of the - - . - - - The values to add. - - - - - Determines whether the specified is in this - - . - - - true if the contains the value; otherwise false. - - - The value. - - - - - Copies all the elements of the current to the specified - - starting at the specified destination index. - - - The that is the destination of the elements copied from the current - - . - - - A 32-bit integer that represents the index in the - - at which copying starts. - - - - - Gets the location of the specified in the collection. - - - The zero-based location of the specified that is a - - in the collection. Returns -1 when the object does not exist in the - - . - - - The to find. - - - - - Inserts a object into the - - at the specified index. - - The zero-based index at which value should be inserted. - - A object to be inserted in the - - . - - - - - Removes the specified from the collection. - - - A object to remove from the collection. - - - The parameter is not a . - - The parameter does not exist in the collection. - - - - Gets an Integer that contains the number of elements in the - - . - - - The number of elements in the as an Integer. - - - - - Gets a value that indicates whether the - - has a fixed size. - - - Returns true if the has a fixed size; otherwise false. - - - - - Gets a value that indicates whether the - - is read-only. - - - Returns true if the is read only; otherwise false. - - - - - Gets a value that indicates whether the - - is synchronized. - - - Returns true if the is synchronized; otherwise false. - - - - - Gets an object that can be used to synchronize access to the - - . - - - An object that can be used to synchronize access to the - - . - - - - - Gets the at the specified index. - - - The at the specified index. - - The zero-based index of the parameter to retrieve. - The specified index does not exist. - - - - Gets the with the specified name. - - - The with the specified name. - - The name of the parameter to retrieve. - The specified name does not exist. - - - - Class representing a command for the conceptual layer - - - - - Initializes a new instance of the class using the specified values. - - - - - Initializes a new instance of the class with the specified statement. - - The text of the command. - - - - Constructs the EntityCommand object with the given eSQL statement and the connection object to use - - The eSQL command text to execute - The connection object - Resolver used to resolve DbProviderServices - - - - Initializes a new instance of the class with the specified statement and connection. - - The text of the command. - A connection to the data source. - - - - Initializes a new instance of the class with the specified statement, connection and transaction. - - The text of the command. - A connection to the data source. - The transaction in which the command executes. - - - - Cancels the execution of an . - - - - - Creates a new instance of an object. - - - A new instance of an object. - - - - - Create and return a new parameter object representing a parameter in the eSQL statement - - The parameter object. - - - Executes the command and returns a data reader. - - The that contains the results. - - - - - Compiles the into a command tree and passes it to the underlying store provider for execution, then builds an - - out of the produced result set using the specified - - . - - - The that contains the results. - - - One of the values. - - - - - Executes the command and returns a data reader for reading the results - - The behavior to use when executing the command - A DbDataReader object - - - Executes the current command. - The number of rows affected. - - - Executes the command, and returns the first column of the first row in the result set. Additional columns or rows are ignored. - The first column of the first row in the result set, or a null reference (Nothing in Visual Basic) if the result set is empty. - - - Compiles the entity-level command and creates a prepared version of the command. - - - Compiles the entity-level command and returns the store command text. - The store command text. - - - - Gets or sets the used by the - - . - - The connection used by the entity command. - - - - The connection object used for executing the command - - - - Gets or sets an Entity SQL statement that specifies a command or stored procedure to execute. - The Entity SQL statement that specifies a command or stored procedure to execute. - - - Gets or sets the command tree to execute; only one of the command tree or the command text can be set, not both. - The command tree to execute. - - - Gets or sets the amount of time to wait before timing out. - The time in seconds to wait for the command to execute. - - - - Gets or sets a value that indicates how the - - property is to be interpreted. - - - One of the enumeration values. - - - - Gets the parameters of the Entity SQL statement or stored procedure. - The parameters of the Entity SQL statement or stored procedure. - - - - The collection of parameters for this command - - - - - Gets or sets the transaction within which the executes. - - - The transaction within which the executes. - - - - - The transaction that this command executes in - - - - Gets or sets how command results are applied to rows being updated. - - One of the values. - - - - Gets or sets a value that indicates whether the command object should be visible in a Windows Form Designer control. - true if the command object should be visible in a Windows Form Designer control; otherwise, false. - - - Gets or sets a value that indicates whether the query plan caching is enabled. - true if the query plan caching is enabled; otherwise, false. - - - - Class representing a connection for the conceptual layer. An entity connection may only - be initialized once (by opening the connection). It is subsequently not possible to change - the connection string, attach a new store connection, or change the store connection string. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class, based on the connection string. - - The provider-specific connection string. - An invalid connection string keyword has been provided, or a required connection string keyword has not been provided. - - - - Initializes a new instance of the class with a specified - and - . - - - A to be associated with this - . - - - The underlying data source connection for this object. - - The workspace or connection parameter is null. - The conceptual model is missing from the workspace.-or-The mapping file is missing from the workspace.-or-The storage model is missing from the workspace.-or-The connection is not in a closed state. - The connection is not from an ADO.NET Entity Framework-compatible provider. - - - - Constructs the EntityConnection from Metadata loaded in memory - - Workspace containing metadata information. - Store connection. - If set to true the store connection is disposed when the entity connection is disposed, otherwise the caller must dispose the store connection. - - - - Returns the associated with this - - . - - - The associated with this - - . - - The inline connection string contains an invalid Metadata keyword value. - - - Establishes a connection to the data source by calling the underlying data provider's Open method. - An error occurs when you open the connection, or the name of the underlying data provider is not known. - The inline connection string contains an invalid Metadata keyword value. - - - - Creates a new instance of an , with the - - set to this - - . - - - An object. - - The name of the underlying data provider is not known. - - - - Create a new command object that uses this connection object - - The command object. - - - Closes the connection to the database. - An error occurred when closing the connection. - - - Not supported. - Not supported. - When the method is called. - - - Begins a transaction by using the underlying provider. - - A new . The returned - - instance can later be associated with the - - to execute the command under that transaction. - - - The underlying provider is not known.-or-The call to - - was made on an - - that already has a current transaction.-or-The state of the - - is not - - . - - - - Begins a transaction with the specified isolation level by using the underlying provider. - - A new . The returned - - instance can later be associated with the - - to execute the command under that transaction. - - The isolation level of the transaction. - - The underlying provider is not known.-or-The call to - - was made on an - - that already has a current transaction.-or-The state of the - - is not - - . - - - - - Begins a database transaction - - The isolation level of the transaction - An object representing the new transaction - - - - Enlists this in the specified transaction. - - The transaction object to enlist into. - - The state of the is not - - . - - - - - Cleans up this connection object - - true to release both managed and unmanaged resources; false to release only unmanaged resources - - - - Gets or sets the connection string. - - The connection string required to establish the initial connection to a data source. The default value is an empty string. On a closed connection, the currently set value is returned. If no value has been set, an empty string is returned. - - An attempt was made to set the property after the - - ’s was initialized. The - - is initialized either when the instance is constructed through the overload that takes a - - as a parameter, or when the - - instance has been opened. - - An invalid connection string keyword has been provided or a required connection string keyword has not been provided. - - - Gets the number of seconds to wait when attempting to establish a connection before ending the attempt and generating an error. - The time (in seconds) to wait for a connection to open. The default value is the underlying data provider's default time-out. - The value set is less than 0. - - - Gets the name of the current database, or the database that will be used after a connection is opened. - The value of the Database property of the underlying data provider. - The underlying data provider is not known. - - - - Gets the state of the EntityConnection, which is set up to track the state of the underlying - database connection that is wrapped by this EntityConnection. - - - - Gets the name or network address of the data source to connect to. - The name of the data source. The default value is an empty string. - The underlying data provider is not known. - - - Gets a string that contains the version of the data source to which the client is connected. - The version of the data source that is contained in the provider connection string. - The connection is closed. - - - - Gets the provider factory associated with EntityConnection - - - - - Provides access to the underlying data source connection that is used by the - - object. - - - The for the data source connection. - - - - - Gets the current transaction that this connection is enlisted in. May be null. - - - - - Class representing a connection string builder for the entity client provider - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the supplied connection string. - - A provider-specific connection string to the underlying data source. - - - - Clears the contents of the instance. - - - - - Determines whether the contains a specific key. - - - Returns true if the contains an element that has the specified key; otherwise, false. - - - The key to locate in the . - - - - - Retrieves a value corresponding to the supplied key from this - - . - - Returns true if keyword was found in the connection string; otherwise, false. - The key of the item to retrieve. - The value corresponding to keyword. - keyword contains a null value (Nothing in Visual Basic). - - - - Removes the entry with the specified key from the - - instance. - - Returns true if the key existed in the connection string and was removed; false if the key did not exist. - - The key of the keyword/value pair to be removed from the connection string in this - - . - - keyword is null (Nothing in Visual Basic) - - - Gets or sets the name of a section as defined in a configuration file. - The name of a section in a configuration file. - - - Gets or sets the name of the underlying .NET Framework data provider in the connection string. - The invariant name of the underlying .NET Framework data provider. - - - Gets or sets the metadata locations in the connection string. - Gets or sets the metadata locations in the connection string. - - - Gets or sets the inner, provider-specific connection string. - The inner, provider-specific connection string. - - - - Gets a value that indicates whether the - - has a fixed size. - - - Returns true in every case, because the - - supplies a fixed-size collection of keyword/value pairs. - - - - - Gets an that contains the keys in the - - . - - - An that contains the keys in the - - . - - - - Gets or sets the value associated with the specified key. In C#, this property is the indexer. - The value associated with the specified key. - The key of the item to get or set. - keyword is a null reference (Nothing in Visual Basic). - Tried to add a key that does not exist in the available keys. - Invalid value in the connection string (specifically, a Boolean or numeric value was expected but not supplied). - - - - A data reader class for the entity client provider - - - - - Closes the object. - - - - - Releases the resources consumed by this and calls - - . - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the value of the specified column as a Boolean. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a byte. - The value of the specified column. - The zero-based column ordinal. - - - Reads a stream of bytes from the specified column, starting at location indicated by dataIndex , into the buffer, starting at the location indicated by bufferIndex . - The actual number of bytes read. - The zero-based column ordinal. - The index within the row from which to begin the read operation. - The buffer into which to copy the data. - The index with the buffer to which the data will be copied. - The maximum number of characters to read. - - - Gets the value of the specified column as a single character. - The value of the specified column. - The zero-based column ordinal. - - - Reads a stream of characters from the specified column, starting at location indicated by dataIndex , into the buffer, starting at the location indicated by bufferIndex . - The actual number of characters read. - The zero-based column ordinal. - The index within the row from which to begin the read operation. - The buffer into which to copy the data. - The index with the buffer to which the data will be copied. - The maximum number of characters to read. - - - Gets the name of the data type of the specified column. - The name of the data type. - The zero-based column ordinal. - - - - Gets the value of the specified column as a object. - - The value of the specified column. - The zero-based column ordinal. - - - - Returns a object for the requested column ordinal that can be overridden with a provider-specific implementation. - - A data reader. - The zero-based column ordinal. - - - - Gets the value of the specified column as a object. - - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a double-precision floating point number. - The value of the specified column. - The zero-based column ordinal. - - - Gets the data type of the specified column. - The data type of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a single-precision floating point number. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a globally-unique identifier (GUID). - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 16-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 32-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 64-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the name of the column, given the zero-based column ordinal. - The name of the specified column. - The zero-based column ordinal. - - - Gets the column ordinal given the name of the column. - The zero-based column ordinal. - The name of the column. - The name specified is not a valid column name. - - - Returns the provider-specific field type of the specified column. - - The object that describes the data type of the specified column. - - The zero-based column ordinal. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - Gets all provider-specific attribute columns in the collection for the current row. - - The number of instances of in the array. - - - An array of into which to copy the attribute columns. - - - - - Returns a that describes the column metadata of the - - . - - - A that describes the column metadata. - - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - Populates an array of objects with the column values of the current row. - - The number of instances of in the array. - - - An array of into which to copy the attribute columns. - - - - Gets a value that indicates whether the column contains nonexistent or missing values. - - true if the specified column is equivalent to ; otherwise, false. - - The zero-based column ordinal. - - - Advances the reader to the next result when reading the results of a batch of statements. - true if there are more result sets; otherwise, false. - - - Advances the reader to the next record in a result set. - true if there are more rows; otherwise, false. - - - - Returns an that can be used to iterate through the rows in the data reader. - - - An that can be used to iterate through the rows in the data reader. - - - - - Returns a nested . - - The nested data record. - The number of the DbDataRecord to return. - - - - Returns nested readers as objects. - - - The nested readers as objects. - - The ordinal of the column. - - - Gets a value indicating the depth of nesting for the current row. - The depth of nesting for the current row. - - - Gets the number of columns in the current row. - The number of columns in the current row. - - - - Gets a value that indicates whether this contains one or more rows. - - - true if the contains one or more rows; otherwise, false. - - - - - Gets a value indicating whether the is closed. - - - true if the is closed; otherwise, false. - - - - Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. - The number of rows changed, inserted, or deleted. Returns -1 for SELECT statements; 0 if no rows were affected or the statement failed. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The name of the column. - - - - Gets the number of fields in the that are not hidden. - - The number of fields that are not hidden. - - - - Gets for this - - . - - The information of a data record. - - - - Class representing a parameter used in EntityCommand - - - - - Initializes a new instance of the class using the default values. - - - - - Initializes a new instance of the class using the specified parameter name and data type. - - The name of the parameter. - - One of the values. - - - - - Initializes a new instance of the class using the specified parameter name, data type and size. - - The name of the parameter. - - One of the values. - - The size of the parameter. - - - - Initializes a new instance of the class using the specified properties. - - The name of the parameter. - - One of the values. - - The size of the parameter. - The name of the source column. - - - - Initializes a new instance of the class using the specified properties. - - The name of the parameter. - - One of the values. - - The size of the parameter. - - One of the values. - - true to indicate that the parameter accepts null values; otherwise, false. - The number of digits used to represent the value. - The number of decimal places to which value is resolved. - The name of the source column. - - One of the values. - - The value of the parameter. - - - - Resets the type associated with the . - - - - Returns a string representation of the parameter. - A string representation of the parameter. - - - Gets or sets the name of the entity parameter. - The name of the entity parameter. - - - - Gets or sets the of the parameter. - - - One of the values. - - - - Gets or sets the type of the parameter, expressed as an EdmType. - The type of the parameter, expressed as an EdmType. - - - - Gets or sets the number of digits used to represent the - - property. - - The number of digits used to represent the value. - - - - Gets or sets the number of decimal places to which - - is resolved. - - The number of decimal places to which value is resolved. - - - Gets or sets the value of the parameter. - The value of the parameter. - - - Gets or sets the direction of the parameter. - - One of the values. - - - - Gets or sets a value that indicates whether the parameter accepts null values. - true if null values are accepted; otherwise, false. - - - Gets or sets the maximum size of the data within the column. - The maximum size of the data within the column. - - - - Gets or sets the name of the source column mapped to the and used for loading or returning the - - . - - The name of the source column mapped to the dataset and used for loading or returning the value. - - - Gets or sets a value that indicates whether source column is nullable. - true if source column is nullable; otherwise, false. - - - - Gets or sets the to use when loading the value. - - - One of the values. - - - - - Class representing a provider factory for the entity client provider - - - - - A singleton object for the entity client provider factory object. - This remains a public field (not property) because DbProviderFactory expects a field. - - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - This method is currently not supported. - - - - Returns the requested class. - - - A new instance of . The supported types are - - , - - , and - - . Returns null (or Nothing in Visual Basic) for every other type. - - - The to return. - - - - - Class representing a transaction for the conceptual layer - - - - Commits the underlying transaction. - - - Rolls back the underlying transaction. - - - - Cleans up this transaction object - - true to release both managed and unmanaged resources; false to release only unmanaged resources - - - - Gets for this - - . - - - An to the underlying data source. - - - - - The connection object owning this transaction object - - - - - Gets the isolation level of this . - - - An enumeration value that represents the isolation level of the underlying transaction. - - - - - Gets the DbTransaction for the underlying provider transaction. - - - - - Represents a failure while trying to prepare or execute a CommandCompilation - This exception is intended to provide a common exception that people can catch to - hold provider exceptions (SqlException, OracleException) when using the EntityCommand - to execute statements. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The message that describes the error. - - - - Initializes a new instance of . - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents a failure while trying to prepare or execute a CommandExecution - This exception is intended to provide a common exception that people can catch to - hold provider exceptions (SqlException, OracleException) when using the EntityCommand - to execute statements. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The message that describes the error. - - - - Initializes a new instance of . - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - An identifier for an entity. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with an entity set name and a generic - - collection. - - - A that is the entity set name qualified by the entity container name. - - - A generic collection.Each key/value pair has a property name as the key and the value of that property as the value. There should be one pair for each property that is part of the - - . The order of the key/value pairs is not important, but each key property should be included. The property names are simple names that are not qualified with an entity type name or the schema name. - - - - - Initializes a new instance of the class with an entity set name and an - - collection of - - objects. - - - A that is the entity set name qualified by the entity container name. - - - An collection of - - objects with which to initialize the key. - - - - - Initializes a new instance of the class with an entity set name and specific entity key pair. - - - A that is the entity set name qualified by the entity container name. - - - A that is the name of the key. - - - An that is the key value. - - - - Gets the entity set for this entity key from the given metadata workspace. - - The for the entity key. - - The metadata workspace that contains the entity. - The entity set could not be located in the specified metadata workspace. - - - Returns a value that indicates whether this instance is equal to a specified object. - true if this instance and obj have equal values; otherwise, false. - - An to compare with this instance. - - - - - Returns a value that indicates whether this instance is equal to a specified - - . - - true if this instance and other have equal values; otherwise, false. - - An object to compare with this instance. - - - - - Serves as a hash function for the current object. - - is suitable for hashing algorithms and data structures such as a hash table. - - - A hash code for the current . - - - - - Compares two objects. - - true if the key1 and key2 values are equal; otherwise, false. - - A to compare. - - - A to compare. - - - - - Compares two objects. - - true if the key1 and key2 values are not equal; otherwise, false. - - A to compare. - - - A to compare. - - - - - Helper method that is used to deserialize an . - - Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. - - - - Helper method that is used to deserialize an . - - Describes the source and destination of a given serialized stream and provides an additional caller-defined context. - - - - Gets a singleton EntityKey by which a read-only entity is identified. - - - - - Gets a singleton EntityKey identifying an entity resulted from a failed TREAT. - - - - Gets or sets the name of the entity set. - - A value that is the name of the entity set for the entity to which the - - belongs. - - - - Gets or sets the name of the entity container. - - A value that is the name of the entity container for the entity to which the - - belongs. - - - - - Gets or sets the key values associated with this . - - - A of key values for this - - . - - - - - Gets a value that indicates whether the is temporary. - - - true if the is temporary; otherwise, false. - - - - - Information about a key that is part of an EntityKey. - A key member contains the key name and value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified entity key pair. - - The name of the key. - The key value. - - - Returns a string representation of the entity key. - A string representation of the entity key. - - - Gets or sets the name of the entity key. - The key name. - - - Gets or sets the value of the entity key. - The key value. - - - - Kind of collection (applied to Properties) - - - - - Property is not a Collection - - - - - Collection has Bag semantics( unordered and duplicates ok) - - - - - Collection has List semantics - (Order is deterministic and duplicates ok) - - - - - The concurrency mode for properties. - - - - - Default concurrency mode: the property is never validated - at write time - - - - - Fixed concurrency mode: the property is always validated at - write time - - - - - The pattern for Server Generated Properties. - - - - - Not a Server Generated Property. This is the default. - - - - - A value is generated on INSERT, and remains unchanged on update. - - - - - A value is generated on both INSERT and UPDATE. - - - - - Represents an eSQL Query compilation exception; - The class of exceptional conditions that may cause this exception to be raised are mainly: - 1) Syntax Errors: raised during query text parsing and when a given query does not conform to eSQL formal grammar; - 2) Semantic Errors: raised when semantic rules of eSQL language are not met such as metadata or schema information - not accurate or not present, type validation errors, scoping rule violations, user of undefined variables, etc. - For more information, see eSQL Language Spec. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of the class that uses a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - Gets a description of the error. - A string that describes the error. - - - Gets the approximate context where the error occurred, if available. - A string that describes the approximate context where the error occurred, if available. - - - Gets the approximate line number where the error occurred. - An integer that describes the line number where the error occurred. - - - Gets the approximate column number where the error occurred. - An integer that describes the column number where the error occurred. - - - - Thrown to indicate that a command tree is invalid. - - - - - Initializes a new instance of the class with a default message. - - - - - Initializes a new instance of the class with the specified message. - - The exception message. - - - - Initializes a new instance of the class with the specified message and inner exception. - - The exception message. - - The exception that is the cause of this . - - - - - Mapping exception class. Note that this class has state - so if you change even - its internals, it can be a breaking change - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Class for representing a collection of mapping items in Edm space. - - - - - Base class for the type created at design time to store the generated views. - - - - Returns the key/value pair at the specified index, which contains the view and its key. - The key/value pair at index , which contains the view and its key. - The index of the view. - - - - Gets or sets the name of . - - The container name. - - - - Gets or sets in storage schema. - - Container name. - - - Hash value. - Hash value. - - - Hash value of views. - Hash value. - - - Gets or sets view count. - View count. - - - - Attribute to mark the assemblies that contain the generated views type. - - - - - Initializes a new instance of the class. - - The view type. - - - Gets the T:System.Type of the view. - The T:System.Type of the view. - - - - Represents a complex type mapping for a function import result. - - - - - Specifies a function import structural type mapping. - - - - - Gets the property mappings for the result type of a function import. - - - - - Initializes a new FunctionImportComplexTypeMapping instance. - - The return type. - The property mappings for the result type of a function import. - - - - Ges the return type. - - - - - Represents a function import entity type mapping. - - - - - Initializes a new FunctionImportEntityTypeMapping instance. - - The entity types at the base of - the type hierarchies to be mapped. - The entity types to be mapped. - The property mappings for the result types of a function import. - The mapping conditions. - - - - Gets the entity types being mapped. - - - - - Gets the entity types at the base of the hierarchies being mapped. - - - - - Gets the mapping conditions. - - - - - Represents a mapping condition for a function import result. - - - - - - - - Gets the name of the column used to evaluate the condition. - - - - - Represents a mapping condition for the result of a function import - evaluated by checking null or not null. - - - - - Initializes a new FunctionImportEntityTypeMappingConditionIsNull instance. - - The name of the column used to evaluate the condition. - Flag that indicates whether a null or not null check is performed. - - - - Gets a flag that indicates whether a null or not null check is performed. - - - - - Represents a mapping condition for the result of a function import, - evaluated by comparison with a specified value. - - - - - Initializes a new FunctionImportEntityTypeMappingConditionValue instance. - - The name of the column used to evaluate the condition. - The value to compare with. - - - - Gets the value used for comparison. - - - - - Represents a mapping from a model function import to a store composable or non-composable function. - - - - - Gets model function (or source of the mapping) - - - - - Gets store function (or target of the mapping) - - - - - Represents a mapping from a model function import to a store composable function. - - - - - Initializes a new FunctionImportMappingComposable instance. - - The model function import. - The store composable function. - The result mapping for the function import. - The parent container mapping. - - - - Gets the result mapping for the function import. - - - - - Represents a mapping from a model function import to a store non-composable function. - - - - - Initializes a new FunctionImportMappingNonComposable instance. - - The model function import. - The store non-composable function. - The function import result mappings. - The parent container mapping. - - - - Gets the function import result mappings. - - - - - Base class for mapping a property of a function import return type. - - - - - Maps a function import return type property to a table column. - - - - - Initializes a new FunctionImportReturnTypeScalarPropertyMapping instance. - - The mapped property name. - The mapped column name. - - - - Gets the mapped property name. - - - - - Gets the mapped column name. - - - - - Represents the base item class for all the mapping metadata - - - - - Represents the base item class for all the metadata - - - - - Describes modification function mappings for an association set. - - - - - Initalizes a new AssociationSetModificationFunctionMapping instance. - - An association set. - A delete function mapping. - An insert function mapping. - - - - - - - Gets the association set. - - - - - Gets the delete function mapping. - - - - - Gets the insert function mapping. - - - - - Describes modification function mappings for an entity type within an entity set. - - - - - Initializes a new EntityTypeModificationFunctionMapping instance. - - An entity type. - A delete function mapping. - An insert function mapping. - An updated function mapping. - - - - - - - Gets the entity type. - - - - - Gets the delete function mapping. - - - - - Gets the insert function mapping. - - - - - Gets hte update function mapping. - - - - - Describes the location of a member within an entity or association type structure. - - - - - Initializes a new ModificationFunctionMemberPath instance. - - Gets the members in the path from the leaf (the member being bound) - to the root of the structure. - Gets the association set to which we are navigating - via this member. If the value is null, this is not a navigation member path. - - - - - - - Gets the members in the path from the leaf (the member being bound) - to the Root of the structure. - - - - - Gets the association set to which we are navigating via this member. If the value - is null, this is not a navigation member path. - - - - - Binds a modification function parameter to a member of the entity or association being modified. - - - - - Initializes a new ModificationFunctionParameterBinding instance. - - The parameter taking the value. - The path to the entity or association member defining the value. - A flag indicating whether the current or original member value is being bound. - - - - - - - Gets the parameter taking the value. - - - - - Gets the path to the entity or association member defining the value. - - - - - Gets a flag indicating whether the current or original - member value is being bound. - - - - - Defines a binding from a named result set column to a member taking the value. - - - - - Initializes a new ModificationFunctionResultBinding instance. - - The name of the column to bind from the function result set. - The property to be set on the entity. - - - - - - - Gets the name of the column to bind from the function result set. - - - - - Gets the property to be set on the entity. - - - - - Represents the Mapping metadata for an AssociationSet in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for the AssociationSetMapping elements in the - above example. And it is possible to access the AssociationTypeMap underneath it. - There will be only one TypeMap under AssociationSetMap. - - - - - Represents the Mapping metadata for an Extent in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for all the extent map elements in the - above example namely EntitySetMapping, AssociationSetMapping and CompositionSetMapping. - The EntitySetBaseMapping elements that are children of the EntityContainerMapping element - can be accessed through the properties on this type. - - - - - Gets the parent container mapping. - - - - - Gets or sets the query view associated with this mapping. - - - - - Initializes a new AssociationSetMapping instance. - - The association set to be mapped. - The store entity set to be mapped. - The parent container mapping. - - - - Adds a property mapping condition. - - The condition to add. - - - - Removes a property mapping condition. - - The property mapping condition to remove. - - - - Gets the association set that is mapped. - - - - - Gets the contained association type mapping. - - - - - Gets or sets the corresponding function mapping. Can be null. - - - - - Gets the store entity set that is mapped. - - - - - Gets or sets the source end property mapping. - - - - - Gets or sets the target end property mapping. - - - - - Gets the property mapping conditions. - - - - - Represents the Mapping metadata for an association type map in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ComplexTypeMap - --ScalarPropertyMap - --ScalarProperyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all association Type map elements in the - above example. Users can access the table mapping fragments under the - association type mapping through this class. - - - - - Represents the Mapping metadata for a type map in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all the Type map elements in the - above example namely EntityTypeMapping, AssociationTypeMapping and CompositionTypeMapping. - The TypeMapping elements contain TableMappingFragments which in turn contain the property maps. - - - - - Creates an AssociationTypeMapping instance. - - The AssociationSetMapping that - the contains this AssociationTypeMapping. - - - - Gets the AssociationSetMapping that contains this AssociationTypeMapping. - - - - - Gets the association type being mapped. - - - - - Gets the single mapping fragment. - - - - - Mapping metadata for Complex properties. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the complex property map elements in the - above example. ComplexPropertyMaps contain ComplexTypeMaps which define mapping based - on the type of the ComplexProperty in case of inheritance. - - - - - Construct a new Complex Property mapping object - - The MemberMetadata object that represents this Complex member - - - - Adds a type mapping corresponding to a nested complex type. - - The complex type mapping to be added. - - - - Removes a type mapping corresponding to a nested complex type. - - The complex type mapping to be removed. - - - - Gets a read only collections of type mappings corresponding to the - nested complex types. - - - - - Mapping metadata for Complex Types. - - - - - Creates a ComplexTypeMapping instance. - - The ComplexType being mapped. - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Gets the ComplexType being mapped. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Mapping metadata for End property of an association. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the end property map elements in the - above example. EndPropertyMaps provide mapping for each end of the association. - - - - - Creates an association end property mapping. - - An AssociationEndMember that specifies - the association end to be mapped. - - - - Adds a child property-column mapping. - - A ScalarPropertyMapping that specifies - the property-column mapping to be added. - - - - Removes a child property-column mapping. - - A ScalarPropertyMapping that specifies - the property-column mapping to be removed. - - - - Gets an AssociationEndMember that specifies the mapped association end. - - - - - Gets a ReadOnlyCollection of ScalarPropertyMapping that specifies the children - of this association end property mapping. - - - - - Represents the Mapping metadata for the EntityContainer map in CS space. - Only one EntityContainerMapping element is allowed in the MSL file for CS mapping. - - - For Example if conceptually you could represent the CS MSL file as following - ---Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --AssociationSetMapping - The type represents the metadata for EntityContainerMapping element in the above example. - The EntitySetBaseMapping elements that are children of the EntityContainerMapping element - can be accessed through the properties on this type. - - - We currently assume that an Entity Container on the C side - is mapped to a single Entity Container in the S - space. - - - - - Initializes a new EntityContainerMapping instance. - - The conceptual entity container to be mapped. - The store entity container to be mapped. - The parent mapping item collection. - Flag indicating whether to generate update views. - - - - Adds an entity set mapping. - - The entity set mapping to add. - - - - Removes an association set mapping. - - The association set mapping to remove. - - - - Adds an association set mapping. - - The association set mapping to add. - - - - Removes an association set mapping. - - The association set mapping to remove. - - - - Adds a function import mapping. - - The function import mapping to add. - - - - Removes a function import mapping. - - The function import mapping to remove. - - - - Gets the parent mapping item collection. - - - - - Gets the type kind for this item - - - - - Gets the conceptual entity container. - - - - - Gets the store entity container. - - - - - Gets the entity set mappings. - - - - - Gets the association set mappings. - - - - - Gets the function import mappings. - - - - - Gets a flag that indicates whether to generate the update views or not. - - - - - Represents the Mapping metadata for an EnitytSet in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for the EntitySetMapping elements in the - above example. And it is possible to access the EntityTypeMaps underneath it. - - - - - Initialiazes a new EntitySetMapping instance. - - The entity set to be mapped. - The parent container mapping. - - - - Adds a type mapping. - - The type mapping to add. - - - - Removes a type mapping. - - The type mapping to remove. - - - - Adds a function mapping. - - The function mapping to add. - - - - Removes a function mapping. - - The function mapping to remove. - - - - Gets the entity set that is mapped. - - - - - Gets the contained entity type mappings. - - - - - Gets the corresponding function mappings. - - - - - Mapping metadata for Entity type. - If an EntitySet represents entities of more than one type, than we will have - more than one EntityTypeMapping for an EntitySet( For ex : if - PersonSet Entity extent represents entities of types Person and Customer, - than we will have two EntityType Mappings under mapping for PersonSet). - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all entity Type map elements in the - above example. Users can access the table mapping fragments under the - entity type mapping through this class. - - - - - Creates an EntityTypeMapping instance. - - The EntitySetMapping that contains this EntityTypeMapping. - - - - Adds an entity type to the mapping. - - The EntityType to be added. - - - - Removes an entity type from the mapping. - - The EntityType to be removed. - - - - Adds an entity type hierarchy to the mapping. - The hierarchy is represented by the specified root entity type. - - The root EntityType of the hierarchy to be added. - - - - Removes an entity type hierarchy from the mapping. - The hierarchy is represented by the specified root entity type. - - The root EntityType of the hierarchy to be removed. - - - - Adds a mapping fragment. - - The mapping fragment to be added. - - - - Removes a mapping fragment. - - The mapping fragment to be removed. - - - - Gets the EntitySetMapping that contains this EntityTypeMapping. - - - - - Gets the single EntityType being mapped. Throws exception in case of hierarchy type mapping. - - - - - Gets a flag that indicates whether this is a type hierarchy mapping. - - - - - Gets a read-only collection of mapping fragments. - - - - - Gets the mapped entity types. - - - - - Gets the mapped base types for a hierarchy mapping. - - - - - Represents the metadata for mapping fragment. - A set of mapping fragments makes up the Set mappings( EntitySet, AssociationSet or CompositionSet ) - Each MappingFragment provides mapping for those properties of a type that map to a single table. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the mapping fragment elements in the - above example. Users can access all the top level constructs of - MappingFragment element like EntityKey map, Property Maps, Discriminator - property through this mapping fragment class. - - - - - Creates a MappingFragment instance. - - The EntitySet corresponding to the table of view being mapped. - The TypeMapping that contains this MappingFragment. - Flag that indicates whether to include 'DISTINCT' when generating queries. - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Gets the EntitySet corresponding to the table or view being mapped. - - - - - Gets the TypeMapping that contains this MappingFragment. - - - - - Gets a flag that indicates whether to include 'DISTINCT' when generating queries. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Represents a collection of items in Storage Mapping (CS Mapping) space. - - - - Initializes a new instance of the class using the specified , and a collection of string indicating the metadata file paths. - The that this mapping is to use. - The that this mapping is to use. - The file paths that this mapping is to use. - - - Initializes a new instance of the class using the specified , and XML readers. - The that this mapping is to use. - The that this mapping is to use. - The XML readers that this mapping is to use. - - - - Computes a hash value for the container mapping specified by the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - A string that specifies the computed hash value. - - - - Computes a hash value for the single container mapping in the collection. - - A string that specifies the computed hash value. - - - - Creates a dictionary of (extent, generated view) for a container mapping specified by - the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - A list that accumulates potential errors. - - A dictionary of (, ) that specifies the generated views. - - - - - Creates a dictionary of (extent, generated view) for the single container mapping - in the collection. - - A list that accumulates potential errors. - - A dictionary of (, ) that specifies the generated views. - - - - - Factory method that creates a . - - - The edm metadata collection to map. Must not be null. - - - The store metadata collection to map. Must not be null. - - - MSL artifacts to load. Must not be null. - - - Paths to MSL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - - Gets or sets a for creating instances - that are used to retrieve pre-generated mapping views. - - - - Gets the version of this represents. - The version of this represents. - - - - Describes modification function binding for change processing of entities or associations. - - - - - Initializes a new ModificationFunctionMapping instance. - - The entity or association set. - The entity or association type. - The metadata of function to which we should bind. - Bindings for function parameters. - The output parameter producing number of rows affected. - Bindings for the results of function evaluation - - - - - - - Gets output parameter producing number of rows affected. May be null. - - - - - Gets Metadata of function to which we should bind. - - - - - Gets bindings for function parameters. - - - - - Gets bindings for the results of function evaluation. - - - - - Mapping metadata for scalar properties. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the scalar property map elements in the - above example. - - - - - Creates a mapping between a simple property and a column. - - The property to be mapped. - The column to be mapped. - - - - Gets an EdmProperty that specifies the mapped column. - - - - - metadata exception class - - - - - Initializes a new instance of the class with a default message. - - - - - Initializes a new instance of the class with the specified message. - - The exception message. - - - - Initializes a new instance of the class with the specified message and inner exception. - - The exception message. - - The exception that is the cause of this . - - - - - DataSpace - - - - - OSpace indicates the item in the clr space - - - - - CSpace indicates the item in the CSpace - edm primitive types + - types defined in csdl - - - - - SSpace indicates the item in the SSpace - - - - - Mapping between OSpace and CSpace - - - - - Mapping between CSpace and SSpace - - - - - This class encapsulates the error information for a generic EDM error. - - - - Gets the error message. - The error message. - - - - Class for representing a collection of items in Edm space. - - - - - Initializes a new instance of the class by using the collection of the XMLReader objects where the conceptual schema definition language (CSDL) files exist. - - The collection of the XMLReader objects where the conceptual schema definition language (CSDL) files exist. - - - Initializes a new instance of the class. - The entity data model. - - - - Initializes a new instance of the class by using the paths where the conceptual schema definition language (CSDL) files exist. - - The paths where the conceptual schema definition language (CSDL) files exist. - - - - Returns a collection of the objects. - - - A ReadOnlyCollection object that represents a collection of the - - objects. - - - - - Returns a collection of the objects with the specified conceptual model version. - - - A ReadOnlyCollection object that represents a collection of the - - objects. - - The conceptual model version. - - - - Factory method that creates an . - - - CSDL artifacts to load. Must not be null. - - - Paths to CSDL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - Gets the conceptual model version for this collection. - The conceptual model version for this collection. - - - - This class encapsulates the error information for a schema error that was encountered. - - - - - Constructs a EdmSchemaError object. - - The explanation of the error. - The code associated with this error. - The severity of the error. - - - Returns the error message. - The error message. - - - Gets the error code. - The error code. - - - Gets the severity level of the error. - - One of the values. The default is - - . - - - - Gets the line number where the error occurred. - The line number where the error occurred. - - - Gets the column where the error occurred. - The column where the error occurred. - - - Gets the location of the schema that contains the error. This string also includes the name of the schema at the end. - The location of the schema that contains the error. - - - Gets the name of the schema that contains the error. - The name of the schema that contains the error. - - - Gets a string representation of the stack trace at the time the error occurred. - A string representation of the stack trace at the time the error occurred. - - - - Defines the different severities of errors that can occur when validating an Entity Framework model. - - - - - A warning that does not prevent the model from being used. - - - - - An error that prevents the model from being used. - - - - - Represents a end of a Association Type - - - - - Initializes a new instance of the RelationshipEndMember class - - - - - Represents the edm member class - - - - Returns the name of this member. - The name of this member. - - - - Gets or sets the name of the property. Setting this from a store-space model-convention will change the name of the database - column for this property. In the conceptual model, this should align with the corresponding property from the entity class - and should not be changed. - - The name of this member. - - - Gets the type on which this member is declared. - - A object that represents the type on which this member is declared. - - - - - Gets the instance of the class that contains both the type of the member and facets for the type. - - - A object that contains both the type of the member and facets for the type. - - - - - Tells whether this member is marked as a Computed member in the EDM definition - - - - - Tells whether this member's Store generated pattern is marked as Identity in the EDM definition - - - - Access the EntityType of the EndMember in an association. - The EntityType of the EndMember in an association. - - - Gets the operational behavior of this relationship end member. - - One of the values. The default is - - . - - - - Gets the multiplicity of this relationship end member. - - One of the values. - - - - - Creates a read-only AssociationEndMember instance. - - The name of the association end member. - The reference type for the end. - The multiplicity of the end. - Flag that indicates the delete behavior of the end. - Metadata properties to be associated with the instance. - The newly created AssociationEndMember instance. - The specified name is null or empty. - The specified reference type is null. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Class for representing an Association set - - - - - Class for representing a relationship set - - - - - Class for representing a entity set - - - - Returns the name of the current entity or relationship set. - The name of the current entity or relationship set. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets escaped provider specific SQL describing this entity set. - - - - - Gets or sets the name of the current entity or relationship set. - If this property is changed from store-space, the mapping layer must also be updated to reflect the new name. - To change the table name of a store space use the Table property. - - The name of the current entity or relationship set. - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - Gets the entity container of the current entity or relationship set. - - An object that represents the entity container of the current entity or relationship set. - - Thrown if the setter is called when the EntitySetBase instance or the EntityContainer passed into the setter is in ReadOnly state - - - - Gets the entity type of this . - - - An object that represents the entity type of this - - . - - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - - Gets or sets the database table name for this entity set. - - if value passed into setter is null - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - - Gets or sets the database schema for this entity set. - - if value passed into setter is null - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - - Gets the relationship type of this . - - - An object that represents the relationship type of this - - . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Creates a read-only AssociationSet instance from the specified parameters. - - The name of the association set. - The association type of the elements in the association set. - The entity set for the source association set end. - The entity set for the target association set end. - Metadata properties to be associated with the instance. - The newly created AssociationSet instance. - The specified name is null or empty. - The specified association type is null. - - The entity type of one of the ends of the specified - association type does not match the entity type of the corresponding entity set end. - - - - - Gets the association related to this . - - - An object that represents the association related to this - - . - - - - - Gets the ends of this . - - - A collection of type that contains the ends of this - - . - - - - - Gets the built-in type kind for this . - - - A object that represents built-in type kind for this - - . - - - - - Class representing a AssociationSet End - - - - - Returns the name of the End role for this . - - - The name of the End role for this . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the parent association set of this . - - - An object that represents the parent association set of this - - . - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - - Gets the End member that this object corresponds to. - - - An object that represents the End member that this - - object corresponds to. - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - - Gets the name of the End for this . - - - The name of the End for this . - - - - - Gets the name of the End role for this . - - - The name of the End role for this . - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - Gets the entity set referenced by this End role. - - An object that represents the entity set referred by this End role. - - - - - Describes an association/relationship between two entities in the conceptual model or a foreign key relationship - between two tables in the store model. In the conceptual model the dependant class may or may not define a foreign key property. - If a foreign key is defined the property will be true and the property will contain details of the foreign keys - - - - - Represents the Relationship type - - - - - Represents the Entity Type - - - - - Represents the Structural Type - - - - - Base EdmType class for all the model types - - - - Returns the full name of this type. - The full name of this type. - - - - Returns an instance of the whose element type is this type. - - - The object whose element type is this type. - - - - Gets the name of this type. - The name of this type. - - - Gets the namespace of this type. - The namespace of this type. - - - Gets a value indicating whether this type is abstract or not. - true if this type is abstract; otherwise, false. - Thrown if the setter is called on instance that is in ReadOnly state - - - Gets the base type of this type. - The base type of this type. - Thrown if the setter is called on instance that is in ReadOnly state - Thrown if the value passed in for setter will create a loop in the inheritance chain - - - Gets the full name of this type. - The full name of this type. - - - - Adds a member to this type - - The member to add - - - Removes a member from this type. - The member to remove. - - - Gets the list of members on this type. - - A collection of type that contains a set of members on this type. - - - - - Adds the specified property to the list of keys for the current entity. - - The property to add. - if member argument is null - Thrown if the EntityType has a base type of another EntityTypeBase. In this case KeyMembers should be added to the base type - If the EntityType instance is in ReadOnly state - - - Removes the specified key member from the collection. - The key member to remove. - - - Gets the list of all the key members for the current entity or relationship type. - - A object that represents the list of key members for the current entity or relationship type. - - - - Gets the list of all the key properties for this entity type. - The list of all the key properties for this entity type. - - - Gets the list of ends for this relationship type. - - A collection of type that contains the list of Ends for this relationship type. - - - - - Creates a read-only AssociationType instance from the specified parameters. - - The name of the association type. - The namespace of the association type. - Flag that indicates a foreign key (FK) relationship. - The data space for the association type. - The source association end member. - The target association end member. - A referential constraint. - Metadata properties to be associated with the instance. - The newly created AssociationType instance. - The specified name is null or empty. - The specified namespace is null or empty. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of ends for this . - - - A collection of type that contains the list of ends for this - - . - - - - Gets or sets the referential constraint. - The referential constraint. - - - - Gets the list of constraints for this . - - - A collection of type that contains the list of constraints for this - - . - - - - Gets the Boolean property value that specifies whether the column is a foreign key. - A Boolean value that specifies whether the column is a foreign key. If true, the column is a foreign key. If false (default), the column is not a foreign key. - - - - Represents the structure of an . In the conceptual-model this represents the shape and structure - of an entity. In the store model this represents the structure of a table. To change the Schema and Table name use EntitySet. - - - - - Returns a object that references this - - . - - - A object that references this - - . - - - - - The factory method for constructing the EntityType object. - - The name of the entity type. - The namespace of the entity type. - The dataspace in which the EntityType belongs to. - Name of key members for the type. - Members of the entity type (primitive and navigation properties). - Metadata properties to be associated with the instance. - The EntityType object. - Thrown if either name, namespace arguments are null. - The newly created EntityType will be read only. - - - - The factory method for constructing the EntityType object. - - The name of the entity type. - The namespace of the entity type. - The dataspace in which the EntityType belongs to. - The base type. - Name of key members for the type. - Members of the entity type (primitive and navigation properties). - Metadata properties to be associated with the instance. - The EntityType object. - Thrown if either name, namespace arguments are null. - The newly created EntityType will be read only. - - - - Adds the specified navigation property to the members of this type. - The navigation property is added regardless of the read-only flag. - - The navigation property to be added. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - Gets the declared navigation properties associated with the entity type. - The declared navigation properties associated with the entity type. - - - - Gets the navigation properties of this . - - - A collection of type that contains the list of navigation properties on this - - . - - - - Gets the list of declared properties for the entity type. - The declared properties for the entity type. - - - Gets the collection of declared members for the entity type. - The collection of declared members for the entity type. - - - - Gets the list of properties for this . - - - A collection of type that contains the list of properties for this - - . - - - - - Represents an enumeration type. - - - - - Class representing a simple type - - - - - Creates a read-only EnumType instance. - - The name of the enumeration type. - The namespace of the enumeration type. - The underlying type of the enumeration type. - Indicates whether the enumeration type can be treated as a bit field; that is, a set of flags. - The members of the enumeration type. - Metadata properties to be associated with the enumeration type. - The newly created EnumType instance. - underlyingType is null. - - name is null or empty. - -or- - namespaceName is null or empty. - -or- - underlyingType is not a supported underlying type. - -or- - The specified members do not have unique names. - -or- - The value of a specified member is not in the range of the underlying type. - - - - Returns the kind of the type - - - Gets a collection of enumeration members for this enumeration type. - - - Gets a value indicating whether the enum type is defined as flags (i.e. can be treated as a bit field) - - - Gets the underlying type for this enumeration type. - - - - Specifies the kinds of item attributes in the conceptual model. - - - - - An enumeration member indicating that an item attribute is System - - - - - An enumeration member indicating that an item attribute is Extended. - - - - - List of all the built in types - - - - - Association Type Kind - - - - - AssociationSetEnd Kind - - - - - AssociationSet Kind - - - - - Association Type Kind - - - - - EntitySetBase Kind - - - - - Entity Type Base Kind - - - - - Collection Type Kind - - - - - Collection Kind - - - - - Complex Type Kind - - - - - Documentation Kind - - - - - DeleteAction Type Kind - - - - - Edm Type Kind - - - - - Entity Container Kind - - - - - Entity Set Kind - - - - - Entity Type Kind - - - - - Enumeration Type Kind - - - - - Enum Member Kind - - - - - Facet Kind - - - - - EdmFunction Kind - - - - - Function Parameter Kind - - - - - Global Item Type Kind - - - - - Metadata Property Kind - - - - - Navigation Property Kind - - - - - Metadata Item Type Kind - - - - - EdmMember Type Kind - - - - - Parameter Mode Kind - - - - - Primitive Type Kind - - - - - Primitive Type Kind Kind - - - - - EdmProperty Type Kind - - - - - ProviderManifest Type Kind - - - - - Referential Constraint Type Kind - - - - - Ref Type Kind - - - - - RelationshipEnd Type Kind - - - - - Relationship Multiplicity Type Kind - - - - - Relationship Set Type Kind - - - - - Relationship Type - - - - - Row Type Kind - - - - - Simple Type Kind - - - - - Structural Type Kind - - - - - Type Information Kind - - - - - Represents the Edm Collection Type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the instance of the class that contains the type of the element that this current - - object includes and facets for that type. - - - The instance of the class that contains the type of the element that this current - - object includes and facets for that type. - - - - - Represents the Edm Complex Type. This can be used to configure complex types - from a conceptual-space model-based convention. Complex types are not supported in the store model. - - - - - Creates a new instance of the type. - - The name of the complex type. - The namespace of the complex type. - The dataspace to which the complex type belongs to. - Members of the complex type. - Metadata properties to be associated with the instance. - Thrown if either name, namespace or members argument is null. - - A new instance a the type. - - - The newly created will be read only. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of properties for this . - - - A collection of type that contains the list of properties for this - - . - - - - - Class representing the Documentation associated with an item - - - - - Initializes a new Documentation instance. - - A summary string. - A long description string. - - - - Returns the summary for this . - - - The summary for this . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the summary for this . - - - The summary for this . - - - - - Gets the long description for this . - - - The long description for this . - - - - - Gets a value indicating whether this object contains only a null or an empty - - and a - - . - - - true if this object contains only a null or an empty - - and a - - ; otherwise, false. - - - - - Class for representing a function - - - - - Adds a parameter to this function. - - The parameter to be added. - - - - The factory method for constructing the object. - - The name of the function. - The namespace of the function. - The namespace the function belongs to. - Additional function attributes and properties. - Metadata properties that will be added to the function. Can be null. - - A new, read-only instance of the type. - - - - - Gets the built-in type kind for this . - - - One of the enumeration values of the enumeration. - - - - Returns the full name (namespace plus name) of this type. - The full name of the type. - - - - Gets the parameters of this . - - - A collection of type that contains the parameters of this - - . - - - - - Gets the return parameter of this . - - - A object that represents the return parameter of this - - . - - - - - Gets the return parameters of this . - - - A collection of type that represents the return parameters of this - - . - - - - Gets the store function name attribute of this function. - - - Gets the parameter type semantics attribute of this function. - - - Gets the aggregate attribute of this function. - - - - Gets a value indicating whether built in attribute is present on this function. - - - true if the attribute is present; otherwise, false. - - - - - Gets a value indicating whether this instance is from the provider manifest. - - - true if this instance is from the provider manifest; otherwise, false. - - - - - Gets a value indicating whether the is a niladic function (a function that accepts no arguments). - - - true if the function is niladic; otherwise, false. - - - - Gets whether this instance is mapped to a function or to a stored procedure. - true if this instance is mapped to a function; false if this instance is mapped to a stored procedure. - - - Gets a query in the language that is used by the database management system or storage model. - - A string value in the syntax used by the database management system or storage model that contains the query or update statement of the - - . - - - - Gets or sets the schema associated with the function. - The schema associated with the function. - - - - In conceptual-space, EdmProperty represents a property on an Entity. - In store-space, EdmProperty represents a column in a table. - - - - Creates a new primitive property. - The newly created property. - The name of the property. - The type of the property. - - - Creates a new enum property. - The newly created property. - The name of the property. - The type of the property. - - - Creates a new complex property. - The newly created property. - The name of the property. - The type of the property. - - - - Creates a new instance of EdmProperty type. - - Name of the property. - - Property - - A new instance of EdmProperty type - - - Sets the metadata properties. - The metadata properties to be set. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets a value indicating whether this can have a null value. - - - Nullability in the conceptual model and store model is a simple indication of whether or not - the property is considered nullable. Nullability in the object model is more complex. - When using convention based mapping (as usually happens with POCO entities), a property in the - object model is considered nullable if and only if the underlying CLR type is nullable and - the property is not part of the primary key. - When using attribute based mapping (usually used with entities that derive from the EntityObject - base class), a property is considered nullable if the IsNullable flag is set to true in the - attribute. This flag can - be set to true even if the underlying type is not nullable, and can be set to false even if the - underlying type is nullable. The latter case happens as part of default code generation when - a non-nullable property in the conceptual model is mapped to a nullable CLR type such as a string. - In such a case, the Entity Framework treats the property as non-nullable even though the CLR would - allow null to be set. - There is no good reason to set a non-nullable CLR type as nullable in the object model and this - should not be done even though the attribute allows it. - - - true if this can have a null value; otherwise, false. - - Thrown if the setter is called when the EdmProperty instance is in ReadOnly state - - - Gets the type name of the property. - The type name of the property. - - - - Gets the default value for this . - - - The default value for this . - - Thrown if the setter is called when the EdmProperty instance is in ReadOnly state - - - Gets whether the property is a collection type property. - true if the property is a collection type property; otherwise, false. - - - Gets whether this property is a complex type property. - true if this property is a complex type property; otherwise, false. - - - Gets whether this property is a primitive type. - true if this property is a primitive type; otherwise, false. - - - Gets whether this property is an enumeration type property. - true if this property is an enumeration type property; otherwise, false. - - - Gets whether this property is an underlying primitive type. - true if this property is an underlying primitive type; otherwise, false. - - - Gets the complex type information for this property. - The complex type information for this property. - - - Gets the primitive type information for this property. - The primitive type information for this property. - - - Gets the enumeration type information for this property. - The enumeration type information for this property. - - - Gets the underlying primitive type information for this property. - The underlying primitive type information for this property. - - - Gets or sets the concurrency mode for the property. - The concurrency mode for the property. - - - Gets or sets the database generation method for the database column associated with this property - The store generated pattern for the property. - - - Gets or sets the kind of collection for this model. - The kind of collection for this model. - - - Gets whether the maximum length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the maximum length of the property. - The maximum length of the property. - - - Gets or sets whether this property uses the maximum length supported by the provider. - true if this property uses the maximum length supported by the provider; otherwise, false. - - - Gets whether the fixed length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets whether the length of this property is fixed. - true if the length of this property is fixed; otherwise, false. - - - Gets whether the Unicode facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets whether this property is a Unicode property. - true if this property is a Unicode property; otherwise, false. - - - Gets whether the precision facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the precision of this property. - The precision of this property. - - - Gets whether the scale facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the scale of this property. - The scale of this property. - - - - Class for representing an entity container - - - - - Creates an entity container with the specified name and data space. - - The entity container name. - The entity container data space. - Thrown if the name argument is null. - Thrown if the name argument is empty string. - - - - Returns an object by using the specified name for the entity set. - - - An object that represents the entity set that has the specified name. - - The name of the entity set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified name for the entity set. - - true if there is an entity set that matches the search criteria; otherwise, false. - The name of the entity set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, contains an object. If there is no entity set, this output parameter contains null. - - - - - Returns a object by using the specified name for the relationship set. - - - An object that represents the relationship set that has the specified name. - - The name of the relationship set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - - - Returns a object by using the specified name for the relationship set. - - true if there is a relationship set that matches the search criteria; otherwise, false. - The name of the relationship set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, contains a object. - - - - - Returns the name of this . - - - The name of this . - - - - - Adds the specified entity set to the container. - - The entity set to add. - - - Removes a specific entity set from the container. - The entity set to remove. - - - - Adds a function import to the container. - - The function import to add. - - - - The factory method for constructing the EntityContainer object. - - The name of the entity container to be created. - DataSpace in which this entity container belongs to. - Entity sets that will be included in the new container. Can be null. - Functions that will be included in the new container. Can be null. - Metadata properties to be associated with the instance. - The EntityContainer object. - Thrown if the name argument is null or empty string. - The newly created EntityContainer will be read only. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets a list of entity sets and association sets that this - - includes. - - - A object that contains a list of entity sets and association sets that this - - includes. - - - - Gets the association sets for this entity container. - The association sets for this entity container . - - - Gets the entity sets for this entity container. - The entity sets for this entity container . - - - - Specifies a collection of elements. Each function contains the details of a stored procedure that exists in the database or equivalent CommandText that is mapped to an entity and its properties. - - - A that contains - - elements. - - - - - Represents a particular usage of a structure defined in EntityType. In the conceptual-model, this represents a set that can - query and persist entities. In the store-model it represents a table. - From a store-space model-convention it can be used to configure - table name with property and table schema with property. - - - - - The factory method for constructing the EntitySet object. - - The name of the EntitySet. - The db schema. Can be null. - The db table. Can be null. - - The provider specific query that should be used to retrieve data for this EntitySet. Can be null. - - The entity type of the entities that this entity set type contains. - - Metadata properties that will be added to the newly created EntitySet. Can be null. - - The EntitySet object. - Thrown if the name argument is null or empty string. - The newly created EntitySet will be read only. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the entity type of this . - - - An object that represents the entity type of this - - . - - - - - Represents an enumeration member. - - - - Overriding System.Object.ToString to provide better String representation for this type. - The name of this enumeration member. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - Gets the kind of this type. - - - Gets the name of this enumeration member. - - - Gets the value of this enumeration member. - - - - Class for representing a Facet object - This object is Immutable (not just set to readonly) and - some parts of the system are depending on that behavior - - - - - Returns the name of this . - - - The name of this . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the description of this . - - - The object that represents the description of this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets the type of this . - - - The object that represents the type of this - - . - - - - - Gets the value of this . - - - The value of this . - - Thrown if the Facet instance is in ReadOnly state - - - Gets a value indicating whether the value of the facet is unbounded. - true if the value of the facet is unbounded; otherwise, false. - - - - Class for representing a FacetDescription object - - - - Returns the name of this facet. - The name of this facet. - - - Gets the name of this facet. - The name of this facet. - - - Gets the type of this facet. - - An object that represents the type of this facet. - - - - Gets the minimum value for this facet. - The minimum value for this facet. - - - Gets the maximum value for this facet. - The maximum value for this facet. - - - Gets the default value of a facet with this facet description. - The default value of a facet with this facet description. - - - Gets a value indicating whether the value of this facet is a constant. - true if this facet is a constant; otherwise, false. - - - Gets a value indicating whether this facet is a required facet. - true if this facet is a required facet; otherwise, false. - - - - Class representing a function parameter - - - - - Returns the name of this . - - - The name of this . - - - - - The factory method for constructing the object. - - The name of the parameter. - The EdmType of the parameter. - - The of the parameter. - - - A new, read-only instance of the type. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the mode of this . - - - One of the values. - - Thrown if the FunctionParameter instance is in ReadOnly state - - - - Gets the name of this . - - - The name of this . - - - - - Gets the instance of the class that contains both the type of the parameter and facets for the type. - - - A object that contains both the type of the parameter and facets for the type. - - - - Gets the type name of this parameter. - The type name of this parameter. - - - Gets whether the max length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the maximum length of the parameter. - The maximum length of the parameter. - - - Gets whether the parameter uses the maximum length supported by the database provider. - true if parameter uses the maximum length supported by the database provider; otherwise, false. - - - Gets whether the precision facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the precision value of the parameter. - The precision value of the parameter. - - - Gets whether the scale facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the scale value of the parameter. - The scale value of the parameter. - - - - Gets the on which this parameter is declared. - - - A object that represents the function on which this parameter is declared. - - - - - Class representing a metadata attribute for an item - - - - - The factory method for constructing the MetadataProperty object. - - The name of the metadata property. - The type usage of the metadata property. - The value of the metadata property. - The MetadataProperty object. - - Thrown is null. - - The newly created MetadataProperty will be read only. - - - - Creates a metadata annotation having the specified name and value. - - The annotation name. - The annotation value. - A MetadataProperty instance representing the created annotation. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets the value of this . - - - The value of this . - - Thrown if the MetadataProperty instance is in readonly state - - - - Gets the instance of the class that contains both the type of this - - and facets for the type. - - - A object that contains both the type of this - - and facets for the type. - - Thrown if the MetadataProperty instance is in readonly state - - - - Gets the value of this . - - - The value of this . - - - - - Gets a boolean that indicates whether the metadata property is an annotation. - - - - - Represent the edm navigation property class - - - - - Where the given navigation property is on the dependent end of a referential constraint, - returns the foreign key properties. Otherwise, returns an empty set. We will return the members in the order - of the principal end key properties. - - A collection of the foreign key properties. - - - - Creates a NavigationProperty instance from the specified parameters. - - The name of the navigation property. - Specifies the navigation property type and its facets. - The relationship type for the navigation. - The source end member in the navigation. - The target end member in the navigation. - The metadata properties of the navigation property. - The newly created NavigationProperty instance. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - Gets the relationship type that this navigation property operates on. - The relationship type that this navigation property operates on. - Thrown if the NavigationProperty instance is in ReadOnly state - - - Gets the "to" relationship end member of this navigation. - The "to" relationship end member of this navigation. - Thrown if the NavigationProperty instance is in ReadOnly state - - - Gets the "from" relationship end member in this navigation. - The "from" relationship end member in this navigation. - Thrown if the NavigationProperty instance is in ReadOnly state - - - - Represents the list of possible actions for delete operation - - - - - no action - - - - - Cascade to other ends - - - - - The enumeration defining the mode of a parameter - - - - - In parameter - - - - - Out parameter - - - - - Both in and out parameter - - - - - Return Parameter - - - - - Class representing a primitive type - - - - - Returns the equivalent of this - - . - - - For example if this instance is nvarchar and it's - base type is Edm String then the return type is Edm String. - If the type is actually already a model type then the - return type is "this". - - - An object that is an equivalent of this - - . - - - - Returns the list of primitive types. - - A collection of type that contains the list of primitive types. - - - - - Returns the equivalent of a - - . - - - An object that is an equivalent of a specified - - . - - - A value of type . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets a enumeration value that indicates a primitive type of this - - . - - - A enumeration value that indicates a primitive type of this - - . - - - - - Gets the list of facet descriptions for this . - - - A collection of type that contains the list of facet descriptions for this - - . - - - - - Returns an equivalent common language runtime (CLR) type of this - - . Note that the - - property always returns a non-nullable type value. - - - A object that represents an equivalent common language runtime (CLR) type of this - - . - - - - - Primitive Types as defined by EDM - - - - - Binary Type Kind - - - - - Boolean Type Kind - - - - - Byte Type Kind - - - - - DateTime Type Kind - - - - - Decimal Type Kind - - - - - Double Type Kind - - - - - Guid Type Kind - - - - - Single Type Kind - - - - - SByte Type Kind - - - - - Int16 Type Kind - - - - - Int32 Type Kind - - - - - Int64 Type Kind - - - - - String Type Kind - - - - - Time Type Kind - - - - - DateTimeOffset Type Kind - - - - - Geometry Type Kind - - - - - Geography Type Kind - - - - - Geometric point type kind - - - - - Geometric linestring type kind - - - - - Geometric polygon type kind - - - - - Geometric multi-point type kind - - - - - Geometric multi-linestring type kind - - - - - Geometric multi-polygon type kind - - - - - Geometric collection type kind - - - - - Geographic point type kind - - - - - Geographic linestring type kind - - - - - Geographic polygon type kind - - - - - Geographic multi-point type kind - - - - - Geographic multi-linestring type kind - - - - - Geographic multi-polygon type kind - - - - - Geographic collection type kind - - - - - This class represents a referential constraint between two entities specifying the "to" and "from" ends of the relationship. - - - - - Constructs a new constraint on the relationship - - role from which the relationship originates - role to which the relationship is linked/targeted to - properties on entity type of to role which take part in the constraint - properties on entity type of from role which take part in the constraint - Argument Null exception if any of the arguments is null - - - - Returns the combination of the names of the - - and the - - . - - - The combination of the names of the - - and the - - . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the "from role" that takes part in this - - . - - - A object that represents the "from role" that takes part in this - - . - - Thrown if value passed into setter is null - Thrown if the ReferentialConstraint instance is in ReadOnly state - - - - Gets the "to role" that takes part in this . - - - A object that represents the "to role" that takes part in this - - . - - Thrown if value passed into setter is null - Thrown if the ReferentialConstraint instance is in ReadOnly state - - - - Gets the list of properties for the "from role" on which this - - is defined. - - - A collection of type that contains the list of properties for "from role" on which this - - is defined. - - - - - Gets the list of properties for the "to role" on which this - - is defined. - - - A collection of type that contains the list of properties for the "to role" on which this - - is defined. - - - - - Class representing a ref type - - - - - - - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the entity type referenced by this . - - - An object that represents the entity type referenced by this - - . - - - - - Represents the multiplicity information about the end of a relationship type - - - - - Lower Bound is Zero and Upper Bound is One - - - - - Both lower bound and upper bound is one - - - - - Lower bound is zero and upper bound is null - - - - - Represents the Edm Row Type - - - - - The factory method for constructing the object. - - Properties of the row type object. - Metadata properties that will be added to the function. Can be null. - - A new, read-only instance of the object. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of properties on this . - - - A collection of type that contains the list of properties on this - - . - - - - Gets a collection of the properties defined by the current type. - A collection of the properties defined by the current type. - - - - Class representing a type information for an item - - - - - Factory method for creating a TypeUsage with specified EdmType and facets - - EdmType for which to create a type usage - facets to be copied into the new TypeUsage - new TypeUsage instance - - - - Creates a object with the specified conceptual model type. - - - A object with the default facet values for the specified - - . - - - A for which the - - object is created. - - - - - Creates a object to describe a string type by using the specified facet values. - - - A object describing a string type by using the specified facet values. - - - A for which the - - object is created. - - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the length of the string type to fixed; otherwise, false. - - - - Creates a object to describe a string type by using the specified facet values and unbounded MaxLength. - - - A object describing a string type by using the specified facet values and unbounded MaxLength. - - - A for which the - - object is created. - - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the length of the string type to fixed; otherwise, false - - - - Creates a object to describe a binary type by using the specified facet values. - - - A object describing a binary type by using the specified facet values. - - - A for which the - - object is created. - - true to set the length of the binary type to fixed; otherwise, false. - The maximum length of the binary type. - - - - Creates a object to describe a binary type by using the specified facet values. - - - A object describing a binary type by using the specified facet values. - - - A for which the - - object is created. - - true to set the length of the binary type to fixed; otherwise, false. - - - - Creates a object of the type that the parameters describe. - - - A object. - - - The simple type that defines the units of measurement of the DateTime object. - - - The degree of granularity of the DateTimeOffset in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object of the type that the parameters describe. - - - A object. - - The simple type that defines the units of measurement of the offset. - - The degree of granularity of the DateTimeOffset in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object of the type that the parameters describe. - - - A object. - - - The simple type that defines the units of measurement of the DateTime object. - - - The degree of granularity of the DateTimeOffset in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object to describe a decimal type by using the specified facet values. - - - A object describing a decimal type by using the specified facet values. - - - A for which the - - object is created. - - - The precision of the decimal type as type . - - - The scale of the decimal type as type . - - - - - Creates a object to describe a decimal type with unbounded precision and scale facet values. - - - A object describing a decimal type with unbounded precision and scale facet values. - - - A for which the - - object is created. - - - - - Checks whether this is a subtype of the specified - - . - - - true if this is a subtype of the specified - - ; otherwise, false. - - - The object to be checked. - - - - - Returns the full name of the type described by this . - - - The full name of the type described by this as string. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the type information described by this . - - - An object that represents the type information described by this - - . - - - - - Gets the list of facets for the type that is described by this - - . - - - A collection of type that contains the list of facets for the type that is described by this - - . - - - - - Returns a Model type usage for a provider type - - Model (CSpace) type usage - - - - Do not perform any extension check - - - - - Check the extension against a specific value - - - - - Check the extension against the set of acceptable extensions - - - - - Runtime Metadata Workspace - - - - - Initializes a new instance of the class. - - - - - Constructs a with loaders for all item collections () - needed by EF except the o/c mapping which will be created automatically based on the given o-space and c-space - loaders. The item collection delegates are executed lazily when a given collection is used for the first - time. It is acceptable to pass a delegate that returns null if the collection will never be used, but this - is rarely done, and any attempt by EF to use the collection in such cases will result in an exception. - - Delegate to return the c-space (CSDL) item collection. - Delegate to return the s-space (SSDL) item collection. - Delegate to return the c/s mapping (MSL) item collection. - Delegate to return the o-space item collection. - - - - Constructs a with loaders for all item collections () - that come from traditional EDMX mapping. Default o-space and o/c mapping collections will be used. - The item collection delegates are executed lazily when a given collection is used for the first - time. It is acceptable to pass a delegate that returns null if the collection will never be used, but this - is rarely done, and any attempt by EF to use the collection in such cases will result in an exception. - - Delegate to return the c-space (CSDL) item collection. - Delegate to return the s-space (SSDL) item collection. - Delegate to return the c/s mapping (MSL) item collection. - - - - Initializes a new instance of the class using the specified paths and assemblies. - - The paths to workspace metadata. - The names of assemblies used to construct workspace. - - - - Creates an configured to use the - - data space. - - The created parser object. - - - - Creates a new bound to this metadata workspace based on the specified query expression. - - - A new with the specified expression as it's - - property. - - - A that defines the query. - - - If - - is null - - - If - - contains metadata that cannot be resolved in this metadata workspace - - - If - - is not structurally valid because it contains unresolvable variable references - - - - - Gets items. - - - The items. - - - The from which to retrieve items. - - - - Registers the item collection with each associated data model. - The output parameter collection that needs to be filled up. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - The delegate for logging the load messages. - - - Returns an item by using the specified identity and the data model. - The item that matches the given identity in the specified data model. - The identity of the item. - The conceptual model in which the item is searched. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns an item by using the specified identity and the data model. - true if there is an item that matches the search criteria; otherwise, false. - The conceptual model on which the item is searched. - The conceptual model on which the item is searched. - - When this method returns, contains a object. This parameter is passed uninitialized. - - The type returned by the method. - - - Returns an item by using the specified identity and the data model. - The item that matches the given identity in the specified data model. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the item is searched. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns an item by using the specified identity and the data model. - true if there is an item that matches the search criteria; otherwise, false. - The conceptual model on which the item is searched. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the item is searched. - - When this method returns, contains a object. This parameter is passed uninitialized. - - The type returned by the method. - - - Gets all the items in the specified data model. - - A collection of type that contains all the items in the specified data model. - - The conceptual model for which the list of items is needed. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - - An object that represents the type that matches the given type name and the namespace name in the specified data model. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - The conceptual model on which the type is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - The conceptual model on which the type is searched. - - When this method returns, contains an object. This parameter is passed uninitialized. - - - - - Returns an object by using the specified type name, namespace name, and data model. - - - An object. - - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the type is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the type is searched. - - When this method returns, contains an object. This parameter is passed uninitialized. - - - - - Returns an object by using the specified entity container name and the data model. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - The conceptual model on which the entity container is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified entity container name and the data model. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - The conceptual model on which the entity container is searched. - - When this method returns, contains an object. If there is no entity container, this output parameter contains null; otherwise, it returns the first entity container. This parameter is passed uninitialized. - - - - - Returns an object by using the specified entity container name and the data model. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the entity container is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified entity container name and the data model. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the entity container is searched. - - When this method returns, contains an object. If there is no entity container, this output parameter contains null; otherwise, it returns the first entity container. This parameter is passed uninitialized. - - - - Returns all the overloads of the functions by using the specified name, namespace name, and data model. - - A collection of type that contains all the functions that match the specified name in a given namespace and a data model. - - The name of the function. - The namespace of the function. - The conceptual model in which the functions are searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns all the overloads of the functions by using the specified name, namespace name, and data model. - - A collection of type that contains all the functions that match the specified name in a given namespace and a data model. - - The name of the function. - The namespace of the function. - The conceptual model in which the functions are searched. - true to perform the case-insensitive search; otherwise, false. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns the list of primitive types in the specified data model. - - A collection of type that contains all the primitive types in the specified data model. - - The data model for which you need the list of primitive types. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Gets all the items in the specified data model. - - A collection of type that contains all the items in the specified data model. - - The conceptual model for which the list of items is needed. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Tests the retrieval of . - - true if the retrieval was successful; otherwise, false. - - The from which to attempt retrieval of - - . - - When this method returns, contains the item collection. This parameter is passed uninitialized. - - - - Returns a object that represents the object space type that matches the type supplied by the parameter edmSpaceType . - - - A object that represents the Object space type. If there is no matched type, this method returns null. - - - A object that represents the - - . - - - - - Returns a object via the out parameter objectSpaceType that represents the type that matches the - - supplied by the parameter edmSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the - - . - - - When this method returns, contains a object that represents the Object space type. This parameter is passed uninitialized. - - - - - Returns a object that represents the object space type that matches the type supplied by the parameter edmSpaceType . - - - A object that represents the Object space type. If there is no matched type, this method returns null. - - - A object that represents the - - . - - - - - Returns a object via the out parameter objectSpaceType that represents the type that matches the - - supplied by the parameter edmSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the - - . - - - When this method returns, contains a object that represents the Object space type. This parameter is passed uninitialized. - - - - - Returns a object that represents the - - that matches the type supplied by the parameter objectSpaceType . - - - A object that represents the - - . If there is no matched type, this method returns null. - - - A that supplies the type in the object space. - - - - - Returns a object via the out parameter edmSpaceType that represents the - - that matches the type supplied by the parameter objectSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the object space type. - - - When this method returns, contains a object that represents the - - . This parameter is passed uninitialized. - - - - - Returns a object that represents the - - that matches the type supplied by the parameter objectSpaceType . - - - A object that represents the - - . If there is no matched type, this method returns null. - - - A that supplies the type in the object space. - - - - - Returns a object via the out parameter edmSpaceType that represents the - - that matches the type supplied by the parameter objectSpaceType . - - true on success, false on failure. - - A object that represents the object space type. - - - When this method returns, contains a object that represents the - - . This parameter is passed uninitialized. - - - - Clears all the metadata cache entries. - - - Gets original value members from an entity set and entity type. - The original value members from an entity set and entity type. - The entity set from which to retrieve original values. - The entity type of which to retrieve original values. - - - - Returns members of a given / - - for which original values are needed when modifying an entity. - - - The s for which original value is required. - - - An belonging to the C-Space. - - - An that participates in the given - - . - - true if entities may be updated partially; otherwise, false. - - - - The Max EDM version thats going to be supported by the runtime. - - - - - Class for representing a collection of items for the object layer. - Most of the implementation for actual maintenance of the collection is - done by ItemCollection - - - - - Initializes a new instance of the class. - - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - The EDM metadata source for the O space metadata. - The delegate to which log messages are sent. - - - Loads metadata from the specified assembly. - The assembly from which the metadata will be loaded. - The EDM metadata source for the O space metadata. - - - Returns a collection of primitive type objects. - A collection of primitive type objects. - - - - Returns the CLR type that corresponds to the supplied by the objectSpaceType parameter. - - The CLR type of the OSpace argument. - - A that represents the object space type. - - - - - Returns a CLR type corresponding to the supplied by the objectSpaceType parameter. - - true if there is a type that matches the search criteria; otherwise, false. - - A that represents the object space type. - - The CLR type. - - - The method returns the underlying CLR type for the specified OSpace type argument. If the DataSpace of the parameter is not OSpace, an ArgumentException is thrown. - The CLR type of the OSpace argument. - The OSpace type to look up. - - - Returns the underlying CLR type for the specified OSpace enum type argument. If the DataSpace of the parameter is not OSpace, the method returns false and sets the out parameter to null. - true on success, false on failure - The OSpace enum type to look up - The CLR enum type of the OSpace argument - - - Returns all the items of the specified type from this item collection. - - A collection of type that contains all items of the specified type. - - The type returned by the method. - - - - The enumeration defining the type semantics used to resolve function overloads. - These flags are defined in the provider manifest per function definition. - - - - - Allow Implicit Conversion between given and formal argument types (default). - - - - - Allow Type Promotion between given and formal argument types. - - - - - Use strict Equivalence only. - - - - - Class for representing a collection of items in Store space. - - - - - Initializes a new instance of the class using the specified XMLReader. - - The XMLReader used to create metadata. - - - Initializes a new instances of the class. - The model of the . - - - - Initializes a new instance of the class using the specified file paths. - - The file paths used to create metadata. - - - - Returns a collection of the objects. - - - A object that represents the collection of the - - objects. - - - - - Factory method that creates a . - - - SSDL artifacts to load. Must not be null. - - - Paths to SSDL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - Custom resolver. Currently used to resolve DbProviderServices implementation. If null - the default resolver will be used. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - Gets the provider factory of the StoreItemCollection. - The provider factory of the StoreItemCollection. - - - Gets the provider manifest of the StoreItemCollection. - The provider manifest of the StoreItemCollection. - - - Gets the manifest token of the StoreItemCollection. - The manifest token of the StoreItemCollection. - - - Gets the invariant name of the StoreItemCollection. - The invariant name of the StoreItemCollection. - - - Gets the version of the store schema for this collection. - The version of the store schema for this collection. - - - - This exception is thrown when a requested object is not found in the store. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of class that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Caches an ELinq query - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg14 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg15 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg14 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - - The values currently assigned to the properties of an entity. - - - - - Provides access to the original values of object data. The DbUpdatableDataRecord implements methods that allow updates to the original values of an object. - - - - Retrieves the field value as a Boolean. - The field value as a Boolean. - The ordinal of the field. - - - Retrieves the field value as a byte. - The field value as a byte. - The ordinal of the field. - - - Retrieves the field value as a byte array. - The number of bytes copied. - The ordinal of the field. - The index at which to start copying data. - The destination buffer where data is copied. - The index in the destination buffer where copying will begin. - The number of bytes to copy. - - - Retrieves the field value as a char. - The field value as a char. - The ordinal of the field. - - - Retrieves the field value as a char array. - The number of characters copied. - The ordinal of the field. - The index at which to start copying data. - The destination buffer where data is copied. - The index in the destination buffer where copying will begin. - The number of characters to copy. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as a - - - The field value as a . - - The ordinal of the field. - - - Retrieves the name of the field data type. - The name of the field data type. - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - Retrieves the field value as a decimal. - The field value as a decimal. - The ordinal of the field. - - - Retrieves the field value as a double. - The field value as a double. - The ordinal of the field. - - - Retrieves the type of a field. - The field type. - The ordinal of the field. - - - Retrieves the field value as a float. - The field value as a float. - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - Retrieves the name of a field. - The name of the field. - The ordinal of the field. - - - Retrieves the ordinal of a field by using the name of the field. - The ordinal of the field. - The name of the field. - - - Retrieves the field value as a string. - The field value. - The ordinal of the field. - - - Retrieves the value of a field. - The field value. - The ordinal of the field. - - - Retrieves the value of a field. - The field value. - The ordinal of the field. - - - Populates an array of objects with the field values of the current record. - The number of field values returned. - An array of objects to store the field values. - - - - Returns whether the specified field is set to . - - - true if the field is set to ; otherwise false. - - The ordinal of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets field values in a record. - The number of the fields that were set. - The values of the field. - - - - Sets a field to the value. - - The ordinal of the field. - - - - Retrieves a field value as a . - - - A field value as a . - - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Gets the number of fields in the record. - An integer value that is the field count. - - - Returns a value that has the given field ordinal. - The value that has the given field ordinal. - The ordinal of the field. - - - Gets a value that has the given field name. - The field value. - The name of the field. - - - Gets data record information. - - A object. - - - - - This is the interface that represent the minimum interface required - to be an entity in ADO.NET. - - - - - This class contains the common methods need for an date object. - - - - - Public constant name used for change tracking - Providing this definition allows users to use this constant instead of - hard-coding the string. This helps to ensure the property name is correct - and allows faster comparisons in places where we are looking for this specific string. - Users can still use the case-sensitive string directly instead of the constant, - it will just be slightly slower on comparison. - Including the dash (-) character around the name ensures that this will not conflict with - a real data property, because -EntityKey- is not a valid identifier name - - - - - Raises the event. - - The name of the changed property. - - - - Raises the event. - - The name of the property changing. - - - Returns the minimum date time value supported by the data source. - - A value that is the minimum date time that is supported by the data source. - - - - Raises an event that is used to report that a property change is pending. - The name of the changing property. - - - Raises an event that is used to report that a property change has occurred. - The name for the changed property. - - - Returns a complex type for the specified property. - - Unlike most of the other helper methods in this class, this one is not static - because it references the SetValidValue for complex objects, which is also not static - because it needs a reference to this. - - A complex type object for the property. - A complex object that inherits from complex object. - The name of the complex property that is the complex object. - Indicates whether the type supports null values. - Indicates whether the type is initialized. - The type of the complex object being requested. - - - Determines whether the specified byte arrays contain identical values. - true if both arrays are of the same length and contain the same byte values or if both arrays are null; otherwise, false. - The first byte array value to compare. - The second byte array to compare. - - - Returns a copy of the current byte value. - - A copy of the current value. - - The current byte array value. - - - - Makes sure the value being set for a property is valid. - - - The value being validated. - - The value passed into the property setter. - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - If value is null for a non nullable value. - - - - Makes sure the value being set for a property is valid. - - - A value being set. - - The value being set. - Indicates whether the property is nullable. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - The Boolean value. - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - The Boolean value. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - A that is set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value that is set. - - The value that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - A value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - Makes sure the Single value being set for a property is valid. - - The value being set. - - - The value. - - The name of the property that is being validated. - - - Makes sure the Single value being set for a property is valid. - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - Name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - Makes sure the UInt16 value being set for a property is valid. - The nullable UInt16 value being set. - The nullable UInt16 value. - The name of the property that is being validated. - - - Makes sure the UInt16 value being set for a property is valid. - The nullable UInt16 value being set. - The nullable UInt16 value. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - Makes sure the UInt32 value being set for a property is valid. - The nullable UInt32 value being set. - The nullable UInt32 value. - The name of the property that is being validated. - - - Makes sure the UInt32 value being set for a property is valid. - The nullable UInt32 value being set. - The nullable UInt32 value. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - The nullable UInt64 value being set. - The nullable UInt64 value. - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - The nullable UInt64 value being set. - The nullable UInt64 value. - - - Validates that the property is not null, and throws if it is. - The validated property. - The string value to be checked. - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - The string value is null for a non-nullable string. - - - Validates that the property is not null, and throws if it is. - - The validated value. - - The string value to be checked. - Flag indicating if this property is allowed to be null. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - The value to be checked. - - Flag indicating if this property is allowed to be null. - Name of the property that is being validated. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - value to be checked. - - Flag indicating if this property is allowed to be null. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - value to be checked. - - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - The value to be checked. - - Flag indicating if this property is allowed to be null. - The value is null for a non-nullable property. - - - Sets a complex object for the specified property. - A complex type that derives from complex object. - The original complex object for the property, if any. - The complex object is being set. - The complex property that is being set to the complex object. - The type of the object being replaced. - - - Verifies that a complex object is not null. - The complex object being validated. - The complex object that is being validated. - The complex property on the parent object that is associated with complexObject . - The type of the complex object being verified. - - - - Notification that a property has been changed. - - - The PropertyChanged event can indicate all properties on the - object have changed by using either a null reference - (Nothing in Visual Basic) or String.Empty as the property name - in the PropertyChangedEventArgs. - - - - - Notification that a property is about to be changed. - - - The PropertyChanging event can indicate all properties on the - object are changing by using either a null reference - (Nothing in Visual Basic) or String.Empty as the property name - in the PropertyChangingEventArgs. - - - - Notifies the change tracker that a property change is pending on a complex object. - The name of the changing property. - property is null. - - - Notifies the change tracker that a property of a complex object has changed. - The name of the changed property. - property is null. - - - - Attribute for complex properties - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - Base attribute for properties mapped to store elements. - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - attribute for complex types - - - - - Base attribute for schematized types - - - - The name of the type in the conceptual schema that maps to the class to which this attribute is applied. - - A that is the name. - - - - The namespace name of the entity object type or complex type in the conceptual schema that maps to this type. - - A that is the namespace name. - - - - - Attribute identifying the Edm base class - - - - - Attribute indicating an enum type. - - - - - Attribute identifying the Ends defined for a RelationshipSet - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - Initializes a new instance of the - - class. - - The namespace name of the relationship property. - The name of the relationship. The relationship name is not namespace qualified. - The role name at the other end of the relationship. - - - The namespace name of the navigation property. - - A that is the namespace name. - - - - Gets the unqualified relationship name. - The relationship name. - - - Gets the role name at the other end of the relationship. - The target role name is specified by the Role attribute of the other End element in the association that defines this relationship in the conceptual model. For more information, see Association (EDM). - - - - Defines a relationship between two entity types based on an association in the conceptual model. - - - - - Creates an instance of the class. - - The name of the namespace for the association in which this entity participates. - The name of a relationship in which this entity participates. - Name of the role for the type at one end of the association. - - A value of that indicates the multiplicity at one end of the association, such as one or many. - - The type of the entity at one end of the association. - Name of the role for the type at the other end of the association. - - A value of that indicates the multiplicity at the other end of the association, such as one or many. - - The type of the entity at the other end of the association. - - - - Initializes a new instance of the - - class. - - The name of the namespace for the association in which this entity participates. - The name of a relationship in which this entity participates. - Name of the role for the type at one end of the association. - - A value of that indicates the multiplicity at one end of the association, such as one or many. - - The type of the entity at one end of the association. - Name of the role for the type at the other end of the association. - - A value of that indicates the multiplicity at the other end of the association, such as one or many. - - The type of the entity at the other end of the association. - A value that indicates whether the relationship is based on the foreign key value. - - - The namespace for the relationship. - - A that is the namespace for the relationship. - - - - Name of the relationship. - - A that is the name of a relationship that is defined by this - - . - - - - Name of the role at one end of the relationship. - - A that is the name of the role. - - - - Multiplicity at one end of the relationship. - - A value that indicates the multiplicity. - - - - Type of the entity at one end of the relationship. - - A that is the type of the object at this end of the association. - - - - Name of the role at the other end of the relationship. - - A that is the name of the role. - - - - Multiplicity at the other end of the relationship. - - A value that indicates the multiplicity. - - - - Type of the entity at the other end of the relationship. - - A that is the type of the object t the other end of the association. - - - - Gets a Boolean value that indicates whether the relationship is based on the foreign key value. - true if the relationship is based on the foreign key value; otherwise false. - - - - Attribute for scalar properties in an IEntity. - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - Gets or sets the value that indicates whether the property can have a null value. - The value that indicates whether the property can have a null value. - - - Gets or sets the value that indicates whether the property is part of the entity key. - The value that indicates whether the property is part of the entity key. - - - - Attribute for static types - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a unique value for each model referenced by the assembly. - - - Setting this parameter to a unique value for each model file in a Visual Basic - assembly will prevent the following error: - "'System.Data.Entity.Core.Objects.DataClasses.EdmSchemaAttribute' cannot be specified more than once in this project, even with identical parameter values." - - A string that is a unique GUID value for the model in the assembly. - - - - Collection of entities modeling a particular EDM construct - which can either be all entities of a particular type or - entities participating in a particular relationship. - - The type of entities in this collection. - - - - Base class for EntityCollection and EntityReference - - - - - Represents one end of a relationship. - - - - Loads the related object or objects into this related end with the default merge option. - - - Loads the related object or objects into the related end with the specified merge option. - - The to use when merging objects into an existing - . - - - - Adds an object to the related end. - - An object to add to the collection. entity must implement - - . - - - - Adds an object to the related end. - An object to add to the collection. - - - Removes an object from the collection of objects at the related end. - - true if entity was successfully removed, false if entity was not part of the - - . - - - The object to remove from the collection. entity must implement - - . - - - - Removes an object from the collection of objects at the related end. - - true if entity was successfully removed; false if entity was not part of the - - . - - An object to remove from the collection. - - - Defines a relationship between two attached objects. - - The object being attached. entity must implement - - . - - - - Defines a relationship between two attached objects. - The object being attached. - - - - Returns an that represents the objects that belong to the related end. - - - An that represents the objects that belong to the related end. - - - - - Returns an that iterates through the collection of related objects. - - - An that iterates through the collection of related objects. - - - - - Gets or sets a value indicating whether the entity (for an or all entities - in the collection (for an have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded - and wants to prevent any other entities from being loaded automatically. - Note that explicit loading using will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity is detached the IsLoaded flag is reset to false indicating that not all related entities - are now loaded. - - - True if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise false. - - - - Gets the name of the relationship in which this related end participates. - - The name of the relationship in which this is participating. The relationship name is not namespace qualified. - - - - Gets the role name at the source end of the relationship. - The role name at the source end of the relationship. - - - Gets the role name at the target end of the relationship. - The role name at the target end of the relationship. - - - Returns a reference to the metadata for the related end. - - A object that contains metadata for the end of a relationship. - - - - - Returns an that represents the objects that belong to the related end. - - - An that represents the objects that belong to the related end. - - - - - Loads the related object or objects into the related end with the default merge option. - - - When the source object was retrieved by using a query - and the is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Loads an object or objects from the related end with the specified merge option. - - - The to use when merging objects into an existing - . - - - When the source object was retrieved by using a query - and the - is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Attaches an entity to the related end. This method works in exactly the same way as Attach(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - The entity to attach to the related end - - Thrown when - - is null. - - Thrown when the entity cannot be related via the current relationship end. - - - - Attaches an entity to the related end. If the related end is already filled - or partially filled, this merges the existing entities with the given entity. The given - entity is not assumed to be the complete set of related entities. - Owner and all entities passed in must be in Unchanged or Modified state. - Deleted elements are allowed only when the state manager is already tracking the relationship - instance. - - The entity to attach to the related end - - Thrown when - - is null. - - Thrown when the entity cannot be related via the current relationship end. - - - - Adds an entity to the related end. This method works in exactly the same way as Add(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - Entity instance to add to the related end - - - - Adds an entity to the related end. If the owner is - attached to a cache then the all the connected ends are - added to the object cache and their corresponding relationships - are also added to the ObjectStateManager. The RelatedEnd of the - relationship is also fixed. - - Entity instance to add to the related end - - - - Removes an entity from the related end. This method works in exactly the same way as Remove(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - Entity instance to remove from the related end - Returns true if the entity was successfully removed, false if the entity was not part of the RelatedEnd. - - - - Removes an entity from the related end. If owner is - attached to a cache, marks relationship for deletion and if - the relationship is composition also marks the entity for deletion. - - Entity instance to remove from the related end - Returns true if the entity was successfully removed, false if the entity was not part of the RelatedEnd. - - - - Returns an that iterates through the collection of related objects. - - - An that iterates through the collection of related objects. - - - - - Used internally to deserialize entity objects along with the - - instances. - - The serialized stream. - - - Occurs when a change is made to a related end. - - - Gets the name of the relationship in which this related end participates. - - The name of the relationship in which this participates. The relationship name is not namespace qualified. - - - - Gets the role name at the source end of the relationship. - - A that is the role name. - - - - Gets the role name at the target end of the relationship. - - A that is the role name. - - - - Gets a reference to the metadata for the related end. - - A object that contains metadata for the end of a relationship. - - - - - - - - Initializes a new instance of the class. - - - - - Returns the collection as an used for data binding. - - - An of entity objects. - - - - Loads related objects into the collection, using the specified merge option. - - Specifies how the objects in this collection should be merged with the objects that might have been returned from previous queries against the same - - . - - - - Defines relationships between an object and a collection of related objects in an object context. - - Loads related entities into the local collection. If the collection is already filled - or partially filled, merges existing entities with the given entities. The given - entities are not assumed to be the complete set of related entities. - Owner and all entities passed in must be in Unchanged or Modified state. We allow - deleted elements only when the state manager is already tracking the relationship - instance. - - Collection of objects in the object context that are related to the source object. - entities collection is null. - - The source object or an object in the entities collection is null or is not in an - - or state.-or-The relationship cannot be defined based on the EDM metadata. This can occur when the association in the conceptual schema does not support a relationship between the two types. - - - - Defines a relationship between two attached objects in an object context. - The object being attached. - When the entity is null. - - When the entity cannot be related to the source object. This can occur when the association in the conceptual schema does not support a relationship between the two types.-or-When either object is null or is not in an - - or state. - - - - Adds an object to the collection. - - An object to add to the collection. entity must implement - - . - - entity is null. - - - Removes an object from the collection and marks the relationship for deletion. - true if item was successfully removed; otherwise, false. - The object to remove from the collection. - entity object is null. - The entity object is not attached to the same object context.-or-The entity object does not have a valid relationship manager. - - - Returns an enumerator that is used to iterate through the objects in the collection. - - An that iterates through the set of values cached by - - . - - - - - Returns an enumerator that is used to iterate through the set of values cached by - - . - - - An that iterates through the set of values cached by - - . - - - - Removes all entities from the collection. - - - Determines whether a specific object exists in the collection. - - true if the object is found in the ; otherwise, false. - - - The object to locate in the . - - - - Copies all the contents of the collection to an array, starting at the specified index of the target array. - The array to copy to. - The zero-based index in the array at which copying begins. - - - Used internally to serialize entity objects. - The streaming context. - - - Used internally to deserialize entity objects. - The streaming context. - - - Returns an object query that, when it is executed, returns the same set of objects that exists in the current collection. - - An that represents the entity collection. - - - When the object is in an state - or when the object is in a - state with a - other than - . - - - - Gets the number of objects that are contained in the collection. - - The number of elements that are contained in the - - . - - - - - Gets a value that indicates whether the - - is read-only. - - Always returns false. - - - - IListSource.ContainsListCollection implementation. Always returns false. - This means that the IList we return is the one which contains our actual data, - it is not a list of collections. - - - - - This is the class is the basis for all perscribed EntityObject classes. - - - - - Interface that defines an entity containing a key. - - - - - Gets or sets the for instances of entity types that implement this interface. - - - If an object is being managed by a change tracker, it is expected that - IEntityChangeTracker methods EntityMemberChanging and EntityMemberChanged will be - used to report changes on EntityKey. This allows the change tracker to validate the - EntityKey's new value and to verify if the change tracker is in a state where it can - allow updates to the EntityKey. - - - The for instances of entity types that implement this interface. - - - - - Minimum interface that a data class must implement in order to be managed by a change tracker. - - - - - Gets or sets the used to report changes. - - - The used to report changes. - - - - - Interface that a data class must implement if exposes relationships - - - - Returns the relationship manager that manages relationships for an instance of an entity type. - - Classes that expose relationships must implement this property - by constructing and setting RelationshipManager in their constructor. - The implementation of this property should use the static method RelationshipManager.Create - to create a new RelationshipManager when needed. Once created, it is expected that this - object will be stored on the entity and will be provided through this property. - - - The for this entity. - - - - - Used by the ObjectStateManager to attach or detach this EntityObject to the cache. - - Reference to the ObjectStateEntry that contains this entity - - - Notifies the change tracker that a property change is pending. - The name of the changing property. - property is null. - - - Notifies the change tracker that a property has changed. - The name of the changed property. - property is null. - - - Gets the entity state of the object. - - The of this object. - - - - Gets or sets the key for this object. - - The for this object. - - - - - Returns the container for the lazily created relationship - navigation property objects, collections and refs. - - - - - This interface is implemented by a change tracker and is used by data classes to report changes - - - - Notifies the change tracker of a pending change to a property of an entity type. - The name of the property that is changing. - - - Notifies the change tracker that a property of an entity type has changed. - The name of the property that has changed. - - - Notifies the change tracker of a pending change to a complex property. - The name of the top-level entity property that is changing. - The complex type that contains the property that is changing. - The name of the property that is changing on complex type. - - - Notifies the change tracker that a property of a complex type has changed. - The name of the complex property of the entity type that has changed. - The complex type that contains the property that changed. - The name of the property that changed on complex type. - - - Gets current state of a tracked object. - - An that is the state of the tracked object.For more information, see Identity Resolution, State Managment, and Change Tracking and Tracking Changes in POCO Entities. - - - - - Models a relationship end with multiplicity 1. - - - - Returns the key for the related object. - - Returns the EntityKey of the target entity associated with this EntityReference. - Is non-null in the following scenarios: - (a) Entities are tracked by a context and an Unchanged or Added client-side relationships exists for this EntityReference's owner with the - same RelationshipName and source role. This relationship could have been created explicitly by the user (e.g. by setting - the EntityReference.Value, setting this property directly, or by calling EntityCollection.Add) or automatically through span queries. - (b) If the EntityKey was non-null before detaching an entity from the context, it will still be non-null after detaching, until any operation - occurs that would set it to null, as described below. - (c) Entities are detached and the EntityKey is explicitly set to non-null by the user. - (d) Entity graph was created using a NoTracking query with full span - Is null in the following scenarios: - (a) Entities are tracked by a context but there is no Unchanged or Added client-side relationship for this EntityReference's owner with the - same RelationshipName and source role. - (b) Entities are tracked by a context and a relationship exists, but the target entity has a temporary key (i.e. it is Added) or the key - is one of the special keys - (c) Entities are detached and the relationship was explicitly created by the user. - - - An that is the key of the related object. - - - - - Models a relationship end with multiplicity 1. - - The type of the entity being referenced. - - - - Creates a new instance of . - - - The default constructor is required for some serialization scenarios. It should not be used to - create new EntityReferences. Use the GetRelatedReference or GetRelatedEnd methods on the RelationshipManager - class instead. - - - - - Loads the related object for this with the specified merge option. - - - Specifies how the object should be returned if it already exists in the - - . - - - The source of the is null - or a query returned more than one related end - or a query returned zero related ends, and one related end was expected. - - - - Creates a many-to-one or one-to-one relationship between two objects in the object context. - The object being attached. - When the entity is null. - When the entity cannot be related to the current related end. This can occur when the association in the conceptual schema does not support a relationship between the two types. - - - Creates an equivalent object query that returns the related object. - - An that returns the related object. - - - When the object is in an state - or when the object is in a - state with a - other than . - - - - This method is used internally to serialize related entity objects. - The serialized stream. - - - This method is used internally to serialize related entity objects. - The serialized stream. - - - - Gets or sets the related object returned by this - - . - - - The object returned by this . - - - - - Identifies the kind of a relationship - - - - - The relationship is an Association - - - - - Container for the lazily created relationship navigation - property objects (collections and refs). - - - - - Creates a new object. - - - Used by data classes that support relationships. If the change tracker - requests the RelationshipManager property and the data class does not - already have a reference to one of these objects, it calls this method - to create one, then saves a reference to that object. On subsequent accesses - to that property, the data class should return the saved reference. - The reason for using a factory method instead of a public constructor is to - emphasize that this is not something you would normally call outside of a data class. - By requiring that these objects are created via this method, developers should - give more thought to the operation, and will generally only use it when - they explicitly need to get an object of this type. It helps define the intended usage. - - - The requested . - - Reference to the entity that is calling this method. - - - - Returns either an or - - of the correct type for the specified target role in a relationship. - - - representing the - - or - - that was retrieved. - - Name of the relationship in which targetRoleName is defined. The relationship name is not namespace qualified. - Target role to use to retrieve the other end of relationshipName . - relationshipName or targetRoleName is null. - The source type does not match the type of the owner. - targetRoleName is invalid or unable to find the relationship type in the metadata. - - - - Takes an existing EntityReference that was created with the default constructor and initializes it using the provided relationship and target role names. - This method is designed to be used during deserialization only, and will throw an exception if the provided EntityReference has already been initialized, - if the relationship manager already contains a relationship with this name and target role, or if the relationship manager is already attached to a ObjectContext.W - - The relationship name. - The role name of the related end. - - The to initialize. - - - The type of the being initialized. - - - When the provided - is already initialized.-or-When the relationship manager is already attached to an - - or when the relationship manager already contains a relationship with this name and target role. - - - - - Takes an existing EntityCollection that was created with the default constructor and initializes it using the provided relationship and target role names. - This method is designed to be used during deserialization only, and will throw an exception if the provided EntityCollection has already been initialized, - or if the relationship manager is already attached to a ObjectContext. - - The relationship name. - The target role name. - An existing EntityCollection. - Type of the entity represented by targetRoleName - - - - Gets an of related objects with the specified relationship name and target role name. - - - The of related objects. - - Name of the relationship to navigate. The relationship name is not namespace qualified. - Name of the target role for the navigation. Indicates the direction of navigation across the relationship. - - The type of the returned . - - - The specified role returned an instead of an - - . - - - - - Gets the for a related object by using the specified combination of relationship name and target role name. - - - The of a related object. - - Name of the relationship to navigate. The relationship name is not namespace qualified. - Name of the target role for the navigation. Indicates the direction of navigation across the relationship. - - The type of the returned . - - - The specified role returned an instead of an - - . - - - - Returns an enumeration of all the related ends managed by the relationship manager. - - An of objects that implement - - . An empty enumeration is returned when the relationships have not yet been populated. - - - - - Called by Object Services to prepare an for binary serialization with a serialized relationship. - - Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. - - - - Used internally to deserialize entity objects along with the - - instances. - - The serialized stream. - - - - Represents either a entity, entity stub or relationship - - - - - Gets the updatable version of original values of the object associated with this - - . - - The updatable original values of object data. - - - Accepts the current values as original values. - - - Marks an entity as deleted. - - - - Returns the names of an object’s properties that have changed since the last time - - was called. - - - An collection of names as string. - - - - Sets the state of the object or relationship to modify. - If State is not Modified or Unchanged - - - Marks the specified property as modified. - The name of the property. - If State is not Modified or Unchanged - - - Rejects any changes made to the property with the given name since the property was last loaded, attached, saved, or changes were accepted. The orginal value of the property is stored and the property will no longer be marked as modified. - The name of the property to change. - - - Uses DetectChanges to determine whether or not the current value of the property with the given name is different from its original value. Note that this may be different from the property being marked as modified since a property which has not changed can still be marked as modified. - - Note that this property always returns the same result as the modified state of the property for change tracking - proxies and entities that derive from the EntityObject base class. This is because original values are not tracked - for these entity types and hence there is no way to know if the current value is really different from the - original value. - - true if the property has changed; otherwise, false. - The name of the property. - - - - Changes state of the entry to the specified value. - - - The value to set for the - - property of the entry. - - - - Sets the current values of the entry to match the property values of a supplied object. - The detached object that has updated values to apply to the object. currentEntity can also be the object’s entity key. - - - Sets the original values of the entry to match the property values of a supplied object. - The detached object that has original values to apply to the object. originalEntity can also be the object’s entity key. - - - - Used to report that a scalar entity property is about to change - The current value of the specified property is cached when this method is called. - - The name of the entity property that is changing - - - - Used to report that a scalar entity property has been changed - The property value that was cached during EntityMemberChanging is now - added to OriginalValues - - The name of the entity property that has changing - - - - Used to report that a complex property is about to change - The current value of the specified property is cached when this method is called. - - The name of the top-level entity property that is changing - The complex object that contains the property that is changing - The name of the property that is changing on complexObject - - - - Used to report that a complex property has been changed - The property value that was cached during EntityMemberChanging is now added to OriginalValues - - The name of the top-level entity property that has changed - The complex object that contains the property that changed - The name of the property that changed on complexObject - - - - Gets the for the - - . - - - The for the - - . - - - - - Gets the for the object or relationship. - - - The for the object or relationship. - - - - - Gets the state of the . - - - The state of the . - - - - Gets the entity object. - The entity object. - - - Gets the entity key. - The entity key. - - - - Gets a value that indicates whether the represents a relationship. - - - true if the represents a relationship; otherwise, false. - - - - Gets the read-only version of original values of the object or relationship. - The read-only version of original values of the relationship set entry or entity. - - - - Gets the current property values of the object or relationship associated with this - - . - - - A that contains the current values of the object or relationship associated with this - - . - - - - - Gets the instance for the object represented by entry. - - - The object. - - The entry is a stub or represents a relationship - - - - Returns the EntityState from the ObjectStateEntry - - - - - Defines behavior for implementations of IQueryable that allow modifications to the membership of the resulting set. - - Type of entities returned from the queryable. - - - Notifies the set that an object that represents a new entity must be added to the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The new object to add to the set. - - - Notifies the set that an object that represents an existing entity must be added to the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The existing object to add to the set. - - - Notifies the set that an object that represents an existing entity must be deleted from the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The existing object to delete from the set. - - - Notifies the set that an object that represents an existing entity must be detached from the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The object to detach from the set. - - - - The different ways that new objects loaded from the database can be merged with existing objects already in memory. - - - - - Will only append new (top level-unique) rows. This is the default behavior. - - - - - Same behavior as LoadOption.OverwriteChanges. - - - - - Same behavior as LoadOption.PreserveChanges. - - - - - Will not modify cache. - - - - - ObjectContext is the top-level object that encapsulates a connection between the CLR and the database, - serving as a gateway for Create, Read, Update, and Delete operations. - - - - - Initializes a new instance of the class with the given connection. During construction, the metadata workspace is extracted from the - - object. - - - An that contains references to the model and to the data source connection. - - The connection is null. - The connection is invalid or the metadata workspace is invalid. - - - - Creates an ObjectContext with the given connection and metadata workspace. - - connection to the store - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - Initializes a new instance of the class with the given connection string and default entity container name. - - The connection string, which also provides access to the metadata information. - The connectionString is null. - The connectionString is invalid or the metadata workspace is not valid. - - - - Initializes a new instance of the class with a given connection string and entity container name. - - The connection string, which also provides access to the metadata information. - The name of the default entity container. When the defaultContainerName is set through this method, the property becomes read-only. - The connectionString is null. - The connectionString , defaultContainerName , or metadata workspace is not valid. - - - - Initializes a new instance of the class with a given connection and entity container name. - - - An that contains references to the model and to the data source connection. - - The name of the default entity container. When the defaultContainerName is set through this method, the property becomes read-only. - The connection is null. - The connection , defaultContainerName , or metadata workspace is not valid. - - - Accepts all changes made to objects in the object context. - - - Adds an object to the object context. - Represents the entity set name, which may optionally be qualified by the entity container name. - - The to add. - - The entity parameter is null or the entitySetName does not qualify. - - - Explicitly loads an object related to the supplied object by the specified navigation property and using the default merge option. - The entity for which related objects are to be loaded. - The name of the navigation property that returns the related objects to be loaded. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified navigation property and using the specified merge option. - The entity for which related objects are to be loaded. - The name of the navigation property that returns the related objects to be loaded. - - The value to use when you load the related objects. - - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified LINQ query and by using the default merge option. - The type of the entity. - The source object for which related objects are to be loaded. - A LINQ expression that defines the related objects to be loaded. - selector does not supply a valid input parameter. - selector is null. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified LINQ query and by using the specified merge option. - The type of the entity. - The source object for which related objects are to be loaded. - A LINQ expression that defines the related objects to be loaded. - - The value to use when you load the related objects. - - selector does not supply a valid input parameter. - selector is null. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Applies property changes from a detached object to an object already attached to the object context. - The name of the entity set to which the object belongs. - The detached object that has property updates to apply to the original object. - When entitySetName is null or an empty string or when changed is null. - - When the from entitySetName does not match the - - of the object - - or when the entity is in a state other than - - or - - or the original object is not attached to the context. - - When the type of the changed object is not the same type as the original object. - - - - Copies the scalar values from the supplied object into the object in the - - that has the same key. - - The updated object. - The name of the entity set to which the object belongs. - - The detached object that has property updates to apply to the original object. The entity key of currentEntity must match the - - property of an entry in the - - . - - The entity type of the object. - entitySetName or current is null. - - The from entitySetName does not match the - - of the object - - or the object is not in the - - or it is in a - - state or the entity key of the supplied object is invalid. - - entitySetName is an empty string. - - - - Copies the scalar values from the supplied object into set of original values for the object in the - - that has the same key. - - The updated object. - The name of the entity set to which the object belongs. - - The detached object that has original values to apply to the object. The entity key of originalEntity must match the - - property of an entry in the - - . - - The type of the entity object. - entitySetName or original is null. - - The from entitySetName does not match the - - of the object - - or an - - for the object cannot be found in the - - or the object is in an - - or a - - state or the entity key of the supplied object is invalid or has property changes. - - entitySetName is an empty string. - - - Attaches an object or object graph to the object context in a specific entity set. - Represents the entity set name, which may optionally be qualified by the entity container name. - - The to attach. - - The entity is null. - - Invalid entity set or the object has a temporary key or the object has an - - and the - - does not match with the entity set passed in as an argument of the method or the object does not have an - - and no entity set is provided or any object from the object graph has a temporary - - or any object from the object graph has an invalid - - (for example, values in the key do not match values in the object) or the entity set could not be found from a given entitySetName name and entity container name or any object from the object graph already exists in another state manager. - - - - Attaches an object or object graph to the object context when the object has an entity key. - The object to attach. - The entity is null. - Invalid entity key. - - - Creates the entity key for a specific object, or returns the entity key if it already exists. - - The of the object. - - The fully qualified name of the entity set to which the entity object belongs. - The object for which the entity key is being retrieved. - When either parameter is null. - When entitySetName is empty or when the type of the entity object does not exist in the entity set or when the entitySetName is not fully qualified. - When the entity key cannot be constructed successfully based on the supplied parameters. - - - - Creates a new instance that is used to query, add, modify, and delete objects of the specified entity type. - - - The new instance. - - - Entity type of the requested . - - - The property is not set on the - - or the specified type belongs to more than one entity set. - - - - - Creates a new instance that is used to query, add, modify, and delete objects of the specified type and with the specified entity set name. - - - The new instance. - - - Name of the entity set for the returned . The string must be qualified by the default container name if the - - property is not set on the - - . - - - Entity type of the requested . - - - The from entitySetName does not match the - - of the object - - or the - - property is not set on the - - and the name is not qualified as part of the entitySetName parameter or the specified type belongs to more than one entity set. - - - - - Creates an in the current object context by using the specified query string. - - - An of the specified type. - - The query string to be executed. - Parameters to pass to the query. - - The entity type of the returned . - - The queryString or parameters parameter is null. - - - Marks an object for deletion. - - An object that specifies the entity to delete. The object can be in any state except - - . - - - - Removes the object from the object context. - - Object to be detached. Only the entity is removed; if there are any related objects that are being tracked by the same - - , those will not be detached automatically. - - The entity is null. - - The entity is not associated with this (for example, was newly created and not associated with any context yet, or was obtained through some other context, or was already detached). - - - - - Finalizes an instance of the class. - - - - Releases the resources used by the object context. - - - - Releases the resources used by the object context. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Returns an object that has the specified entity key. - - An that is an instance of an entity type. - - The key of the object to be found. - The key parameter is null. - - The object is not found in either the or the data source. - - - - Updates a collection of objects in the object context with data from the database. - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - - An collection of objects to refresh. - - collection is null. - refreshMode is not valid. - collection is empty or an object is not attached to the context. - - - Updates an object in the object context with data from the database. - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - The object to be refreshed. - entity is null. - refreshMode is not valid. - entity is not attached to the context. - - - Persists all updates to the database and resets change tracking in the object context. - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Persists all updates to the database and optionally resets change tracking in the object context. - - This parameter is needed for client-side transaction support. If true, the change tracking on all objects is reset after - - finishes. If false, you must call the - method after . - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Persists all updates to the database and optionally resets change tracking in the object context. - - A value that determines the behavior of the operation. - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - - Ensures that changes are synchronized with changes in all objects that are tracked by the - - . - - - - Returns an object that has the specified entity key. - true if the object was retrieved successfully. false if the key is temporary, the connection is null, or the value is null. - The key of the object to be found. - When this method returns, contains the object. - Incompatible metadata for key . - key is null. - - - - Executes a stored procedure or function that is defined in the data source and mapped in the conceptual model, with the specified parameters. Returns a typed - - . - - - An for the data that is returned by the stored procedure. - - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - The entity type of the returned when the function is executed against the data source. This type must implement - - . - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - - Executes the given stored procedure or function that is defined in the data source and expressed in the conceptual model, with the specified parameters, and merge option. Returns a typed - - . - - - An for the data that is returned by the stored procedure. - - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - The to use when executing the query. - - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - The entity type of the returned when the function is executed against the data source. This type must implement - - . - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - - Executes the given function on the default container. - - Element type for function results. - - Name of function. May include container (e.g. ContainerName.FunctionName) or just function name when DefaultContainerName is known. - - The options for executing this function. - - The parameter values to use for the function. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - An object representing the result of executing this function. - If function is null or empty - - If function is invalid (syntax, - does not exist, refers to a function with return type incompatible with T) - - - - Executes a stored procedure or function that is defined in the data source and expressed in the conceptual model; discards any results returned from the function; and returns the number of rows affected by the execution. - The number of rows affected. - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - Generates an equivalent type that can be used with the Entity Framework for each type in the supplied enumeration. - - An enumeration of objects that represent custom data classes that map to the conceptual model. - - - - Returns all the existing proxy types. - - An of all the existing proxy types. - - - - Returns the entity type of the POCO entity associated with a proxy object of a specified type. - - The of the associated POCO entity. - - - The of the proxy object. - - - - Creates and returns an instance of the requested type . - An instance of the requested type T , or an instance of a derived type that enables T to be used with the Entity Framework. The returned object is either an instance of the requested type or an instance of a derived type that enables the requested type to be used with the Entity Framework. - Type of object to be returned. - - - - Executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command specified in the server's native query language. - The parameter values to use for the query. - The number of rows affected. - - - - Executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - Controls the creation of a transaction for this command. - The command specified in the server's native query language. - The parameter values to use for the query. - The number of rows affected. - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior of - DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - - The to use when executing the query. The default is - . - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Translates a that contains rows of entity data to objects of the requested entity type. - - The entity type. - An enumeration of objects of type TResult . - - The that contains entity data to translate into entity objects. - - When reader is null. - - - - Translates a that contains rows of entity data to objects of the requested entity type, in a specific entity set, and with the specified merge option. - - The entity type. - An enumeration of objects of type TResult . - - The that contains entity data to translate into entity objects. - - The entity set of the TResult type. - - The to use when translated objects are added to the object context. The default is - - . - - When reader is null. - - When the supplied mergeOption is not a valid value. - - When the supplied entitySetName is not a valid entity set for the TResult type. - - - - Creates the database by using the current data source connection and the metadata in the - - . - - - - Deletes the database that is specified as the database in the current data source connection. - - - - Checks if the database that is specified as the database in the current store connection exists on the store. Most of the actual work - is done by the DbProviderServices implementation for the current store connection. - - true if the database exists; otherwise, false. - - - - Generates a data definition language (DDL) script that creates schema objects (tables, primary keys, foreign keys) for the metadata in the - - . The - - loads metadata from store schema definition language (SSDL) files. - - - A DDL script that creates schema objects for the metadata in the - - . - - - - Gets the connection used by the object context. - - A object that is the connection. - - - When the instance has been disposed. - - - - Gets or sets the default container name. - - A that is the default container name. - - - - Gets the metadata workspace used by the object context. - - The object associated with this - - . - - - - Gets the object state manager used by the object context to track object changes. - - The used by this - - . - - - - Gets or sets the timeout value, in seconds, for all object context operations. A null value indicates that the default value of the underlying provider will be used. - - An value that is the timeout value, in seconds. - - The timeout value is less than 0. - - - Gets the LINQ query provider associated with this object context. - - The instance used by this object context. - - - - - Gets the instance that contains options that affect the behavior of the - - . - - - The instance that contains options that affect the behavior of the - - . - - - - - Returns itself. ObjectContext implements to provide a common - interface for and ObjectContext both of which will return the underlying - ObjectContext. - - - - - Gets the transaction handler in use by this context. May be null if no transaction have been started. - - - The transaction handler. - - - - - Returns the being used for this context. - - - - Occurs when changes are saved to the data source. - - - Occurs when a new entity object is created from data in the data source as part of a query or load operation. - - - - Defines options that affect the behavior of the ObjectContext. - - - - - Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction. - - - This flag determines whether a new transaction will be started when methods such as - and are executed outside of a transaction. - Note that this does not change the behavior of . - - - The default transactional behavior. - - - - Gets or sets a Boolean value that determines whether related objects are loaded automatically when a navigation property is accessed. - true if lazy loading is enabled; otherwise, false. - - - Gets or sets a Boolean value that determines whether proxy instances are created for custom data classes that are persistence ignorant. - true if proxies are created; otherwise, false. The default value is true. - - - Gets or sets a Boolean value that determines whether to use the legacy PreserveChanges behavior. - true if the legacy PreserveChanges behavior should be used; otherwise, false. - - - Gets or sets a Boolean value that determines whether to use the consistent NullReference behavior. - - If this flag is set to false then setting the Value property of the for an - FK relationship to null when it is already null will have no effect. When this flag is set to true, then - setting the value to null will always cause the FK to be nulled and the relationship to be deleted - even if the value is currently null. The default value is false when using ObjectContext and true - when using DbContext. - - true if the consistent NullReference behavior should be used; otherwise, false. - - - Gets or sets a Boolean value that determines whether to use the C# NullComparison behavior. - - This flag determines whether C# behavior should be exhibited when comparing null values in LinqToEntities. - If this flag is set, then any equality comparison between two operands, both of which are potentially - nullable, will be rewritten to show C# null comparison semantics. As an example: - (operand1 = operand2) will be rewritten as - (((operand1 = operand2) AND NOT (operand1 IS NULL OR operand2 IS NULL)) || (operand1 IS NULL && operand2 IS NULL)) - The default value is false when using . - - true if the C# NullComparison behavior should be used; otherwise, false. - - - - EventArgs for the ObjectMaterialized event. - - - - Gets the entity object that was created. - The entity object that was created. - - - - Delegate for the ObjectMaterialized event. - - The ObjectContext responsable for materializing the object. - EventArgs containing a reference to the materialized object. - - - - This class represents a query parameter at the object layer, which consists - of a Name, a Type and a Value. - - - - - Initializes a new instance of the class with the specified name and type. - - The parameter name. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. The first character of the expression must be a letter. Any successive characters in the expression must be either letters, numbers, or an underscore (_) character. - The common language runtime (CLR) type of the parameter. - If the value of either argument is null. - If the value of the name argument is invalid. Parameter names must start with a letter and can only contain letters, numbers, and underscores. - - - - Initializes a new instance of the class with the specified name and value. - - The parameter name. This name should not include the "@" parameter marker that is used in Entity SQL statements, only the actual name. The first character of the expression must be a letter. Any successive characters in the expression must be either letters, numbers, or an underscore (_) character. - The initial value (and inherently, the type) of the parameter. - If the value of either argument is null. - If the value of the name argument is not valid. Parameter names must start with a letter and can only contain letters, numbers, and underscores. - - - Gets the parameter name, which can only be set through a constructor. - The parameter name, which can only be set through a constructor. - - - Gets the parameter type. - - The of the parameter. - - - - Gets or sets the parameter value. - The parameter value. - - - - This class represents a collection of query parameters at the object layer. - - - - - Adds the specified to the collection. - - The parameter to add to the collection. - The parameter argument is null. - - The parameter argument already exists in the collection. This behavior differs from that of most collections that allow duplicate entries. -or-Another parameter with the same name as the parameter argument already exists in the collection. Note that the lookup is case-insensitive. This behavior differs from that of most collections, and is more like that of a - - . - - The type of the parameter is not valid. - - - - Deletes all instances from the collection. - - - - - Checks for the existence of a specified in the collection by reference. - - Returns true if the parameter object was found in the collection; otherwise, false. - - The to find in the collection. - - The parameter argument is null. - - - - Determines whether an with the specified name is in the collection. - - Returns true if a parameter with the specified name was found in the collection; otherwise, false. - The name of the parameter to look for in the collection. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. - The name parameter is null. - - - Allows the parameters in the collection to be copied into a supplied array, starting with the object at the specified index. - The array into which to copy the parameters. - The index in the array at which to start copying the parameters. - - - - Removes an instance of an from the collection by reference if it exists in the collection. - - Returns true if the parameter object was found and removed from the collection; otherwise, false. - An object to remove from the collection. - The parameter argument is null. - - - - These methods return enumerator instances, which allow the collection to - be iterated through and traversed. - - An object that can be used to iterate through the collection. - - - Returns an untyped enumerator over the collection. - - An instance. - - - - Gets the number of parameters currently in the collection. - - The number of objects that are currently in the collection. - - - - - This collection is read-write - parameters may be added, removed - and [somewhat] modified at will (value only) - provided that the - implementation the collection belongs to has not locked its parameters - because it's command definition has been prepared. - - - - Provides an indexer that allows callers to retrieve parameters by name. - - The instance. - - The name of the parameter to find. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. - No parameter with the specified name is found in the collection. - - - - This class implements untyped queries at the object-layer. - - - - Returns the commands to execute against the data source. - A string that represents the commands that the query executes against the data source. - - - Returns information about the result type of the query. - - A value that contains information about the result type of the query. - - - - Executes the untyped object query with the specified merge option. - - The to use when executing the query. - The default is . - - - An that contains a collection of entity objects returned by the query. - - - - - Returns the collection as an used for data binding. - - - An of entity objects. - - - - Returns an enumerator that iterates through a collection. - - An that can be used to iterate through the collection. - - - - Returns the command text for the query. - A string value. - - - Gets the object context associated with this object query. - - The associated with this - - instance. - - - - Gets or sets how objects returned from a query are added to the object context. - - The query . - - - - - Whether the query is streaming or buffering - - - - Gets the parameter collection for this object query. - - The parameter collection for this . - - - - Gets or sets a value that indicates whether the query plan should be cached. - A value that indicates whether the query plan should be cached. - - - - Gets the result element type for this query instance. - - - - - Gets the expression describing this query. For queries built using - LINQ builder patterns, returns a full LINQ expression tree; otherwise, - returns a constant expression wrapping this query. Note that the - default expression is not cached. This allows us to differentiate - between LINQ and Entity-SQL queries. - - - - - Gets the associated with this query instance. - - - - - ObjectQuery implements strongly-typed queries at the object-layer. - Queries are specified using Entity-SQL strings and may be created by calling - the Entity-SQL-based query builder methods declared by ObjectQuery. - - The result type of this ObjectQuery - - - - Creates a new instance using the specified Entity SQL command as the initial query. - - The Entity SQL query. - - The on which to execute the query. - - - - - Creates a new instance using the specified Entity SQL command as the initial query and the specified merge option. - - The Entity SQL query. - - The on which to execute the query. - - - Specifies how the entities that are retrieved through this query should be merged with the entities that have been returned from previous queries against the same - - . - - - - Executes the object query with the specified merge option. - - The to use when executing the query. - The default is . - - - An that contains a collection of entity objects returned by the query. - - - - Specifies the related objects to include in the query results. - - A new with the defined query path. - - Dot-separated list of related objects to return in the query results. - path is null. - path is empty. - - - Limits the query to unique results. - - A new instance that is equivalent to the original instance with SELECT DISTINCT applied. - - - - - This query-builder method creates a new query whose results are all of - the results of this query, except those that are also part of the other - query specified. - - A query representing the results to exclude. - a new ObjectQuery instance. - If the query parameter is null. - - - Groups the query results by the specified criteria. - - A new instance of type - - that is equivalent to the original instance with GROUP BY applied. - - The key columns by which to group the results. - The list of selected properties that defines the projection. - Zero or more parameters that are used in this method. - The query parameter is null or an empty string - or the projection parameter is null or an empty string. - - - - This query-builder method creates a new query whose results are those that - are both in this query and the other query specified. - - A query representing the results to intersect with. - a new ObjectQuery instance. - If the query parameter is null. - - - Limits the query to only results of a specific type. - - A new instance that is equivalent to the original instance with OFTYPE applied. - - - The type of the returned when the query is executed with the applied filter. - - The type specified is not valid. - - - Orders the query results by the specified criteria. - - A new instance that is equivalent to the original instance with ORDER BY applied. - - The key columns by which to order the results. - Zero or more parameters that are used in this method. - The keys or parameters parameter is null. - The key is an empty string. - - - Limits the query results to only the properties that are defined in the specified projection. - - A new instance of type - - that is equivalent to the original instance with SELECT applied. - - The list of selected properties that defines the projection. - Zero or more parameters that are used in this method. - projection is null or parameters is null. - The projection is an empty string. - - - Limits the query results to only the property specified in the projection. - - A new instance of a type compatible with the specific projection. The returned - - is equivalent to the original instance with SELECT VALUE applied. - - The projection list. - An optional set of query parameters that should be in scope when parsing. - - The type of the returned by the - - method. - - projection is null or parameters is null. - The projection is an empty string. - - - Orders the query results by the specified criteria and skips a specified number of results. - - A new instance that is equivalent to the original instance with both ORDER BY and SKIP applied. - - The key columns by which to order the results. - The number of results to skip. This must be either a constant or a parameter reference. - An optional set of query parameters that should be in scope when parsing. - Any argument is null. - keys is an empty string or count is an empty string. - - - Limits the query results to a specified number of items. - - A new instance that is equivalent to the original instance with TOP applied. - - The number of items in the results as a string. - An optional set of query parameters that should be in scope when parsing. - count is null. - count is an empty string. - - - - This query-builder method creates a new query whose results are all of - the results of this query, plus all of the results of the other query, - without duplicates (i.e., results are unique). - - A query representing the results to add. - a new ObjectQuery instance. - If the query parameter is null. - - - - This query-builder method creates a new query whose results are all of - the results of this query, plus all of the results of the other query, - including any duplicates (i.e., results are not necessarily unique). - - A query representing the results to add. - a new ObjectQuery instance. - If the query parameter is null. - - - Limits the query to results that match specified filtering criteria. - - A new instance that is equivalent to the original instance with WHERE applied. - - The filter predicate. - Zero or more parameters that are used in this method. - predicate is null or parameters is null. - The predicate is an empty string. - - - - Returns an which when enumerated will execute the given SQL query against the database. - - The query results. - - - Gets or sets the name of this object query. - - A string value that is the name of this . - - The value specified on set is not valid. - - - - This class implements IEnumerable and IDisposable. Instance of this class - is returned from ObjectQuery.Execute method. - - - - - This constructor is intended only for use when creating test doubles that will override members - with mocked or faked behavior. Use of this constructor for other purposes may result in unexpected - behavior including but not limited to throwing . - - - - Returns an enumerator that iterates through the query results. - An enumerator that iterates through the query results. - - - Returns the results in a format useful for data binding. - - An of entity objects. - - - - Performs tasks associated with freeing, releasing, or resetting resources. - - - Releases the resources used by the object result. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the next result set of a stored procedure. - An ObjectResult that enumerates the values of the next result set. Null, if there are no more, or if the ObjectResult is not the result of a stored procedure call. - The type of the element. - - - - IListSource.ContainsListCollection implementation. Always returns false. - - - - - When overridden in a derived class, gets the type of the generic - - . - - - The type of the generic . - - - - - This class represents the result of the method. - - The type of the result. - - - - This constructor is intended only for use when creating test doubles that will override members - with mocked or faked behavior. Use of this constructor for other purposes may result in unexpected - behavior including but not limited to throwing . - - - - Returns an enumerator that iterates through the query results. - An enumerator that iterates through the query results. - - - Releases the unmanaged resources used by the and optionally releases the managed resources. - true to release managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the type of the . - - - A that is the type of the . - - - - - Represents a typed entity set that is used to perform create, read, update, and delete operations. - - The type of the entity. - - - Adds an object to the object context in the current entity set. - The object to add. - - - Attaches an object or object graph to the object context in the current entity set. - The object to attach. - - - Marks an object for deletion. - - An object that represents the entity to delete. The object can be in any state except - - . - - - - Removes the object from the object context. - - Object to be detached. Only the entity is removed; if there are any related objects that are being tracked by the same - - , those will not be detached automatically. - - - - - Copies the scalar values from the supplied object into the object in the - - that has the same key. - - The updated object. - - The detached object that has property updates to apply to the original object. The entity key of currentEntity must match the - - property of an entry in the - - . - - - - - Sets the property of an - - to match the property values of a supplied object. - - The updated object. - - The detached object that has property updates to apply to the original object. The entity key of originalEntity must match the - - property of an entry in the - - . - - - - Creates a new entity type object. - The new entity type object, or an instance of a proxy type that corresponds to the entity type. - - - Creates an instance of the specified type. - An instance of the requested type T , or an instance of a proxy type that corresponds to the type T . - Type of object to be returned. - - - - Gets the metadata of the entity set represented by this instance. - - - An object. - - - - - The original values of the properties of an entity when it was retrieved from the database. - - - - - Maintains object state and identity management for entity type instances and relationship instances. - - - - - Initializes a new instance of the class. - - - The , which supplies mapping and metadata information. - - - - - Returns a collection of objects for objects or relationships with the given state. - - - A collection of objects in the given - - . - - - An used to filter the returned - - objects. - - - When state is . - - - - - Changes state of the for a specific object to the specified entityState . - - - The for the supplied entity . - - The object for which the state must be changed. - The new state of the object. - When entity is null. - - When the object is not detached and does not have an entry in the state manager - or when you try to change the state to - from any other - or when state is not a valid value. - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and the name of the navigation property. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - The name of the navigation property on source that returns the specified target . - - The requested of the specified relationship. - - When source or target is null. - - When trying to change the state of the relationship to a state other than - or - when either source or target is in a state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an state - or when state is not a valid value - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and a LINQ expression that defines the navigation property. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - A LINQ expression that selects the navigation property on source that returns the specified target . - - The requested of the specified relationship. - - The entity type of the source object. - When source , target , or selector is null. - selector is malformed or cannot return a navigation property. - - When you try to change the state of the relationship to a state other than - or - when either source or target is in a - state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an state - or when state is not a valid value. - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and the properties of the relationship. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - The name of the relationship. - The role name at the target end of the relationship. - - The requested of the specified relationship. - - When source or target is null. - - When you try to change the state of the relationship to a state other than - or - when either source or target is in a state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an - state - or when state is not a valid value. - - - - - Returns an for the object or relationship entry with the specified key. - - - The corresponding for the given - - . - - - The . - - When key is null. - When the specified key cannot be found in the state manager. - - No entity with the specified exists in the - - . - - - - - Returns an for the specified object. - - - The corresponding for the given - - . - - - The to which the retrieved - - belongs. - - - No entity for the specified exists in the - - . - - - - - Tries to retrieve the corresponding for the specified - - . - - - A Boolean value that is true if there is a corresponding - - for the given object; otherwise, false. - - - The to which the retrieved - - belongs. - - - When this method returns, contains the for the given - - This parameter is passed uninitialized. - - - - - Tries to retrieve the corresponding for the object or relationship with the specified - - . - - - A Boolean value that is true if there is a corresponding - - for the given - - ; otherwise, false. - - - The given . - - - When this method returns, contains an for the given - - This parameter is passed uninitialized. - - A null (Nothing in Visual Basic) value is provided for key . - - - - Returns the that is used by the specified object. - - - The for the specified object. - - - The object for which to return the . - - - The entity does not implement IEntityWithRelationships and is not tracked by this ObjectStateManager - - - - - Returns the that is used by the specified object. - - - true if a instance was returned for the supplied entity ; otherwise false. - - - The object for which to return the . - - - When this method returns, contains the - - for the entity . - - - - - Gets the associated with this state manager. - - - The associated with this - - . - - - - Occurs when entities are added to or removed from the state manager. - - - - A DataContractResolver that knows how to resolve proxy types created for persistent - ignorant classes to their base types. This is used with the DataContractSerializer. - - - - During deserialization, maps any xsi:type information to the actual type of the persistence-ignorant object. - Returns the type that the xsi:type is mapped to. Returns null if no known type was found that matches the xsi:type. - The xsi:type information to map. - The namespace of the xsi:type. - The declared type. - - An instance of . - - - - During serialization, maps actual types to xsi:type information. - true if the type was resolved; otherwise, false. - The actual type of the persistence-ignorant object. - The declared type. - - An instance of . - - When this method returns, contains a list of xsi:type declarations. - When this method returns, contains a list of namespaces used. - - - - Defines the different ways to handle modified properties when refreshing in-memory data from the database. - - - - - For unmodified client objects, same behavior as StoreWins. For modified client - objects, Refresh original values with store value, keeping all values on client - object. The next time an update happens, all the client change units will be - considered modified and require updating. - - - - - Discard all changes on the client and refresh values with store values. - Client original values is updated to match the store. - - - - - Flags used to modify behavior of ObjectContext.SaveChanges() - - - - - Changes are saved without the DetectChanges or the AcceptAllChangesAfterSave methods being called. - - - - - After changes are saved, the AcceptAllChangesAfterSave method is called, which resets change tracking in the ObjectStateManager. - - - - - Before changes are saved, the DetectChanges method is called to synchronize the property values of objects that are attached to the object context with data in the ObjectStateManager. - - - - - This exception is thrown when a update operation violates the concurrency constraint. - - - - - Exception during save changes to store - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of the class that uses a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class that uses a specified error message, a reference to the inner exception, and an enumerable collection of - - objects. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - The collection of objects. - - - - - Initializes a new instance of with serialized data. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - Gets the objects for this - - . - - - A collection of objects comprised of either a single entity and 0 or more relationships, or 0 entities and 1 or more relationships. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of that uses a specified error message, a reference to the inner exception, and an enumerable collection of - - objects. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - The enumerable collection of objects. - - - - - Property constraint exception class. Note that this class has state - so if you change even - its internals, it can be a breaking change - - - - - Initializes a new instance of the class with default message. - - - - - Initializes a new instance of the class with supplied message. - - A localized error message. - - - - Initializes a new instance of the class with supplied message and inner exception. - - A localized error message. - The inner exception. - - - - Initializes a new instance of the class. - - A localized error message. - The name of the property. - - - - Initializes a new instance of the class. - - A localized error message. - The name of the property. - The inner exception. - - - Gets the name of the property that violated the constraint. - The name of the property that violated the constraint. - - - - This exception is thrown when the store provider exhibits a behavior incompatible with the entity client provider - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Provides common language runtime (CLR) methods that expose EDM canonical functions - for use in or LINQ to Entities queries. - - - Note that this class was called EntityFunctions in some previous versions of Entity Framework. - - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Left EDM function to return a given - number of the leftmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the left of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Right EDM function to return a given - number of the rightmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the right of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Reverse EDM function to return a given - string with the order of the characters reversed. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The input string with the order of the characters reversed. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to - return the number of minutes that the given date/time is offset from UTC. This is generally between +780 - and -780 (+ or - 13 hrs). - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The offset of the input from UTC. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTimeOffset EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The time zone offset part of the new date. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of hours between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of minutes between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of seconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of milliseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of microseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of nanoseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - The string to escape special characters with, must only be a single character. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a Unicode string. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a non-Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a non-Unicode string. - - - - Describes the state of an entity. - - - - - The entity is not being tracked by the context. - An entity is in this state immediately after it has been created with the new operator - or with one of the Create methods. - - - - - The entity is being tracked by the context and exists in the database, and its property - values have not changed from the values in the database. - - - - - The entity is being tracked by the context but does not yet exist in the database. - - - - - The entity is being tracked by the context and exists in the database, but has been marked - for deletion from the database the next time SaveChanges is called. - - - - - The entity is being tracked by the context and exists in the database, and some or all of its - property values have been modified. - - - - - Represents information about a database connection. - - - - - Creates a new instance of DbConnectionInfo representing a connection that is specified in the application configuration file. - - The name of the connection string in the application configuration. - - - - Creates a new instance of DbConnectionInfo based on a connection string. - - The connection string to use for the connection. - The name of the provider to use for the connection. Use 'System.Data.SqlClient' for SQL Server. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Instances of this class are used to create DbConnection objects for - SQL Server LocalDb based on a given database name or connection string. - - - An instance of this class can be set on the class or in the - app.config/web.config for the application to cause all DbContexts created with no - connection information or just a database name to use SQL Server LocalDb by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Implementations of this interface are used to create DbConnection objects for - a type of database server based on a given database name. - An Instance is set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use a certain type of database server by default. - Two implementations of this interface are provided: - is used to create connections to Microsoft SQL Server, including EXPRESS editions. - is used to create connections to Microsoft SQL - Server Compact Editions. - Other implementations for other database servers can be added as needed. - Note that implementations should be thread safe or immutable since they may - be accessed by multiple threads at the same time. - - - - - Creates a connection based on the given database name or connection string. - - The database name or connection string. - An initialized DbConnection. - - - - Creates a new instance of the connection factory for the given version of LocalDb. - For SQL Server 2012 LocalDb use "v11.0". - For SQL Server 2014 and later LocalDb use "mssqllocaldb". - - The LocalDb version to use. - - - - Creates a new instance of the connection factory for the given version of LocalDb. - For SQL Server 2012 LocalDb use "v11.0". - For SQL Server 2014 and later LocalDb use "mssqllocaldb". - - The LocalDb version to use. - The connection string to use for options to the database other than the 'Initial Catalog', 'Data Source', and 'AttachDbFilename'. The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the database name when CreateConnection is called. The 'Data Source' will be set based on the LocalDbVersion argument. - - - - Creates a connection for SQL Server LocalDb based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - The connection string to use for options to the database other than the 'Initial Catalog', - 'Data Source', and 'AttachDbFilename'. - The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the - database name when CreateConnection is called. - The 'Data Source' will be set based on the LocalDbVersion argument. - The default is 'Integrated Security=True;'. - - - - - An implementation of that will use Code First Migrations - to update the database to the latest version. - - The type of the context. - The type of the migrations configuration to use during initialization. - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class that will use - the connection information from a context constructed using the default constructor - or registered factory if applicable - - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class specifying whether to - use the connection information from the context that triggered initialization to perform the migration. - - - If set to true the initializer is run using the connection information from the context that - triggered initialization. Otherwise, the connection information will be taken from a context constructed - using the default constructor or registered factory if applicable. - - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class specifying whether to - use the connection information from the context that triggered initialization to perform the migration. - Also allows specifying migrations configuration to use during initialization. - - - If set to true the initializer is run using the connection information from the context that - triggered initialization. Otherwise, the connection information will be taken from a context constructed - using the default constructor or registered factory if applicable. - - Migrations configuration to use during initialization. - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class that will - use a specific connection string from the configuration file to connect to - the database to perform the migration. - - The name of the connection string to use for migration. - - - - - - - Helper class that is used to configure a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a new column definition to store Binary data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The maximum allowable length of the array data. - Value indicating whether or not all data should be padded to the maximum length. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - Value indicating whether or not this column should be configured as a timestamp. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Boolean data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Byte data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store DateTime data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Decimal data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The numeric precision of the column. - The numeric scale of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Value indicating whether or not the database will generate values for this column during insert. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Double data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store GUID data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Single data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Short data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Integer data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Long data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store String data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The maximum allowable length of the string data. - Value indicating whether or not all data should be padded to the maximum length. - Value indicating whether or not the column supports Unicode content. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Time data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store DateTimeOffset data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store geography data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store geometry data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Helper class that is used to further configure a table being created from a CreateTable call on - - . - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The type that represents the table's columns. - - - - Initializes a new instance of the TableBuilder class. - - The table creation operation to be further configured. - The migration the table is created in. - - - - Specifies a primary key for the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The name of the primary key. If null is supplied, a default name will be generated. - A value indicating whether or not this is a clustered primary key. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - Specifies an index to be created on the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A lambda expression representing the property to be indexed. C#: t => t.PropertyOne VB.Net: Function(t) t.PropertyOne If multiple properties are to be indexed then specify an anonymous type including the properties. C#: t => new { t.PropertyOne, t.PropertyTwo } VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo } - The name of the index. - A value indicating whether or not this is a unique index. - A value indicating whether or not this is a clustered index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - Specifies a foreign key constraint to be created on the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table that the foreign key constraint targets. - A lambda expression representing the properties of the foreign key. C#: t => t.PropertyOne VB.Net: Function(t) t.PropertyOne If multiple properties make up the foreign key then specify an anonymous type including the properties. C#: t => new { t.PropertyOne, t.PropertyTwo } VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo } - A value indicating whether or not cascade delete should be configured on the foreign key constraint. - The name of this foreign key constraint. If no name is supplied, a default name will be calculated. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Base class for code-based migrations. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Operations to be performed during the upgrade process. - - - - - Operations to be performed during the downgrade process. - - - - - Adds an operation to create a new stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The action that specifies the parameters of the stored procedure. - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - The parameters in this create stored procedure operation. You do not need to specify this - type, it will be inferred from the parameter you supply. - - - - - Adds an operation to alter a stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to alter a stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The parameters in this alter stored procedure operation. You do not need to specify this - type, it will be inferred from the parameter you supply. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The action that specifies the parameters of the stored procedure. - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing stored procedure with the specified name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the procedure to drop. Schema name is optional, if no schema is specified then dbo is - assumed. - - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this create table operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - An object that allows further configuration of the table creation operation. - - - - Adds an operation to create a new table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this create table operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - Custom annotations that exist on the table to be created. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - An object that allows further configuration of the table creation operation. - - - - Adds an operation to handle changes in the annotations defined on tables. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - The custom annotations on the table that have changed. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new foreign key constraint. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - The column this foreign key references. If no value is supplied the primary key of the - principal table will be referenced. - - - A value indicating if cascade delete should be configured for the foreign key - relationship. If no value is supplied, cascade delete will be off. - - - The name of the foreign key constraint in the database. If no value is supplied a unique name will - be generated. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new foreign key constraint. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key columns. - - The table that contains the columns this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - The columns this foreign key references. If no value is supplied the primary key of the - principal table will be referenced. - - - A value indicating if cascade delete should be configured for the foreign key - relationship. If no value is supplied, cascade delete will be off. - - - The name of the foreign key constraint in the database. If no value is supplied a unique name will - be generated. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on its name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The name of the foreign key constraint in the database. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the column it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the column it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. - Schema name is optional, if no schema is specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. - Schema name is optional, if no schema is specified then dbo is assumed. - - The columns this foreign key references. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the columns it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key columns. - - The table that contains the columns this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to move a table to a new schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be moved. Schema name is optional, if no schema is specified then dbo is - assumed. - - The schema the table is to be moved to. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to move a stored procedure to a new schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure to be moved. Schema name is optional, if no schema is specified - then dbo is assumed. - - The schema the stored procedure is to be moved to. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a table. To change the schema of a table use MoveTable. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be renamed. Schema name is optional, if no schema is specified then dbo is - assumed. - - - The new name for the table. Schema name is optional, if no schema is specified then dbo is - assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a stored procedure. To change the schema of a stored procedure use MoveStoredProcedure - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure to be renamed. Schema name is optional, if no schema is specified - then dbo is assumed. - - - The new name for the stored procedure. Schema name is optional, if no schema is specified then - dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table that contains the column to be renamed. Schema name is optional, if no - schema is specified then dbo is assumed. - - The name of the column to be renamed. - The new name for the column. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to add a column to an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to add the column to. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be added. - - An action that specifies the column to be added. i.e. c => c.Int(nullable: false, - defaultValue: 3) - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the column from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the column from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to alter the definition of an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table the column exists in. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be changed. - - An action that specifies the new definition for the column. i.e. c => c.String(nullable: - false, defaultValue: "none") - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - The primary key column. - - The name of the primary key in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered primary key. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new primary key based on multiple columns. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The primary key columns. - - The name of the primary key in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered primary key. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing primary key that does not have the default name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the primary key to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing primary key that was created with the default name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create an index on a single column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to create the index on. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to create the index on. - - A value indicating if this is a unique index. If no value is supplied a non-unique index will be - created. - - - The name to use for the index in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create an index on multiple columns. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to create the index on. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the columns to create the index on. - - A value indicating if this is a unique index. If no value is supplied a non-unique index will be - created. - - - The name to use for the index in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an index based on its name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the index from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the index to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an index based on the columns it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the index from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column(s) the index targets. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename an index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table that contains the index to be renamed. Schema name is optional, if no - schema is specified then dbo is assumed. - - The name of the index to be renamed. - The new name for the index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL command or set of SQL commands. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The SQL to be executed. - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL file. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The SQL file to be executed. Relative paths are assumed to be relative to the current AppDomain's BaseDirectory. - - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL resource file. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The manifest resource name of the SQL resource file to be executed. - - The assembly containing the resource file. The calling assembly is assumed if not provided. - - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - - - - - - - - - - - - - - - - - - - Configuration relating to the use of migrations for a given model. - You will typically create a configuration class that derives - from rather than - using this class. - - - - - The default directory that migrations are stored in. - - - - - Initializes a new instance of the DbMigrationsConfiguration class. - - - - - Adds a new SQL generator to be used for a given database provider. - - Name of the database provider to set the SQL generator for. - The SQL generator to be used. - - - - Gets the SQL generator that is set to be used with a given database provider. - - Name of the database provider to get the SQL generator for. - The SQL generator that is set for the database provider. - - - - Adds a new factory for creating instances to be used for a given database provider. - - Name of the database provider to set the SQL generator for. - - A factory for creating instances for a given and - representing the default schema. - - - - - Gets the history context factory that is set to be used with a given database provider. - - Name of the database provider to get thefactory for. - The history context factory that is set for the database provider. - - - - Gets or sets a value indicating if automatic migrations can be used when migrating the database. - - - - - Gets or sets the string used to distinguish migrations belonging to this configuration - from migrations belonging to other configurations using the same database. - This property enables migrations from multiple different models to be applied to a single database. - - - - - Gets or sets a value indicating if data loss is acceptable during automatic migration. - If set to false an exception will be thrown if data loss may occur as part of an automatic migration. - - - - - Gets or sets the derived DbContext representing the model to be migrated. - - - - - Gets or sets the namespace used for code-based migrations. - - - - - Gets or sets the sub-directory that code-based migrations are stored in. - Note that this property must be set to a relative path for a sub-directory under the - Visual Studio project root; it cannot be set to an absolute path. - - - - - Gets or sets the code generator to be used when scaffolding migrations. - - - - - Gets or sets the assembly containing code-based migrations. - - - - - Gets or sets a value to override the connection of the database to be migrated. - - - - - Gets or sets the timeout value used for the individual commands within a - migration. A null value indicates that the default value of the underlying - provider will be used. - - - - - Configuration relating to the use of migrations for a given model. - - The context representing the model that this configuration applies to. - - - - Initializes a new instance of the DbMigrationsConfiguration class. - - - - - Runs after upgrading to the latest migration to allow seed data to be updated. - - - Note that the database may already contain seed data when this method runs. This means that - implementations of this method must check whether or not seed data is present and/or up-to-date - and then only make changes if necessary and in a non-destructive way. The - - can be used to help with this, but for seeding large amounts of data it may be necessary to do less - granular checks if performance is an issue. - If the database - initializer is being used, then this method will be called each time that the initializer runs. - If one of the , , - or initializers is being used, then this method will not be - called and the Seed method defined in the initializer should be used instead. - - Context to be used for updating seed data. - - - - - - - - - - - - - - - - - - - DbMigrator is used to apply existing migrations to a database. - DbMigrator can be used to upgrade and downgrade to any given migration. - To scaffold migrations based on changes to your model use - - - - - Base class for decorators that wrap the core - - - - - Initializes a new instance of the MigratorBase class. - - The migrator that this decorator is wrapping. - - - - Gets a list of the pending migrations that have not been applied to the database. - - List of migration Ids - - - - Updates the target database to the latest migration. - - - - - Updates the target database to a given migration. - - The migration to upgrade/downgrade to. - - - - Gets a list of the migrations that are defined in the assembly. - - List of migration Ids - - - - Gets a list of the migrations that have been applied to the database. - - List of migration Ids - - - - Gets the configuration being used for the migrations process. - - - - - Migration Id representing the state of the database before any migrations are applied. - - - - - Initializes a new instance of the DbMigrator class. - - Configuration to be used for the migration process. - - - - Gets all migrations that are defined in the configured migrations assembly. - - The list of migrations. - - - - Gets all migrations that have been applied to the target database. - - The list of migrations. - - - - Gets all migrations that are defined in the assembly but haven't been applied to the target database. - - The list of migrations. - - - - Updates the target database to a given migration. - - The migration to upgrade/downgrade to. - - - - Gets the configuration that is being used for the migration process. - - - - - A set of extension methods for - - - - - Adds or updates entities by key when SaveChanges is called. Equivalent to an "upsert" operation - from database terminology. - This method can useful when seeding data using Migrations. - - The type of entities to add or update. - The set to which the entities belong. - The entities to add or update. - - When the parameter is a custom or fake IDbSet implementation, this method will - attempt to locate and invoke a public, instance method with the same signature as this extension method. - - - - - Adds or updates entities by a custom identification expression when SaveChanges is called. - Equivalent to an "upsert" operation from database terminology. - This method can useful when seeding data using Migrations. - - The type of entities to add or update. - The set to which the entities belong. - An expression specifying the properties that should be used when determining whether an Add or Update operation should be performed. - The entities to add or update. - - When the parameter is a custom or fake IDbSet implementation, this method will - attempt to locate and invoke a public, instance method with the same signature as this extension method. - - - - - Generates C# code for a code-based migration. - - - - - Base class for providers that generate code for code-based migrations. - - - - - Generates the code that should be added to the users project. - - Unique identifier of the migration. - Operations to be performed by the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Gets the namespaces that must be output as "using" or "Imports" directives to handle - the code generated by the given operations. - - The operations for which code is going to be generated. - An ordered list of namespace names. - - - - Gets the default namespaces that must be output as "using" or "Imports" directives for - any code generated. - - A value indicating if this class is being generated for a code-behind file. - An ordered list of namespace names. - - - - Gets the instances that are being used. - - - - - - - - Generates the primary code file that the user can view and edit. - - Operations to be performed by the migration. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates the code behind file with migration metadata. - - Unique identifier of the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates a property to return the source or target model in the code behind file. - - Name of the property. - Value to be returned. - Text writer to add the generated code to. - - - - Generates class attributes. - - Text writer to add the generated code to. - A value indicating if this class is being generated for a code-behind file. - - - - Generates a namespace, using statements and class definition. - - Namespace that code should be generated in. - Name of the class that should be generated. - Text writer to add the generated code to. - Base class for the generated class. - A value indicating if this class is being generated for a code-behind file. - Namespaces for which using directives will be added. If null, then the namespaces returned from GetDefaultNamespaces will be used. - - - - Generates the closing code for a class that was started with WriteClassStart. - - Namespace that code should be generated in. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for the given annotation value, which may be null. The default behavior is to use an - if one is registered, otherwise call ToString on the annotation value. - - - Note that a can be registered to generate code for custom annotations - without the need to override the entire code generator. - - The name of the annotation for which code is needed. - The annotation value to generate. - The writer to which generated code should be written. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to specify the definition for a . - The parameter definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for an . - - The operation for which code should be generated. - The writer to which generated code should be written. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify a set of column names using a lambda expression. - - The columns to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify the definition for a . - - The column definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column of unknown data type. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Removes any invalid characters from the name of an database artifact. - - The name to be scrubbed. - The scrubbed name. - - - - Gets the type name to use for a column of the given data type. - - The data type to translate. - The type name to use in the generated migration. - - - - Quotes an identifier using appropriate escaping to allow it to be stored in a string. - - The identifier to be quoted. - The quoted identifier. - - - - Scaffolds code-based migrations to apply pending model changes to the database. - - - - - Initializes a new instance of the MigrationScaffolder class. - - Configuration to be used for scaffolding. - - - - Scaffolds a code based migration to apply any pending model changes to the database. - - The name to use for the scaffolded migration. - The scaffolded migration. - - - - Scaffolds a code based migration to apply any pending model changes to the database. - - The name to use for the scaffolded migration. - Whether or not to include model changes. - The scaffolded migration. - - - - Scaffolds the initial code-based migration corresponding to a previously run database initializer. - - The scaffolded migration. - - - - Gets or sets the namespace used in the migration's generated code. - By default, this is the same as MigrationsNamespace on the migrations - configuration object passed into the constructor. For VB.NET projects, this - will need to be updated to take into account the project's root namespace. - - - - - Represents a code-based migration that has been scaffolded and is ready to be written to a file. - - - - - Gets or sets the unique identifier for this migration. - Typically used for the file name of the generated code. - - - - - Gets or sets the scaffolded migration code that the user can edit. - - - - - Gets or sets the scaffolded migration code that should be stored in a code behind file. - - - - - Gets or sets the programming language used for this migration. - Typically used for the file extension of the generated code. - - - - - Gets or sets the subdirectory in the user's project that this migration should be saved in. - - - - - Gets a dictionary of string resources to add to the migration resource file. - - - - - Gets or sets whether the migration was re-scaffolded. - - - - - Represents an exception that occurred while running an operation in another AppDomain in the - . - - - - - Initializes a new instance of the ToolingException class. - - - - - Initializes a new instance of the class with a specified error message. - - The message that describes the error. - - - - Initializes a new instance of the ToolingException class. - - Error that explains the reason for the exception. - The type of the exception that was thrown. - The stack trace of the exception that was thrown. - - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the type of the exception that was thrown. - - - - - Gets the stack trace of the exception that was thrown. - - - - - Helper class that is used by design time tools to run migrations related - commands that need to interact with an application that is being edited - in Visual Studio. - Because the application is being edited the assemblies need to - be loaded in a separate AppDomain to ensure the latest version - is always loaded. - The App/Web.config file from the startup project is also copied - to ensure that any configuration is applied. - - - - - Initializes a new instance of the ToolingFacade class. - - The name of the assembly that contains the migrations configuration to be used. - The name of the assembly that contains the DbContext to be used. - The namespace qualified name of migrations configuration to be used. - The working directory containing the compiled assemblies. - The path of the config file from the startup project. - The path of the application data directory from the startup project. Typically the App_Data directory for web applications or the working directory for executables. - The connection to the database to be migrated. If null is supplied, the default connection for the context will be used. - - - - Releases all unmanaged resources used by the facade. - - - - - Gets the fully qualified name of all types deriving from . - - All context types found. - - - - Gets the fully qualified name of a type deriving from . - - The name of the context type. If null, the single context type found in the assembly will be returned. - The context type found. - - - - Gets a list of all migrations that have been applied to the database. - - Ids of applied migrations. - - - - Gets a list of all migrations that have not been applied to the database. - - Ids of pending migrations. - - - - Updates the database to the specified migration. - - The Id of the migration to migrate to. If null is supplied, the database will be updated to the latest migration. - Value indicating if data loss during automatic migration is acceptable. - - - - Generates a SQL script to migrate between two migrations. - - The migration to update from. If null is supplied, a script to update the current database will be produced. - The migration to update to. If null is supplied, a script to update to the latest migration will be produced. - Value indicating if data loss during automatic migration is acceptable. - The generated SQL script. - - - - Scaffolds a code-based migration to apply any pending model changes. - - The name for the generated migration. - The programming language of the generated migration. - The root namespace of the project the migration will be added to. - Whether or not to include model changes. - The scaffolded migration. - - - - Scaffolds the initial code-based migration corresponding to a previously run database initializer. - - The programming language of the generated migration. - The root namespace of the project the migration will be added to. - The scaffolded migration. - - - - - - - Releases all resources used by the facade. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - Gets or sets an action to be run to log information. - - - - - Gets or sets an action to be run to log warnings. - - - - - Gets or sets an action to be run to log verbose information. - - - - - Base class for loggers that can be used for the migrations process. - - - - - Logs an informational message. - - The message to be logged. - - - - Logs a warning that the user should be made aware of. - - The message to be logged. - - - - Logs some additional information that should only be presented to the user if they request verbose output. - - The message to be logged. - - - - Generates VB.Net code for a code-based migration. - - - - - - - - Generates the primary code file that the user can view and edit. - - Operations to be performed by the migration. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates the code behind file with migration metadata. - - Unique identifier of the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates a property to return the source or target model in the code behind file. - - Name of the property. - Value to be returned. - Text writer to add the generated code to. - - - - Generates class attributes. - - Text writer to add the generated code to. - A value indicating if this class is being generated for a code-behind file. - - - - Generates a namespace, using statements and class definition. - - Namespace that code should be generated in. - Name of the class that should be generated. - Text writer to add the generated code to. - Base class for the generated class. - A value indicating if this class is being generated for a code-behind file. - Namespaces for which Imports directives will be added. If null, then the namespaces returned from GetDefaultNamespaces will be used. - - - - Generates the closing code for a class that was started with WriteClassStart. - - Namespace that code should be generated in. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for the given annotation value, which may be null. The default behavior is to use an - if one is registered, otherwise call ToString on the annotation value. - - - Note that a can be registered to generate code for custom annotations - without the need to override the entire code generator. - - The name of the annotation for which code is needed. - The annotation value to generate. - The writer to which generated code should be written. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The parameter model definition to generate code for. - Text writer to add the generated code to. - true to include the column name in the definition; otherwise, false. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for an . - - The operation for which code should be generated. - The writer to which generated code should be written. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify a set of column names using a lambda expression. - - The columns to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify the definition for a . - - The column definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column of unknown data type. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Removes any invalid characters from the name of an database artifact. - - The name to be scrubbed. - The scrubbed name. - - - - Gets the type name to use for a column of the given data type. - - The data type to translate. - The type name to use in the generated migration. - - - - Quotes an identifier using appropriate escaping to allow it to be stored in a string. - - The identifier to be quoted. - The quoted identifier. - - - - This class is used by Code First Migrations to read and write migration history - from the database. - To customize the definition of the migrations history table you can derive from - this class and override OnModelCreating. Derived instances can either be registered - on a per migrations configuration basis using , - or globally using . - - - - - The default name used for the migrations history table. - - - - - Initializes a new instance of the HistoryContext class. - If you are creating a derived history context you will generally expose a constructor - that accepts these same parameters and passes them to this base constructor. - - - An existing connection to use for the new context. - - - The default schema of the model being migrated. - This schema will be used for the migrations history table unless a different schema is configured in OnModelCreating. - - - - - Applies the default configuration for the migrations history table. If you override - this method it is recommended that you call this base implementation before applying your - custom configuration. - - The builder that defines the model for the context being created. - - - - Gets the key used to locate a model that was previously built for this context. This is used - to avoid processing OnModelCreating and calculating the model every time a new context instance is created. - By default this property returns the default schema. - In most cases you will not need to override this property. However, if your implementation of OnModelCreating - contains conditional logic that results in a different model being built for the same database provider and - default schema you should override this property and calculate an appropriate key. - - - - - Gets the default schema of the model being migrated. - This schema will be used for the migrations history table unless a different schema is configured in OnModelCreating. - - - - - Gets or sets a that can be used to read and write instances. - - - - - This class is used by Code First Migrations to read and write migration history - from the database. - - - - - Gets or sets the Id of the migration this row represents. - - - - - Gets or sets a key representing to which context the row applies. - - - - - Gets or sets the state of the model after this migration was applied. - - - - - Gets or sets the version of Entity Framework that created this entry. - - - - - Represents an error that occurs when an automatic migration would result in data loss. - - - - - Initializes a new instance of the AutomaticDataLossException class. - - - - - Initializes a new instance of the AutomaticDataLossException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents an error that occurs when there are pending model changes after applying the last migration and automatic migration is disabled. - - - - - Initializes a new instance of the AutomaticMigrationsDisabledException class. - - - - - Initializes a new instance of the AutomaticMigrationsDisabledException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Provides additional metadata about a code-based migration. - - - - - Gets the unique identifier for the migration. - - - - - Gets the state of the model before this migration is run. - - - - - Gets the state of the model after this migration is run. - - - - - Decorator to provide logging during migrations operations.. - - - - - Initializes a new instance of the MigratorLoggingDecorator class. - - The migrator that this decorator is wrapping. - The logger to write messages to. - - - - Decorator to produce a SQL script instead of applying changes to the database. - Using this decorator to wrap will prevent - from applying any changes to the target database. - - - - - Initializes a new instance of the MigratorScriptingDecorator class. - - The migrator that this decorator is wrapping. - - - - Produces a script to update the database. - - - The migration to update from. If null is supplied, a script to update the - current database will be produced. - - - The migration to update to. If null is supplied, - a script to update to the latest migration will be produced. - - The generated SQL script. - - - - Represents a column being added to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be added to. - Details of the column being added. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column should be added to. - - - - - Gets the details of the column being added. - - - - - Gets an operation that represents dropping the added column. - - - - - - - - Represents a foreign key constraint being added to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Base class for changes that affect foreign key constraints. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ForeignKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets the name of the table that the foreign key constraint targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the name of the table that the foreign key columns exist in. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - The names of the foreign key column(s). - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this foreign key constraint. - - - - - Gets or sets the name of this foreign key constraint. - If no name is supplied, a default name will be calculated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddForeignKeyOperation class. - The PrincipalTable, PrincipalColumns, DependentTable and DependentColumns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to create an index on the foreign key column(s). - - An operation to add the index. - - - - The names of the column(s) that the foreign key constraint should target. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating if cascade delete should be configured on the foreign key constraint. - - - - - Gets an operation to drop the foreign key constraint. - - - - - - - - Represents adding a primary key to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Common base class to represent operations affecting primary keys. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Returns the default name for the primary key. - - The target table name. - The default primary key name. - - - - Initializes a new instance of the PrimaryKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets the name of the table that contains the primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets the column(s) that make up the primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this primary key. - - - - - Gets or sets the name of this primary key. - If no name is supplied, a default name will be calculated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - - - - Gets or sets whether this is a clustered primary key. - - - - - Initializes a new instance of the AddPrimaryKeyOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the primary key. - - - - - Represents altering an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AlterColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table that the column belongs to. - Details of what the column should be altered to. - Value indicating if this change will result in data loss. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the AlterColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table that the column belongs to. - Details of what the column should be altered to. - Value indicating if this change will result in data loss. - An operation to revert this alteration of the column. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table that the column belongs to. - - - - - Gets the new definition for the column. - - - - - Gets an operation that represents reverting the alteration. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents information about a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ColumnModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this column. - - - - Initializes a new instance of the ColumnModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this column. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Determines if this column is a narrower data type than another column. - Used to determine if altering the supplied column definition to this definition will result in data loss. - - The column to compare to. - Details of the database provider being used. - True if this column is of a narrower data type. - - - - Gets the CLR type corresponding to the database type of this column. - - - - - Gets the default value for the CLR type corresponding to the database type of this column. - - - - - Gets or sets a value indicating if this column can store null values. - - - - - Gets or sets a value indicating if values for this column will be generated by the database using the identity pattern. - - - - - Gets or sets a value indicating if this property model should be configured as a timestamp. - - - - - Gets or sets the custom annotations that have changed on the column. - - - - - Represents creating a database index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Common base class for operations affecting indexes. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a default index name based on the supplied column names. - - The column names used to create a default index name. - A default index name. - - - - Initializes a new instance of the IndexOperation class. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets or sets the table the index belongs to. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets the columns that are indexed. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this index. - - - - - Gets or sets the name of this index. - If no name is supplied, a default name will be calculated. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the CreateIndexOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets a value indicating if this is a unique index. - - - - - Gets an operation to drop this index. - - - - - - - - Gets or sets whether this is a clustered index. - - - - - Represents creating a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the CreateTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be created. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the CreateTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be created. - Custom annotations that exist on the table to be created. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be created. - - - - - Gets the columns to be included in the new table. - - - - - Gets or sets the primary key for the new table. - - - - - Gets custom annotations that exist on the table to be created. - - - - - Gets an operation to drop the table. - - - - - - - - Represents a column being dropped from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - The operation that represents reverting the drop operation. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - The operation that represents reverting the drop operation. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column should be dropped from. - - - - - Gets the name of the column to be dropped. - - - - - Gets custom annotations that exist on the column that is being dropped. - - - - - Gets an operation that represents reverting dropping the column. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents a foreign key constraint being dropped from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropForeignKeyOperation class. - The PrincipalTable, DependentTable and DependentColumns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropForeignKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc.. - - The operation that represents reverting dropping the foreign key constraint. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the associated index on the foreign key column(s). - - An operation to drop the index. - - - - Gets an operation that represents reverting dropping the foreign key constraint. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents dropping an existing index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The operation that represents reverting dropping the index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation that represents reverting dropping the index. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents dropping a primary key from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropPrimaryKeyOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to add the primary key. - - - - - Used when altering the migrations history table so that the table can be rebuilt rather than just dropping and adding the primary key. - - - The create table operation for the migrations history table. - - - - - Represents dropping an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - An operation that represents reverting dropping the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - An operation that represents reverting dropping the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be dropped. - - - - - Gets custom annotations that exist on the table that is being dropped. - - - - - Gets custom annotations that exist on columns of the table that is being dropped. - - - - - Gets an operation that represents reverting dropping the table. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Operation representing DML changes to the migrations history table. - The migrations history table is used to store a log of the migrations that have been applied to the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the HistoryOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A sequence of command trees representing the operations being applied to the history table. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - A sequence of commands representing the operations being applied to the history table. - - - - - - - - Represents moving a table from one schema to another. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the MoveTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be moved. - Name of the schema to move the table to. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be moved. - - - - - Gets the name of the schema to move the table to. - - - - - Gets an operation that moves the table back to its original schema. - - - - - - - - Used when altering the migrations history table so that data can be moved to the new table. - - - The context key for the model. - - - - - Gets a value that indicates whether this is a system table. - - - true if the table is a system table; otherwise, false. - - - - - Used when altering the migrations history table so that the table can be rebuilt rather than just dropping and adding the primary key. - - - The create table operation for the migrations history table. - - - - - Represents renaming an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table the column belongs to. - Name of the column to be renamed. - New name for the column. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column belongs to. - - - - - Gets the name of the column to be renamed. - - - - - Gets the new name for the column. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents renaming an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be renamed. - New name for the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be renamed. - - - - - Gets the new name for the table. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents a provider specific SQL statement to be executed directly against the target database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the SqlOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The SQL to be executed. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the SQL to be executed. - - - - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - - - - Common base class for providers that convert provider agnostic migration - operations into database provider specific SQL commands. - - - - - Converts a set of migration operations into database provider specific SQL. - - The operations to be converted. - Token representing the version of the database being targeted. - A list of SQL statements to be executed to perform the migration operations. - - - - Generates the SQL body for a stored procedure. - - The command trees representing the commands for an insert, update or delete operation. - The rows affected parameter name. - The provider manifest token. - The SQL body for the stored procedure. - - - - Determines if a provider specific exception corresponds to a database-level permission denied error. - - The database exception. - true if the supplied exception corresponds to a database-level permission denied error; otherwise false. - - - - Builds the store type usage for the specified using the facets from the specified . - - Name of the store type. - The target property. - A store-specific TypeUsage - - - - Gets or sets the provider manifest. - - - The provider manifest. - - - - - Represents a migration operation that has been translated into a SQL statement. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the SQL to be executed to perform this migration operation. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - Gets or sets the batch terminator for the database provider. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The batch terminator for the database provider. - - - - - Extension methods for . - - - - - Returns an implementation that stays in sync with the given - . - - The element type. - The collection that the binding list will stay in sync with. - The binding list. - - - - Represents data in a geodetic (round earth) coordinate system. - - - - - Creates a new value based on the specified well known binary value. - - - A new DbGeography value as defined by the well known binary value with the default geography coordinate system identifier (SRID)( - - ). - - A byte array that contains a well known binary representation of the geography value. - - - - Creates a new value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new line value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new point value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new polygon value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Returns the multiline value from a binary value. - The multiline value from a binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multipoint value from a well-known binary value. - The multipoint value from a well-known binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multi polygon value from a well-known binary value. - The multi polygon well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new DbGeography value as defined by the GML value with the default geography coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geography value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the GML value with the specified coordinate system identifier. - A string that contains a Geography Markup Language (GML) representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new value based on the specified well known text value. - - - A new DbGeography value as defined by the well known text value with the default geography coordinate system identifier (SRID) ( - - ). - - A string that contains a well known text representation of the geography value. - - - - Creates a new value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new line value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new point value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new polygon value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Returns the multiline value from a well-known text value. - The multiline value from a well-known text value. - The well-known text. - The coordinate system identifier. - - - Returns the multipoint value from a well-known text value. - The multipoint value from a well-known text value. - The well-known text value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known text value. - The multi polygon value from a well-known text value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Generates the well known text representation of this DbGeography value. Includes only Longitude and Latitude for points. - A string containing the well known text representation of this DbGeography value. - - - Generates the well known binary representation of this DbGeography value. - The well-known binary representation of this DbGeography value. - - - Generates the Geography Markup Language (GML) representation of this DbGeography value. - A string containing the GML representation of this DbGeography value. - - - Determines whether this DbGeography is spatially equal to the specified DbGeography argument. - true if other is spatially equal to this geography value; otherwise false. - The geography value that should be compared with this geography value for equality. - - - Determines whether this DbGeography is spatially disjoint from the specified DbGeography argument. - true if other is disjoint from this geography value; otherwise false. - The geography value that should be compared with this geography value for disjointness. - - - Determines whether this DbGeography value spatially intersects the specified DbGeography argument. - true if other intersects this geography value; otherwise false. - The geography value that should be compared with this geography value for intersection. - - - Returns a geography object that represents the union of all points whose distance from a geography instance is less than or equal to a specified value. - A geography object that represents the union of all points - The distance. - - - Computes the distance between the closest points in this DbGeography value and another DbGeography value. - A double value that specifies the distance between the two closest points in this geography value and other. - The geography value for which the distance from this value should be computed. - - - Computes the intersection of this DbGeography value and another DbGeography value. - A new DbGeography value representing the intersection between this geography value and other. - The geography value for which the intersection with this value should be computed. - - - Computes the union of this DbGeography value and another DbGeography value. - A new DbGeography value representing the union between this geography value and other. - The geography value for which the union with this value should be computed. - - - Computes the difference of this DbGeography value and another DbGeography value. - A new DbGeography value representing the difference between this geography value and other. - The geography value for which the difference with this value should be computed. - - - Computes the symmetric difference of this DbGeography value and another DbGeography value. - A new DbGeography value representing the symmetric difference between this geography value and other. - The geography value for which the symmetric difference with this value should be computed. - - - Returns an element of this DbGeography value from a specific position, if it represents a geography collection. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a collection of other geography values; otherwise null.</returns> - An element of this DbGeography value from a specific position - The index. - - - Returns an element of this DbGeography value from a specific position, if it represents a linestring or linear ring. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a linestring or linear ring; otherwise null.</returns> - An element of this DbGeography value from a specific position - The index. - - - Returns a string representation of the geography value. - A string representation of the geography value. - - - Gets the default coordinate system id (SRID) for geography values (WGS 84) - The default coordinate system id (SRID) for geography values (WGS 84) - - - Gets a representation of this DbGeography value that is specific to the underlying provider that constructed it. - A representation of this DbGeography value. - - - - Gets the spatial provider that will be used for operations on this spatial type. - - - - Gets or sets a data contract serializable well known representation of this DbGeography value. - A data contract serializable well known representation of this DbGeography value. - - - Gets the identifier associated with the coordinate system. - The identifier associated with the coordinate system. - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of the given value. - - - - Gets the spatial type name of the DBGeography. - The spatial type name of the DBGeography. - - - Gets a nullable Boolean value indicating whether this DbGeography value is empty. - True if this DbGeography value is empty; otherwise, false. - - - Gets the number of elements in this DbGeography value, if it represents a geography collection. <returns>The number of elements in this geography value, if it represents a collection of other geography values; otherwise null.</returns> - The number of elements in this DbGeography value. - - - Gets the Latitude coordinate of this DbGeography value, if it represents a point. <returns>The Latitude coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The Latitude coordinate of this DbGeography value. - - - Gets the Longitude coordinate of this DbGeography value, if it represents a point. <returns>The Longitude coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The Longitude coordinate of this DbGeography value. - - - Gets the elevation (Z coordinate) of this DbGeography value, if it represents a point. <returns>The elevation (Z coordinate) value of this geography value, if it represents a point; otherwise null.</returns> - The elevation (Z coordinate) of this DbGeography value. - - - Gets the M (Measure) coordinate of this DbGeography value, if it represents a point. <returns>The M (Measure) coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The M (Measure) coordinate of this DbGeography value. - - - Gets a nullable double value that indicates the length of this DbGeography value, which may be null if this value does not represent a curve. - A nullable double value that indicates the length of this DbGeography value. - - - Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve. - A DbGeography value representing the start point of this value. - - - Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve. - A DbGeography value representing the start point of this value. - - - Gets a nullable Boolean value indicating whether this DbGeography value is closed, which may be null if this value does not represent a curve. - True if this DbGeography value is closed; otherwise, false. - - - Gets the number of points in this DbGeography value, if it represents a linestring or linear ring. <returns>The number of elements in this geography value, if it represents a linestring or linear ring; otherwise null.</returns> - The number of points in this DbGeography value. - - - Gets a nullable double value that indicates the area of this DbGeography value, which may be null if this value does not represent a surface. - A nullable double value that indicates the area of this DbGeography value. - - - - A data contract serializable representation of a value. - - - - Gets or sets the coordinate system identifier (SRID) of this value. - - - Gets or sets the well known text representation of this value. - - - Gets or sets the well known binary representation of this value. - - - - Represents geometric shapes. - - - - - Creates a new value based on the specified well known binary value. - - - A new DbGeometry value as defined by the well known binary value with the default geometry coordinate system identifier ( - - ). - - A byte array that contains a well known binary representation of the geometry value. - wellKnownBinary - - - - Creates a new value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - wellKnownBinary - coordinateSystemId - - - - Creates a new line value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - lineWellKnownBinary - coordinateSystemId - - - - Creates a new point value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - pointWellKnownBinary - coordinateSystemId - - - - Creates a new polygon value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - polygonWellKnownBinary - coordinateSystemId - - - Returns the multiline value from a binary value. - The multiline value from a binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multipoint value from a well-known binary value. - The multipoint value from a well-known binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multipoint value from a well-known text value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryCollectionWellKnownBinary - coordinateSystemId - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new DbGeometry value as defined by the GML value with the default geometry coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - geometryMarkup - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the GML value with the specified coordinate system identifier. - A string that contains a Geography Markup Language (GML) representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryMarkup - coordinateSystemId - - - - Creates a new value based on the specified well known text value. - - - A new DbGeometry value as defined by the well known text value with the default geometry coordinate system identifier (SRID) ( - - ). - - A string that contains a well known text representation of the geometry value. - wellKnownText - - - - Creates a new value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - wellKnownText - coordinateSystemId - - - - Creates a new line value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - lineWellKnownText - coordinateSystemId - - - - Creates a new point value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - pointWellKnownText - coordinateSystemId - - - - Creates a new polygon value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - polygonWellKnownText - coordinateSystemId - - - Returns the multiline value from a well-known text value. - The multiline value from a well-known text value. - The well-known text. - The coordinate system identifier. - - - Returns the multipoint value from a well-known text value. - The multipoint value from a well-known text value. - The well-known text value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multi polygon value from a well-known binary value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryCollectionWellKnownText - coordinateSystemId - - - Generates the well known text representation of this DbGeometry value. Includes only X and Y coordinates for points. - A string containing the well known text representation of this DbGeometry value. - - - Generates the well known binary representation of this DbGeometry value. - The well-known binary representation of this DbGeometry value. - - - Generates the Geography Markup Language (GML) representation of this DbGeometry value. - A string containing the GML representation of this DbGeometry value. - - - Determines whether this DbGeometry is spatially equal to the specified DbGeometry argument. - true if other is spatially equal to this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for equality. - other - - - Determines whether this DbGeometry is spatially disjoint from the specified DbGeometry argument. - true if other is disjoint from this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for disjointness. - other - - - Determines whether this DbGeometry value spatially intersects the specified DbGeometry argument. - true if other intersects this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for intersection. - other - - - Determines whether this DbGeometry value spatially touches the specified DbGeometry argument. - true if other touches this geometry value; otherwise false. - The geometry value that should be compared with this geometry value. - other - - - Determines whether this DbGeometry value spatially crosses the specified DbGeometry argument. - true if other crosses this geometry value; otherwise false. - The geometry value that should be compared with this geometry value. - other - - - Determines whether this DbGeometry value is spatially within the specified DbGeometry argument. - true if this geometry value is within other; otherwise false. - The geometry value that should be compared with this geometry value for containment. - other - - - Determines whether this DbGeometry value spatially contains the specified DbGeometry argument. - true if this geometry value contains other; otherwise false. - The geometry value that should be compared with this geometry value for containment. - other - - - Determines whether this DbGeometry value spatially overlaps the specified DbGeometry argument. - true if this geometry value overlaps other; otherwise false. - The geometry value that should be compared with this geometry value for overlap. - other - - - Determines whether this DbGeometry value spatially relates to the specified DbGeometry argument according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern. - true if this geometry value relates to other according to the specified intersection pattern matrix; otherwise false. - The geometry value that should be compared with this geometry value for relation. - A string that contains the text representation of the (DE-9IM) intersection pattern that defines the relation. - othermatrix - - - Returns a geometry object that represents the union of all points whose distance from a geometry instance is less than or equal to a specified value. - A geometry object that represents the union of all points. - The distance. - - - Computes the distance between the closest points in this DbGeometry value and another DbGeometry value. - A double value that specifies the distance between the two closest points in this geometry value and other. - The geometry value for which the distance from this value should be computed. - other - - - Computes the intersection of this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the intersection between this geometry value and other. - The geometry value for which the intersection with this value should be computed. - other - - - Computes the union of this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the union between this geometry value and other. - The geometry value for which the union with this value should be computed. - other - - - Computes the difference between this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the difference between this geometry value and other. - The geometry value for which the difference with this value should be computed. - other - - - Computes the symmetric difference between this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the symmetric difference between this geometry value and other. - The geometry value for which the symmetric difference with this value should be computed. - other - - - Returns an element of this DbGeometry value from a specific position, if it represents a geometry collection. <param name="index">The position within this geometry value from which the element should be taken.</param><returns>The element in this geometry value at the specified position, if it represents a collection of other geometry values; otherwise null.</returns> - An element of this DbGeometry value from a specific position. - The index. - - - Returns an element of this DbGeometry value from a specific position, if it represents a linestring or linear ring. <param name="index">The position within this geometry value from which the element should be taken.</param><returns>The element in this geometry value at the specified position, if it represents a linestring or linear ring; otherwise null.</returns> - An element of this DbGeometry value from a specific position. - The index. - - - Returns an interior ring from this DbGeometry value at a specific position, if it represents a polygon. <param name="index">The position within this geometry value from which the interior ring should be taken.</param><returns>The interior ring in this geometry value at the specified position, if it represents a polygon; otherwise null.</returns> - An interior ring from this DbGeometry value at a specific position. - The index. - - - Returns a string representation of the geometry value. - A string representation of the geometry value. - - - Gets the default coordinate system id (SRID) for geometry values. - The default coordinate system id (SRID) for geometry values. - - - Gets a representation of this DbGeometry value that is specific to the underlying provider that constructed it. - A representation of this DbGeometry value. - - - - Gets the spatial provider that will be used for operations on this spatial type. - - - - Gets or sets a data contract serializable well known representation of this DbGeometry value. - A data contract serializable well known representation of this DbGeometry value. - - - Gets the coordinate system identifier of the DbGeometry object. - The coordinate system identifier of the DbGeometry object. - - - Gets the boundary of the DbGeometry objects. - The boundary of the DbGeometry objects. - - - - Gets the dimension of the given value or, if the value is a collection, the dimension of its largest element. - - - The dimension of the given value. - - - - Gets the envelope (minimum bounding box) of this DbGeometry value, as a geometry value. - The envelope (minimum bounding box) of this DbGeometry value. - - - Gets a spatial type name representation of this DbGeometry value. - A spatial type name representation of this DbGeometry value. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is empty, which may be null if this value does not represent a curve. - True if this DbGeometry value is empty; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is simple. - True if this DbGeometry value is simple; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is valid. - True if this DbGeometry value is valid; otherwise, false. - - - Gets the convex hull of this DbGeometry value as another DbGeometry value. - The convex hull of this DbGeometry value as another DbGeometry value. - - - Gets the number of elements in this DbGeometry value, if it represents a geometry collection. <returns>The number of elements in this geometry value, if it represents a collection of other geometry values; otherwise null.</returns> - The number of elements in this DbGeometry value. - - - Gets the X coordinate of this DbGeometry value, if it represents a point. <returns>The X coordinate value of this geometry value, if it represents a point; otherwise null.</returns> - The X coordinate of this DbGeometry value. - - - Gets the Y coordinate of this DbGeometry value, if it represents a point. <returns>The Y coordinate value of this geometry value, if it represents a point; otherwise null.</returns> - The Y coordinate of this DbGeometry value. - - - Gets the elevation (Z coordinate) of this DbGeometry value, if it represents a point. <returns>The elevation (Z coordinate) of this geometry value, if it represents a point; otherwise null.</returns> - The elevation (Z coordinate) of this DbGeometry value. - - - Gets the Measure (M coordinate) of this DbGeometry value, if it represents a point. <returns>The Measure (M coordinate) value of this geometry value, if it represents a point; otherwise null.</returns> - The Measure (M coordinate) of this DbGeometry value. - - - Gets a nullable double value that indicates the length of this DbGeometry value, which may be null if this value does not represent a curve. - The length of this DbGeometry value. - - - Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve. - A DbGeometry value representing the start point of this value. - - - Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve. - A DbGeometry value representing the start point of this value. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is closed, which may be null if this value does not represent a curve. - True if this DbGeometry value is closed; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is a ring, which may be null if this value does not represent a curve. - True if this DbGeometry value is a ring; otherwise, false. - - - Gets the number of points in this DbGeometry value, if it represents a linestring or linear ring. <returns>The number of elements in this geometry value, if it represents a linestring or linear ring; otherwise null.</returns> - The number of points in this DbGeometry value. - - - Gets a nullable double value that indicates the area of this DbGeometry value, which may be null if this value does not represent a surface. - A nullable double value that indicates the area of this DbGeometry value. - - - Gets the DbGeometry value that represents the centroid of this DbGeometry value, which may be null if this value does not represent a surface. - The DbGeometry value that represents the centroid of this DbGeometry value. - - - Gets a point on the surface of this DbGeometry value, which may be null if this value does not represent a surface. - A point on the surface of this DbGeometry value. - - - Gets the DbGeometry value that represents the exterior ring of this DbGeometry value, which may be null if this value does not represent a polygon. - The DbGeometry value that represents the exterior ring of this DbGeometry value. - - - Gets the number of interior rings in this DbGeometry value, if it represents a polygon. <returns>The number of elements in this geometry value, if it represents a polygon; otherwise null.</returns> - The number of interior rings in this DbGeometry value. - - - - A data contract serializable representation of a value. - - - - Gets or sets the coordinate system identifier (SRID) of this value. - - - Gets or sets the well known text representation of this value. - - - Gets or sets the well known binary representation of this value. - - - - A provider-independent service API for geospatial (Geometry/Geography) type support. - - - - - When implemented in derived types, reads an instance of from the column at the specified column ordinal. - - The instance of DbGeography at the specified column value - The ordinal of the column that contains the geography value - - - - When implemented in derived types, reads an instance of from the column at the specified column ordinal. - - The instance of DbGeometry at the specified column value - The ordinal of the data record column that contains the provider-specific geometry data - - - - Returns whether the column at the specified column ordinal is of geography type - - The column ordinal. - - true if the column at the specified column ordinal is of geography type; - false otherwise. - - - - - Returns whether the column at the specified column ordinal is of geometry type - - The column ordinal. - - true if the column at the specified column ordinal is of geometry type; - false otherwise. - - - - - A provider-independent service API for geospatial (Geometry/Geography) type support. - - - - - This method is intended for use by derived implementations of - - after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation. - - - A new instance that contains the specified providerValue and uses the specified spatialServices as its spatial implementation. - - - The spatial services instance that the returned value will depend on for its implementation of spatial functionality. - - The provider value. - - - - Creates a new value based on a provider-specific value that is compatible with this spatial services implementation. - - - A new value backed by this spatial services implementation and the specified provider value. - - A provider-specific value that this spatial services implementation is capable of interpreting as a geography value. - A new DbGeography value backed by this spatial services implementation and the specified provider value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known - - representation. - - A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation. - - An instance of that contains the well-known representation of a geography value. - - - - - Creates an instance of that represents the specified - - value using one or both of the standard well-known spatial formats. - - - The well-known representation of geographyValue, as a new - - . - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on the specified well-known binary value. - - - A new value as defined by the well-known binary value with the default - - coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - - - Creates a new value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known binary value and coordinate system identifier. - - - The new multiline value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known binary value and coordinate system identifier. - - - A new multipoint value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known binary value and coordinate system identifier. - - - A new multi polygon value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified well-known text value. - - - A new value as defined by the well-known text value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - - - Creates a new value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known text value and coordinate system identifier. - - - A new multiline value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known text value and coordinate system identifier. - - - A new multipoint value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known text value and coordinate system identifier. - - - A new multi polygon value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new value as defined by the GML value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a Geometry Markup Language (GML) representation of the geography value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - - A new value as defined by the GML value with the specified coordinate system identifier (SRID). - - A string that contains a Geometry Markup Language (GML) representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Returns the coordinate system identifier of the given value. - - - The coordinate system identifier of the given value. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of geographyValue, or the largest element dimension if - - is a collection. - - The geography value for which the dimension value should be retrieved. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that indicates the spatial type name of the given - - value. - - - The spatial type name of the given value. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is empty. - - - True if the given value is empty; otherwise, false. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known text representation of the given value. This value should include only the Longitude and Latitude of points. - - A string containing the well-known text representation of geographyValue. - The geography value for which the well-known text should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a text representation of with elevation and measure. - - - A text representation of . - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known binary representation of the given value. - - - The well-known binary representation of the given value. - - The geography value for which the well-known binary should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Generates the Geography Markup Language (GML) representation of this - - value. - - A string containing the GML representation of this DbGeography value. - The geography value for which the GML should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially equal. - - true if geographyValue is spatially equal to otherGeography; otherwise false. - The first geography value to compare for equality. - The second geography value to compare for equality. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially disjoint. - - true if geographyValue is disjoint from otherGeography; otherwise false. - The first geography value to compare for disjointness. - The second geography value to compare for disjointness. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially intersect. - - true if geographyValue intersects otherGeography; otherwise false. - The first geography value to compare for intersection. - The second geography value to compare for intersection. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Creates a geography value representing all points less than or equal to distance from the given - - value. - - A new DbGeography value representing all points less than or equal to distance from geographyValue. - The geography value. - A double value specifying how far from geographyValue to buffer. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the distance between the closest points in two values. - - A double value that specifies the distance between the two closest points in geographyValue and otherGeography. - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the intersection of two values. - - - A new value representing the intersection of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the union of two values. - - - A new value representing the union of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the difference of two values. - - A new DbGeography value representing the difference of geographyValue and otherGeography. - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the symmetric difference of two values. - - - A new value representing the symmetric difference of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns the number of elements in the given value, if it represents a geography collection. - - The number of elements in geographyValue, if it represents a collection of other geography values; otherwise null. - The geography value, which need not represent a geography collection. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an element of the given value, if it represents a geography collection. - - The element in geographyValue at position index, if it represents a collection of other geography values; otherwise null. - The geography value, which need not represent a geography collection. - The position within the geography value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Latitude coordinate of the given value, if it represents a point. - - - The Latitude coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Longitude coordinate of the given value, if it represents a point. - - - The Longitude coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the elevation (Z coordinate) of the given value, if it represents a point. - - The elevation (Z coordinate) of geographyValue, if it represents a point; otherwise null. - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the M (Measure) coordinate of the given value, if it represents a point. - - - The M (Measure) coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the length of the given - - value, which may be null if the value does not represent a curve. - - - The length of the given value. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the start point of the given DbGeography value, which may be null if the value does not represent a curve. - - - The start point of the given value. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the end point of the given DbGeography value, which may be null if the value does not represent a curve. - - The end point of geographyValue, if it represents a curve; otherwise null. - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is closed, which may be null if the value does not represent a curve. - - - True if the given value is closed; otherwise, false. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of points in the given value, if it represents a linestring or linear ring. - - - The number of points in the given value. - - The geography value, which need not represent a linestring or linear ring. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a point element of the given value, if it represents a linestring or linear ring. - - The point in geographyValue at position index, if it represents a linestring or linear ring; otherwise null. - The geography value, which need not represent a linestring or linear ring. - The position within the geography value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the area of the given - - value, which may be null if the value does not represent a surface. - - - A nullable double value that indicates the area of the given value. - - The geography value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - This method is intended for use by derived implementations of - - after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation. - - - A new instance that contains the specified providerValue and uses the specified spatialServices as its spatial implementation. - - - The spatial services instance that the returned value will depend on for its implementation of spatial functionality. - - A provider value. - - - - Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known - - representation. - - A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation. - - An instance of that contains the well-known representation of a geometry value. - - - - - Creates an instance of that represents the specified - - value using one or both of the standard well-known spatial formats. - - - The well-known representation of geometryValue, as a new - - . - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on a provider-specific value that is compatible with this spatial services implementation. - - - A new value backed by this spatial services implementation and the specified provider value. - - A provider-specific value that this spatial services implementation is capable of interpreting as a geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on the specified well-known binary value. - - - A new value as defined by the well-known binary value with the default - - coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - - - Creates a new value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known binary value and coordinate system identifier. - - - The new multiline value - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known binary value and coordinate system identifier. - - - A new multipoint value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known binary value and coordinate system identifier. - - - A new multi polygon value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified well-known text value. - - - A new value as defined by the well-known text value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - - - Creates a new value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known text value and coordinate system identifier. - - - A new multiline value - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known text value and coordinate system identifier. - - - A new multipoint value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known text value and coordinate system identifier. - - - A new multi polygon value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new value as defined by the GML value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - - A new value as defined by the GML value with the specified coordinate system identifier (SRID). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Returns the coordinate system identifier of the given value. - - - The coordinate system identifier of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the boundary of the given - - value. - - - The boundary of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of geometryValue, or the largest element dimension if - - is a collection. - - The geometry value for which the dimension value should be retrieved. - - - - Gets the envelope (minimum bounding box) of the given value, as a geometry value. - - - The envelope of geometryValue, as a value. - - The geometry value for which the envelope value should be retrieved. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that indicates the spatial type name of the given - - value. - - - The spatial type name of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is empty. - - - True if the given value is empty; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is simple. - - - True if the given value is simple; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is valid. - - - True if the given value is valid; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known text representation of the given value, including only X and Y coordinates for points. - - A string containing the well-known text representation of geometryValue. - The geometry value for which the well-known text should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a text representation of with elevation and measure. - - - A text representation of with elevation and measure. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known binary representation of the given value. - - - The well-known binary representation of the given value. - - The geometry value for which the well-known binary should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Generates the Geography Markup Language (GML) representation of this - - value. - - A string containing the GML representation of this DbGeometry value. - The geometry value for which the GML should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially equal. - - true if geometryValue is spatially equal to otherGeometry; otherwise false. - The first geometry value to compare for equality. - The second geometry value to compare for equality. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially disjoint. - - true if geometryValue is disjoint from otherGeometry; otherwise false. - The first geometry value to compare for disjointness. - The second geometry value to compare for disjointness. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially intersect. - - true if geometryValue intersects otherGeometry; otherwise false. - The first geometry value to compare for intersection. - The second geometry value to compare for intersection. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially touch. - - true if geometryValue touches otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially cross. - - true if geometryValue crosses otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether one value is spatially within the other. - - true if geometryValue is within otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether one value spatially contains the other. - - true if geometryValue contains otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially overlap. - - true if geometryValue overlaps otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially related according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern. - - true if this geometryValue value relates to otherGeometry according to the specified intersection pattern matrix; otherwise false. - The first geometry value. - The geometry value that should be compared with the first geometry value for relation. - A string that contains the text representation of the (DE-9IM) intersection pattern that defines the relation. - - - , - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Creates a geometry value representing all points less than or equal to distance from the given - - value. - - A new DbGeometry value representing all points less than or equal to distance from geometryValue. - The geometry value. - A double value specifying how far from geometryValue to buffer. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the distance between the closest points in two values. - - A double value that specifies the distance between the two closest points in geometryValue and otherGeometry. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the convex hull of the given - - value. - - - The convex hull of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the intersection of two values. - - - A new value representing the intersection of geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the union of two values. - - - A new value representing the union of geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the difference between two values. - - A new DbGeometry value representing the difference between geometryValue and otherGeometry. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the symmetric difference between two values. - - - A new value representing the symmetric difference between geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns the number of elements in the given value, if it represents a geometry collection. - - The number of elements in geometryValue, if it represents a collection of other geometry values; otherwise null. - The geometry value, which need not represent a geometry collection. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an element of the given value, if it represents a geometry collection. - - The element in geometryValue at position index, if it represents a collection of other geometry values; otherwise null. - The geometry value, which need not represent a geometry collection. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the X coordinate of the given value, if it represents a point. - - - The X coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Y coordinate of the given value, if it represents a point. - - - The Y coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the elevation (Z) of the given value, if it represents a point. - - The elevation (Z) of geometryValue, if it represents a point; otherwise null. - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the M (Measure) coordinate of the given value, if it represents a point. - - - The M (Measure) coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the length of the given - - value, which may be null if the value does not represent a curve. - - - The length of the given value. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the start point of the given DbGeometry value, which may be null if the value does not represent a curve. - - - The start point of the given value. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the end point of the given DbGeometry value, which may be null if the value does not represent a curve. - - The end point of geometryValue, if it represents a curve; otherwise null. - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is closed, which may be null if the value does not represent a curve. - - - True if the given value is closed; otherwise, false. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is a ring, which may be null if the value does not represent a curve. - - - True if the given value is a ring; otherwise, false. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of points in the given value, if it represents a linestring or linear ring. - - - The number of points in the given value. - - The geometry value, which need not represent a linestring or linear ring. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a point element of the given value, if it represents a linestring or linear ring. - - The point in geometryValue at position index, if it represents a linestring or linear ring; otherwise null. - The geometry value, which need not represent a linestring or linear ring. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the area of the given - - value, which may be null if the value does not represent a surface. - - - A nullable double value that indicates the area of the given value. - - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the centroid of the given DbGeometry value, which may be null if the value does not represent a surface. - - The centroid of geometryValue, if it represents a surface; otherwise null. - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents a point on the surface of the given DbGeometry value, which may be null if the value does not represent a surface. - - - A value that represents a point on the surface of the given DbGeometry value. - - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the exterior ring of the given DbGeometry value, which may be null if the value does not represent a polygon. - - A DbGeometry value representing the exterior ring on geometryValue, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of interior rings in the given value, if it represents a polygon. - - The number of elements in geometryValue, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an interior ring from the given value, if it represents a polygon. - - The interior ring in geometryValue at position index, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the default services for the . - - The default services. - - - - Override this property to allow the spatial provider to fail fast when native types or other - resources needed for the spatial provider to function correctly are not available. - The default value is true which means that EF will continue with the assumption - that the provider has the necessary types/resources rather than failing fast. - - - - - The same as but works in partial trust and adds explicit caching of - generated indentation string and also recognizes writing a string that contains just \r\n or \n as a write-line to ensure - we indent the next line properly. - - - - - Specifies the default tab string. This field is constant. - - - - - Specifies the culture what will be used by the underlying TextWriter. This static property is read-only. - Note that any writer passed to one of the constructors of must use this - same culture. The culture is . - - - - - Initializes a new instance of the IndentedTextWriter class using the specified text writer and default tab string. - Note that the writer passed to this constructor must use the specified by the - property. - - - The to use for output. - - - - - Initializes a new instance of the IndentedTextWriter class using the specified text writer and tab string. - Note that the writer passed to this constructor must use the specified by the - property. - - - The to use for output. - - The tab string to use for indentation. - - - - Closes the document being written to. - - - - - Flushes the stream. - - - - - Outputs the tab string once for each level of indentation according to the - - property. - - - - - Builds a string representing the current indentation level for a new line. - - - Does NOT check if tabs are currently pending, just returns a string that would be - useful in replacing embedded newline characters. - - An empty string, or a string that contains .Indent level's worth of specified tab-string. - - - - Writes the specified string to the text stream. - - The string to write. - - - - Writes the text representation of a Boolean value to the text stream. - - The Boolean value to write. - - - - Writes a character to the text stream. - - The character to write. - - - - Writes a character array to the text stream. - - The character array to write. - - - - Writes a subarray of characters to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes the text representation of a Double to the text stream. - - The double to write. - - - - Writes the text representation of a Single to the text stream. - - The single to write. - - - - Writes the text representation of an integer to the text stream. - - The integer to write. - - - - Writes the text representation of an 8-byte integer to the text stream. - - The 8-byte integer to write. - - - - Writes the text representation of an object to the text stream. - - The object to write. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string. - The object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string to use. - The first object to write into the formatted string. - The second object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string to use. - The argument array to output. - - - - Writes the specified string to a line without tabs. - - The string to write. - - - - Writes the specified string, followed by a line terminator, to the text stream. - - The string to write. - - - - Writes a line terminator. - - - - - Writes the text representation of a Boolean, followed by a line terminator, to the text stream. - - The Boolean to write. - - - - Writes a character, followed by a line terminator, to the text stream. - - The character to write. - - - - Writes a character array, followed by a line terminator, to the text stream. - - The character array to write. - - - - Writes a subarray of characters, followed by a line terminator, to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes the text representation of a Double, followed by a line terminator, to the text stream. - - The double to write. - - - - Writes the text representation of a Single, followed by a line terminator, to the text stream. - - The single to write. - - - - Writes the text representation of an integer, followed by a line terminator, to the text stream. - - The integer to write. - - - - Writes the text representation of an 8-byte integer, followed by a line terminator, to the text stream. - - The 8-byte integer to write. - - - - Writes the text representation of an object, followed by a line terminator, to the text stream. - - The object to write. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string. - The object to write into the formatted string. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string to use. - The first object to write into the formatted string. - The second object to write into the formatted string. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string to use. - The argument array to output. - - - - Writes the text representation of a UInt32, followed by a line terminator, to the text stream. - - A UInt32 to output. - - - - Gets the encoding for the text writer to use. - - - An that indicates the encoding for the text writer to use. - - - - - Gets or sets the new line character to use. - - The new line character to use. - - - - Gets or sets the number of spaces to indent. - - The number of spaces to indent. - - - - Gets the to use. - - - The to use. - - - - - Convention to apply column ordering specified via - - or the API. This convention throws if a duplicate configured column order - is detected. - - - - - Convention to apply column ordering specified via - - or the API. - - - - - - - - Validates the ordering configuration supplied for columns. - This base implementation is a no-op. - - The name of the table that the columns belong to. - The definition of the table. - - - - Validates the ordering configuration supplied for columns to ensure - that the same ordinal was not supplied for two columns. - - The name of the table that the columns belong to. - The definition of the table. - - - - Represents a conceptual or store model. This class can be used to access information about the shape of the model - and the way the that it has been configured. - - - - - Adds an association type to the model. - - The AssociationType instance to be added. - - - - Adds a complex type to the model. - - The ComplexType instance to be added. - - - - Adds an entity type to the model. - - The EntityType instance to be added. - - - - Adds an enumeration type to the model. - - The EnumType instance to be added. - - - - Adds a function to the model. - - The EdmFunction instance to be added. - - - - Removes an association type from the model. - - The AssociationType instance to be removed. - - - - Removes a complex type from the model. - - The ComplexType instance to be removed. - - - - Removes an entity type from the model. - - The EntityType instance to be removed. - - - - Removes an enumeration type from the model. - - The EnumType instance to be removed. - - - - Removes a function from the model. - - The EdmFunction instance to be removed. - - - Gets the built-in type kind for this type. - - A object that represents the built-in type kind for this type. - - - - - Gets the data space associated with the model, which indicates whether - it is a conceptual model (DataSpace.CSpace) or a store model (DataSpace.SSpace). - - - - - Gets the association types in the model. - - - - - Gets the complex types in the model. - - - - - Gets the entity types in the model. - - - - - Gets the enum types in the model. - - - - - Gets the functions in the model. - - - - - Gets the container that stores entity and association sets, and function imports. - - - - Gets the global items associated with the model. - The global items associated with the model. - - - - An implementation of IDatabaseInitializer that will recreate and optionally re-seed the - database only if the database does not exist. - To seed the database, create a derived class and override the Seed method. - - The type of the context. - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - An instance of this class is obtained from an object and can be used - to manage the actual database backing a DbContext or connection. - This includes creating, deleting, and checking for the existence of a database. - Note that deletion and checking for existence of a database can be performed using just a - connection (i.e. without a full context) by using the static methods of this class. - - - - - Enables the user to pass in a database transaction created outside of the object - if you want the Entity Framework to execute commands within that external transaction. - Alternatively, pass in null to clear the framework's knowledge of that transaction. - - the external transaction - Thrown if the transaction is already completed - - Thrown if the connection associated with the object is already enlisted in a - - transaction - - - Thrown if the connection associated with the object is already participating in a transaction - - Thrown if the connection associated with the transaction does not match the Entity Framework's connection - - - - Begins a transaction on the underlying store connection - - - a object wrapping access to the underlying store's transaction object - - - - - Begins a transaction on the underlying store connection using the specified isolation level - - The database isolation level with which the underlying store transaction will be created - - a object wrapping access to the underlying store's transaction object - - - - - Sets the database initializer to use for the given context type. The database initializer is called when a - the given type is used to access a database for the first time. - The default strategy for Code First contexts is an instance of . - - The type of the context. - The initializer to use, or null to disable initialization for the given context type. - - - - Runs the the registered on this context. - If "force" is set to true, then the initializer is run regardless of whether or not it - has been run before. This can be useful if a database is deleted while an app is running - and needs to be reinitialized. - If "force" is set to false, then the initializer is only run if it has not already been - run for this context, model, and connection in this app domain. This method is typically - used when it is necessary to ensure that the database has been created and seeded - before starting some operation where doing so lazily will cause issues, such as when the - operation is part of a transaction. - - - If set to true the initializer is run even if it has already been run. - - - - - Checks whether or not the database is compatible with the the current Code First model. - - - Model compatibility currently uses the following rules. - If the context was created using either the Model First or Database First approach then the - model is assumed to be compatible with the database and this method returns true. - For Code First the model is considered compatible if the model is stored in the database - in the Migrations history table and that model has no differences from the current model as - determined by Migrations model differ. - If the model is not stored in the database but an EF 4.1/4.2 model hash is found instead, - then this is used to check for compatibility. - - - If set to true then an exception will be thrown if no model metadata is found in the database. If set to false then this method will return true if metadata is not found. - - True if the model hash in the context and the database match; false otherwise. - - - - Creates a new database on the database server for the model defined in the backing context. - Note that calling this method before the database initialization strategy has run will disable - executing that strategy. - - - - - Creates a new database on the database server for the model defined in the backing context, but only - if a database with the same name does not already exist on the server. - - True if the database did not exist and was created; false otherwise. - - - - Checks whether or not the database exists on the server. - - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - Calling this method from outside of an initializer will mark the database as having - not been initialized. This means that if an attempt is made to use the database again - after it has been deleted, then any initializer set will run again and, usually, will - try to create the database again automatically. - - True if the database did exist and was deleted; false otherwise. - - - - Checks whether or not the database exists on the server. - The connection to the database is created using the given database name or connection string - in the same way as is described in the documentation for the class. - - The database name or a connection string to the database. - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - The connection to the database is created using the given database name or connection string - in the same way as is described in the documentation for the class. - - The database name or a connection string to the database. - True if the database did exist and was deleted; false otherwise. - - - - Checks whether or not the database exists on the server. - - An existing connection to the database. - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - - An existing connection to the database. - True if the database did exist and was deleted; false otherwise. - - - - Creates a raw SQL query that will return elements of the given generic type. - The type can be any type that has properties that match the names of the columns returned - from the query, or can be a simple primitive type. The type does not have to be an - entity type. The results of this query are never tracked by the context even if the - type of object returned is an entity type. Use the - method to return entities that are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The type of object returned by the query. - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values will - not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - Creates a raw SQL query that will return elements of the given type. - The type can be any type that has properties that match the names of the columns returned - from the query, or can be a simple primitive type. The type does not have to be an - entity type. The results of this query are never tracked by the context even if the - type of object returned is an entity type. Use the - method to return entities that are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The type of object returned by the query. - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - Executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - If there isn't an existing local or ambient transaction a new transaction will be used - to execute the command. - - The command string. - The parameters to apply to the command string. - The result returned by the database after executing the command. - - - - Executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - Controls the creation of a transaction for this command. - The command string. - The parameters to apply to the command string. - The result returned by the database after executing the command. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the transaction the underlying store connection is enlisted in. May be null. - - - - - Returns the connection being used by this context. This may cause the - connection to be created if it does not already exist. - - Thrown if the context has been disposed. - - - - The connection factory to use when creating a from just - a database name or a connection string. - - - This is used when just a database name or connection string is given to or when - the no database name or connection is given to DbContext in which case the name of - the context class is passed to this factory in order to generate a DbConnection. - By default, the instance to use is read from the application's .config - file from the "EntityFramework DefaultConnectionFactory" entry in appSettings. If no entry is found in - the config file then is used. Setting this property in code - always overrides whatever value is found in the config file. - - - - - Gets or sets the timeout value, in seconds, for all context operations. - The default value is null, where null indicates that the default value of the underlying - provider will be used. - - - The timeout, in seconds, or null to use the provider default. - - - - - Set this property to log the SQL generated by the to the given - delegate. For example, to log to the console, set this property to . - - - The format of the log text can be changed by creating a new formatter that derives from - and setting it with . - For more low-level control over logging/interception see and - . - - - - - DbModelBuilder is used to map CLR classes to a database schema. - This code centric approach to building an Entity Data Model (EDM) model is known as 'Code First'. - - - DbModelBuilder is typically used to configure a model by overriding - DbContext.OnModelCreating(DbModelBuilder) - . - You can also use DbModelBuilder independently of DbContext to build a model and then construct a - or . - The recommended approach, however, is to use OnModelCreating in as - the workflow is more intuitive and takes care of common tasks, such as caching the created model. - Types that form your model are registered with DbModelBuilder and optional configuration can be - performed by applying data annotations to your classes and/or using the fluent style DbModelBuilder - API. - When the Build method is called a set of conventions are run to discover the initial model. - These conventions will automatically discover aspects of the model, such as primary keys, and - will also process any data annotations that were specified on your classes. Finally - any configuration that was performed using the DbModelBuilder API is applied. - Configuration done via the DbModelBuilder API takes precedence over data annotations which - in turn take precedence over the default conventions. - - - - - Initializes a new instance of the class. - The process of discovering the initial model will use the set of conventions included - in the most recent version of the Entity Framework installed on your machine. - - - Upgrading to newer versions of the Entity Framework may cause breaking changes - in your application because new conventions may cause the initial model to be - configured differently. There is an alternate constructor that allows a specific - version of conventions to be specified. - - - - - Initializes a new instance of the class that will use - a specific set of conventions to discover the initial model. - - The version of conventions to be used. - - - - Excludes a type from the model. This is used to remove types from the model that were added - by convention during initial model discovery. - - The type to be excluded. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Configures the default database schema name. This default database schema name is used - for database objects that do not have an explicitly configured schema name. - - The name of the default database schema. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Excludes the specified type(s) from the model. This is used to remove types from the model that were added - by convention during initial model discovery. - - The types to be excluded from the model. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Registers an entity type as part of the model and returns an object that can be used to - configure the entity. This method can be called multiple times for the same entity to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified entity type. - - - - Registers an entity type as part of the model. - - The type to be registered. - - This method is provided as a convenience to allow entity types to be registered dynamically - without the need to use MakeGenericMethod in order to call the normal generic Entity method. - This method does not allow further configuration of the entity type using the fluent APIs since - these APIs make extensive use of generic type parameters. - - - - - Registers a type as a complex type in the model and returns an object that can be used to - configure the complex type. This method can be called multiple times for the same type to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified complex type. - - - - Begins configuration of a lightweight convention that applies to all entities and complex types in - the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all entities and complex types - in the model that inherit from or implement the type specified by the generic argument. - This method does not register types as part of the model. - - The type of the entities or complex types that this convention will apply to. - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all properties - in the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all primitive - properties of the specified type in the model. - - The type of the properties that the convention will apply to. - A configuration object for the convention. - - The convention will apply to both nullable and non-nullable properties of the - specified type. - - - - - Creates a based on the configuration performed using this builder. - The connection is used to determine the database provider being used as this - affects the database layer of the generated model. - - Connection to use to determine provider information. - The model that was built. - - - - Creates a based on the configuration performed using this builder. - Provider information must be specified because this affects the database layer of the generated model. - For SqlClient the invariant name is 'System.Data.SqlClient' and the manifest token is the version year (i.e. '2005', '2008' etc.) - - The database provider that the model will be used with. - The model that was built. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Provides access to the settings of this DbModelBuilder that deal with conventions. - - - - - Gets the for this DbModelBuilder. - The registrar allows derived entity and complex type configurations to be registered with this builder. - - - - - A value from this enumeration can be provided directly to the - class or can be used in the applied to - a class derived from . The value used defines which version of - the DbContext and DbModelBuilder conventions should be used when building a model from - code--also known as "Code First". - - - Using DbModelBuilderVersion.Latest ensures that all the latest functionality is available - when upgrading to a new release of the Entity Framework. However, it may result in an - application behaving differently with the new release than it did with a previous release. - This can be avoided by using a specific version of the conventions, but if a version - other than the latest is set then not all the latest functionality will be available. - - - - - Indicates that the latest version of the and - conventions should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v4.1 - should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v5.0 - when targeting .Net Framework 4 should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v5.0 - should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v6.0 - should be used. - - - - - This attribute can be applied to a class derived from to set which - version of the DbContext and conventions should be used when building - a model from code--also known as "Code First". See the - enumeration for details about DbModelBuilder versions. - - - If the attribute is missing from DbContextthen DbContext will always use the latest - version of the conventions. This is equivalent to using DbModelBuilderVersion.Latest. - - - - - Initializes a new instance of the class. - - - The conventions version to use. - - - - - Gets the conventions version. - - - The conventions version. - - - - - A non-generic version of which can be used when the type of entity - is not known at build time. - - - - - Represents a non-generic LINQ to Entities query against a DbContext. - - - - - Throws an exception indicating that binding directly to a store query is not supported. - Instead populate a DbSet with data, for example by using the Load extension method, and - then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to - DbSet.Local.ToBindingList(). - - Never returns; always throws. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Specifies the related objects to include in the query results. - - - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the DbQuery<T>. Other instances of DbQuery<T> and the object context itself are not affected. - Because the Include method returns the query object, you can call this method multiple times on an DbQuery<T> to - specify multiple paths for the query. - - The dot-separated list of related objects to return in the query results. - - A new DbQuery<T> with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns the equivalent generic object. - - The type of element for which the query was created. - The generic set object. - - - - Returns a representation of the underlying query. - - The query string. - - - - - - - - - - - - - Returns false. - - - false . - - - - - The IQueryable element type. - - - - - The IQueryable LINQ Expression. - - - - - The IQueryable provider. - - - - - Gets a representation of the underlying query. - - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for DbSets. Methods and properties that will be used by the - test double must be implemented by the test double except AsNoTracking, AsStreaming, an Include where - the default implementation is a no-op. - - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Adds the given collection of entities into context underlying the set with each entity being put into - the Added state such that it will be inserted into the database when SaveChanges is called. - - The collection of entities to add. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before adding any entities and will not be called - again. This means that in some situations AddRange may perform significantly better than calling - Add multiple times would do. - Note that entities that are already in the context in some other state will have their state set to - Added. AddRange is a no-op for entities that are already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Removes the given collection of entities from the context underlying the set with each entity being put into - the Deleted state such that it will be deleted from the database when SaveChanges is called. - - The collection of entities to delete. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before delete any entities and will not be called - again. This means that in some situations RemoveRange may perform significantly better than calling - Remove multiple times would do. - Note that if any entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Returns the equivalent generic object. - - The type of entity for which the set was created. - The generic set object. - - - - Creates a raw SQL query that will return entities in this set. By default, the - entities returned are tracked by the context; this can be changed by calling - AsNoTracking on the returned. - Note that the entities returned are always of the type for this set and never of - a derived type. If the table or tables queried may contain data for other entity - types, then the SQL query must be written appropriately to ensure that only entities of - the correct type are returned. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - - - - - - - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - A DbSet represents the collection of all entities in the context, or that can be queried from the - database, of a given type. DbSet objects are created from a DbContext using the DbContext.Set method. - - - Note that DbSet does not support MEST (Multiple Entity Sets per Type) meaning that there is always a - one-to-one correlation between a type and a set. - - The type that defines the set. - - - - Represents a LINQ to Entities query against a DbContext. - - The type of entity to query for. - - - - Specifies the related objects to include in the query results. - - - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the DbQuery<T>. Other instances of DbQuery<T> and the object context itself are not affected. - Because the Include method returns the query object, you can call this method multiple times on an DbQuery<T> to - specify multiple paths for the query. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Throws an exception indicating that binding directly to a store query is not supported. - Instead populate a DbSet with data, for example by using the Load extension method, and - then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to - DbSet.Local.ToBindingList(). - - Never returns; always throws. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns a representation of the underlying query. - - The query string. - - - - Returns a new instance of the non-generic class for this query. - - The query. - A non-generic version. - - - - - - - - - - - - - Returns false. - - - false . - - - - - The IQueryable element type. - - - - - The IQueryable LINQ Expression. - - - - - The IQueryable provider. - - - - - Gets a representation of the underlying query. - - - - - An represents the collection of all entities in the context, or that - can be queried from the database, of a given type. is a concrete - implementation of IDbSet. - - - was originally intended to allow creation of test doubles (mocks or - fakes) for . However, this approach has issues in that adding new members - to an interface breaks existing code that already implements the interface without the new members. - Therefore, starting with EF6, no new members will be added to this interface and it is recommended - that be used as the base class for test doubles. - - The type that defines the set. - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for DbSets. Methods and properties that will be used by the - test double must be implemented by the test double except AsNoTracking, AsStreaming, an Include where - the default implementation is a no-op. - - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - - - - - - - Adds the given collection of entities into context underlying the set with each entity being put into - the Added state such that it will be inserted into the database when SaveChanges is called. - - The collection of entities to add. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before adding any entities and will not be called - again. This means that in some situations AddRange may perform significantly better than calling - Add multiple times would do. - Note that entities that are already in the context in some other state will have their state set to - Added. AddRange is a no-op for entities that are already in the context in the Added state. - - - - - - - - Removes the given collection of entities from the context underlying the set with each entity being put into - the Deleted state such that it will be deleted from the database when SaveChanges is called. - - The collection of entities to delete. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before delete any entities and will not be called - again. This means that in some situations RemoveRange may perform significantly better than calling - Remove multiple times would do. - Note that if any entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - - - - - - - Returns the equivalent non-generic object. - - The generic set object. - The non-generic set object. - - - - Creates a raw SQL query that will return entities in this set. By default, the - entities returned are tracked by the context; this can be changed by calling - AsNoTracking on the returned. - Note that the entities returned are always of the type for this set and never of - a derived type. If the table or tables queried may contain data for other entity - types, then the SQL query must be written appropriately to ensure that only entities of - the correct type are returned. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values will - not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - - - - - - - - - - - - - An implementation of IDatabaseInitializer that will always recreate and optionally re-seed the - database the first time that a context is used in the app domain. - To seed the database, create a derived class and override the Seed method. - - The type of the context. - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - is - null - . - - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - An implementation of IDatabaseInitializer that will DELETE, recreate, and optionally re-seed the - database only if the model has changed since the database was created. - - The type of the context. - - Whether or not the model has changed is determined by the - method. - To seed the database create a derived class and override the Seed method. - - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - is - null - . - - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - Returned by the ChangeTracker method of to provide access to features of - the context that are related to change tracking of entities. - - - - - Gets objects for all the entities tracked by this context. - - The entries. - - - - Gets objects for all the entities of the given type - tracked by this context. - - The type of the entity. - The entries. - - - - Checks if the is tracking any new, deleted, or changed entities or - relationships that will be sent to the database if is called. - - - Functionally, calling this method is equivalent to checking if there are any entities or - relationships in the Added, Updated, or Deleted state. - Note that this method calls unless - has been set to false. - - - True if underlying have changes, else false. - - - - - Detects changes made to the properties and relationships of POCO entities. Note that some types of - entity (such as change tracking proxies and entities that derive from - ) - report changes automatically and a call to DetectChanges is not normally needed for these types of entities. - Also note that normally DetectChanges is called automatically by many of the methods of - and its related classes such that it is rare that this method will need to be called explicitly. - However, it may be desirable, usually for performance reasons, to turn off this automatic calling of - DetectChanges using the AutoDetectChangesEnabled flag from . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - A non-generic version of the class. - - - - - This is an abstract base class use to represent a scalar or complex property, or a navigation property - of an entity. Scalar and complex properties use the derived class , - reference navigation properties use the derived class , and collection - navigation properties use the derived class . - - - - - Validates this property. - - - Collection of objects. Never null. If the entity is valid the collection will be empty. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Gets the name of the property. - - The property name. - - - - Gets or sets the current value of this property. - - The current value. - - - - The to which this member belongs. - - An entry for the entity that owns this member. - - - - Loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - - - Returns the query that would be used to load this collection from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database, such - as counting the number of entities in the collection in the database without actually loading them. - - A query for the collection. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the collection element. - The equivalent generic object. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Gets or sets a value indicating whether all entities of this collection have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities of this collection from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded into this collection - and wants to prevent any other entities from being loaded automatically. - Note that explict loading using one of the Load methods will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity in the collection is detached the IsLoaded flag is reset to false indicating that the - not all related entities are now loaded. - - - true if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Instances of this class are returned from the Collection method of - and allow operations such as loading to - be performed on the an entity's collection navigation properties. - - The type of the entity to which this property belongs. - The type of the element in the collection of entities. - - - - This is an abstract base class use to represent a scalar or complex property, or a navigation property - of an entity. Scalar and complex properties use the derived class , - reference navigation properties use the derived class , and collection - navigation properties use the derived class . - - The type of the entity to which this property belongs. - The type of the property. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - Validates this property. - - - Collection of objects. Never null. If the entity is valid the collection will be empty. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - Gets the name of the property. - The name of the property. - - - - Gets or sets the current value of this property. - - The current value. - - - - The to which this member belongs. - - An entry for the entity that owns this member. - - - - Loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - - - Returns the query that would be used to load this collection from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database, such - as counting the number of entities in the collection in the database without actually loading them. - - A query for the collection. - - - - Returns a new instance of the non-generic class for - the navigation property represented by this object. - - The object representing the navigation property. - A non-generic version. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Gets or sets a value indicating whether all entities of this collection have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities of this collection from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded into this collection - and wants to prevent any other entities from being loaded automatically. - Note that explict loading using one of the Load methods will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity in the collection is detached the IsLoaded flag is reset to false indicating that the - not all related entities are now loaded. - - - true if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - An immutable representation of an Entity Data Model (EDM) model that can be used to create an - or can be passed to the constructor of a . - For increased performance, instances of this type should be cached and re-used to construct contexts. - - - - - Creates an instance of ObjectContext or class derived from ObjectContext. Note that an instance - of DbContext can be created instead by using the appropriate DbContext constructor. - If a derived ObjectContext is used, then it must have a public constructor with a single - EntityConnection parameter. - The connection passed is used by the ObjectContext created, but is not owned by the context. The caller - must dispose of the connection once the context has been disposed. - - The type of context to create. - An existing connection to a database for use by the context. - The context. - - - - A non-generic version of the class. - - - - - A non-generic version of the class. - - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Gets the property name. - - The property name. - - - - Gets or sets the original value of this property. - - The original value. - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets or sets a value indicating whether the value of this property has been modified since - it was loaded from the database. - - - Setting this value to false for a modified property will revert the change by setting the - current value to the original value. If the result is that no properties of the entity are - marked as modified, then the entity will be marked as Unchanged. - Setting this value to false for properties of Added, Unchanged, or Deleted entities - is a no-op. - - - true if this instance is modified; otherwise, false . - - - - - The to which this property belongs. - - An entry for the entity that owns this property. - - - - The of the property for which this is a nested property. - This method will only return a non-null entry for properties of complex objects; it will - return null for properties of the entity itself. - - An entry for the parent complex property, or null if this is an entity property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The name of the nested property. - An object representing the nested property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the complex property. - The equivalent generic object. - - - - Instances of this class are returned from the ComplexProperty method of - and allow access to the state of a complex property. - - The type of the entity to which this property belongs. - The type of the property. - - - - Instances of this class are returned from the Property method of - and allow access to the state of the scalar - or complex property. - - The type of the entity to which this property belongs. - The type of the property. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - Gets the property name. - - The property name. - - - - Gets or sets the original value of this property. - - The original value. - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets or sets a value indicating whether the value of this property has been modified since - it was loaded from the database. - - - true if this instance is modified; otherwise, false . - - - - - The to which this property belongs. - - An entry for the entity that owns this property. - - - - The of the property for which this is a nested property. - This method will only return a non-null entry for properties of complex objects; it will - return null for properties of the entity itself. - - An entry for the parent complex property, or null if this is an entity property. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The type of the nested property. - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The type of the nested property. - An expression representing the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The type of the nested property. - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The type of the nested property. - An expression representing the nested property. - An object representing the nested property. - - - - Describes the origin of the database connection string associated with a . - - - - - The connection string was created by convention. - - - - - The connection string was read from external configuration. - - - - - The connection string was explicitly specified at runtime. - - - - - The connection string was overriden by connection information supplied to DbContextInfo. - - - - - Returned by the Configuration method of to provide access to configuration - options for the context. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction. - - - This flag determines whether a new transaction will be started when methods such as - are executed outside of a transaction. - Note that this does not change the behavior of . - - - The default transactional behavior. - - - - - Gets or sets a value indicating whether lazy loading of relationships exposed as - navigation properties is enabled. Lazy loading is enabled by default. - - - true if lazy loading is enabled; otherwise, false . - - - - - Gets or sets a value indicating whether or not the framework will create instances of - dynamically generated proxy classes whenever it creates an instance of an entity type. - Note that even if proxy creation is enabled with this flag, proxy instances will only - be created for entity types that meet the requirements for being proxied. - Proxy creation is enabled by default. - - - true if proxy creation is enabled; otherwise, false . - - - - - Gets or sets a value indicating whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. The default value is false. - - For example (operand1 == operand2) will be translated as: - - (operand1 = operand2) - - if UseDatabaseNullSemantics is true, respectively - - (((operand1 = operand2) AND (NOT (operand1 IS NULL OR operand2 IS NULL))) OR ((operand1 IS NULL) AND (operand2 IS NULL))) - - if UseDatabaseNullSemantics is false. - - - true if database null comparison behavior is enabled, otherwise false . - - - - - Gets or sets a value indicating whether the - method is called automatically by methods of and related classes. - The default value is true. - - - true if should be called automatically; otherwise, false. - - - - - Gets or sets a value indicating whether tracked entities should be validated automatically when - is invoked. - The default value is true. - - - - - Provides runtime information about a given type. - - - - - Creates a new instance representing a given type. - - - The type deriving from . - - - - - Creates a new instance representing a given targeting a specific database. - - - The type deriving from . - - Connection information for the database to be used. - - - - Creates a new instance representing a given type. An external list of - connection strings can be supplied and will be used during connection string resolution in place - of any connection strings specified in external configuration files. - - - It is preferable to use the constructor that accepts the entire config document instead of using this - constructor. Providing the entire config document allows DefaultConnectionFactroy entries in the config - to be found in addition to explicitly specified connection strings. - - - The type deriving from . - - A collection of connection strings. - - - - Creates a new instance representing a given type. An external config - object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - - - The type deriving from . - - An object representing the config file. - - - - Creates a new instance representing a given , targeting a specific database. - An external config object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - - - The type deriving from . - - An object representing the config file. - Connection information for the database to be used. - - - - Creates a new instance representing a given type. A - can be supplied in order to override the default determined provider used when constructing - the underlying EDM model. - - - The type deriving from . - - - A specifying the underlying ADO.NET provider to target. - - - - - Creates a new instance representing a given type. An external config - object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - A can be supplied in order to override the default determined - provider used when constructing the underlying EDM model. This can be useful to prevent EF from - connecting to discover a manifest token. - - - The type deriving from . - - An object representing the config file. - - A specifying the underlying ADO.NET provider to target. - - - - - If instances of the underlying type can be created, returns - a new instance; otherwise returns null. - - - A instance. - - - - - The concrete type. - - - - - Whether or not instances of the underlying type can be created. - - - - - The connection string used by the underlying type. - - - - - The connection string name used by the underlying type. - - - - - The ADO.NET provider name of the connection used by the underlying type. - - - - - The origin of the connection string used by the underlying type. - - - - - An action to be run on the DbModelBuilder after OnModelCreating has been run on the context. - - - - - A non-generic version of the class. - - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - The store values. - - - - Reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The name of the property. - An object representing the property. - - - - Gets an object that represents a complex property of this entity. - - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The name of the member. - An object representing the member. - - - - Returns a new instance of the generic class for the given - generic type for the tracked entity represented by this object. - Note that the type of the tracked entity must be compatible with the generic type or - an exception will be thrown. - - The type of the entity. - A generic version. - - - - Validates this instance and returns validation result. - - - Entity validation result. Possibly null if - DbContext.ValidateEntity(DbEntityEntry, IDictionary{object,object}) - method is overridden. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Returns a hash code for this instance. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the entity. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - - The original values. - - - - Instances of this class provide access to information about and control of entities that - are being tracked by the . Use the Entity or Entities methods of - the context to obtain objects of this type. - - The type of the entity. - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - The store values. - - - - Reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The type of the property. - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The type of the property. - An expression representing the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The type of elements in the collection. - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The type of elements in the collection. - An expression representing the navigation property. - An object representing the navigation property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The name of the property. - An object representing the property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The type of the property. - The name of the property. - An object representing the property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The type of the property. - An expression representing the property. - An object representing the property. - - - - Gets an object that represents a complex property of this entity. - - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a complex property of this entity. - - The type of the complex property. - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a complex property of this entity. - - The type of the complex property. - An expression representing the complex property. - An object representing the complex property. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The name of the member. - An object representing the member. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The type of the member. - The name of the member. - An object representing the member. - - - - Returns a new instance of the non-generic class for - the tracked entity represented by this object. - - The object representing the tracked entity. - A non-generic version. - - - - Validates this instance and returns validation result. - - - Entity validation result. Possibly null if - DbContext.ValidateEntity(DbEntityEntry, IDictionary{object, object}) - method is overridden. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Returns a hash code for this instance. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the entity. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - - The original values. - - - - Represents an Entity Data Model (EDM) created by the . - The Compile method can be used to go from this EDM representation to a - which is a compiled snapshot of the model suitable for caching and creation of - or instances. - - - - - Creates a for this mode which is a compiled snapshot - suitable for caching and creation of instances. - - The compiled model. - - - - Gets the provider information. - - - - - Gets the provider manifest. - - - - - Gets the conceptual model. - - - - - Gets the store model. - - - - - Gets the mapping model. - - - - - A collection of all the properties for an underlying entity or complex object. - - - An instance of this class can be converted to an instance of the generic class - using the Cast method. - Complex properties in the underlying entity or complex object are represented in - the property values as nested instances of this class. - - - - - Creates an object of the underlying type for this dictionary and hydrates it with property - values from this dictionary. - - The properties of this dictionary copied into a new object. - - - - Sets the values of this dictionary by reading values out of the given object. - The given object can be of any type. Any property on the object with a name that - matches a property name in the dictionary and can be read will be read. Other - properties will be ignored. This allows, for example, copying of properties from - simple Data Transfer Objects (DTOs). - - The object to read values from. - - - - Creates a new dictionary containing copies of all the properties in this dictionary. - Changes made to the new dictionary will not be reflected in this dictionary and vice versa. - - A clone of this dictionary. - - - - Sets the values of this dictionary by reading values from another dictionary. - The other dictionary must be based on the same type as this dictionary, or a type derived - from the type for this dictionary. - - The dictionary to read values from. - - - - Gets the value of the property just like using the indexed property getter but - typed to the type of the generic parameter. This is useful especially with - nested dictionaries to avoid writing expressions with lots of casts. - - The type of the property. - Name of the property. - The value of the property. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the set of names of all properties in this dictionary as a read-only set. - - The property names. - - - - Gets or sets the value of the property with the specified property name. - The value may be a nested instance of this class. - - The property name. - The value of the property. - - - - Groups a pair of strings that identify a provider and server version together into a single object. - - - Instances of this class act as the key for resolving a for a specific - provider from a . This is typically used when registering spatial services - in or when the spatial services specific to a provider is - resolved by an implementation of . - - - - - Creates a new object for a given provider invariant name and manifest token. - - - A string that identifies that provider. For example, the SQL Server - provider uses the string "System.Data.SqlCient". - - - A string that identifies that version of the database server being used. For example, the SQL Server - provider uses the string "2008" for SQL Server 2008. This cannot be null but may be empty. - The manifest token is sometimes referred to as a version hint. - - - - - - - - - - - A string that identifies that provider. For example, the SQL Server - provider uses the string "System.Data.SqlCient". - - - - - A string that identifies that version of the database server being used. For example, the SQL Server - provider uses the string "2008" for SQL Server 2008. This cannot be null but may be empty. - - - - - A non-generic version of the class. - - - - - Loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - - - Returns the query that would be used to load this entity from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database. - - A query for the entity. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Gets or sets a value indicating whether the entity has been loaded from the database. - - - Loading the related entity from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entity from being lazy-loaded. - Note that explict loading using one of the Load methods will load the related entity from the database - regardless of whether or not IsLoaded is true. - When a related entity is detached the IsLoaded flag is reset to false indicating that the related entity is - no longer loaded. - - - true if the entity is loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Instances of this class are returned from the Reference method of - and allow operations such as loading to - be performed on the an entity's reference navigation properties. - - The type of the entity to which this property belongs. - The type of the property. - - - - Loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - - - Returns the query that would be used to load this entity from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database. - - A query for the entity. - - - - Returns a new instance of the non-generic class for - the navigation property represented by this object. - - The object representing the navigation property. - A non-generic version. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Gets or sets a value indicating whether the entity has been loaded from the database. - - - Loading the related entity from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entity from being lazy-loaded. - Note that explict loading using one of the Load methods will load the related entity from the database - regardless of whether or not IsLoaded is true. - When a related entity is detached the IsLoaded flag is reset to false indicating that the related entity is - no longer loaded. - - - true if the entity is loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Exception thrown by when it was expected that SaveChanges for an entity would - result in a database update but in fact no rows in the database were affected. This usually indicates - that the database has been concurrently updated such that a concurrency token that was expected to match - did not actually match. - Note that state entries referenced by this exception are not serialized due to security and accesses to - the state entries after serialization will return null. - - - - - Exception thrown by when the saving of changes to the database fails. - Note that state entries referenced by this exception are not serialized due to security and accesses to the - state entries after serialization will return null. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Gets objects that represents the entities that could not - be saved to the database. - - The entries representing the entities that could not be saved. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Represents an entity used to store metadata about an EDM in the database. - - - - - Attempts to get the model hash calculated by Code First for the given context. - This method will return null if the context is not being used in Code First mode. - - The context. - The hash string. - - - - Gets or sets the ID of the metadata entity, which is currently always 1. - - The id. - - - - Gets or sets the model hash which is used to check whether the model has - changed since the database was created from it. - - The model hash. - - - - Contains methods used to access the Entity Data Model created by Code First in the EDMX form. - These methods are typically used for debugging when there is a need to look at the model that - Code First creates internally. - - - - - Uses Code First with the given context and writes the resulting Entity Data Model to the given - writer in EDMX form. This method can only be used with context instances that use Code First - and create the model internally. The method cannot be used for contexts created using Database - First or Model First, for contexts created using a pre-existing , or - for contexts created using a pre-existing . - - The context. - The writer. - - - - Writes the Entity Data Model represented by the given to the - given writer in EDMX form. - - An object representing the EDM. - The writer. - - - - A factory for creating derived instances. Implement this - interface to enable design-time services for context types that do not have a - public default constructor. - At design-time, derived instances can be created in order to enable specific - design-time experiences such as model rendering, DDL generation etc. To enable design-time instantiation - for derived types that do not have a public, default constructor, implement - this interface. Design-time services will auto-discover implementations of this interface that are in the - same assembly as the derived type. - - The type of the context. - - - - Creates a new instance of a derived type. - - An instance of TContext - - - - This convention causes DbModelBuilder to include metadata about the model - when it builds the model. When creates a model by convention it will - add this convention to the list of those used by the DbModelBuilder. This will then result in - model metadata being written to the database if the DbContext is used to create the database. - This can then be used as a quick check to see if the model has changed since the last time it was - used against the database. - This convention can be removed from the conventions by overriding - the OnModelCreating method on a derived DbContext class. - - - - - This convention uses the name of the derived - class as the container for the conceptual model built by - Code First. - - - - - Applies the convention to the given model. - - The container to apply the convention to. - The model. - - - - This convention uses the namespace of the derived - class as the namespace of the conceptual model built by - Code First. - - - - - Instances of this class are used internally to create constant expressions for - that are inserted into the expression tree to replace references to - and . - - The type of the element. - - - - The public property expected in the LINQ expression tree. - - The query. - - - - Instances of this class are used to create DbConnection objects for - SQL Server Compact Edition based on a given database name or connection string. - - - It is necessary to provide the provider invariant name of the SQL Server Compact - Edition to use when creating an instance of this class. This is because different - versions of SQL Server Compact Editions use different invariant names. - An instance of this class can be set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use SQL Server Compact Edition by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Creates a new connection factory with empty (default) DatabaseDirectory and BaseConnectionString - properties. - - The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. - - - - Creates a new connection factory with the given DatabaseDirectory and BaseConnectionString properties. - - The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. - The path to prepend to the database name that will form the file name used by SQL Server Compact Edition when it creates or reads the database file. An empty string means that SQL Server Compact Edition will use its default for the database file location. - The connection string to use for options to the database other than the 'Data Source'. The Data Source will be prepended to this string based on the database name when CreateConnection is called. - - - - Creates a connection for SQL Server Compact Edition based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - The path to prepend to the database name that will form the file name used by - SQL Server Compact Edition when it creates or reads the database file. - The default value is "|DataDirectory|", which means the file will be placed - in the designated data directory. - - - - - The connection string to use for options to the database other than the 'Data Source'. - The Data Source will be prepended to this string based on the database name when - CreateConnection is called. - The default is the empty string, which means no other options will be used. - - - - - The provider invariant name that specifies the version of SQL Server Compact Edition - that should be used. - - - - - Instances of this class are used to create DbConnection objects for - SQL Server based on a given database name or connection string. By default, the connection is - made to '.\SQLEXPRESS'. This can be changed by changing the base connection - string when constructing a factory instance. - - - An instance of this class can be set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use SQL Server by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Creates a new connection factory with a default BaseConnectionString property of - 'Data Source=.\SQLEXPRESS; Integrated Security=True; MultipleActiveResultSets=True;'. - - - - - Creates a new connection factory with the given BaseConnectionString property. - - The connection string to use for options to the database other than the 'Initial Catalog'. The 'Initial Catalog' will be prepended to this string based on the database name when CreateConnection is called. - - - - Creates a connection for SQL Server based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - The connection string to use for options to the database other than the 'Initial Catalog'. - The 'Initial Catalog' will be prepended to this string based on the database name when - CreateConnection is called. - The default is 'Data Source=.\SQLEXPRESS; Integrated Security=True;'. - - - - - This attribute can be applied to either an entire derived class or to - individual or properties on that class. When applied - any discovered or properties will still be included - in the model but will not be automatically initialized. - - - - - Thrown when a context is generated from the templates in Database First or Model - First mode and is then used in Code First mode. - - - Code generated using the T4 templates provided for Database First and Model First use may not work - correctly if used in Code First mode. To use these classes with Code First please add any additional - configuration using attributes or the DbModelBuilder API and then remove the code that throws this - exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The object that holds the serialized object data. - The contextual information about the source or destination. - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Allows configuration to be performed for an complex type in a model. - A ComplexTypeConfiguration can be obtained via the ComplexType method on - or a custom type derived from ComplexTypeConfiguration - can be registered via the Configurations property on . - - The complex type to be configured. - - - - Allows configuration to be performed for a type in a model. - - The type to be configured. - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Initializes a new instance of ComplexTypeConfiguration - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The same ComplexTypeConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Allows derived configuration classes for entities and complex types to be registered with a - . - - - Derived configuration classes are created by deriving from - or and using a type to be included in the model as the generic - parameter. - Configuration can be performed without creating derived configuration classes via the Entity and ComplexType - methods on . - - - - - Discovers all types that inherit from or - in the given assembly and adds an instance - of each discovered type to this registrar. - - - Note that only types that are abstract or generic type definitions are skipped. Every - type that is discovered and added must provide a parameterless constructor. - - The assembly containing model configurations to add. - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - Adds an to the . - Only one can be added for each type in a model. - - The entity type being configured. - The entity type configuration to be added. - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - Adds an to the . - Only one can be added for each type in a model. - - The complex type being configured. - The complex type configuration to be added - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows the conventions used by a instance to be customized. - The default conventions can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. - - - - - Discover all conventions in the given assembly and add them to the . - - - This method add all conventions ordered by type name. The order in which conventions are added - can have an impact on how they behave because it governs the order in which they are run. - All conventions found must have a parameterless public constructor. - - The assembly containing conventions to be added. - - - - Enables one or more conventions for the . - - The conventions to be enabled. - - - - Enables a convention for the . - - The type of the convention to be enabled. - - - - Enables a convention for the . This convention - will run after the one specified. - - The type of the convention after which the enabled one will run. - The convention to enable. - - - - Enables a configuration convention for the . This convention - will run before the one specified. - - The type of the convention before which the enabled one will run. - The convention to enable. - - - - Disables one or more conventions for the . - - The conventions to be disabled. - - - - Disables a convention for the . - The default conventions that are available for removal can be found in the - System.Data.Entity.ModelConfiguration.Conventions namespace. - - The type of the convention to be disabled. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures the table and column mapping for an entity type or a sub-set of properties from an entity type. - This configuration functionality is available via the Code First Fluent API, see . - - The entity type to be mapped. - - - Initializes a new instance of the class. - - - - Configures the properties that will be included in this mapping fragment. - If this method is not called then all properties that have not yet been - included in a mapping fragment will be configured. - - An anonymous type including the properties to be mapped. - A lambda expression to an anonymous type that contains the properties to be mapped. C#: t => new { t.Id, t.Property1, t.Property2 } VB.Net: Function(t) New With { p.Id, t.Property1, t.Property2 } - - - - Configures a property that is included in this mapping fragment. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Re-maps all properties inherited from base types. - When configuring a derived type to be mapped to a separate table this will cause all properties to - be included in the table rather than just the non-inherited properties. This is known as - Table per Concrete Type (TPC) mapping. - - The same configuration instance so that multiple calls can be chained. - - - - Configures the table name to be mapped to. - - Name of the table. - The same configuration instance so that multiple calls can be chained. - - - - Configures the table name and schema to be mapped to. - - Name of the table. - Schema of the table. - The same configuration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the discriminator column used to differentiate between types in an inheritance hierarchy. - - The name of the discriminator column. - A configuration object to further configure the discriminator column and values. - - - - Configures the discriminator condition used to differentiate between types in an inheritance hierarchy. - - The type of the property being used to discriminate between types. - A lambda expression representing the property being used to discriminate between types. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object to further configure the discriminator condition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a column with length facets for an entity type or complex type. This configuration functionality is exposed by the Code First Fluent API, see . - - - - - Configures a primitive column from an entity type. - - - - Configures the primitive column to be optional. - The same instance so that multiple calls can be chained. - - - Configures the primitive column to be required. - The same instance so that multiple calls can be chained. - - - Configures the data type of the primitive column used to store the property. - The same instance so that multiple calls can be chained. - The name of the database provider specific data type. - - - Configures the order of the primitive column used to store the property. This method is also used to specify key ordering when an entity type has a composite key. - The same instance so that multiple calls can be chained. - The order that this column should appear in the database table. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - Configures the column to allow the maximum length supported by the database provider. - The same instance so that multiple calls can be chained. - - - Configures the column to have the specified maximum length. - The same instance so that multiple calls can be chained. - The maximum length for the column. Setting the value to null will remove any maximum length restriction from the column and a default length will be used for the database column. - - - Configures the column to be fixed length. - The same instance so that multiple calls can be chained. - - - Configures the column to be variable length. - The same instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Configures a condition used to discriminate between types in an inheritance hierarchy based on the values assigned to a property. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the condition to require a value in the property. - Rows that do not have a value assigned to column that this property is stored in are - assumed to be of the base type of this entity type. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a database column used to store a string values. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the column to allow the maximum length supported by the database provider. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - - The maximum length for the property. Setting 'null' will result in a default length being used for the column. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be variable length. - Columns are variable length by default. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be optional. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be required. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column. - - Name of the database provider specific data type. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column. - - The order that this column should appear in the database table. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to support Unicode string content. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the column supports Unicode string content. - - Value indicating if the column supports Unicode string content or not. Specifying 'null' will remove the Unicode facet from the column. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Configures a discriminator column used to differentiate between types in an inheritance hierarchy. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - Type of the discriminator value. - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - Type of the discriminator value. - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a many relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be many:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:required with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:required without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:optional with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:optional without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an optional relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be optional:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:required with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:required without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional with a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional without a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional with a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A lambda expression representing the navigation property on the other end of the relationship. - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional without a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an required relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be required:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:optional with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:optional without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required with a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required without a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required with a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required without a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Base class for performing configuration of a relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures a relationship that can support cascade on delete functionality. - - - - - Configures cascade delete to be on for the relationship. - - - - - Configures whether or not cascade delete is on for the relationship. - - Value indicating if cascade delete is on or not. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a relationship that can support foreign key properties that are exposed in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - The dependent entity type. - - - - Configures a relationship that can only support foreign key properties that are not exposed in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the relationship to use foreign key property(s) that are not exposed in the object model. - The column(s) and table can be customized by specifying a configuration action. - If an empty configuration action is specified then column name(s) will be generated by convention. - If foreign key properties are exposed in the object model then use the HasForeignKey method. - Not all relationships support exposing foreign key properties in the object model. - - Action that configures the foreign key column(s) and table. - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Configures the relationship to use foreign key property(s) that are exposed in the object model. - If the foreign key property(s) are not exposed in the object model then use the Map method. - - The type of the key. - A lambda expression representing the property to be used as the foreign key. If the foreign key is made up of multiple properties then specify an anonymous type including the properties. When using multiple foreign key properties, the properties must be specified in the same order that the the primary key properties were configured for the principal entity type. - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Configures the table and column mapping of a relationship that does not expose foreign key properties in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the name of the column(s) for the foreign key. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the the primary key properties were configured for the target entity type. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for a database column that has been configured with . - The annotation value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The name of the column that was configured with the HasKey method. - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that the foreign key column(s) reside in. - The table that is specified must already be mapped for the entity type. - If you want the foreign key(s) to reside in their own table then use the Map method - on to perform - entity splitting to create the table with just the primary key property. Foreign keys can - then be added to the table via this method. - - Name of the table. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table name and schema that the foreign key column(s) reside in. - The table that is specified must already be mapped for the entity type. - If you want the foreign key(s) to reside in their own table then use the Map method - on to perform - entity splitting to create the table with just the primary key property. Foreign keys can - then be added to the table via this method. - - Name of the table. - Schema of the table. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - - - - Configures the table and column mapping of a many:many relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the join table name for the relationship. - - Name of the table. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the join table name and schema for the relationship. - - Name of the table. - Schema of the table. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the join table. The annotation value can later be used when - processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the name of the column(s) for the left foreign key. - The left foreign key points to the parent entity of the navigation property specified in the HasMany call. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the the primary key properties were configured for the target entity type. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the column(s) for the right foreign key. - The right foreign key points to the parent entity of the the navigation property specified in the WithMany call. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the the primary key properties were configured for the target entity type. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - - - Determines whether the specified object is equal to the current object. - true if the specified object is equal to the current object; otherwise, false. - The object to compare with the current object. - - - - - - - - - - - - - Configures a many:many relationship. - This configuration functionality is available via the Code First Fluent API, see . - - The type of the parent entity of the navigation property specified in the HasMany call. - The type of the parent entity of the navigation property specified in the WithMany call. - - - - Configures the foreign key column(s) and table used to store the relationship. - - Action that configures the foreign key column(s) and table. - The same instance so that multiple calls can be chained. - - - - Configures stored procedures to be used for modifying this relationship. - The default conventions for procedure and parameter names will be used. - - The same instance so that multiple calls can be chained. - - - - Configures stored procedures to be used for modifying this relationship. - - - Configuration to override the default conventions for procedure and parameter names. - - The same instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Used to configure a property with length facets for an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Used to configure a primitive property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the parameter used in stored procedures for this property. - - Name of the parameter. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures the property to allow the maximum length supported by the database provider. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property and a default length will be used for the database column. - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - Properties are variable length by default. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to allow the maximum length supported by the database provider. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - properties are variable length by default. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - properties are optional by default. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be a row version in the database. - The actual data type will vary depending on the database provider being used. - Setting the property to be a row version will automatically configure it to be an - optimistic concurrency token. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - properties are required by default. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the precision of the property. - If the database provider does not support precision for the data type of the column then the value is ignored. - - Precision of the property. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - properties are required by default. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the precision and scale of the property. - - The precision of the property. - The scale of the property. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to allow the maximum length supported by the database provider. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property and a default length will be used for the database column.. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - properties are variable length by default. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - properties are optional by default. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to support Unicode string content. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property supports Unicode string content. - - Value indicating if the property supports Unicode string content or not. Specifying 'null' will remove the Unicode facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Convention to process instances of found on properties in the model - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on foreign key properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on navigation properties in the model. - - - - - Convention to process instances of found on primitive properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Convention to detect navigation properties to be inverses of each other when only one pair - of navigation properties exists between the related types. - - - - - - - - Convention to configure a type as a complex type if it has no primary key, no mapped base type and no navigation properties. - - - - - - - - Convention to add a cascade delete to the join table from both tables involved in a many to many relationship. - - - - - Convention to ensure an invalid/unsupported mapping is not created when mapping inherited properties - - - - - Convention to set the table name to be a pluralized version of the entity type name. - - - - - - - - Convention to set precision to 18 and scale to 2 for decimal properties. - - - - - Initializes a new instance of with the default precision and scale. - - - - - Initializes a new instance of with the specified precision and scale. - - Precision - Scale - - - - - - - Convention to move primary key properties to appear first. - - - - - - - - Convention to distinguish between optional and required relationships based on CLR nullability of the foreign key property. - - - - - - - - Base class for conventions that discover foreign key properties. - - - - - When overriden returns true if should be part of the foreign key. - - The association type being configured. - The dependent end. - The candidate property on the dependent end. - The principal end entity type. - A key property on the principal end that is a candidate target for the foreign key. - true if dependentProperty should be a part of the foreign key; otherwise, false. - - - - - - - Returns true if the convention supports pairs of entity types that have multiple associations defined between them. - - - - - Convention to process instances of found on navigation properties in the model. - - - - - - - - Convention to detect primary key properties. - Recognized naming patterns in order of precedence are: - 1. 'Id' - 2. [type name]Id - Primary key detection is case insensitive. - - - - - Base class for conventions that discover primary key properties. - - - - - - - - When overriden returns the subset of properties that will be part of the primary key. - - The entity type. - The primitive types of the entities - The properties that should be part of the primary key. - - - - - - - Convention to discover foreign key properties whose names are a combination - of the dependent navigation property name and the principal type primary key property name(s). - - - - - - - - - - - Convention to enable cascade delete for any required relationships. - - - - - - - - Convention to configure the primary key(s) of the dependent entity type as foreign key(s) in a one:one relationship. - - - - - - - - Convention to set the entity set name to be a pluralized version of the entity type name. - - - - - - - - Convention to discover foreign key properties whose names match the principal type primary key property name(s). - - - - - - - - Convention to set a maximum length for properties whose type supports length facets. The default value is 128. - - - - - Initializes a new instance of with the default length. - - - - - Initializes a new instance of with the specified length. - - The maximum lenght of properties. - - - - - - - - - - - - - Convention to set a default maximum length of 4000 for properties whose type supports length facets when SqlCe is the provider. - - - - - Initializes a new instance of with the default length. - - - - - Initializes a new instance of with the specified length. - - The default maximum length for properties. - - - - - - - - - - Convention to configure integer primary keys to be identity. - - - - - - - - Convention to discover foreign key properties whose names are a combination - of the principal type name and the principal type primary key property name(s). - - - - - - - - Allows configuration to be performed for an entity type in a model. - An EntityTypeConfiguration can be obtained via the Entity method on - or a custom type derived from EntityTypeConfiguration - can be registered via the Configurations property on . - - The entity type being configured. - - - - Initializes a new instance of EntityTypeConfiguration - - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - A builder to configure the key. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures index property(s) for this entity type. - - The type of the index. - A lambda expression representing the property to apply an index to. C#: t => t.Id VB.Net: Function(t) t.Id If the index is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The IndexConfiguration instance so that the index can be further configured. - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - Allows advanced configuration related to how this entity type is mapped to the database schema. - By default, any configuration will also apply to any type derived from this entity type. - Derived types can be configured via the overload of Map that configures a derived type or - by using an EntityTypeConfiguration for the derived type. - The properties of an entity can be split between multiple tables using multiple Map calls. - Calls to Map are additive, subsequent calls will not override configuration already preformed via Map. - - - An action that performs configuration against an - - . - - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Allows advanced configuration related to how a derived entity type is mapped to the database schema. - Calls to Map are additive, subsequent calls will not override configuration already preformed via Map. - - The derived entity type to be configured. - - An action that performs configuration against an - - . - - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures an optional relationship from this entity type. - Instances of the entity type will be able to be saved to the database without this relationship being specified. - The foreign key in the database will be nullable. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures a required relationship from this entity type. - Instances of the entity type will not be able to be saved to the database unless this relationship is specified. - The foreign key in the database will be non-nullable. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures a many relationship from this entity type. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Exception thrown by during model creation when an invalid model is generated. - - - - - Initializes a new instance of ModelValidationException - - - - - Initializes a new instance of ModelValidationException - - The exception message. - - - - Initializes a new instance of ModelValidationException - - The exception message. - The inner exception. - - - Initializes a new instance of class serialization info and streaming context. - The serialization info. - The streaming context. - - - - Exception thrown from when validating entities fails. - - - - - Initializes a new instance of DbEntityValidationException. - - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - Validation results. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - The inner exception. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - Validation results. - The inner exception. - - - - Validation results. - - - - - Represents validation results for single entity. - - - - - Creates an instance of class. - - Entity entry the results applies to. Never null. - - List of instances. Never null. Can be empty meaning the entity is valid. - - - - - Gets an instance of the results applies to. - - - - - Gets validation errors. Never null. - - - - - Gets an indicator if the entity is valid. - - - - - Exception thrown from when an exception is thrown from the validation - code. - - - - - Initializes a new instance of DbUnexpectedValidationException. - - - - - Initializes a new instance of DbUnexpectedValidationException. - - The exception message. - - - - Initializes a new instance of DbUnexpectedValidationException. - - The exception message. - The inner exception. - - - - Initializes a new instance of DbUnexpectedValidationException with the specified serialization info and - context. - - The serialization info. - The streaming context. - - - - Validation error. Can be either entity or property level validation error. - - - - - Creates an instance of . - - Name of the invalid property. Can be null. - Validation error message. Can be null. - - - - Gets name of the invalid property. - - - - - Gets validation error message. - - - - diff --git a/app/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.SqlServer.dll b/app/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.SqlServer.dll deleted file mode 100644 index 9a9c5e9..0000000 Binary files a/app/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.SqlServer.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.SqlServer.xml b/app/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.SqlServer.xml deleted file mode 100644 index 77acacd..0000000 --- a/app/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.SqlServer.xml +++ /dev/null @@ -1,2093 +0,0 @@ - - - - EntityFramework.SqlServer - - - - - Contains extension methods for the class. - - - - - Configures an awaiter used to await this to avoid - marshalling the continuation - back to the original context, but preserve the current culture and UI culture. - - - The type of the result produced by the associated . - - The task to be awaited on. - An object used to await this task. - - - - Configures an awaiter used to await this to avoid - marshalling the continuation - back to the original context, but preserve the current culture and UI culture. - - The task to be awaited on. - An object used to await this task. - - - - Provides an awaitable object that allows for awaits on that - preserve the culture. - - - The type of the result produced by the associated . - - This type is intended for compiler use only. - - - - Constructs a new instance of the class. - - The task to be awaited on. - - - Gets an awaiter used to await this . - An awaiter instance. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was canceled. - The task completed in a Faulted state. - - - This method is not implemented and should not be called. - The action to invoke when the await operation completes. - - - - Schedules the continuation onto the associated with this - . - - The action to invoke when the await operation completes. - - The argument is null - (Nothing in Visual Basic). - - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Provides an awaitable object that allows for awaits on that - preserve the culture. - - This type is intended for compiler use only. - - - - Constructs a new instance of the class. - - The task to be awaited on. - - - Gets an awaiter used to await this . - An awaiter instance. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was canceled. - The task completed in a Faulted state. - - - This method is not implemented and should not be called. - The action to invoke when the await operation completes. - - - - Schedules the continuation onto the associated with this - . - - The action to invoke when the await operation completes. - - The argument is null - (Nothing in Visual Basic). - - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - An that retries actions that throw exceptions caused by SQL Azure transient failures. - - - This execution strategy will retry the operation on and - if the contains any of the following error numbers: - 40613, 40501, 40197, 10929, 10928, 10060, 10054, 10053, 233, 64 and 20 - - - - - Creates a new instance of . - - - The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor. - - - - - Creates a new instance of with the specified limits for - number of retries and the delay between retries. - - The maximum number of retry attempts. - The maximum delay in milliseconds between retries. - - - - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Returns the checksum of the values in a collection. Null values are ignored. - The checksum computed from the input collection. - The collection of values over which the checksum is computed. - - - Returns the checksum of the values in a collection. Null values are ignored. - The checksum computed from the input collection. - The collection of values over which the checksum is computed. - - - Returns the ASCII code value of the left-most character of a character expression. - The ASCII code of the first character in the input string. - A valid string. - - - Returns the character that corresponds to the specified integer ASCII value. - The character that corresponds to the specified ASCII value. - An ASCII code. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - - A of value that is the starting position of toFind if it is found in toSearch . - - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns an integer value that indicates the difference between the SOUNDEX values of two character expressions. - The SOUNDEX difference between the two strings. - The first string. - The second string. - - - Returns the Unicode character with the specified integer code, as defined by the Unicode standard. - The character that corresponds to the input character code. - A character code. - - - Returns the starting position of the first occurrence of a pattern in a specified expression, or zeros if the pattern is not found, on all valid text and character data types. - The starting character position where the string pattern was found. - A string pattern to search for. - The string to search. - - - Returns a Unicode string with the delimiters added to make the input string a valid Microsoft SQL Server delimited identifier. - The original string with brackets added. - The expression that quote characters will be added to. - - - Returns a Unicode string with the delimiters added to make the input string a valid Microsoft SQL Server delimited identifier. - The original string with the specified quote characters added. - The expression that quote characters will be added to. - The one-character string to use as the delimiter. It can be a single quotation mark ( ' ), a left or right bracket ( [ ] ), or a double quotation mark ( " ). If quote_character is not specified, brackets are used. - - - Repeats a string value a specified number of times. - The target string, repeated the number of times specified by count . - A valid string. - The value that specifies how many time to repeat target . - - - Converts an alphanumeric string to a four-character (SOUNDEX) code to find similar-sounding words or names. - The SOUNDEX code of the input string. - A valid string. - - - Returns a string of repeated spaces. - A string that consists of the specified number of spaces. - The number of spaces. If negative, a null string is returned. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point. - - - Inserts a string into another string. It deletes a specified length of characters in the target string at the start position and then inserts the second string into the target string at the start position. - A string consisting of the two strings. - The target string. - The character position in stringinput where the replacement string is to be inserted. - The number of characters to delete from stringInput . If length is longer than stringInput , deletion occurs up to the last character in stringReplacement . - The substring to be inserted into stringInput . - - - Returns the integer value, as defined by the Unicode standard, for the first character of the input expression. - The character code for the first character in the input string. - A valid string. - - - A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine. - The angle, in radians, defined by the input cosine value. - The cosine of an angle. - - - A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine. - An angle, measured in radians. - The cosine of an angle. - - - A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine. - An angle, measured in radians. - The sine of an angle. - - - A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine. - An angle, measured in radians. - The sine of an angle. - - - A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent. - An angle, measured in radians. - The tangent of an angle. - - - A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent. - An angle, measured in radians. - The tangent of an angle. - - - Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value. - An angle, measured in radians. - The y-coordinate of a point. - The x-coordinate of a point. - - - Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value. - An angle, measured in radians. - The y-coordinate of a point. - The x-coordinate of a point. - - - Returns the trigonometric cosine of the specified angle, in radians, in the specified expression. - The trigonometric cosine of the specified angle. - An angle, measured in radians. - - - Returns the trigonometric cosine of the specified angle, in radians, in the specified expression. - The trigonometric cosine of the specified angle. - An angle, measured in radians. - - - A mathematical function that returns the trigonometric cotangent of the specified angle, in radians. - The trigonometric cotangent of the specified angle. - An angle, measured in radians. - - - A mathematical function that returns the trigonometric cotangent of the specified angle, in radians. - The trigonometric cotangent of the specified angle. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the exponential value of the specified float expression. - The constant e raised to the power of the input value. - The input value. - - - Returns the exponential value of the specified float expression. - The constant e raised to the power of the input value. - The input value. - - - Returns the natural logarithm of the specified input value. - The natural logarithm of the input value. - A numeric expression. - - - Returns the natural logarithm of the specified input value. - The natural logarithm of the input value. - A numeric expression. - - - Returns the base-10 logarithm of the specified input value. - The base-10 logarithm of the input value. - A numeric expression. - - - Returns the base-10 logarithm of the specified input value. - The base-10 logarithm of the input value. - A numeric expression. - - - Returns the constant value of pi. - The numeric value of pi. - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees. - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees. - - - Returns a pseudo-random float value from 0 through 1, exclusive. - The pseudo-random value. - - - Returns a pseudo-random float value from 0 through 1, exclusive. - The pseudo-random value. - The seed value. If seed is not specified, the SQL Server Database Engine assigns a seed value at random. For a specified seed value, the result returned is always the same. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the trigonometric sine of the specified angle. - The trigonometric sine of the input expression. - An angle, measured in radians. - - - Returns the trigonometric sine of the specified angle. - The trigonometric sine of the input expression. - An angle, measured in radians. - - - Returns the square root of the specified number. - The square root of the input value. - A numeric expression. - - - Returns the square root of the specified number. - The square root of the input value. - A numeric expression. - - - Returns the square of the specified number. - The square of the input value. - A numeric expression. - - - Returns the square of the specified number. - The square of the input value. - A numeric expression. - - - Returns the trigonometric tangent of the input expression. - The tangent of the input angle. - An angle, measured in radians. - - - Returns the trigonometric tangent of the input expression. - The tangent of the input angle. - An angle, measured in radians. - - - Returns a new datetime value based on adding an interval to the specified date. - The new date. - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns a new time span value based on adding an interval to the specified time span. - The new time span. - The part of the date to increment. - The value used to increment a date by a specified amount. - The time span to increment. - - - Returns a new date value based on adding an interval to the specified date. - The new point in time, expressed as a date and time of day, relative to Coordinated Universal Time (UTC). - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns a new datetime value based on adding an interval to the specified date. - - A of value that is the new date. - - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The value specifying the number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two Dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The the specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns the current database system timestamp as a datetime value without the database time zone offset. This value is derived from the operating system of the computer on which the instance of SQL Server is running. - The current database timestamp. - - - Returns the current database system timestamp as a datetime value. The database time zone offset is not included. This value represents the current UTC time (Coordinated Universal Time). This value is derived from the operating system of the computer on which the instance of SQL Server is running. - The current database UTC timestamp. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input values. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the current date and time. - The current date and time. - - - Returns the name of the current user. - The name of the current user. - - - Returns the workstation name. - The name of the workstation. - - - Returns a database user name corresponding to a specified identification number. - The user name. - A user ID. - - - Returns a database user name corresponding to a specified identification number. - The user name. - - - Indicates whether the input value is a valid numeric type. - 1 if the input expression is a valid numeric data type; otherwise, 0. - A string expression. - - - Indicates whether the input value is a valid date or time. - 1 if the input expression is a valid date or time value of datetime or smalldatetime data types; otherwise, 0. - The tested value. - - - - Provider to convert provider agnostic migration operations into SQL commands - that can be run against a Microsoft SQL Server database. - - - - - Determines if a provider specific exception corresponds to a database-level permission denied error. - - The database exception. - true if the supplied exception corresponds to a database-level permission denied error; otherwise false. - - - - Converts a set of migration operations into Microsoft SQL Server specific SQL. - - The operations to be converted. - Token representing the version of SQL Server being targeted (i.e. "2005", "2008"). - A list of SQL statements to be executed to perform the migration operations. - - - - Generates the SQL body for a stored procedure. - - The command trees representing the commands for an insert, update or delete operation. - The rows affected parameter name. - The provider manifest token. - The SQL body for the stored procedure. - - - - Generates the specified update database operation which represents applying a series of migrations. - The generated script is idempotent, meaning it contains conditional logic to check if individual migrations - have already been applied and only apply the pending ones. - - The update database operation. - - - - Generates SQL for a . - Allows derived providers to handle additional operation types. - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Creates an empty connection for the current provider. - Allows derived providers to use connection other than . - - An empty connection for the current provider. - - - - Generates the specified create procedure operation. - - The create procedure operation. - - - - Generates the specified alter procedure operation. - - The alter procedure operation. - - - - Generates the specified drop procedure operation. - - The drop procedure operation. - - - - Generates SQL for a . This method differs from - in that it will - create the target database schema if it does not already exist. - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Writes CREATE TABLE SQL to the target writer. - - The operation to produce SQL for. - The target writer. - - - - Override this method to generate SQL when the definition of a table or its attributes are changed. - The default implementation of this method does nothing. - - The operation describing changes to the table. - - - - Generates SQL to mark a table as a system table. - Generated SQL should be added using the Statement method. - - The table to mark as a system table. - The to write the generated SQL to. - - - - Generates SQL to create a database schema. - Generated SQL should be added using the Statement method. - - The name of the schema to create. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Call this method to generate SQL that will attempt to drop the default constraint created - when a column is created. This method is usually called by code that overrides the creation or - altering of columns. - - The table to which the constraint applies. - The column to which the constraint applies. - The writer to which generated SQL should be written. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement or StatementBatch methods. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates the specified rename procedure operation. - - The rename procedure operation. - - - - Generates the specified move procedure operation. - - The move procedure operation. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for the given column model. This method is called by other methods that - process columns and can be overridden to change the SQL generated. - - The column for which SQL is being generated. - The writer to which generated SQL should be written. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL to specify a constant byte[] default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant bool default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant DateTime default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant DateTimeOffset default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant Guid default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant string default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant TimeSpan default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant geogrpahy default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant geometry default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify the data type of a column. - This method just generates the actual type, not the SQL to create the column. - - The definition of the column. - SQL representing the data type. - - - - Generates a quoted name. The supplied name may or may not contain the schema. - - The name to be quoted. - The quoted name. - - - - Quotes an identifier for SQL Server. - - The identifier to be quoted. - The quoted identifier. - - - - Adds a new Statement to be executed against the database. - - The statement to be executed. - Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. - The batch terminator for the database provider. - - - - Gets a new that can be used to build SQL. - This is just a helper method to create a writer. Writing to the writer will - not cause SQL to be registered for execution. You must pass the generated - SQL to the Statement method. - - An empty text writer to use for SQL generation. - - - - Adds a new Statement to be executed against the database. - - The writer containing the SQL to be executed. - The batch terminator for the database provider. - - - - Breaks sql string into one or more statements, handling T-SQL utility statements as necessary. - - The SQL to split into one ore more statements to be executed. - Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. - - - - Returns the column default value to use for store-generated GUID columns when - no default value is explicitly specified in the migration. - Returns newsequentialid() for on-premises SQL Server 2005 and later. - Returns newid() for SQL Azure. - - Either newsequentialid() or newid() as described above. - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Constructs a geography instance representing a Point instance from its x and y values and a spatial reference ID (SRID). - The constructed geography instance. - The x-coordinate of the Point being generated. - The y-coordinate of the Point being generated - The SRID of the geography instance. - - - Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance. - The Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance. - The geography value. - - - Returns a geometric object representing the union of all point values whose distance from a geography instance is less than or equal to a specified value, allowing for a specified tolerance. - The union of all point values whose distance from a geography instance is less than or equal to a specified value - The geography value. - The distance. - The specified tolerance. - Specifying whether the tolerance value is relative or absolute. - - - Returns the maximum angle between the point returned by EnvelopeCenter() and a point in the geography instance in degrees. - the maximum angle between the point returned by EnvelopeCenter(). - The geography value. - - - Returns a point that can be used as the center of a bounding circle for the geography instance. - A SqlGeography value that specifies the location of the center of a bounding circle. - The geography value. - - - Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available. - True if a geography instance potentially intersects another SqlGeography instance; otherwise, false. - The geography value. - Another geography instance to compare against the instance on which Filter is invoked. - - - Tests if the SqlGeography instance is the same as the specified type. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - The geography value. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - - - Returns the total number of rings in a Polygon instance. - The total number of rings. - The geography value. - - - Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance. - - Returns . - - The geography value. - The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number. - - - Returns the specified ring of the SqlGeography instance: 1 ≤ n ≤ NumRings(). - A SqlGeography object that represents the ring specified by n. - The geography value. - An int expression between 1 and the number of rings in a polygon instance. - - - Constructs a geometry instance representing a Point instance from its x and y values and a spatial reference ID (SRID). - The constructed geometry instance. - The x-coordinate of the Point being generated. - The y-coordinate of the Point being generated - The SRID of the geography instance. - - - Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance. - The Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geometry instance. - The geometry value. - - - Returns a geometric object representing the union of all point values whose distance from a geometry instance is less than or equal to a specified value, allowing for a specified tolerance. - The union of all point values whose distance from a geometry instance is less than or equal to a specified value - The geometry value. - The distance. - The specified tolerance. - Specifying whether the tolerance value is relative or absolute. - - - Tests if the SqlGeometry instance is the same as the specified type. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - The geometry value. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - - - Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available. - True if a geography instance potentially intersects another SqlGeography instance; otherwise, false. - The geometry value. - Another geography instance to compare against the instance on which Filter is invoked. - - - Converts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium (OGC) type. - The converted geometry instance. - The geometry value. - - - Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance. - - Returns . - - The geometry value. - The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number. - - - - Indicates if the provider supports the parameter optimization described in EntityFramework6 GitHub issue #195. - - True since this provider supports the parameter optimization. - - - - The DbProviderServices implementation for the SqlClient provider for SQL Server. - - - Note that instance of this type also resolve additional provider services for Microsoft SQL Server - when this type is registered as an EF provider either using an entry in the application's config file - or through code-based registration in . - The services resolved are: - Requests for are resolved to a Singleton instance of - to create connections to SQL Express by default. - Requests for for the invariant name "System.Data.SqlClient" - for any server name are resolved to a delegate that returns a - to provide a non-retrying policy for SQL Server. - Requests for for the invariant name "System.Data.SqlClient" are - resolved to instances to provide default Migrations SQL - generation for SQL Server. - Requests for for the invariant name "System.Data.SqlClient" are - resolved to a Singleton instance of to provide default spatial - services for SQL Server. - - - - - This is the well-known string using in configuration files and code-based configuration as - the "provider invariant name" used to specify Microsoft SQL Server for ADO.NET and - Entity Framework provider services. - - - - - Registers a handler to process non-error messages coming from the database provider. - - The connection to receive information for. - The handler to process messages. - - - - Create a Command Definition object, given the connection and command tree - - provider manifest that was determined from metadata - command tree for the statement - an executable command definition object - - - - See issue 2390 - cloning the DesignTimeVisible property on the - can cause deadlocks. - So here overriding to provide a method that does not clone DesignTimeVisible. - - the object to clone - a clone of the - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - - Returns provider manifest token for a given connection. - - Connection to find manifest token from. - The provider manifest token for the specified connection. - - - - Returns the provider manifest by using the specified version information. - - The token information associated with the provider manifest. - The provider manifest by using the specified version information. - - - - Gets a spatial data reader for SQL Server. - - The reader where the spatial data came from. - The manifest token associated with the provider manifest. - The spatial data reader. - - - - Gets a spatial data reader for SQL Server. - - The manifest token associated with the provider manifest. - The spatial data reader. - - - - Generates a data definition language (DDL) script that creates schema objects - (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection - parameter and targeted for the version of the database corresponding to the provider manifest token. - - The provider manifest token identifying the target version. - The structure of the database. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter - and targeted for the version of the database corresponding to the provider manifest token. - - - - - Create the database and the database objects. - If initial catalog is not specified, but AttachDBFilename is specified, we generate a random database name based on the AttachDBFilename. - Note: this causes pollution of the db, as when the connection string is later used, the mdf will get attached under a different name. - However if we try to replicate the name under which it would be attached, the following scenario would fail: - The file does not exist, but registered with database. - The user calls: If (DatabaseExists) DeleteDatabase - CreateDatabase - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - - Determines whether the database for the given connection exists. - There are three cases: - 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 then true, - if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise - if the there are no databases corresponding to the given file return false, otherwise throw. - Note: We open the connection to cover the scenario when the mdf exists, but is not attached. - Given that opening the connection would auto-attach it, it would not be appropriate to return false in this case. - Also note that checking for the existence of the file does not work for a remote server. (Dev11 #290487) - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - True if the provider can deduce the database only based on the connection. - - - - Determines whether the database for the given connection exists. - There are three cases: - 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 then true, - if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise - if the there are no databases corresponding to the given file return false, otherwise throw. - Note: We open the connection to cover the scenario when the mdf exists, but is not attached. - Given that opening the connection would auto-attach it, it would not be appropriate to return false in this case. - Also note that checking for the existence of the file does not work for a remote server. (Dev11 #290487) - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - True if the provider can deduce the database only based on the connection. - - - - Delete the database for the given connection. - There are three cases: - 1. If Initial Catalog is specified (X) drop database X - 2. Else if AttachDBFilename is specified (F) drop all the databases corresponding to F - if none throw - 3. If niether the catalog not the file name is specified - throw - Note that directly deleting the files does not work for a remote server. However, even for not attached - databases the current logic would work assuming the user does: if (DatabaseExists) DeleteDatabase - - Connection - Timeout for internal commands. - Item Collection. - - - - Clones the connection. - - The original connection. - The factory to use. - Cloned connection - - - - The Singleton instance of the SqlProviderServices type. - - - - - Set to the full name of the Microsoft.SqlServer.Types assembly to override the default selection - - - - - Get or sets a value indicating whether parameter values are truncated to - the scale (number of decimal places) defined for their corresponding columns when they are sent - to the database. A value of true indicates that objects - created for columns will have their - properties set, which will cause the parameter values to be truncated. If set to false - then the properties will not be set, avoiding the truncation - behavior of and allowing SQL Server to round values if necessary. - The default value is true to prevent breaking existing applications that depend on this - behavior. - - - - - Gets or sets a value indicating whether to use the SCOPE_IDENTITY() function to retrieve values - generated by the database for numeric columns during an INSERT operation. The default value of - true is recommended and can provide better performance if all numeric values are generated - using IDENTITY columns. If set to false, an OUTPUT clause will be used instead. An OUTPUT - clause makes it possible to retrieve values generated by sequences or other means. - - - - - Gets or sets a value indicating whether the ROW_NUMBER() function is used in sort expression - passed to the ORDER BY clause when OFFSET is present in query. The default value of true - is recommended to obtain query results that are stable for paging operations. The value of - false can be used for compatibility with previous versions of EF and will cause the sort - expression to be passed unmodified to the ORDER BY clause, which can lead to unstable results - if the ordering is ambiguous. - - - This flag only applies to SQL Server 2012 or later. This flag does not affect queries that have - already been translated to SQL and cached, therefore applications that need to set the value to - false for compatibility should do so before executing any queries. - - - - - An implementation of to provide support for geospatial types when using - Entity Framework with Microsoft SQL Server. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.dll b/app/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.dll deleted file mode 100644 index 9275df6..0000000 Binary files a/app/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.xml b/app/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.xml deleted file mode 100644 index 0ca5849..0000000 --- a/app/packages/EntityFramework.6.2.0/lib/net45/EntityFramework.xml +++ /dev/null @@ -1,53236 +0,0 @@ - - - - EntityFramework - - - - - Represents a result mapping for a function import. - - - - - Base class for items in the mapping space (DataSpace.CSSpace) - - - - - Adds a type mapping. - - The type mapping to add. - - - - Removes a type mapping. - - The type mapping to remove. - - - - Gets the type mappings. - - - - - Specifies a mapping condition evaluated by checking whether the value - of the a property/column is null or not null. - - - - - Mapping metadata for Conditional property mapping on a type. - Condition Property Mapping specifies a Condition either on the C side property or S side property. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ConditionProperyMap ( constant value-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --ConditionProperyMap ( constant value-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the condition property map elements in the - above example. - - - - - Mapping metadata for all types of property mappings. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all property map elements in the - above example. This includes the scalar property maps, complex property maps - and end property maps. - - - - - Gets an EdmProperty that specifies the mapped property. - - - - - Gets an EdmProperty that specifies the mapped property. - - - - - Gets an EdmProperty that specifies the mapped column. - - - - - Creates an IsNullConditionMapping instance. - - An EdmProperty that specifies a property or column. - A boolean that indicates whether to perform a null or a not-null check. - - - - Gets a bool that specifies whether the condition is evaluated by performing a null check - or a not-null check. - - - - - Specifies a mapping condition evaluated by comparing the value of - a property or column with a given value. - - - - - Creates a ValueConditionMapping instance. - - An EdmProperty that specifies a property or column. - An object that specifies the value to compare with. - - - - Gets an object that specifies the value to check against. - - - - - Serializes an that conforms to the restrictions of a single - CSDL schema file to an XML writer. The model to be serialized must contain a single - . - - - - - Serialize the to the XmlWriter. - - - The EdmModel to serialize. - - The XmlWriter to serialize to. - The serialized model's namespace. - true if the model is valid; otherwise, false. - - - - Occurs when an error is encountered serializing the model. - - - - - Information about an error that occurred processing an Entity Framework model. - - - - - Gets an optional value indicating which property of the source item caused the event to be raised. - - - - - Gets an optional descriptive message the describes the error that is being raised. - - - - - Gets a value indicating the that caused the event to be raised. - - - - - Contains additional attributes and properties of the - - - Note that objects are short lived and exist only to - make initialization easier. Instance of this type are not - compared to each other and arrays returned by array properties are copied to internal - collections in the ctor. Therefore it is fine to suppress the - Code Analysis messages. - - - - Gets or sets the function schema. - The function schema. - - - Gets or sets the store function name. - The store function name. - - - Gets or sets the command text associated with the function. - The command text associated with the function. - - - Gets or sets the entity sets for the function. - The entity sets for the function. - - - Gets a value that indicates whether this is an aggregate function. - true if this is an aggregate function; otherwise, false. - - - Gets or sets whether this function is a built-in function. - true if this function is a built-in function; otherwise, false. - - - Gets or sets whether the function contains no arguments. - true if the function contains no arguments; otherwise, false. - - - Gets or sets whether this function can be composed. - true if this function can be composed; otherwise, false. - - - Gets or sets whether this function is from a provider manifest. - true if this function is from a provider manifest; otherwise, false. - - - Gets or sets whether this function is a cached store function. - true if this function is a cached store function; otherwise, false. - - - Gets or sets whether this function is a function import. - true if this function is a function import; otherwise, false. - - - Gets or sets the return parameters. - The return parameters. - - - Gets or sets the parameter type semantics. - The parameter type semantics. - - - Gets or sets the function parameters. - The function parameters. - - - - Serializes the storage (database) section of an to XML. - - - - - Serialize the to the - - The EdmModel to serialize - Provider information on the Schema element - ProviderManifestToken information on the Schema element - The XmlWriter to serialize to - A value indicating whether to serialize Nullable attributes when they are set to the default value. - true if model can be serialized, otherwise false - - - - Serialize the to the - - The EdmModel to serialize - Namespace name on the Schema element - Provider information on the Schema element - ProviderManifestToken information on the Schema element - The XmlWriter to serialize to - A value indicating whether to serialize Nullable attributes when they are set to the default value. - true if model can be serialized, otherwise false - - - - Occurs when an error is encountered serializing the model. - - - - Visits each element of an expression tree from a given root expression. If any element changes, the tree is rebuilt back to the root and the new root expression is returned; otherwise the original root expression is returned. - - - Defines the basic functionality that should be implemented by visitors that return a result value of a specific type. - The type of the result produced by the visitor. - - - When overridden in a derived class, handles any expression of an unrecognized type. - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern method for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - Typed visitor pattern method for DbInExpression. - - The DbInExpression that is being visited. - An instance of TResultType. - - - - Initializes a new instance of the - - class. - - - - Replaces an old expression with a new one for the expression visitor. - The old expression. - The new expression. - - - Represents an event when the variable is rebound for the expression visitor. - The location of the variable. - The reference of the variable where it is rebounded. - - - Represents an event when entering the scope for the expression visitor with specified scope variables. - The collection of scope variables. - - - Exits the scope for the expression visitor. - - - Implements the visitor pattern for the expression. - The implemented visitor pattern. - The expression. - - - Implements the visitor pattern for the expression list. - The implemented visitor pattern. - The expression list. - - - Implements the visitor pattern for expression binding. - The implemented visitor pattern. - The expression binding. - - - Implements the visitor pattern for the expression binding list. - The implemented visitor pattern. - The expression binding list. - - - Implements the visitor pattern for the group expression binding. - The implemented visitor pattern. - The binding. - - - Implements the visitor pattern for the sort clause. - The implemented visitor pattern. - The sort clause. - - - Implements the visitor pattern for the sort order. - The implemented visitor pattern. - The sort order. - - - Implements the visitor pattern for the aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the function aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the group aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the Lambda function. - The implemented visitor pattern. - The lambda function. - - - Implements the visitor pattern for the type. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the type usage. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the entity set. - The implemented visitor pattern. - The entity set. - - - Implements the visitor pattern for the function. - The implemented visitor pattern. - The function metadata. - - - Implements the visitor pattern for the basic functionality required by expression types. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the different kinds of constants. - The implemented visitor. - The constant expression. - - - Implements the visitor pattern for a reference to a typed null literal. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a reference to a variable that is currently in scope. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a reference to a parameter declared on the command tree that contains this expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for an invocation of a function. - The implemented visitor. - The function expression. - - - Implements the visitor pattern for the application of a lambda function to arguments represented by DbExpression objects. - The implemented visitor. - The expression. - - - Implements the visitor pattern for retrieving an instance property. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the comparison operation applied to two arguments. - The implemented visitor. - The cast expression. - - - Implements the visitor pattern for a string comparison against the specified pattern with an optional escape string. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the restriction of the number of elements in the argument collection to the specified limit value. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the null determination applied to a single argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the arithmetic operation applied to numeric arguments. - The implemented visitor. - The arithmetic expression. - - - Implements the visitor pattern for the logical AND expression. - The implemented visitor. - The logical AND expression. - - - Implements the visitor pattern for the logical OR of two Boolean arguments. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the DbInExpression. - The implemented visitor. - The DbInExpression that is being visited. - - - Implements the visitor pattern for the logical NOT of a single Boolean argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the removed duplicate elements from the specified set argument. - The implemented visitor. - The distinct expression. - - - Implements the visitor pattern for the conversion of the specified set argument to a singleton the conversion of the specified set argument to a singleton. - The implemented visitor. - The element expression. - - - Implements the visitor pattern for an empty set determination applied to a single set argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set union operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set intersection operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set subtraction operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a type conversion operation applied to a polymorphic argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the type comparison of a single argument against the specified type. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the type conversion of a single argument to the specified type. - The implemented visitor. - The cast expression. - - - Implements the visitor pattern for the When, Then, and Else clauses. - The implemented visitor. - The case expression. - - - Implements the visitor pattern for the retrieval of elements of the specified type from the given set argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the construction of a new instance of a given type, including set and record types. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a strongly typed reference to a specific instance within an entity set. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the navigation of a relationship. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the expression that retrieves an entity based on the specified reference. - The implemented visitor. - The DEREF expression. - - - Implements the visitor pattern for the retrieval of the key value from the underlying reference value. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the expression that extracts a reference from the underlying entity instance. - The implemented visitor. - The entity reference expression. - - - Implements the visitor pattern for a scan over an entity set or relationship set, as indicated by the Target property. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a predicate applied to filter an input set. - The implemented visitor. - The filter expression. - - - Implements the visitor pattern for the projection of a given input set over the specified expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the unconditional join operation between the given collection arguments. - The implemented visitor. - The join expression. - - - Implements the visitor pattern for an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the invocation of the specified function for each element in the specified input set. - The implemented visitor. - The APPLY expression. - - - Implements the visitor pattern for a group by operation. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the skip expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a sort key that can be used as part of the sort order. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a quantifier operation of the specified kind over the elements of the specified input set. - The implemented visitor. - The expression. - - - - When this attribute is placed on a property it indicates that the database column to which the - property is mapped has an index. - - - This attribute is used by Entity Framework Migrations to create indexes on mapped database columns. - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - Creates a instance for an index that will be named by convention and - has no column order, clustering, or uniqueness specified. - - - - - Creates a instance for an index with the given name and - has no column order, clustering, or uniqueness specified. - - The index name. - - - - Creates a instance for an index with the given name and column order, - but with no clustering or uniqueness specified. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - The index name. - A number which will be used to determine column ordering for multi-column indexes. - - - - Returns true if this attribute specifies the same name and configuration as the given attribute. - - The attribute to compare. - True if the other object is equal to this object; otherwise false. - - - - - - - Returns true if this attribute specifies the same name and configuration as the given attribute. - - The attribute to compare. - True if the other object is equal to this object; otherwise false. - - - - - - - The index name. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - A number which will be used to determine column ordering for multi-column indexes. This will be -1 if no - column order has been specified. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - Set this property to true to define a clustered index. Set this property to false to define a - non-clustered index. - - - The value of this property is only relevant if returns true. - If returns false, then the value of this property is meaningless. - - - - - Returns true if has been set to a value. - - - - - Set this property to true to define a unique index. Set this property to false to define a - non-unique index. - - - The value of this property is only relevant if returns true. - If returns false, then the value of this property is meaningless. - - - - - Returns true if has been set to a value. - - - - - Returns a different ID for each object instance such that type descriptors won't - attempt to combine all IndexAttribute instances into a single instance. - - - - - A class derived from this class can be placed in the same assembly as a class derived from - to define Entity Framework configuration for an application. - Configuration is set by calling protected methods and setting protected properties of this - class in the constructor of your derived type. - The type to use can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Any class derived from must have a public parameterless constructor - and that constructor should call this constructor. - - - - - The Singleton instance of for this app domain. This can be - set at application start before any Entity Framework features have been used and afterwards - should be treated as read-only. - - The instance of . - - - - Attempts to discover and load the associated with the given - type. This method is intended to be used by tooling to ensure that - the correct configuration is loaded into the app domain. Tooling should use this method - before accessing the property. - - A type to use for configuration discovery. - - - - Attempts to discover and load the from the given assembly. - This method is intended to be used by tooling to ensure that the correct configuration is loaded into - the app domain. Tooling should use this method before accessing the - property. If the tooling knows the type being used, then the - method should be used since it gives a greater chance that - the correct configuration will be found. - - An to use for configuration discovery. - - - - Call this method from the constructor of a class derived from to - add a instance to the Chain of Responsibility of resolvers that - are used to resolve dependencies needed by the Entity Framework. - - - Resolvers are asked to resolve dependencies in reverse order from which they are added. This means - that a resolver can be added to override resolution of a dependency that would already have been - resolved in a different way. - The exceptions to this is that any dependency registered in the application's config file - will always be used in preference to using a dependency resolver added here. - - The resolver to add. - - - - Call this method from the constructor of a class derived from to - add a instance to the Chain of Responsibility of resolvers that - are used to resolve dependencies needed by the Entity Framework. Unlike the AddDependencyResolver - method, this method puts the resolver at the bottom of the Chain of Responsibility such that it will only - be used to resolve a dependency that could not be resolved by any of the other resolvers. - - - A implementation is automatically registered as a default resolver - when it is added with a call to . This allows EF providers to act as - resolvers for other services that may need to be overridden by the provider. - - The resolver to add. - - - - Call this method from the constructor of a class derived from to register - an Entity Framework provider. - - - Note that the provider is both registered as a service itself and also registered as a default resolver with - a call to AddDefaultResolver. This allows EF providers to act as resolvers for other services that - may need to be overridden by the provider. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - and also using AddDefaultResolver to add the provider as a default - resolver. This means that, if desired, the same functionality can be achieved using a custom resolver or a - resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The provider instance. - - - - Call this method from the constructor of a class derived from to register - an ADO.NET provider. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolvers for - and . This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The provider instance. - - - - Call this method from the constructor of a class derived from to register an - for use with the provider represented by the given invariant name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - A function that returns a new instance of an execution strategy. - - - - Call this method from the constructor of a class derived from to register an - for use with the provider represented by the given invariant name and - for a given server name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - A function that returns a new instance of an execution strategy. - A string that will be matched against the server name in the connection string. - - - - Call this method from the constructor of a class derived from to register a - . - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - A function that returns a new instance of a transaction handler. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this transaction handler will be used. - - A function that returns a new instance of a transaction handler. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name and - for a given server name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this transaction handler will be used. - - A function that returns a new instance of a transaction handler. - A string that will be matched against the server name in the connection string. - - - - Sets the that is used to create connections by convention if no other - connection string or connection is given to or can be discovered by . - Note that a default connection factory is set in the app.config or web.config file whenever the - EntityFramework NuGet package is installed. As for all config file settings, the default connection factory - set in the config file will take precedence over any setting made with this method. Therefore the setting - must be removed from the config file before calling this method will have any effect. - Call this method from the constructor of a class derived from to change - the default connection factory being used. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The connection factory. - - - - Call this method from the constructor of a class derived from to - set the pluralization service. - - The pluralization service to use. - - - - Call this method from the constructor of a class derived from to - set the database initializer to use for the given context type. The database initializer is called when a - the given type is used to access a database for the first time. - The default strategy for Code First contexts is an instance of . - - - Calling this method is equivalent to calling . - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The type of the context. - The initializer to use, or null to disable initialization for the given context type. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name. - - - This method is typically used by providers to register an associated SQL generator for Code First Migrations. - It is different from setting the generator in the because it allows - EF to use the Migrations pipeline to create a database even when there is no Migrations configuration in the project - and/or Migrations are not being explicitly used. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The invariant name of the ADO.NET provider for which this generator should be used. - A delegate that returns a new instance of the SQL generator each time it is called. - - - - Call this method from the constructor of a class derived from to set - an implementation of which allows provider manifest tokens to - be obtained from connections without necessarily opening the connection. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The manifest token resolver. - - - - Call this method from the constructor of a class derived from to set - a factory for implementations of which allows custom annotations - represented by instances to be serialized to and from the EDMX XML. - - - Note that an is not needed if the annotation uses a simple string value. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The name of custom annotation that will be handled by this serializer. - A delegate that will be used to create serializer instances. - - - - Call this method from the constructor of a class derived from to set - an implementation of which allows a - to be obtained from a in cases where the default implementation is not - sufficient. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The provider factory service. - - - - Call this method from the constructor of a class derived from to set - a as the model cache key factory which allows the key - used to cache the model behind a to be changed. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can - be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - The key factory. - - - - Call this method from the constructor of a class derived from to set - a delegate which which be used for - creation of the default for a any - . This default factory will only be used if no factory is - set explicitly in the and if no factory has been registered - for the provider in use using the - - method. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality - can be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - - A factory for creating instances for a given and - representing the default schema. - - - - - Call this method from the constructor of a class derived from to set - a delegate which allows for creation of a customized - for the given provider for any - that does not have an explicit factory set. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality - can be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - The invariant name of the ADO.NET provider for which this generator should be used. - - A factory for creating instances for a given and - representing the default schema. - - - - - Call this method from the constructor of a class derived from to set - the global instance of which will be used whenever a spatial provider is - required and a provider-specific spatial provider cannot be found. Normally, a provider-specific spatial provider - is obtained from the a implementation which is in turn returned by resolving - a service for passing the provider invariant name as a key. However, this - cannot work for stand-alone instances of and since - it is impossible to know the spatial provider to use. Therefore, when creating stand-alone instances - of and the global spatial provider is always used. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - an implementation of to use for a specific provider and provider - manifest token. - - - Use - to register spatial services for use only when a specific manifest token is returned by the provider. - Use to register global - spatial services to be used when provider information is not available or no provider-specific - spatial services are found. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The indicating the type of ADO.NET connection for which this spatial provider will be used. - - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - an implementation of to use for a specific provider with any - manifest token. - - - Use - to register spatial services for use when any manifest token is returned by the provider. - Use to register global - spatial services to be used when provider information is not available or no provider-specific - spatial services are found. - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this spatial provider will be used. - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - a factory for the type of to use with . - - - Note that setting the type of formatter to use with this method does change the way command are - logged when is used. It is still necessary to set a - instance onto before any commands will be logged. - For more low-level control over logging/interception see and - . - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - A delegate that will create formatter instances. - - - - Call this method from the constructor of a class derived from to - register an at application startup. Note that interceptors can also - be added and removed at any time using . - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The interceptor to register. - - - - Call this method from the constructor of a class derived from to set - a factory to allow to create instances of a context that does not have a public, - parameterless constructor. - - - This is typically needed to allow design-time tools like Migrations or scaffolding code to use contexts that - do not have public, parameterless constructors. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - with the context as the key. This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The context type for which the factory should be used. - The delegate to use to create context instances. - - - - Call this method from the constructor of a class derived from to set - a factory to allow to create instances of a context that does not have a public, - parameterless constructor. - - - This is typically needed to allow design-time tools like Migrations or scaffolding code to use contexts that - do not have public, parameterless constructors. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - with the context as the key. This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The context type for which the factory should be used. - The delegate to use to create context instances. - - - - Sets a singleton model store implementation (persisted model cache). - - The model store implementation. - - - - Call this method from the constructor of a class derived from to register - a database table existence checker for a given provider. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - and also using AddDefaultResolver to add the provider as a default - resolver. This means that, if desired, the same functionality can be achieved using a custom resolver or a - resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The table existence checker to use. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Occurs during EF initialization after the DbConfiguration has been constructed but just before - it is locked ready for use. Use this event to inspect and/or override services that have been - registered before the configuration is locked. Note that this event should be used carefully - since it may prevent tooling from discovering the same configuration that is used at runtime. - - - Handlers can only be added before EF starts to use the configuration and so handlers should - generally be added as part of application initialization. Do not access the DbConfiguration - static methods inside the handler; instead use the the members of - to get current services and/or add overrides. - - - - - Gets the that is being used to resolve service - dependencies in the Entity Framework. - - - - - This attribute can be placed on a subclass of to indicate that the subclass of - representing the code-based configuration for the application is in a different - assembly than the context type. - - - Normally a subclass of should be placed in the same assembly as - the subclass of used by the application. It will then be discovered automatically. - However, if this is not possible or if the application contains multiple context types in different - assemblies, then this attribute can be used to direct DbConfiguration discovery to the appropriate type. - An alternative to using this attribute is to specify the DbConfiguration type to use in the application's - config file. See http://go.microsoft.com/fwlink/?LinkId=260883 for more information. - - - - - Indicates that the given subclass of should be used for code-based configuration - for this application. - - - The type to use. - - - - - Indicates that the subclass of represented by the given assembly-qualified - name should be used for code-based configuration for this application. - - - The type to use. - - - - - Gets the subclass of that should be used for code-based configuration - for this application. - - - - Implements the basic functionality required by aggregates in a GroupBy clause. - - - - Gets the result type of this . - - - The result type of this . - - - - - Gets the list of expressions that define the arguments to this - - . - - - The list of expressions that define the arguments to this - - . - - - - Represents the logical AND of two Boolean arguments. This class cannot be inherited. - - - Implements the basic functionality required by expressions that accept two expression operands. - - - Represents the base type for all expressions. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - The type of the result produced by . - - - An instance of . - - The type of the result produced by visitor. - - - - Determines whether the specified is equal to the current DbExpression instance. - - - True if the specified is equal to the current DbExpression instance; otherwise, false. - - - The object to compare to the current . - - - - Serves as a hash function for the type. - A hash code for the current expression. - - - - Creates a that represents the specified binary value, which may be null - - - A that represents the specified binary value. - - The binary value on which the returned expression should be based. - - - - Enables implicit casting from a byte array. - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Boolean value. - - - A that represents the specified Boolean value. - - The Boolean value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) byte value. - - - A that represents the specified byte value. - - The byte value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified DateTime value. - - The DateTime value on which the returned expression should be based. - - - - Enables implicit casting from . - - The expression to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified DateTimeOffset value. - - The DateTimeOffset value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) decimal value. - - - A that represents the specified decimal value. - - The decimal value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) double value. - - - A that represents the specified double value. - - The double value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified - - value, which may be null. - - - A that represents the specified DbGeography value. - - The DbGeography value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified - - value, which may be null. - - - A that represents the specified DbGeometry value. - - The DbGeometry value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified Guid value. - - The Guid value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int16 value. - - - A that represents the specified Int16 value. - - The Int16 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int32 value. - - - A that represents the specified Int32 value. - - The Int32 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int64 value. - - - A that represents the specified Int64 value. - - The Int64 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Single value. - - - A that represents the specified Single value. - - The Single value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified string value. - - - A that represents the specified string value. - - The string value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - Gets the type metadata for the result type of the expression. - The type metadata for the result type of the expression. - - - Gets the kind of the expression, which indicates the operation of this expression. - The kind of the expression, which indicates the operation of this expression. - - - - Gets the that defines the left argument. - - - The that defines the left argument. - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the required type for the left argument. - - - - - Gets the that defines the right argument. - - - The that defines the right argument. - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the required type for the right argument. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by the visitor . - visitor is null. - - - Represents an apply operation, which is the invocation of the specified function for each element in the specified input set. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by the visitor . - visitor is null. - - - - Gets the that specifies the function that is invoked for each element in the input set. - - - The that specifies the function that is invoked for each element in the input set. - - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Represents an arithmetic operation applied to numeric arguments. - Addition, subtraction, multiplication, division, modulo, and negation are arithmetic operations. - This class cannot be inherited. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the list of elements that define the current arguments. - - - A fixed-size list of elements. - - - - - Represents the When, Then, and Else clauses of the - - . This class cannot be inherited. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - - Gets the When clauses of this . - - - The When clauses of this . - - - - - Gets the Then clauses of this . - - - The Then clauses of this . - - - - - Gets the Else clause of this . - - - The Else clause of this . - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the result type of the - - . - - - - Represents the type conversion of a single argument to the specified type. This class cannot be inherited. - - - Implements the basic functionality required by expressions that accept a single expression argument. - - - - Gets the that defines the argument. - - - The that defines the argument. - - The expression is null. - - The expression is not associated with the command tree of a - - , or its result type is not equal or promotable to the required type for the argument. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - - Describes the different "kinds" (classes) of command trees. - - - - - A query to retrieve data - - - - - Update existing data - - - - - Insert new data - - - - - Deleted existing data - - - - - Call a function - - - - Represents a comparison operation applied to two arguments. Equality, greater than, greater than or equal, less than, less than or equal, and inequality are comparison operations. This class cannot be inherited. - - DbComparisonExpression requires that its arguments have a common result type - that is equality comparable (for .Equals and .NotEquals), - order comparable (for .GreaterThan and .LessThan), - or both (for .GreaterThanOrEquals and .LessThanOrEquals). - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents different kinds of constants (literals). This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Gets the constant value. - The constant value. - - - Represents an unconditional join operation between the given collection arguments. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - - Gets a list that provides the input sets to the join. - - - A list that provides the input sets to the join. - - - - Represents the an expression that retrieves an entity based on the specified reference. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Removes duplicate elements from the specified set argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the conversion of the specified set argument to a singleton. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents an expression that extracts a reference from the underlying entity instance. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the set subtraction operation between the left and right operands. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - - Describes a binding for an expression. Conceptually similar to a foreach loop - in C#. The DbExpression property defines the collection being iterated over, - while the Var property provides a means to reference the current element - of the collection during the iteration. DbExpressionBinding is used to describe the set arguments - to relational expressions such as , - and . - - - - - - - Gets the that defines the input set. - - - The that defines the input set. - - The expression is null. - The expression is not associated with the command tree of the binding, or its result type is not equal or promotable to the result type of the current value of the property. - - - Gets the name assigned to the element variable. - The name assigned to the element variable. - - - Gets the type metadata of the element variable. - The type metadata of the element variable. - - - - Gets the that references the element variable. - - The variable reference. - - - Represents a predicate applied to filter an input set. This produces the set of elements that satisfy the predicate. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets the that specifies the predicate used to filter the input set. - - - The that specifies the predicate used to filter the input set. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a Boolean type. - - - - Represents an invocation of a function. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the metadata for the function to invoke. - The metadata for the function to invoke. - - - - Gets an list that provides the arguments to the function. - - - An list that provides the arguments to the function. - - - - Represents a collection of elements that compose a group. - - - Represents a group by operation. A group by operation is a grouping of the elements in the input set based on the specified key expressions followed by the application of the specified aggregates. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the that specifies the input set and provides access to the set element and group element variables. - - - The that specifies the input set and provides access to the set element and group element variables. - - - - - Gets a list that provides grouping keys. - - - A list that provides grouping keys. - - - - - Gets a list that provides the aggregates to apply. - - - A list that provides the aggregates to apply. - - - - Represents the set intersection operation between the left and right operands. This class cannot be inherited. - - DbIntersectExpression requires that its arguments have a common collection result type - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents an empty set determination applied to a single set argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents null determination applied to a single argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the type comparison of a single argument against the specified type. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the type metadata that the type metadata of the argument should be compared to. - The type metadata that the type metadata of the argument should be compared to. - - - Represents an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the that provides the left input. - - - The that provides the left input. - - - - - Gets the that provides the right input. - - - The that provides the right input. - - - - Gets the join condition to apply. - The join condition to apply. - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a Boolean type. - - - - - Allows the application of a lambda function to arguments represented by - - objects. - - - - The visitor pattern method for expression visitors that do not produce a result value. - - An instance of . - - visitor is null - - - The visitor pattern method for expression visitors that produce a result value of a specific type. - The type of the result produced by the expression visitor. - - An instance of a typed that produces a result value of type TResultType. - - The type of the result produced by visitor - visitor is null - - - - Gets the representing the Lambda function applied by this expression. - - - The representing the Lambda function applied by this expression. - - - - - Gets a list that provides the arguments to which the Lambda function should be applied. - - - The list. - - - - Represents a string comparison against the specified pattern with an optional escape string. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets an expression that specifies the string to compare against the given pattern. - An expression that specifies the string to compare against the given pattern. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Gets an expression that specifies the pattern against which the given string should be compared. - An expression that specifies the pattern against which the given string should be compared. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Gets an expression that provides an optional escape string to use for the comparison. - An expression that provides an optional escape string to use for the comparison. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Represents the restriction of the number of elements in the argument collection to the specified limit value. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets an expression that specifies the input collection. - An expression that specifies the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a collection type. - - - - Gets an expression that specifies the limit on the number of elements returned from the input collection. - An expression that specifies the limit on the number of elements returned from the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - , or is not one of - - or - - , or its result type is not equal or promotable to a 64-bit integer type. - - - - - Gets whether the limit operation will include tied results. Including tied results might produce more results than specified by the - - value. - - true if the limit operation will include tied results; otherwise, false. The default is false. - - - Represents the construction of a new instance of a given type, including set and record types. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets an list that provides the property/column values or set elements for the new instance. - - - An list that provides the property/column values or set elements for the new instance. - - - - Represents the logical NOT of a single Boolean argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a reference to a typed null literal. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the retrieval of elements of the specified type from the given set argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the metadata of the type of elements that should be retrieved from the set argument. - The metadata of the type of elements that should be retrieved from the set argument. - - - Represents the logical OR of two Boolean arguments. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a reference to a parameter declared on the command tree that contains this expression. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the name of the referenced parameter. - The name of the referenced parameter. - - - Represents the projection of a given input set over the specified expression. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets the that defines the projection. - - - The that defines the projection. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the reference type of the current projection. - - - - Provides methods and properties for retrieving an instance property. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Creates a new key/value pair based on this property expression. - - A new key/value pair with the key and value derived from the - - . - - - - - Enables implicit casting to . - - The expression to be converted. - The converted value. - - - Gets the property metadata for the property to retrieve. - The property metadata for the property to retrieve. - - - - Gets a that defines the instance from which the property should be retrieved. - - - A that defines the instance from which the property should be retrieved. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the type that defines the property. - - - - Represents a quantifier operation of the specified kind over the elements of the specified input set. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - Gets the Boolean predicate that should be evaluated for each element in the input set. - The Boolean predicate that should be evaluated for each element in the input set. - The expression is null. - - The expression is not associated with the command tree for the - - ,or its result type is not a Boolean type. - - - - Represents a strongly typed reference to a specific instance within an entity set. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the metadata for the entity set that contains the instance. - The metadata for the entity set that contains the instance. - - - Represents the navigation of a relationship. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the metadata for the relationship over which navigation occurs. - The metadata for the relationship over which navigation occurs. - - - Gets the metadata for the relationship end to navigate from. - The metadata for the relationship end to navigate from. - - - Gets the metadata for the relationship end to navigate to. - The metadata for the relationship end to navigate to. - - - - Gets an that specifies the starting point of the navigation and must be a reference to an entity instance. - - - An that specifies the instance of the source relationship end from which navigation should occur. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the reference type of the - - property. - - - - - Skips a specified number of elements in the input set. - - can only be used after the input collection has been sorted as specified by the sort keys. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets a list that defines the sort order. - - - A list that defines the sort order. - - - - Gets an expression that specifies the number of elements to skip from the input collection. - An expression that specifies the number of elements to skip from the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - ; the expression is not either a - - or a - - ; or the result type of the expression is not equal or promotable to a 64-bit integer type. - - - - - Specifies a sort key that can be used as part of the sort order in a - - . This class cannot be inherited. - - - - Gets a Boolean value indicating whether or not this sort key uses an ascending sort order. - true if this sort key uses an ascending sort order; otherwise, false. - - - Gets a string value that specifies the collation for this sort key. - A string value that specifies the collation for this sort key. - - - - Gets the that provides the value for this sort key. - - - The that provides the value for this sort key. - - - - Represents a sort operation applied to the elements of the specified input set based on the given sort keys. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by - visitor - - - visitor - is null. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets a list that defines the sort order. - - - A list that defines the sort order. - - - - Represents a type conversion operation applied to a polymorphic argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Supports standard aggregate functions, such as MIN, MAX, AVG, SUM, and so on. This class cannot be inherited. - - - Gets a value indicating whether this aggregate is a distinct aggregate. - true if the aggregate is a distinct aggregate; otherwise, false. - - - Gets the method metadata that specifies the aggregate function to invoke. - The method metadata that specifies the aggregate function to invoke. - - - - An abstract base type for types that implement the IExpressionVisitor interface to derive from. - - - - - An abstract base type for types that implement the IExpressionVisitor interface to derive from. - - - - Defines the basic functionality that should be implemented by visitors that do not return a result value. - - - When overridden in a derived class, handles any expression of an unrecognized type. - The expression to be handled. - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - Visitor pattern method for DbInExpression. - - The DbInExpression that is being visited. - - - - Convenience method to visit the specified . - - The DbUnaryExpression to visit. - - - is null - - - - - Convenience method to visit the specified . - - The DbBinaryExpression to visit. - - - is null - - - - - Convenience method to visit the specified . - - The DbExpressionBinding to visit. - - - is null - - - - - Convenience method for post-processing after a DbExpressionBinding has been visited. - - The previously visited DbExpressionBinding. - - - - Convenience method to visit the specified . - - The DbGroupExpressionBinding to visit. - - - is null - - - - - Convenience method indicating that the grouping keys of a have been visited and the aggregates are now about to be visited. - - The DbGroupExpressionBinding of the DbGroupByExpression - - - - Convenience method for post-processing after a DbGroupExpressionBinding has been visited. - - The previously visited DbGroupExpressionBinding. - - - - Convenience method indicating that the body of a Lambda is now about to be visited. - - The DbLambda that is about to be visited - - - is null - - - - - Convenience method for post-processing after a DbLambda has been visited. - - The previously visited DbLambda. - - - - Convenience method to visit the specified , if non-null. - - The expression to visit. - - - is null - - - - - Convenience method to visit each in the given list, if the list is non-null. - - The list of expressions to visit. - - - is null - - - - - Convenience method to visit each in the list, if the list is non-null. - - The list of aggregates to visit. - - - is null - - - - - Convenience method to visit the specified . - - The aggregate to visit. - - - is null - - - - - Called when an of an otherwise unrecognized type is encountered. - - The expression - - - is null - - - Always thrown if this method is called, since it indicates that - - is of an unsupported type - - - - - Visitor pattern method for . - - The DbConstantExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNullExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbVariableReferenceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbParameterReferenceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbFunctionExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLambdaExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbPropertyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbComparisonExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLikeExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLimitExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsNullExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbArithmeticExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbAndExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbOrExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbInExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNotExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbDistinctExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbElementExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsEmptyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbUnionAllExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIntersectExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbExceptExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbOfTypeExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbTreatExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCastExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsOfExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCaseExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNewInstanceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRelationshipNavigationExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DeRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRefKeyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbEntityRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbScanExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbFilterExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbProjectExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCrossJoinExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbJoinExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbApplyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbSkipExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbSortExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbQuantifierExpression that is being visited. - - - is null - - - - Implements the visitor pattern for the set clause. - The set clause. - - - Implements the visitor pattern for the modification clause. - The modification clause. - - - Implements the visitor pattern for the collection of modification clauses. - The modification clauses. - - - Implements the visitor pattern for the command tree. - The command tree. - - - Implements the visitor pattern for the delete command tree. - The delete command tree. - - - Implements the visitor pattern for the function command tree. - The function command tree. - - - Implements the visitor pattern for the insert command tree. - The insert command tree. - - - Implements the visitor pattern for the query command tree. - The query command tree. - - - Implements the visitor pattern for the update command tree. - The update command tree. - - - An immutable class that implements the basic functionality for the Query, Insert, Update, Delete, and function invocation command tree types. - - - - Returns a that represents this command. - - - A that represents this command. - - - - - Gets a value indicating whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. The default value is true. - - For example (operand1 == operand2) will be translated as: - - (operand1 = operand2) - - if UseDatabaseNullSemantics is true, respectively - - (((operand1 = operand2) AND (NOT (operand1 IS NULL OR operand2 IS NULL))) OR ((operand1 IS NULL) AND (operand2 IS NULL))) - - if UseDatabaseNullSemantics is false. - - - true if database null comparison behavior is enabled, otherwise false . - - - - - Gets the name and corresponding type of each parameter that can be referenced within this - - . - - - The name and corresponding type of each parameter that can be referenced within this - - . - - - - - Gets the kind of this command tree. - - - - - Gets the metadata workspace used by this command tree. - - - - - Gets the data space in which metadata used by this command tree must reside. - - - - Represents a single row delete operation expressed as a command tree. This class cannot be inherited. - - - Represents a data manipulation language (DML) operation expressed as a command tree. - - - - Gets the that specifies the target table for the data manipulation language (DML) operation. - - - The that specifies the target table for the DML operation. - - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - A predicate used to determine which members of the target collection should be deleted. - - - - Gets an that specifies the predicate used to determine which members of the target collection should be deleted. - - - The predicate can include only the following elements: - - Equality expression - Constant expression - IsNull expression - Property expression - Reference expression to the target - And expression - Or expression - Not expression - - - - An that specifies the predicate used to determine which members of the target collection should be deleted. - - - - Gets the kind of this command tree. - The kind of this command tree. - - - - Contains values that each expression class uses to denote the operation it represents. The - - property of an - - can be retrieved to determine which operation that expression represents. - - - - - True for all. - - - - - Logical And. - - - - - True for any. - - - - - Conditional case statement. - - - - - Polymorphic type cast. - - - - - A constant value. - - - - - Cross apply - - - - - Cross join - - - - - Dereference. - - - - - Duplicate removal. - - - - - Division. - - - - - Set to singleton conversion. - - - - - Entity ref value retrieval. - - - - - Equality - - - - - Set subtraction - - - - - Restriction. - - - - - Full outer join - - - - - Invocation of a stand-alone function - - - - - Greater than. - - - - - Greater than or equal. - - - - - Grouping. - - - - - Inner join - - - - - Set intersection. - - - - - Empty set determination. - - - - - Null determination. - - - - - Type comparison (specified Type or Subtype). - - - - - Type comparison (specified Type only). - - - - - Left outer join - - - - - Less than. - - - - - Less than or equal. - - - - - String comparison. - - - - - Result count restriction (TOP n). - - - - - Subtraction. - - - - - Modulo. - - - - - Multiplication. - - - - - Instance, row, and set construction. - - - - - Logical Not. - - - - - Inequality. - - - - - Null. - - - - - Set members by type (or subtype). - - - - - Set members by (exact) type. - - - - - Logical Or. - - - - - Outer apply. - - - - - A reference to a parameter. - - - - - Addition. - - - - - Projection. - - - - - Retrieval of a static or instance property. - - - - - Reference. - - - - - Ref key value retrieval. - - - - - Navigation of a (composition or association) relationship. - - - - - Entity or relationship set scan. - - - - - Skip elements of an ordered collection. - - - - - Sorting. - - - - - Type conversion. - - - - - Negation. - - - - - Set union (with duplicates). - - - - - A reference to a variable. - - - - - Application of a lambda function - - - - - In. - - - - Represents the invocation of a database function. - - - - Constructs a new DbFunctionCommandTree that uses the specified metadata workspace, data space and function metadata - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - The that represents the function that is being invoked. - The expected result type for the function’s first result set. - The function's parameters. - - , or is null - - - does not represent a valid data space or - is a composable function - - - - - Gets the that represents the function that is being invoked. - - - The that represents the function that is being invoked. - - - - Gets the expected result type for the function’s first result set. - The expected result type for the function’s first result set. - - - Gets or sets the command tree kind. - The command tree kind. - - - Represents a single row insert operation expressed as a command tree. This class cannot be inherited. - - Represents a single row insert operation expressed as a canonical command tree. - When the property is set, the command returns a reader; otherwise, - it returns a scalar value indicating the number of rows affected. - - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - The list of insert set clauses that define the insert operation. . - A that specifies a projection of results to be returned, based on the modified rows. - - - Gets the list of insert set clauses that define the insert operation. - The list of insert set clauses that define the insert operation. - - - - Gets an that specifies a projection of results to be returned based on the modified rows. - - - An that specifies a projection of results to be returned based on the modified rows. null indicates that no results should be returned from this command. - - - - Gets the command tree kind. - The command tree kind. - - - - Represents a Lambda function that can be invoked to produce a - - . - - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters - An expression that defines the logic of the Lambda function - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - - - is null or contains null, or - - is null - - - - contains more than one element with the same variable name. - - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters - An expression that defines the logic of the Lambda function - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - - - is null or contains null, or - - is null. - - - - contains more than one element with the same variable name. - - - - - Creates a new with a single argument of the specified type, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and single formal parameter. - - A that defines the EDM type of the argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A that defines the EDM type of the fifteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A that defines the EDM type of the fifteenth argument to the Lambda function - - - A that defines the EDM type of the sixteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - Gets the body of the lambda expression. - - A that represents the body of the lambda function. - - - - Gets the parameters of the lambda expression. - The list of lambda function parameters represented as DbVariableReferenceExpression objects. - - - - Specifies a single clause in an insert or update modification operation, see - and - - - An abstract base class allows the possibility of patterns other than - Property = Value in future versions, e.g., - update SomeTable - set ComplexTypeColumn.SomeProperty() - where Id = 2 - - - - Represents a query operation expressed as a command tree. This class cannot be inherited. - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - A boolean that indicates whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - - - or - - is null - - - - does not represent a valid data space - - - - - Gets an that defines the logic of the query operation. - - - An that defines the logic of the query operation. - - The expression is null. - The expression is associated with a different command tree. - - - Gets the kind of this command tree. - The kind of this command tree. - - - Specifies the clause in a modification operation that sets the value of a property. This class cannot be inherited. - - - - Gets an that specifies the property that should be updated. - - - An that specifies the property that should be updated. - - - - - Gets an that specifies the new value with which to update the property. - - - An that specifies the new value with which to update the property. - - - - Represents a single-row update operation expressed as a command tree. This class cannot be inherited. - - Represents a single-row update operation expressed as a canonical command tree. - When the property is set, the command returns a reader; otherwise, - it returns a scalar indicating the number of rows affected. - - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - A predicate used to determine which members of the target collection should be updated. - The list of update set clauses that define the update operation. - A that specifies a projection of results to be returned, based on the modified rows. - - - Gets the list of update set clauses that define the update operation. - The list of update set clauses that define the update operation. - - - - Gets an that specifies a projection of results to be returned, based on the modified rows. - - - An that specifies a projection of results to be returned based, on the modified rows. null indicates that no results should be returned from this command. - - - - - Gets an that specifies the predicate used to determine which members of the target collection should be updated. - - - An that specifies the predicate used to determine which members of the target collection should be updated. - - - - Gets the kind of this command tree. - The kind of this command tree. - - - Represents a reference to a variable that is currently in scope. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the name of the referenced variable. - The name of the referenced variable. - - - - Defines the binding for the input set to a . - In addition to the properties of , DbGroupExpressionBinding - also provides access to the group element via the variable reference - and to the group aggregate via the property. - - - - - Gets the that defines the input set. - - - The that defines the input set. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the result type of the current value of the property. - - - - Gets the name assigned to the element variable. - The name assigned to the element variable. - - - Gets the type metadata of the element variable. - The type metadata of the element variable. - - - - Gets the that references the element variable. - - A reference to the element variable. - - - Gets the name assigned to the group element variable. - The name assigned to the group element variable. - - - Gets the type metadata of the group element variable. - The type metadata of the group element variable. - - - - Gets the that references the group element variable. - - A reference to the group element variable. - - - - Gets the that represents the collection of elements in the group. - - The elements in the group. - - - - Provides an API to construct s and allows that API to be accessed as extension methods on the expression type itself. - - - - Returns the specified arguments as a key/value pair object. - A key/value pair object. - The value in the key/value pair. - The key in the key/value pair. - - - Returns the specified arguments as a key/value pair object. - A key/value pair object. - The value in the key/value pair. - The key in the key/value pair. - - - - Creates a new that uses a generated variable name to bind the given expression. - - A new expression binding with the specified expression and a generated variable name. - The expression to bind. - input is null. - input does not have a collection result. - - - - Creates a new that uses the specified variable name to bind the given expression - - A new expression binding with the specified expression and variable name. - The expression to bind. - The variable name that should be used for the binding. - input or varName is null. - input does not have a collection result. - - - Creates a new group expression binding that uses generated variable and group variable names to bind the given expression. - A new group expression binding with the specified expression and a generated variable name and group variable name. - The expression to bind. - input is null. - input does not have a collection result type. - - - - Creates a new that uses the specified variable name and group variable names to bind the given expression. - - A new group expression binding with the specified expression, variable name and group variable name. - The expression to bind. - The variable name that should be used for the binding. - The variable name that should be used to refer to the group when the new group expression binding is used in a group-by expression. - input, varName or groupVarName is null. - input does not have a collection result type. - - - - Creates a new . - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value false. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new that is applied in a distinct fashion. - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value true. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument is null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new over the specified argument - - The argument over which to perform the nest operation - A new group aggregate representing the elements of the group referenced by the given argument. - - - is null - - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new expression that describes an inline Lambda function with the specified body and formal parameters. - An expression that defines the logic of the Lambda function. - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - variables is null or contains null, or body is null. - variables contains more than one element with the same variable name. - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new expression that describes an inline Lambda function with the specified body and formal parameters. - An expression that defines the logic of the Lambda function. - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - variables is null or contains null, or body is null. - variables contains more than one element with the same variable name. - - - - Creates a new with an ascending sort order and default collation. - - A new sort clause with the given sort key and ascending sort order. - The expression that defines the sort key. - key is null. - key does not have an order-comparable result type. - - - - Creates a new with a descending sort order and default collation. - - A new sort clause with the given sort key and descending sort order. - The expression that defines the sort key. - key is null. - key does not have an order-comparable result type. - - - - Creates a new with an ascending sort order and the specified collation. - - A new sort clause with the given sort key and collation, and ascending sort order. - The expression that defines the sort key. - The collation to sort under. - key is null. - collation is empty or contains only space characters. - key does not have an order-comparable result type. - - - - Creates a new with a descending sort order and the specified collation. - - A new sort clause with the given sort key and collation, and descending sort order. - The expression that defines the sort key. - The collation to sort under. - key is null. - collation is empty or contains only space characters. - key does not have an order-comparable result type. - - - - Creates a new that determines whether the given predicate holds for all elements of the input set. - - A new DbQuantifierExpression that represents the All operation. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - predicate does not have a Boolean result type. - - - - Creates a new that determines whether the given predicate holds for any element of the input set. - - A new DbQuantifierExpression that represents the Any operation. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - An that specifies the input set. - - - An that specifies logic to evaluate once for each member of the input set. - - input or apply is null. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set have an apply column value of null. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of OuterApply. - - - An that specifies the input set. - - - An that specifies logic to evaluate once for each member of the input set. - - input or apply is null. - - - - Creates a new that unconditionally joins the sets specified by the list of input expression bindings. - - - A new DbCrossJoinExpression, with an of CrossJoin, that represents the unconditional join of the input sets. - - A list of expression bindings that specifies the input sets. - inputs is null or contains null element. - inputs contains fewer than 2 expression bindings. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using LeftOuterJoin as the - - . - - - A new DbJoinExpression, with an of LeftOuterJoin, that represents the left outer join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using FullOuterJoin as the - - . - - - A new DbJoinExpression, with an of FullOuterJoin, that represents the full outer join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that filters the elements in the given input set using the specified predicate. - - A new DbFilterExpression that produces the filtered set. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - predicate does not have a Boolean result type. - - - - Creates a new that groups the elements of the input set according to the specified group keys and applies the given aggregates. - - A new DbGroupByExpression with the specified input set, grouping keys and aggregates. - - A that specifies the input set. - - A list of string-expression pairs that define the grouping columns. - A list of expressions that specify aggregates to apply. - input, keys or aggregates is null, keys contains a null column key or expression, or aggregates contains a null aggregate column name or aggregate. - Both keys and aggregates are empty, or an invalid or duplicate column name was specified. - - - - Creates a new that projects the specified expression over the given input set. - - A new DbProjectExpression that represents the projection operation. - An expression binding that specifies the input set. - An expression to project over the set. - input or projection is null. - - - - Creates a new that sorts the given input set by the given sort specifications before skipping the specified number of elements. - - A new DbSkipExpression that represents the skip operation. - An expression binding that specifies the input set. - A list of sort specifications that determine how the elements of the input set should be sorted. - An expression the specifies how many elements of the ordered set to skip. - input, sortOrder or count is null, or sortOrder contains null. - - sortOrder is empty, or count is not or - - or has a result type that is not equal or promotable to a 64-bit integer type. - - - - - Creates a new that sorts the given input set by the specified sort specifications. - - A new DbSortExpression that represents the sort operation. - An expression binding that specifies the input set. - A list of sort specifications that determine how the elements of the input set should be sorted. - input or sortOrder is null, or sortOrder contains null. - sortOrder is empty. - - - - Creates a new , which represents a typed null value. - - An instance of DbNullExpression. - The type of the null value. - nullType is null. - - - - Creates a new with the given constant value. - - A new DbConstantExpression with the given value. - The constant value to represent. - value is null. - value is not an instance of a valid constant type. - - - - Creates a new of the specified primitive type with the given constant value. - - A new DbConstantExpression with the given value and a result type of constantType. - The type of the constant value. - The constant value to represent. - value or constantType is null. - value is not an instance of a valid constant type, constantType does not represent a primitive type, or value is of a different primitive type than that represented by constantType. - - - - Creates a new that references a parameter with the specified name and type. - - A DbParameterReferenceExpression that represents a reference to a parameter with the specified name and type. The result type of the expression will be the same as type. - The type of the referenced parameter. - The name of the referenced parameter. - - - - Creates a new that references a variable with the specified name and type. - - A DbVariableReferenceExpression that represents a reference to a variable with the specified name and type. The result type of the expression will be the same as type. - The type of the referenced variable. - The name of the referenced variable. - - - - Creates a new that references the specified entity or relationship set. - - A new DbScanExpression based on the specified entity or relationship set. - Metadata for the entity or relationship set to reference. - targetSet is null. - - - - Creates an that performs the logical And of the left and right arguments. - - A new DbAndExpression with the specified arguments. - A Boolean expression that specifies the left argument. - A Boolean expression that specifies the right argument. - left or right is null. - left and right does not have a Boolean result type. - - - - Creates an that performs the logical Or of the left and right arguments. - - A new DbOrExpression with the specified arguments. - A Boolean expression that specifies the left argument. - A Boolean expression that specifies the right argument. - left or right is null. - left or right does not have a Boolean result type. - - - - Creates a that matches the result of the specified - expression with the results of the constant expressions in the specified list. - - A DbExpression to be matched. - A list of DbConstantExpression to test for a match. - - A new DbInExpression with the specified arguments. - - - - or - - is null. - - - The result type of - - is different than the result type of an expression from - . - - - - - Creates a that performs the logical negation of the given argument. - - A new DbNotExpression with the specified argument. - A Boolean expression that specifies the argument. - argument is null. - argument does not have a Boolean result type. - - - - Creates a new that divides the left argument by the right argument. - - A new DbArithmeticExpression representing the division operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left or right. - - - - Creates a new that subtracts the right argument from the left argument. - - A new DbArithmeticExpression representing the subtraction operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that computes the remainder of the left argument divided by the right argument. - - A new DbArithmeticExpression representing the modulo operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that multiplies the left argument by the right argument. - - A new DbArithmeticExpression representing the multiplication operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that adds the left argument to the right argument. - - A new DbArithmeticExpression representing the addition operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that negates the value of the argument. - - A new DbArithmeticExpression representing the negation operation. - An expression that specifies the argument. - argument is null. - No numeric result type exists for argument. - - - - Creates a new that negates the value of the argument. - - A new DbArithmeticExpression representing the negation operation. - An expression that specifies the argument. - argument is null. - No numeric result type exists for argument. - - - - Creates a new that compares the left and right arguments for equality. - - A new DbComparisonExpression representing the equality comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common equality-comparable result type exists between left and right. - - - - Creates a new that compares the left and right arguments for inequality. - - A new DbComparisonExpression representing the inequality comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common equality-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is greater than the right argument. - - A new DbComparisonExpression representing the greater-than comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is less than the right argument. - - A new DbComparisonExpression representing the less-than comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is greater than or equal to the right argument. - - A new DbComparisonExpression representing the greater-than-or-equal-to comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is less than or equal to the right argument. - - A new DbComparisonExpression representing the less-than-or-equal-to comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common result type that is both equality- and order-comparable exists between left and right. - - - - Creates a new that determines whether the specified argument is null. - - A new DbIsNullExpression with the specified argument. - An expression that specifies the argument. - argument is null. - argument has a collection result type. - - - - Creates a new that compares the specified input string to the given pattern. - - A new DbLikeExpression with the specified input, pattern and a null escape. - An expression that specifies the input string. - An expression that specifies the pattern string. - Argument or pattern is null. - Argument or pattern does not have a string result type. - - - - Creates a new that compares the specified input string to the given pattern using the optional escape. - - A new DbLikeExpression with the specified input, pattern and escape. - An expression that specifies the input string. - An expression that specifies the pattern string. - An optional expression that specifies the escape string. - argument, pattern or escape is null. - argument, pattern or escape does not have a string result type. - - - - Creates a new that applies a cast operation to a polymorphic argument. - - A new DbCastExpression with the specified argument and target type. - The argument to which the cast should be applied. - Type metadata that specifies the type to cast to. - Argument or toType is null. - The specified cast is not valid. - - - - Creates a new . - - A new DbTreatExpression with the specified argument and type. - An expression that specifies the instance. - Type metadata for the treat-as type. - argument or treatType is null. - treatType is not in the same type hierarchy as the result type of argument. - - - - Creates a new that produces a set consisting of the elements of the given input set that are of the specified type. - - - A new DbOfTypeExpression with the specified set argument and type, and an ExpressionKind of - - . - - - A that specifies the input set. - - Type metadata for the type that elements of the input set must have to be included in the resulting set. - argument or type is null. - argument does not have a collection result type, or type is not a type in the same type hierarchy as the element type of the collection result type of argument. - - - - Creates a new that produces a set consisting of the elements of the given input set that are of exactly the specified type. - - - A new DbOfTypeExpression with the specified set argument and type, and an ExpressionKind of - - . - - - An that specifies the input set. - - Type metadata for the type that elements of the input set must match exactly to be included in the resulting set. - argument or type is null. - argument does not have a collection result type, or type is not a type in the same type hierarchy as the element type of the collection result type of argument. - - - - Creates a new that determines whether the given argument is of the specified type or a subtype. - - A new DbIsOfExpression with the specified instance and type and DbExpressionKind IsOf. - An expression that specifies the instance. - Type metadata that specifies the type that the instance's result type should be compared to. - argument or type is null. - type is not in the same type hierarchy as the result type of argument. - - - - Creates a new expression that determines whether the given argument is of the specified type, and only that type (not a subtype). - - A new DbIsOfExpression with the specified instance and type and DbExpressionKind IsOfOnly. - An expression that specifies the instance. - Type metadata that specifies the type that the instance's result type should be compared to. - argument or type is null. - type is not in the same type hierarchy as the result type of argument. - - - - Creates a new that retrieves a specific Entity given a reference expression. - - A new DbDerefExpression that retrieves the specified Entity. - - An that provides the reference. This expression must have a reference Type. - - argument is null. - argument does not have a reference result type. - - - - Creates a new that retrieves the ref of the specifed entity in structural form. - - A new DbEntityRefExpression that retrieves a reference to the specified entity. - The expression that provides the entity. This expression must have an entity result type. - argument is null. - argument does not have an entity result type. - - - - Creates a new that encodes a reference to a specific entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet is null, or keyValues is null or contains null. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet is null, or keyValues is null or contains null. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity of a given type based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - The specific type of the referenced entity. This must be an entity type from the same hierarchy as the entity set's element type. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet or entityType is null, or keyValues is null or contains null. - entityType is not from the same type hierarchy (a subtype, supertype, or the same type) as entitySet's element type. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity of a given type based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - The specific type of the referenced entity. This must be an entity type from the same hierarchy as the entity set's element type. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet or entityType is null, or keyValues is null or contains null. - entityType is not from the same type hierarchy (a subtype, supertype, or the same type) as entitySet's element type. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific Entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given Entity set. - The Entity set in which the referenced element resides. - - A that constructs a record with columns that match (in number, type, and order) the Key properties of the referenced Entity type. - - entitySet or keyRow is null. - keyRow does not have a record result type that matches the key properties of the referenced entity set's entity type. - - - - Creates a new that encodes a reference to a specific Entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given Entity set. - The Entity set in which the referenced element resides. - - A that constructs a record with columns that match (in number, type, and order) the Key properties of the referenced Entity type. - - The type of the Entity that the reference should refer to. - entitySet, keyRow or entityType is null. - entityType is not in the same type hierarchy as the entity set's entity type, or keyRow does not have a record result type that matches the key properties of the referenced entity set's entity type. - - - - Creates a new that retrieves the key values of the specifed reference in structural form. - - A new DbRefKeyExpression that retrieves the key values of the specified reference. - The expression that provides the reference. This expression must have a reference Type with an Entity element type. - argument is null. - argument does not have a reference result type. - - - - Creates a new representing the navigation of a composition or association relationship. - - A new DbRelationshipNavigationExpression representing the navigation of the specified from and to relation ends of the specified relation type from the specified navigation source instance. - An expression that specifies the instance from which navigation should occur. - Metadata for the property that represents the end of the relationship from which navigation should occur. - Metadata for the property that represents the end of the relationship to which navigation should occur. - fromEnd, toEnd or navigateFrom is null. - fromEnd and toEnd are not declared by the same relationship type, or navigateFrom has a result type that is not compatible with the property type of fromEnd. - - - - Creates a new representing the navigation of a composition or association relationship. - - A new DbRelationshipNavigationExpression representing the navigation of the specified from and to relation ends of the specified relation type from the specified navigation source instance. - Metadata for the relation type that represents the relationship. - The name of the property of the relation type that represents the end of the relationship from which navigation should occur. - The name of the property of the relation type that represents the end of the relationship to which navigation should occur. - An expression the specifies the instance from which naviagtion should occur. - type, fromEndName, toEndName or navigateFrom is null. - type is not associated with this command tree's metadata workspace or navigateFrom is associated with a different command tree, or type does not declare a relation end property with name toEndName or fromEndName, or navigateFrom has a result type that is not compatible with the property type of the relation end property with name fromEndName. - - - - Creates a new that removes duplicates from the given set argument. - - A new DbDistinctExpression that represents the distinct operation applied to the specified set argument. - An expression that defines the set over which to perfom the distinct operation. - argument is null. - argument does not have a collection result type. - - - - Creates a new that converts a set into a singleton. - - A DbElementExpression that represents the conversion of the set argument to a singleton. - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that determines whether the specified set argument is an empty set. - - A new DbIsEmptyExpression with the specified argument. - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that computes the subtraction of the right set argument from the left set argument. - - A new DbExceptExpression that represents the difference of the left argument from the right argument. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type exists between left and right. - - - - Creates a new that computes the intersection of the left and right set arguments. - - A new DbIntersectExpression that represents the intersection of the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type exists between left or right. - - - - Creates a new that computes the union of the left and right set arguments and does not remove duplicates. - - A new DbUnionAllExpression that union, including duplicates, of the the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type with an equality-comparable element type exists between left and right. - - - - Creates a new that restricts the number of elements in the Argument collection to the specified count Limit value. Tied results are not included in the output. - - A new DbLimitExpression with the specified argument and count limit values that does not include tied results. - An expression that specifies the input collection. - An expression that specifies the limit value. - argument or count is null. - argument does not have a collection result type, or count does not have a result type that is equal or promotable to a 64-bit integer type. - - - - Creates a new . - - A new DbCaseExpression with the specified cases and default result. - A list of expressions that provide the conditional for of each case. - A list of expressions that provide the result of each case. - An expression that defines the result when no case is matched. - whenExpressions or thenExpressions is null or contains null, or elseExpression is null. - whenExpressions or thenExpressions is empty or whenExpressions contains an expression with a non-Boolean result type, or no common result type exists for all expressions in thenExpressions and elseExpression. - - - - Creates a new representing the invocation of the specified function with the given arguments. - - A new DbFunctionExpression representing the function invocation. - Metadata for the function to invoke. - A list of expressions that provide the arguments to the function. - function is null, or arguments is null or contains null. - The count of arguments does not equal the number of parameters declared by function, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding function parameter type. - - - - Creates a new representing the invocation of the specified function with the given arguments. - - A new DbFunctionExpression representing the function invocation. - Metadata for the function to invoke. - Expressions that provide the arguments to the function. - function is null, or arguments is null or contains null. - The count of arguments does not equal the number of parameters declared by function, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding function parameter type. - - - - Creates a new representing the application of the specified Lambda function to the given arguments. - - A new Expression representing the Lambda function application. - - A instance representing the Lambda function to apply. - - A list of expressions that provide the arguments. - lambda or arguments is null. - The count of arguments does not equal the number of variables declared by lambda, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding variable type. - - - - Creates a new representing the application of the specified Lambda function to the given arguments. - - A new expression representing the Lambda function application. - - A instance representing the Lambda function to apply. - - Expressions that provide the arguments. - lambda or arguments is null. - The count of arguments does not equal the number of variables declared by lambda, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding variable type. - - - - Creates a new . If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance. - - A new DbNewInstanceExpression with the specified type and arguments. - The type of the new instance. - Expressions that specify values of the new instances, interpreted according to the instance's type. - instanceType or arguments is null, or arguments contains null. - arguments is empty or the result types of the contained expressions do not match the requirements of instanceType (as explained in the remarks section). - - - - Creates a new . If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance. - - A new DbNewInstanceExpression with the specified type and arguments. - The type of the new instance. - Expressions that specify values of the new instances, interpreted according to the instance's type. - instanceType or arguments is null, or arguments contains null. - arguments is empty or the result types of the contained expressions do not match the requirements of instanceType (as explained in the remarks section). - - - - Creates a new that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown. - - A new DbNewInstanceExpression with the specified collection type and arguments. - A list of expressions that provide the elements of the collection. - elements is null, or contains null. - elements is empty or contains expressions for which no common result type exists. - - - - Creates a new that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown. - - A new DbNewInstanceExpression with the specified collection type and arguments. - A list of expressions that provide the elements of the collection. - elements is null, or contains null.. - elements is empty or contains expressions for which no common result type exists. - - - - Creates a new that constructs an empty collection of the specified collection type. - - A new DbNewInstanceExpression with the specified collection type and an empty Arguments list. - The type metadata for the collection to create - collectionType is null. - collectionType is not a collection type. - - - - Creates a new that produces a row with the specified named columns and the given values, specified as expressions. - - A new DbNewInstanceExpression that represents the construction of the row. - A list of string-DbExpression key-value pairs that defines the structure and values of the row. - columnValues is null or contains an element with a null column name or expression. - columnValues is empty, or contains a duplicate or invalid column name. - - - - Creates a new representing the retrieval of the specified property. - - A new DbPropertyExpression representing the property retrieval. - The instance from which to retrieve the property. May be null if the property is static. - Metadata for the property to retrieve. - propertyMetadata is null or instance is null and the property is not static. - - - - Creates a new representing the retrieval of the specified navigation property. - - A new DbPropertyExpression representing the navigation property retrieval. - The instance from which to retrieve the navigation property. - Metadata for the navigation property to retrieve. - navigationProperty or instance is null. - - - - Creates a new representing the retrieval of the specified relationship end member. - - A new DbPropertyExpression representing the relationship end member retrieval. - The instance from which to retrieve the relationship end member. - Metadata for the relationship end member to retrieve. - relationshipEnd is null or instance is null and the property is not static. - - - - Creates a new representing the retrieval of the instance property with the specified name from the given instance. - - A new DbPropertyExpression that represents the property retrieval. - The instance from which to retrieve the property. - The name of the property to retrieve. - propertyName is null or instance is null and the property is not static. - No property with the specified name is declared by the type of instance. - - - - Creates a new representing setting a property to a value. - - The property to be set. - The value to set the property to. - The newly created set clause. - - - - Creates a new that determines whether the given predicate holds for all elements of the input set. - - A new DbQuantifierExpression that represents the All operation. - An expression that specifies the input set. - A method representing a predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - source does not have a collection result type. - The expression produced by Predicate does not have a Boolean result type. - - - - Creates a new that determines whether the specified set argument is non-empty. - - - A new applied to a new - - with the specified argument. - - An expression that specifies the input set. - source is null. - source does not have a collection result type. - - - - Creates a new that determines whether the specified set argument is non-empty. - - - A new applied to a new - - with the specified argument. - - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that determines whether the given predicate holds for any element of the input set. - - A new DbQuantifierExpression that represents the Any operation. - An expression that specifies the input set. - A method representing the predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - source does not have a collection result type. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that specifies the logic to evaluate once for each member of the input set. - source or apply is null. - source does not have a collection result type. - The result of apply contains a name or expression that is null. - The result of apply contains a name or expression that is not valid in an expression binding. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set have an apply column value of null. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of OuterApply. - - - A that specifies the input set. - - A method that specifies the logic to evaluate once for each member of the input set. - source or apply is null. - Source does not have a collection result type. - The result of apply contains a name or expression that is null. - The result of apply contains a name or expression that is not valid in an expression binding. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using FullOuterJoin as the - - . - - - A new DbJoinExpression, with an of FullOuterJoin, that represents the full outer join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using LeftOuterJoin as the - - . - - - A new DbJoinExpression, with an of LeftOuterJoin, that represents the left outer join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the outer and inner expressions, on an equality condition between the specified outer and inner keys, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under a join condition that compares the outer and inner key values for equality. - - - A that specifies the outer set argument. - - - A that specifies the inner set argument. - - A method that specifies how the outer key value should be derived from an element of the outer set. - A method that specifies how the inner key value should be derived from an element of the inner set. - outer, inner, outerKey or innerKey is null. - outer or inner does not have a collection result type. - The expression produced by outerKey or innerKey is null. - The expressions produced by outerKey and innerKey are not comparable for equality. - - - - Creates a new that projects the specified selector over the sets specified by the outer and inner expressions, joined on an equality condition between the specified outer and inner keys, using InnerJoin as the - - . - - - A new DbProjectExpression with the specified selector as its projection, and a new DbJoinExpression as its input. The input DbJoinExpression is created with an - - of InnerJoin, that represents the inner join operation applied to the left and right input sets under a join condition that compares the outer and inner key values for equality. - - - A that specifies the outer set argument. - - - A that specifies the inner set argument. - - A method that specifies how the outer key value should be derived from an element of the outer set. - A method that specifies how the inner key value should be derived from an element of the inner set. - - A method that specifies how an element of the result set should be derived from elements of the inner and outer sets. This method must produce an instance of a type that is compatible with Join and can be resolved into a - - . Compatibility requirements for TSelector are described in remarks. - - The type of the selector . - outer, inner, outerKey, innerKey or selector is null. - outer or inner does not have a collection result type. - The expression produced by outerKey or innerKey is null. - The result of selector is null after conversion to DbExpression. - The expressions produced by outerKey and innerKey is not comparable for equality. - The result of Selector is not compatible with SelectMany. - - - - Creates a new that sorts the given input set by the specified sort key, with ascending sort order and default collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that sorts the given input set by the specified sort key, with ascending sort order and the specified collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that sorts the given input set by the specified sort key, with descending sort order and default collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that sorts the given input set by the specified sort key, with descending sort order and the specified collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that selects the specified expression over the given input set. - - A new DbProjectExpression that represents the select operation. - An expression that specifies the input set. - - A method that specifies how to derive the projected expression given a member of the input set. This method must produce an instance of a type that is compatible with Select and can be resolved into a - - . Compatibility requirements for TProjection are described in remarks. - - The method result type of projection. - source or projection is null. - The result of projection is null. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. A - - is then created that selects the apply column from each row, producing the overall collection of apply results. - - - An new DbProjectExpression that selects the apply column from a new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that represents the logic to evaluate once for each member of the input set. - source or apply is null. - The expression produced by apply is null. - source does not have a collection result type. - The expression produced by apply does not have a collection type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. A - - is then created that selects the specified selector over each row, producing the overall collection of results. - - - An new DbProjectExpression that selects the result of the given selector from a new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that represents the logic to evaluate once for each member of the input set. - - A method that specifies how an element of the result set should be derived given an element of the input and apply sets. This method must produce an instance of a type that is compatible with SelectMany and can be resolved into a - - . Compatibility requirements for TSelector are described in remarks. - - The method result type of selector. - source, apply or selector is null. - The expression produced by apply is null. - The result of selector is null on conversion to DbExpression. - source does not have a collection result type. - The expression produced by apply does not have a collection type. does not have a collection type. - - - - Creates a new that skips the specified number of elements from the given sorted input set. - - A new DbSkipExpression that represents the skip operation. - - A that specifies the sorted input set. - - An expression the specifies how many elements of the ordered set to skip. - argument or count is null. - - count is not or - - or has a result type that is not equal or promotable to a 64-bit integer type. - - - - - Creates a new that restricts the number of elements in the Argument collection to the specified count Limit value. Tied results are not included in the output. - - A new DbLimitExpression with the specified argument and count limit values that does not include tied results. - An expression that specifies the input collection. - An expression that specifies the limit value. - argument or count is null. - argument does not have a collection result type, count does not have a result type that is equal or promotable to a 64-bit integer type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in ascending sort order and with default collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - sortKey does not have an order-comparable result type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in ascending sort order and with the specified collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in descending sort order and with default collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in descending sort order and with the specified collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that filters the elements in the given input set using the specified predicate. - - A new DbQuantifierExpression that represents the Any operation. - An expression that specifies the input set. - A method representing the predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that computes the union of the left and right set arguments with duplicates removed. - - A new DbExpression that computes the union, without duplicates, of the the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type with an equality-comparable element type exists between left and right. - - - - Gets a with the Boolean value true. - - - A with the Boolean value true. - - - - - Gets a with the Boolean value false. - - - A with the Boolean value false. - - - - - Provides an API to construct s that invoke canonical EDM functions, and allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'Avg' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the average value. - An expression that specifies the collection from which the average value should be computed. - - - - Creates a that invokes the canonical 'Count' function over the specified collection. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that produces the count value. - An expression that specifies the collection over which the count value should be computed. - - - - Creates a that invokes the canonical 'BigCount' function over the specified collection. The result type of the expression is Edm.Int64. - - A new DbFunctionExpression that produces the count value. - An expression that specifies the collection over which the count value should be computed. - - - - Creates a that invokes the canonical 'Max' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the maximum value. - An expression that specifies the collection from which the maximum value should be retrieved - - - - Creates a that invokes the canonical 'Min' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the minimum value. - An expression that specifies the collection from which the minimum value should be retrieved. - - - - Creates a that invokes the canonical 'Sum' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the sum. - An expression that specifies the collection from which the sum should be computed. - - - - Creates a that invokes the canonical 'StDev' function over the non-null members of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the standard deviation value over non-null members of the collection. - An expression that specifies the collection for which the standard deviation should be computed. - - - - Creates a that invokes the canonical 'StDevP' function over the population of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the standard deviation value. - An expression that specifies the collection for which the standard deviation should be computed. - - - - Creates a that invokes the canonical 'Var' function over the non-null members of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the statistical variance value for the non-null members of the collection. - An expression that specifies the collection for which the statistical variance should be computed. - - - - Creates a that invokes the canonical 'VarP' function over the population of the specified collection. The result type of the expression Edm.Double. - - A new DbFunctionExpression that produces the statistical variance value. - An expression that specifies the collection for which the statistical variance should be computed. - - - - Creates a that invokes the canonical 'Concat' function with the specified arguments, which must each have a string result type. The result type of the expression is string. - - A new DbFunctionExpression that produces the concatenated string. - An expression that specifies the string that should appear first in the concatenated result string. - An expression that specifies the string that should appear second in the concatenated result string. - - - - Creates a that invokes the canonical 'Contains' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not searchedForString occurs within searchedString. - An expression that specifies the string to search for any occurence of searchedForString. - An expression that specifies the string to search for in searchedString. - - - - Creates a that invokes the canonical 'EndsWith' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not stringArgument ends with suffix. - An expression that specifies the string that is searched at the end for string suffix. - An expression that specifies the target string that is searched for at the end of stringArgument. - - - - Creates a that invokes the canonical 'IndexOf' function with the specified arguments, which must each have a string result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the first index of stringToFind in searchString. - An expression that specifies the string to search for stringToFind. - An expression that specifies the string to locate within searchString should be checked. - - - - Creates a that invokes the canonical 'Left' function with the specified arguments, which must have a string and integer numeric result type. The result type of the expression is string. - - A new DbFunctionExpression that returns the the leftmost substring of length length from stringArgument. - An expression that specifies the string from which to extract the leftmost substring. - An expression that specifies the length of the leftmost substring to extract from stringArgument. - - - - Creates a that invokes the canonical 'Length' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the length of stringArgument. - An expression that specifies the string for which the length should be computed. - - - - Creates a that invokes the canonical 'Replace' function with the specified arguments, which must each have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression than returns a new string based on stringArgument where every occurence of toReplace is replaced by replacement. - An expression that specifies the string in which to perform the replacement operation. - An expression that specifies the string that is replaced. - An expression that specifies the replacement string. - - - - Creates a that invokes the canonical 'Reverse' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that produces the reversed value of stringArgument. - An expression that specifies the string to reverse. - - - - Creates a that invokes the canonical 'Right' function with the specified arguments, which must have a string and integer numeric result type. The result type of the expression is string. - - A new DbFunctionExpression that returns the the rightmost substring of length length from stringArgument. - An expression that specifies the string from which to extract the rightmost substring. - An expression that specifies the length of the rightmost substring to extract from stringArgument. - - - - Creates a that invokes the canonical 'StartsWith' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not stringArgument starts with prefix. - An expression that specifies the string that is searched at the start for string prefix. - An expression that specifies the target string that is searched for at the start of stringArgument. - - - - Creates a that invokes the canonical 'Substring' function with the specified arguments, which must have a string and integer numeric result types. The result type of the expression is string. - - A new DbFunctionExpression that returns the substring of length length from stringArgument starting at start. - An expression that specifies the string from which to extract the substring. - An expression that specifies the starting index from which the substring should be taken. - An expression that specifies the length of the substring. - - - - Creates a that invokes the canonical 'ToLower' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument converted to lower case. - An expression that specifies the string that should be converted to lower case. - - - - Creates a that invokes the canonical 'ToUpper' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument converted to upper case. - An expression that specifies the string that should be converted to upper case. - - - - Creates a that invokes the canonical 'Trim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with leading and trailing space removed. - An expression that specifies the string from which leading and trailing space should be removed. - - - - Creates a that invokes the canonical 'RTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with trailing space removed. - An expression that specifies the string from which trailing space should be removed. - - - - Creates a that invokes the canonical 'LTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with leading space removed. - An expression that specifies the string from which leading space should be removed. - - - - Creates a that invokes the canonical 'Year' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer year value from dateValue. - An expression that specifies the value from which the year should be retrieved. - - - - Creates a that invokes the canonical 'Month' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer month value from dateValue. - An expression that specifies the value from which the month should be retrieved. - - - - Creates a that invokes the canonical 'Day' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer day value from dateValue. - An expression that specifies the value from which the day should be retrieved. - - - - Creates a that invokes the canonical 'DayOfYear' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer day of year value from dateValue. - An expression that specifies the value from which the day within the year should be retrieved. - - - - Creates a that invokes the canonical 'Hour' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer hour value from timeValue. - An expression that specifies the value from which the hour should be retrieved. - - - - Creates a that invokes the canonical 'Minute' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer minute value from timeValue. - An expression that specifies the value from which the minute should be retrieved. - - - - Creates a that invokes the canonical 'Second' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer second value from timeValue. - An expression that specifies the value from which the second should be retrieved. - - - - Creates a that invokes the canonical 'Millisecond' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer millisecond value from timeValue. - An expression that specifies the value from which the millisecond should be retrieved. - - - - Creates a that invokes the canonical 'GetTotalOffsetMinutes' function with the specified argument, which must have a DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of minutes dateTimeOffsetArgument is offset from GMT. - An expression that specifies the DateTimeOffset value from which the minute offset from GMT should be retrieved. - - - - Creates a that invokes the canonical 'CurrentDateTime' function. - - A new DbFunctionExpression that returns the current date and time as an Edm.DateTime instance. - - - - Creates a that invokes the canonical 'CurrentDateTimeOffset' function. - - A new DbFunctionExpression that returns the current date and time as an Edm.DateTimeOffset instance. - - - - Creates a that invokes the canonical 'CurrentUtcDateTime' function. - - A new DbFunctionExpression that returns the current UTC date and time as an Edm.DateTime instance. - - - - Creates a that invokes the canonical 'TruncateTime' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that returns the value of dateValue with time set to zero. - An expression that specifies the value for which the time portion should be truncated. - - - - Creates a that invokes the canonical 'CreateDateTime' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.DateTime. - - A new DbFunctionExpression that returns a new DateTime based on the specified values. - An expression that provides the year value for the new DateTime instance. - An expression that provides the month value for the new DateTime instance. - An expression that provides the day value for the new DateTime instance. - An expression that provides the hour value for the new DateTime instance. - An expression that provides the minute value for the new DateTime instance. - An expression that provides the second value for the new DateTime instance. - - - - Creates a that invokes the canonical 'CreateDateTimeOffset' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.DateTimeOffset. - - A new DbFunctionExpression that returns a new DateTimeOffset based on the specified values. - An expression that provides the year value for the new DateTimeOffset instance. - An expression that provides the month value for the new DateTimeOffset instance. - An expression that provides the day value for the new DateTimeOffset instance. - An expression that provides the hour value for the new DateTimeOffset instance. - An expression that provides the minute value for the new DateTimeOffset instance. - An expression that provides the second value for the new DateTimeOffset instance. - An expression that provides the number of minutes in the time zone offset value for the new DateTimeOffset instance. - - - - Creates a that invokes the canonical 'CreateTime' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.Time. - - A new DbFunctionExpression that returns a new Time based on the specified values. - An expression that provides the hour value for the new DateTime instance. - An expression that provides the minute value for the new DateTime instance. - An expression that provides the second value for the new DateTime instance. - - - - Creates a that invokes the canonical 'AddYears' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of years specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of years to add to dateValue. - - - - Creates a that invokes the canonical 'AddMonths' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of months specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of months to add to dateValue. - - - - Creates a that invokes the canonical 'AddDays' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of days specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of days to add to dateValue. - - - - Creates a that invokes the canonical 'AddHours' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of hours specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of hours to add to timeValue. - - - - Creates a that invokes the canonical 'AddMinutes' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of minutes specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of minutes to add to timeValue. - - - - Creates a that invokes the canonical 'AddSeconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of seconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of seconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddMilliseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of milliseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of milliseconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddMicroseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of microseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of microseconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddNanoseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of nanoseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of nanoseconds to add to timeValue. - - - - Creates a that invokes the canonical 'DiffYears' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of years that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffMonths' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of months that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffDays' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of days that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffHours' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of hours that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMinutes' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of minutes that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffSeconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of seconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMilliseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of milliseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMicroseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of microseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffNanoseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of nanoseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'Round' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that rounds the specified argument to the nearest integer value. - An expression that specifies the numeric value to round. - - - - Creates a that invokes the canonical 'Round' function with the specified arguments, which must have a single, double or decimal, and integer result types. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that rounds the specified argument to the nearest integer value, with precision as specified by digits. - An expression that specifies the numeric value to round. - An expression that specifies the number of digits of precision to use when rounding. - - - - Creates a that invokes the canonical 'Floor' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the largest integer value not greater than value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Ceiling' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the smallest integer value not less than than value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Abs' function with the specified argument, which must each have a numeric result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the absolute value of value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Truncate' function with the specified arguments, which must have a single, double or decimal, and integer result types. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that truncates the specified argument to the nearest integer value, with precision as specified by digits. - An expression that specifies the numeric value to truncate. - An expression that specifies the number of digits of precision to use when truncating. - - - - Creates a that invokes the canonical 'Power' function with the specified arguments, which must have numeric result types. The result type of the expression is the same as the result type of baseArgument. - - A new DbFunctionExpression that returns the value of baseArgument raised to the power specified by exponent. - An expression that specifies the numeric value to raise to the given power. - An expression that specifies the power to which baseArgument should be raised. - - - - Creates a that invokes the canonical 'BitwiseAnd' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise AND of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'BitwiseOr' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise OR of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'BitwiseNot' function with the specified argument, which must have an integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise NOT of value. - An expression that specifies the first operand. - - - - Creates a that invokes the canonical 'BitwiseXor' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise XOR (exclusive OR) of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'NewGuid' function. - - A new DbFunctionExpression that returns a new GUID value. - - - - Provides a constructor-like means of calling - - . - - - - - Initializes a new instance of the class with the specified first column value and optional successive column values. - - A key-value pair that provides the first column in the new row instance. (required) - A key-value pairs that provide any subsequent columns in the new row instance. (optional) - - - - Creates a new that constructs a new row based on the columns contained in this Row instance. - - A new DbNewInstanceExpression that constructs a row with the same column names and DbExpression values as this Row instance. - - - - Converts the given Row instance into an instance of - - The Row instance. - A DbExpression based on the Row instance - - - is null. - - - - - - Provides an API to construct s that invoke spatial realted canonical EDM functions, and, where appropriate, allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'GeometryFromText' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geometry. Its value has the default coordinate system id (SRID) of the underlying provider. - - A new DbFunctionExpression that returns a new geometry value based on the specified value. - An expression that provides the well known text representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromText' function with the specified arguments. wellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the well known text representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPointFromText' function with the specified arguments. pointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry point value based on the specified values. - An expression that provides the well known text representation of the geometry point value. - An expression that provides the coordinate system id (SRID) of the geometry point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryLineFromText' function with the specified arguments. lineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry line value based on the specified values. - An expression that provides the well known text representation of the geometry line value. - An expression that provides the coordinate system id (SRID) of the geometry line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPolygonFromText' function with the specified arguments. polygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry polygon value based on the specified values. - An expression that provides the well known text representation of the geometry polygon value. - An expression that provides the coordinate system id (SRID) of the geometry polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPointFromText' function with the specified arguments. multiPointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-point value based on the specified values. - An expression that provides the well known text representation of the geometry multi-point value. - An expression that provides the coordinate system id (SRID) of the geometry multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiLineFromText' function with the specified arguments. multiLineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-line value based on the specified values. - An expression that provides the well known text representation of the geometry multi-line value. - An expression that provides the coordinate system id (SRID) of the geometry multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPolygonFromText' function with the specified arguments. multiPolygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-polygon value based on the specified values. - An expression that provides the well known text representation of the geometry multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geometry multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryCollectionFromText' function with the specified arguments. geometryCollectionWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry collection value based on the specified values. - An expression that provides the well known text representation of the geometry collection value. - An expression that provides the coordinate system id (SRID) of the geometry collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryFromBinary' function with the specified argument, which must have a binary result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified binary value. - An expression that provides the well known binary representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromBinary' function with the specified arguments. wellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the well known binary representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPointFromBinary' function with the specified arguments. pointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry point value based on the specified values. - An expression that provides the well known binary representation of the geometry point value. - An expression that provides the coordinate system id (SRID) of the geometry point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryLineFromBinary' function with the specified arguments. lineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry line value based on the specified values. - An expression that provides the well known binary representation of the geometry line value. - An expression that provides the coordinate system id (SRID) of the geometry line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPolygonFromBinary' function with the specified arguments. polygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry polygon value based on the specified values. - An expression that provides the well known binary representation of the geometry polygon value. - An expression that provides the coordinate system id (SRID) of the geometry polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPointFromBinary' function with the specified arguments. multiPointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-point value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-point value. - An expression that provides the coordinate system id (SRID) of the geometry multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiLineFromBinary' function with the specified arguments. multiLineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-line value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-line value. - An expression that provides the coordinate system id (SRID) of the geometry multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPolygonFromBinary' function with the specified arguments. multiPolygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-polygon value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geometry multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryCollectionFromBinary' function with the specified arguments. geometryCollectionWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry collection value based on the specified values. - An expression that provides the well known binary representation of the geometry collection value. - An expression that provides the coordinate system id (SRID) of the geometry collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified value with the default coordinate system id (SRID) of the underlying provider. - An expression that provides the Geography Markup Language (GML) representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromGml' function with the specified arguments. geometryMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the Geography Markup Language (GML) representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromText' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography. Its value has the default coordinate system id (SRID) of the underlying provider. - - A new DbFunctionExpression that returns a new geography value based on the specified value. - An expression that provides the well known text representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromText' function with the specified arguments. wellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the well known text representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPointFromText' function with the specified arguments. - - The canonical 'GeographyPointFromText' function. - An expression that provides the well-known text representation of the geography point value. - An expression that provides the coordinate system id (SRID) of the geography point value's coordinate systempointWellKnownTextValue. - - - - Creates a that invokes the canonical 'GeographyLineFromText' function with the specified arguments. lineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography line value based on the specified values. - An expression that provides the well known text representation of the geography line value. - An expression that provides the coordinate system id (SRID) of the geography line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPolygonFromText' function with the specified arguments. polygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography polygon value based on the specified values. - An expression that provides the well known text representation of the geography polygon value. - An expression that provides the coordinate system id (SRID) of the geography polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPointFromText' function with the specified arguments. multiPointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-point value based on the specified values. - An expression that provides the well known text representation of the geography multi-point value. - An expression that provides the coordinate system id (SRID) of the geography multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiLineFromText' function with the specified arguments. multiLineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-line value based on the specified values. - An expression that provides the well known text representation of the geography multi-line value. - An expression that provides the coordinate system id (SRID) of the geography multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPolygonFromText' function with the specified arguments. multiPolygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-polygon value based on the specified values. - An expression that provides the well known text representation of the geography multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geography multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyCollectionFromText' function with the specified arguments. geographyCollectionWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography collection value based on the specified values. - An expression that provides the well known text representation of the geography collection value. - An expression that provides the coordinate system id (SRID) of the geography collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromBinary' function with the specified argument, which must have a binary result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified binary value. - An expression that provides the well known binary representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromBinary' function with the specified arguments. wellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the well known binary representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPointFromBinary' function with the specified arguments. pointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography point value based on the specified values. - An expression that provides the well known binary representation of the geography point value. - An expression that provides the coordinate system id (SRID) of the geography point value's coordinate systempointWellKnownBinaryValue. - - - - Creates a that invokes the canonical 'GeographyLineFromBinary' function with the specified arguments. lineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography line value based on the specified values. - An expression that provides the well known binary representation of the geography line value. - An expression that provides the coordinate system id (SRID) of the geography line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPolygonFromBinary' function with the specified arguments. polygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography polygon value based on the specified values. - An expression that provides the well known binary representation of the geography polygon value. - An expression that provides the coordinate system id (SRID) of the geography polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPointFromBinary' function with the specified arguments. multiPointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-point value based on the specified values. - An expression that provides the well known binary representation of the geography multi-point value. - An expression that provides the coordinate system id (SRID) of the geography multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiLineFromBinary' function with the specified arguments. multiLineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-line value based on the specified values. - An expression that provides the well known binary representation of the geography multi-line value. - An expression that provides the coordinate system id (SRID) of the geography multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPolygonFromBinary' function with the specified arguments. multiPolygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-polygon value based on the specified values. - An expression that provides the well known binary representation of the geography multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geography multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyCollectionFromBinary' function with the specified arguments. geographyCollectionWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography collection value based on the specified values. - An expression that provides the well known binary representation of the geography collection value. - An expression that provides the coordinate system id (SRID) of the geography collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified value with the default coordinate system id (SRID) of the underlying provider. - An expression that provides the Geography Markup Language (GML) representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromGml' function with the specified arguments. geographyMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the Geography Markup Language (GML) representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'CoordinateSystemId' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer SRID value from spatialValue. - An expression that specifies the value from which the coordinate system id (SRID) should be retrieved. - - - - Creates a that invokes the canonical 'SpatialTypeName' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the string Geometry Type name from spatialValue. - An expression that specifies the value from which the Geometry Type name should be retrieved. - - - - Creates a that invokes the canonical 'SpatialDimension' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the Dimension value from spatialValue. - An expression that specifies the value from which the Dimension value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialEnvelope' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the the minimum bounding box for geometryValue. - An expression that specifies the value from which the Envelope value should be retrieved. - - - - Creates a that invokes the canonical 'AsBinary' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Binary. - - A new DbFunctionExpression that returns the well known binary representation of spatialValue. - An expression that specifies the spatial value from which the well known binary representation should be produced. - - - - Creates a that invokes the canonical 'AsGml' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the Geography Markup Language (GML) representation of spatialValue. - An expression that specifies the spatial value from which the Geography Markup Language (GML) representation should be produced. - - - - Creates a that invokes the canonical 'AsText' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the well known text representation of spatialValue. - An expression that specifies the spatial value from which the well known text representation should be produced. - - - - Creates a that invokes the canonical 'IsEmptySpatial' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue is empty. - An expression that specifies the spatial value from which the IsEmptySptiaal value should be retrieved. - - - - Creates a that invokes the canonical 'IsSimpleGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue is a simple geometry. - The geometry value. - - - - Creates a that invokes the canonical 'SpatialBoundary' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the the boundary for geometryValue. - An expression that specifies the geometry value from which the SpatialBoundary value should be retrieved. - - - - Creates a that invokes the canonical 'IsValidGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue is valid. - An expression that specifies the geometry value which should be tested for spatial validity. - - - - Creates a that invokes the canonical 'SpatialEquals' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 are equal. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for equality. - - - - Creates a that invokes the canonical 'SpatialDisjoint' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 are spatially disjoint. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for disjointness. - - - - Creates a that invokes the canonical 'SpatialIntersects' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 intersect. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for intersection. - - - - Creates a that invokes the canonical 'SpatialTouches' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 touches geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialCrosses' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 crosses geometryValue2 intersect. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialWithin' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 is spatially within geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialContains' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 spatially contains geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialOverlaps' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 spatially overlaps geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialRelate' function with the specified arguments, which must have Edm.Geometry and string result types. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 is spatially related to geometryValue2 according to the spatial relationship designated by intersectionPatternMatrix. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - An expression that specifies the text representation of the Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern used to compare geometryValue1 and geometryValue2. - - - - Creates a that invokes the canonical 'SpatialBuffer' function with the specified arguments, which must have a Edm.Geography or Edm.Geometry and Edm.Double result types. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a geometry value representing all points less than or equal to distance from spatialValue. - An expression that specifies the spatial value. - An expression that specifies the buffer distance. - - - - Creates a that invokes the canonical 'Distance' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns the distance between the closest points in spatialValue1 and spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value from which the distance from spatialValue1 should be measured. - - - - Creates a that invokes the canonical 'SpatialConvexHull' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the the convex hull for geometryValue. - An expression that specifies the geometry value from which the convex hull value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialIntersection' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the spatial value representing the intersection of spatialValue1 and spatialValue2. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the intersection with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialUnion' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the spatial value representing the union of spatialValue1 and spatialValue2. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the union with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialDifference' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the geometry value representing the difference of spatialValue2 with spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the difference with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialSymmetricDifference' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the geometry value representing the symmetric difference of spatialValue2 with spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the symmetric difference with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialElementCount' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of elements in spatialValue or null if spatialValue is not a collection. - An expression that specifies the geography or geometry collection value from which the number of elements should be retrieved. - - - - Creates a that invokes the canonical 'SpatialElementAt' function with the specified arguments. The first argument must have an Edm.Geography or Edm.Geometry result type. The second argument must have an integer numeric result type. The result type of the expression is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the collection element at position indexValue in spatialValue or null if spatialValue is not a collection. - An expression that specifies the geography or geometry collection value. - An expression that specifies the position of the element to be retrieved from within the geometry or geography collection. - - - - Creates a that invokes the canonical 'XCoordinate' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the X co-ordinate value of geometryValue or null if geometryValue is not a point. - An expression that specifies the geometry point value from which the X co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'YCoordinate' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Y co-ordinate value of geometryValue or null if geometryValue is not a point. - An expression that specifies the geometry point value from which the Y co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'Elevation' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the elevation value of spatialValue or null if spatialValue is not a point. - An expression that specifies the spatial point value from which the elevation (Z co-ordinate) value should be retrieved. - - - - Creates a that invokes the canonical 'Measure' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Measure of spatialValue or null if spatialValue is not a point. - An expression that specifies the spatial point value from which the Measure (M) co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'Latitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Latitude value of geographyValue or null if geographyValue is not a point. - An expression that specifies the geography point value from which the Latitude value should be retrieved. - - - - Creates a that invokes the canonical 'Longitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Longitude value of geographyValue or null if geographyValue is not a point. - An expression that specifies the geography point value from which the Longitude value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialLength' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the length of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the length should be retrieved. - - - - Creates a that invokes the canonical 'StartPoint' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the start point of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the start point should be retrieved. - - - - Creates a that invokes the canonical 'EndPoint' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the end point of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the end point should be retrieved. - - - - Creates a that invokes the canonical 'IsClosedSpatial' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is Edm.Boolean. - - A new DbFunctionExpression that returns either a Boolean value indicating whether spatialValue is closed, or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the IsClosedSpatial value should be retrieved. - - - - Creates a that invokes the canonical 'IsRing' function with the specified argument, which must have an Edm.Geometry result type. The result type is Edm.Boolean. - - A new DbFunctionExpression that returns either a Boolean value indicating whether geometryValue is a ring (both closed and simple), or null if geometryValue is not a curve. - An expression that specifies the geometry curve value from which the IsRing value should be retrieved. - - - - Creates a that invokes the canonical 'PointCount' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of points in spatialValue or null if spatialValue is not a line string. - An expression that specifies the spatial line string value from which the number of points should be retrieved. - - - - Creates a that invokes the canonical 'PointAt' function with the specified arguments. The first argument must have an Edm.Geography or Edm.Geometry result type. The second argument must have an integer numeric result type. The result type of the expression is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the point at position indexValue in spatialValue or null if spatialValue is not a line string. - An expression that specifies the spatial line string value. - An expression that specifies the position of the point to be retrieved from within the line string. - - - - Creates a that invokes the canonical 'Area' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the area of spatialValue or null if spatialValue is not a surface. - An expression that specifies the spatial surface value for which the area should be calculated. - - - - Creates a that invokes the canonical 'Centroid' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the centroid point of geometryValue (which may not be on the surface itself) or null if geometryValue is not a surface. - An expression that specifies the geometry surface value from which the centroid should be retrieved. - - - - Creates a that invokes the canonical 'PointOnSurface' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either a point guaranteed to be on the surface geometryValue or null if geometryValue is not a surface. - An expression that specifies the geometry surface value from which the point should be retrieved. - - - - Creates a that invokes the canonical 'ExteriorRing' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the exterior ring of the polygon geometryValue or null if geometryValue is not a polygon. - The geometry value. - - - - Creates a that invokes the canonical 'InteriorRingCount' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of interior rings in the polygon geometryValue or null if geometryValue is not a polygon. - The geometry value. - - - - Creates a that invokes the canonical 'InteriorRingAt' function with the specified arguments. The first argument must have an Edm.Geometry result type. The second argument must have an integer numeric result types. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the interior ring at position indexValue in geometryValue or null if geometryValue is not a polygon. - The geometry value. - An expression that specifies the position of the interior ring to be retrieved from within the polygon. - - - - Ensures that all metadata in a given expression tree is from the specified metadata workspace, - potentially rebinding and rebuilding the expressions to appropriate replacement metadata where necessary. - - - - Initializes a new instance of the class. - The target workspace. - - - Implements the visitor pattern for the entity set. - The implemented visitor pattern. - The entity set. - - - Implements the visitor pattern for the function. - The implemented visitor pattern. - The function metadata. - - - Implements the visitor pattern for the type. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the type usage. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for retrieving an instance property. - The implemented visitor. - The expression. - - - - Represents a boolean expression that tests whether a specified item matches any element in a list. - - - - - The visitor pattern method for expression visitors that do not produce a result value. - - An instance of DbExpressionVisitor. - - - is null - - - - - The visitor pattern method for expression visitors that produce a result value of a specific type. - - An instance of a typed DbExpressionVisitor that produces a result value of type TResultType. - - The type of the result produced by - - - - is null - - - An instance of . - - - - - Gets a DbExpression that specifies the item to be matched. - - - - - Gets the list of DbExpression to test for a match. - - - - - Represents the retrieval of the key value of the specified Reference as a row. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents the set union (without duplicate removal) operation between the left and right operands. - - - DbUnionAllExpression requires that its arguments have a common collection result type - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents a 'scan' of all elements of a given entity set. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Gets the metadata for the referenced entity or relationship set. - The metadata for the referenced entity or relationship set. - - - - Extension methods for . - - - - - Gets the conceptual model from the specified DbModel. - - An instance of a class that implements IEdmModelAdapter (ex. DbModel). - An instance of EdmModel that represents the conceptual model. - - - - Gets the store model from the specified DbModel. - - An instance of a class that implements IEdmModelAdapter (ex. DbModel). - An instance of EdmModel that represents the store model. - - - - An interface to get the underlying store and conceptual model for a . - - - - - Gets the conceptual model. - - - - - Gets the store model. - - - - - Inherit from this class to create a service that allows for code generation of custom annotations as part of - scaffolding Migrations. The derived class should be set onto the . - - - Note that an is not needed if the annotation uses a simple string value, - or if calling ToString on the annotation object is sufficient for use in the scaffolded Migration. - - - - - Override this method to return additional namespaces that should be included in the code generated for the - scaffolded migration. The default implementation returns an empty enumeration. - - The names of the annotations that are being included in the generated code. - A list of additional namespaces to include. - - - - Implement this method to generate code for the given annotation value. - - The name of the annotation for which a value is being generated. - The annotation value. - The writer to which generated code should be written. - - - - Represents a pair of annotation values in a scaffolded or hand-coded . - - - Code First allows for custom annotations to be associated with columns and tables in the - generated model. This class represents a pair of annotation values in a migration such - that when the Code First model changes the old annotation value and the new annotation - value can be provided to the migration and used in SQL generation. - - - - - Creates a new pair of annotation values. - - The old value of the annotation, which may be null if the annotation has just been created. - The new value of the annotation, which may be null if the annotation has been deleted. - - - - - - - - - - Returns true if both annotation pairs contain the same values, otherwise false. - - A pair of annotation values. - A pair of annotation values. - True if both pairs contain the same values. - - - - Returns true if the two annotation pairs contain different values, otherwise false. - - A pair of annotation values. - A pair of annotation values. - True if the pairs contain different values. - - - - Gets the old value of the annotation, which may be null if the annotation has just been created. - - - - - Gets the new value of the annotation, which may be null if the annotation has been deleted. - - - - - Returned by and related methods to indicate whether or - not one object does not conflict with another such that the two can be combined into one. - - - If the two objects are not compatible then information about why they are not compatible is contained - in the property. - - - - - Creates a new instance. - - Indicates whether or not the two tested objects are compatible. - - An error message indicating how the objects are not compatible. Expected to be null if isCompatible is true. - - - - - Implicit conversion to a bool to allow the result object to be used directly in checks. - - The object to convert. - True if the result is compatible; false otherwise. - - - - True if the two tested objects are compatible; otherwise false. - - - - - If is true, then returns an error message indicating how the two tested objects - are incompatible. - - - - - Types used as custom annotations can implement this interface to indicate that an attempt to use - multiple annotations with the same name on a given table or column may be possible by merging - the multiple annotations into one. - - - Normally there can only be one custom annotation with a given name on a given table or - column. If a table or column ends up with multiple annotations, for example, because - multiple CLR properties map to the same column, then an exception will be thrown. - However, if the annotation type implements this interface, then the two annotations will be - checked for compatibility using the method and, if compatible, - will be merged into one using the method. - - - - - Returns true if this annotation does not conflict with the given annotation such that - the two can be combined together using the method. - - The annotation to compare. - A CompatibilityResult indicating whether or not this annotation is compatible with the other. - - - - Merges this annotation with the given annotation and returns a new merged annotation. This method is - only expected to succeed if returns true. - - The annotation to merge with this one. - A new merged annotation. - - - - Instances of this class are used as custom annotations for representing database indexes in an - Entity Framework model. - - - An index annotation is added to a Code First model when an is placed on - a mapped property of that model. This is used by Entity Framework Migrations to create indexes on - mapped database columns. Note that multiple index attributes on a property will be merged into a - single annotation for the column. Similarly, index attributes on multiple properties that map to the - same column will be merged into a single annotation for the column. This means that one index - annotation can represent multiple indexes. Within an annotation there can be only one index with any - given name. - - - - - The name used when this annotation is stored in Entity Framework metadata or serialized into - an SSDL/EDMX file. - - - - - Creates a new annotation for the given index. - - An index attributes representing an index. - - - - Creates a new annotation for the given collection of indexes. - - Index attributes representing one or more indexes. - - - - Returns true if this annotation does not conflict with the given annotation such that - the two can be combined together using the method. - - - Each index annotation contains at most one with a given name. - Two annotations are considered compatible if each IndexAttribute with a given name is only - contained in one annotation or the other, or if both annotations contain an IndexAttribute - with the given name. - - The annotation to compare. - A CompatibilityResult indicating whether or not this annotation is compatible with the other. - - - - Merges this annotation with the given annotation and returns a new annotation containing the merged indexes. - - - Each index annotation contains at most one with a given name. - The merged annotation will contain IndexAttributes from both this and the other annotation. - If both annotations contain an IndexAttribute with the same name, then the merged annotation - will contain one IndexAttribute with that name. - - The annotation to merge with this one. - A new annotation with indexes from both annotations merged. - - The other annotation contains indexes that are not compatible with indexes in this annotation. - - - - - - - - Gets the indexes represented by this annotation. - - - - - This class is used to serialize and deserialize objects so that they - can be stored in the EDMX form of the Entity Framework model. - - - An example of the serialized format is: - { Name: 'MyIndex', Order: 7, IsClustered: True, IsUnique: False } { } { Name: 'MyOtherIndex' }. - Note that properties that have not been explicitly set in an index attribute will be excluded from - the serialized output. So, in the example above, the first index has all properties specified, - the second has none, and the third has just the name set. - - - - - Implement this interface to allow custom annotations represented by instances to be - serialized to and from the EDMX XML. Usually a serializer instance is set using the - method. - - - - - Serializes the given annotation value into a string for storage in the EDMX XML. - - The name of the annotation that is being serialized. - The value to serialize. - The serialized value. - - - - Deserializes the given string back into the expected annotation value. - - The name of the annotation that is being deserialized. - The string to deserialize. - The deserialized annotation value. - - - - Serializes the given into a string for storage in the EDMX XML. - - The name of the annotation that is being serialized. - The value to serialize which must be an IndexAnnotation object. - The serialized value. - - - - Deserializes the given string back into an object. - - The name of the annotation that is being deserialized. - The string to deserialize. - The deserialized annotation value. - If there is an error reading the serialized value. - - - - Base class for persisted model cache. - - - - - Loads a model from the store. - - The type of context representing the model. - The loaded metadata model. - - - - Retrieves an edmx XDocument version of the model from the store. - - The type of context representing the model. - The loaded XDocument edmx. - - - - Saves a model to the store. - - The type of context representing the model. - The metadata model to save. - - - - Gets the default database schema used by a model. - - The type of context representing the model. - The default database schema. - - - - Loads or saves models from/into .edmx files at a specified location. - - - - - Initializes a new DefaultDbModelStore instance. - - The parent directory for the .edmx files. - - - - Loads a model from the store. - - The type of context representing the model. - The loaded metadata model. - - - - Retrieves an edmx XDocument version of the model from the store. - - The type of context representing the model. - The loaded XDocument edmx. - - - - Saves a model to the store. - - The type of context representing the model. - The metadata model to save. - - - - Gets the path of the .edmx file corresponding to the specified context type. - - A context type. - The .edmx file path. - - - - Validates the model store is valid. - The default implementation verifies that the .edmx file was last - written after the context assembly was last written. - - The type of context representing the model. - The path of the stored model. - Whether the edmx file should be invalidated. - - - - Gets the location of the .edmx files. - - - - - This interface is implemented by any object that can resolve a dependency, either directly - or through use of an external container. - - - The public services currently resolved using IDbDependencyResolver are documented here: - http://msdn.microsoft.com/en-us/data/jj680697 - - - - - Attempts to resolve a dependency for a given contract type and optionally a given key. - If the resolver cannot resolve the dependency then it must return null and not throw. This - allows resolvers to be used in a Chain of Responsibility pattern such that multiple resolvers - can be asked to resolve a dependency until one finally does. - - The interface or abstract base class that defines the dependency to be resolved. The returned object is expected to be an instance of this type. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - The resolved dependency, which must be an instance of the given contract type, or null if the dependency could not be resolved. - - - - Attempts to resolve a dependencies for a given contract type and optionally a given key. - If the resolver cannot resolve the dependency then it must return an empty enumeration and - not throw. This method differs from in that it returns all registered - services for the given type and key combination. - - The interface or abstract base class that defines the dependency to be resolved. Every returned object is expected to be an instance of this type. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - All services that resolve the dependency, which must be instances of the given contract type, or an empty enumeration if the dependency could not be resolved. - - - - An implementation used for resolving - factories. - - - - - Initializes a new instance of - - A function that returns a new instance of a transaction handler. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which the transaction handler will be used. - null will match anything. - - - A string that will be matched against the server name in the connection string. null will match anything. - - - - - If the given type is , then this method will attempt - to return the service to use, otherwise it will return null. When the given type is - , then the key is expected to be a . - - The service type to resolve. - A key used to make a determination of the service to return. - - An , or null. - - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return an empty enumeration. When the given type is - , then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An enumerable of , or an empty enumeration. - - - - - - - - - - - Utility class for reading a metadata model from .edmx. - - - - - Reads a metadata model from .edmx. - - XML reader for the .edmx - Default database schema used by the model. - The loaded metadata model. - - - - Provides utility methods for reading from an App.config or Web.config file. - - - - - Initializes a new instance of . - - The configuration to read from. - - - - Gets the specified provider services from the configuration. - - The invariant name of the provider services. - The provider services type name, or null if not found. - - - - A simple logger for logging SQL and other database operations to the console or a file. - A logger can be registered in code or in the application's web.config /app.config file. - - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework loads the application's . - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - This is the base interface for all interfaces that provide interception points for various - different types and operations. For example, see . - Interceptors are registered on the class. - - - - - Occurs during EF initialization after the has been constructed but just before - it is locked ready for use. Use this event to inspect and/or override services that have been - registered before the configuration is locked. Note that an interceptor of this type should be used carefully - since it may prevent tooling from discovering the same configuration that is used at runtime. - - - Handlers can only be added before EF starts to use the configuration and so handlers should - generally be added as part of application initialization. Do not access the DbConfiguration - static methods inside the handler; instead use the the members of - to get current services and/or add overrides. - - Arguments to the event that this interceptor mirrors. - Contextual information about the event. - - - - Creates a new logger that will send log output to the console. - - - - - Creates a new logger that will send log output to a file. If the file already exists then - it is overwritten. - - A path to the file to which log output will be written. - - - - Creates a new logger that will send log output to a file. - - A path to the file to which log output will be written. - True to append data to the file if it exists; false to overwrite the file. - - - - Stops logging and closes the underlying file if output is being written to a file. - - - - - Stops logging and closes the underlying file if output is being written to a file. - - - True to release both managed and unmanaged resources; False to release only unmanaged resources. - - - - - Starts logging. This method is a no-op if logging is already started. - - - - - Stops logging. This method is a no-op if logging is not started. - - - - - Called to start logging during Entity Framework initialization when this logger is registered. - as an . - - Arguments to the event that this interceptor mirrors. - Contextual information about the event. - - - - Represents contextual information associated with calls into - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Represents contextual information associated with calls into - implementations. - - - Note that specific types/operations that can be intercepted may use a more specific - interception context derived from this class. For example, if SQL is being executed by - a , then the DbContext will be contained in the - instance that is passed to the methods - of . - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. See - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - Call this method when creating a copy of an interception context in order to add new state - to it. Using this method instead of calling the constructor directly ensures virtual dispatch - so that the new type will have the same type (and any specialized state) as the context that - is being cloned. - - A new context with all state copied. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets all the instances associated with this interception context. - - - This list usually contains zero or one items. However, it can contain more than one item if - a single has been used to construct multiple - instances. - - - - - Gets all the instances associated with this interception context. - - - This list usually contains zero or one items. However, it can contain more than one item when - EF has created a new for use in database creation and initialization, or - if a single is used with multiple . - - - - - True if the operation is being executed asynchronously, otherwise false. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - - - - Creates a new that contains all the contextual information in - this interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in - this interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in - this interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - Implemented by Entity Framework providers and used to check whether or not tables exist - in a given database. This is used by database initializers when determining whether or not to - treat an existing database as empty such that tables should be created. - - - - - When overridden in a derived class checks where the given tables exist in the database - for the given connection. - - - The context for which table checking is being performed, usually used to obtain an appropriate - . - - - A connection to the database. May be open or closed; should be closed again if opened. Do not - dispose. - - The tables to check for existence. - The name of the EdmMetadata table to check for existence. - True if any of the model tables or EdmMetadata table exists. - - - - Helper method to get the table name for the given s-space . - - The s-space entity set for the table. - The table name. - - - - Thrown when an error occurs committing a . - - - - - Initializes a new instance of - - - - - Initializes a new instance of - - The exception message. - - - - Initializes a new instance of - - The exception message. - The inner exception. - - - - Initializes a new instance of the class. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - Event arguments passed to event handlers. - - - - - Call this method to add a instance to the Chain of - Responsibility of resolvers that are used to resolve dependencies needed by the Entity Framework. - - - Resolvers are asked to resolve dependencies in reverse order from which they are added. This means - that a resolver can be added to override resolution of a dependency that would already have been - resolved in a different way. - The only exception to this is that any dependency registered in the application's config file - will always be used in preference to using a dependency resolver added here, unless the - overrideConfigFile is set to true in which case the resolver added here will also override config - file settings. - - The resolver to add. - If true, then the resolver added will take precedence over settings in the config file. - - - - Call this method to add a instance to the Chain of Responsibility - of resolvers that are used to resolve dependencies needed by the Entity Framework. Unlike the AddDependencyResolver - method, this method puts the resolver at the bottom of the Chain of Responsibility such that it will only - be used to resolve a dependency that could not be resolved by any of the other resolvers. - - The resolver to add. - - - - Adds a wrapping resolver to the configuration that is about to be locked. A wrapping - resolver is a resolver that incepts a service would have been returned by the resolver - chain and wraps or replaces it with another service of the same type. - - The type of service to wrap or replace. - A delegate that takes the unwrapped service and key and returns the wrapped or replaced service. - - - - - - - - - - - - - - - - Returns a snapshot of the that is about to be locked. - Use the GetService methods on this object to get services that have been registered. - - - - - An implementation used for resolving - factories. - - - This class can be used by to aid in the resolving - of factories as a default service for the provider. - - The type of execution strategy that is resolved. - - - - Initializes a new instance of - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - - A string that will be matched against the server name in the connection string. null will match anything. - - A function that returns a new instance of an execution strategy. - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return null. When the given type is - Func{IExecutionStrategy}, then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An , or null. - - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return an empty enumeration. When the given type is - Func{IExecutionStrategy}, then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An enumerable of , or an empty enumeration. - - - - - Extension methods to call the method using - a generic type parameter and/or no name. - - - - - Calls passing the generic type of the method and the given - name as arguments. - - The contract type to resolve. - The resolver to use. - The key of the dependency to resolve. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the generic type of the method as - the type argument and null for the name argument. - - The contract type to resolve. - The resolver to use. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the given type argument and using - null for the name argument. - - The resolver to use. - The contract type to resolve. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the generic type of the method and the given - name as arguments. - - The contract type to resolve. - The resolver to use. - The key of the dependency to resolve. - All resolved dependencies, or an if no services are resolved. - - - - Calls passing the generic type of the method as - the type argument and null for the name argument. - - The contract type to resolve. - The resolver to use. - All resolved dependencies, or an if no services are resolved. - - - - Calls passing the given type argument and using - null for the name argument. - - The resolver to use. - The contract type to resolve. - All resolved dependencies, or an if no services are resolved. - - - - Implements to resolve a dependency such that it always returns - the same instance. - - The type that defines the contract for the dependency that will be resolved. - - This class is immutable such that instances can be accessed by multiple threads at the same time. - - - - - Constructs a new resolver that will return the given instance for the contract type - regardless of the key passed to the Get method. - - The instance to return. - - - - Constructs a new resolver that will return the given instance for the contract type - if the given key matches exactly the key passed to the Get method. - - The instance to return. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - - - - Constructs a new resolver that will return the given instance for the contract type - if the given key matches the key passed to the Get method based on the given predicate. - - The instance to return. - A predicate that takes the key object and returns true if and only if it matches. - - - - - - - - - - Represents contextual information associated with calls to - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Represents contextual information associated with calls to with return type . - - The return type of the target method. - - - - Represents contextual information associated with calls with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - If execution of the operation completes without throwing, then this property will contain - the result of the operation. If the operation was suppressed or did not fail, then this property - will always contain the default value for the generic type. - - - When an operation operation completes without throwing both this property and the - property are set. However, the property can be set or changed by interceptors, - while this property will always represent the actual result returned by the operation, if any. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set result will be returned instead. Otherwise, if the operation succeeds, then - this property will be set to the returned result. In either case, interceptors that run - after the operation can change this property to change the result that will be returned. - - - When an operation operation completes without throwing both this property and the - property are set. However, this property can be set or changed by interceptors, while the - property will always represent the actual result returned by the - operation, if any. - - - - - When true, this flag indicates that that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - , by setting an to be thrown, or - by setting the operation result using . - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The isolation level to associate. - A new interception context associated with the given isolation level. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - The that will be used or has been used to start a transaction. - - - - - This is the default log formatter used when some is set onto the - property. A different formatter can be used by creating a class that inherits from this class and overrides - some or all methods to change behavior. - - - To set the new formatter create a code-based configuration for EF using and then - set the formatter class to use with . - Note that setting the type of formatter to use with this method does change the way command are - logged when is used. It is still necessary to set a - onto before any commands will be logged. - For more low-level control over logging/interception see and - . - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework executes commands. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework performs operations on a . - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Called before is invoked. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - Called after is invoked. - The transaction used by Entity Framework can be changed by setting - . - - The connection that began the transaction. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection being closed. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection that was closed. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is set. - - The connection. - Contextual information associated with the call. - - - - Called after is set. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection being disposed. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection that was disposed. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection. - Contextual information associated with the call. - - - - Called before or its async counterpart is invoked. - - The connection being opened. - Contextual information associated with the call. - - - - Called after or its async counterpart is invoked. - - The connection that was opened. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework commits or rollbacks a transaction. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Called before is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called after is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called before is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called after is retrieved. - - The transaction. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being commited. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was commited. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being disposed. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was disposed. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being rolled back. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - Creates a formatter that will not filter by any and will instead log every command - from any context and also commands that do not originate from a context. - - - This constructor is not used when a delegate is set on . Instead it can be - used by setting the formatter directly using . - - The delegate to which output will be sent. - - - - Creates a formatter that will only log commands the come from the given instance. - - - This constructor must be called by a class that inherits from this class to override the behavior - of . - - - The context for which commands should be logged. Pass null to log every command - from any context and also commands that do not originate from a context. - - The delegate to which output will be sent. - - - - Writes the given string to the underlying write delegate. - - The string to write. - - - - The stopwatch used to time executions. This stopwatch is started at the end of - , , and - methods and is stopped at the beginning of the , , - and methods. If these methods are overridden and the stopwatch is being used - then the overrides should either call the base method or start/stop the stopwatch themselves. - - The interception context for which the stopwatch will be obtained. - The stopwatch. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - Called whenever a command is about to be executed. The default implementation of this method - filters by set into , if any, and then calls - . This method would typically only be overridden to change the - context filtering behavior. - - The type of the operation's results. - The command that will be executed. - Contextual information associated with the command. - - - - Called whenever a command has completed executing. The default implementation of this method - filters by set into , if any, and then calls - . This method would typically only be overridden to change the context - filtering behavior. - - The type of the operation's results. - The command that was executed. - Contextual information associated with the command. - - - - Called to log a command that is about to be executed. Override this method to change how the - command is logged to . - - The type of the operation's results. - The command to be logged. - Contextual information associated with the command. - - - - Called by to log each parameter. This method can be called from an overridden - implementation of to log parameters, and/or can be overridden to - change the way that parameters are logged to . - - The type of the operation's results. - The command being logged. - Contextual information associated with the command. - The parameter to log. - - - - Called to log the result of executing a command. Override this method to change how results are - logged to . - - The type of the operation's results. - The command being logged. - Contextual information associated with the command. - - - - Does not write to log unless overridden. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - Called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that began the transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection being opened. - Contextual information associated with the call. - - - - Called after or its async counterpart is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that was opened. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection being closed. - Contextual information associated with the call. - - - - Called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that was closed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Called before is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection being disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection that was disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction being commited. - Contextual information associated with the call. - - - - This method is called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction that was commited. - Contextual information associated with the call. - - - - This method is called before is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction being disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction that was disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction being rolled back. - Contextual information associated with the call. - - - - This method is called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - - - - - - - - - - - - The context for which commands are being logged, or null if commands from all contexts are - being logged. - - - - - This property is obsolete. Using it can result in logging incorrect execution times. Call - instead. - - - - - Represents contextual information associated with calls to that don't return any results. - - - - - Represents contextual information associated with calls that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - When true, this flag indicates that that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - or by setting an to be thrown - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to property setters of type on a . - - The type of the target property. - - - - Represents contextual information associated with calls to property setters of type . - - - An instance of this class is passed to the dispatch methods and does not contain mutable information such as - the result of the operation. This mutable information is obtained from the - that is passed to the interceptors. Instances of this class are publicly immutable. To add contextual information - use one of the With... or As... methods to create a new interception context containing the new information. - - The type of the target property. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given property value. - - The value that will be assigned to the target property. - A new interception context associated with the given property value. - - - - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - The value that will be assigned to the target property. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - When true, this flag indicates that that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - or by setting an to be thrown - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the given property value. - - The value that will be assigned to the target property. - A new interception context associated with the given property value. - - - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the the fluent API. - - - This class is used internally by Entity Framework when executing commands. It is provided publicly so that - code that runs outside of the core EF assemblies can opt-in to command interception/tracing. This is - typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The cancellation token for the asynchronous operation. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The cancellation token for the asynchronous operation. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The cancellation token for the asynchronous operation. - The result of the operation, which may have been modified by interceptors. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls into - implementations. - - - An instance of this class is passed to the dispatch methods of - and does not contain mutable information such as the result of the operation. This mutable information - is obtained from the that is passed to the interceptors. - Instances of this class are publicly immutable. To add contextual information use one of the - With... or As... methods to create a new interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The command behavior to associate. - A new interception context associated with the given command behavior. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - The that will be used or has been used to execute the command with a - . This property is only used for - and its async counterparts. - - - - - Represents contextual information associated with calls into - implementations including the result of the operation. - - The type of the operation's results. - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The command behavior to associate. - A new interception context associated with the given command behavior. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - If execution of the operation completes without throwing, then this property will contain - the result of the operation. If the operation was suppressed or did not fail, then this property - will always contain the default value for the generic type. - - - When an operation operation completes without throwing both this property and the - property are set. However, the property can be set or changed by interceptors, - while this property will always represent the actual result returned by the operation, if any. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set result will be returned instead. Otherwise, if the operation succeeds, then - this property will be set to the returned result. In either case, interceptors that run - after the operation can change this property to change the result that will be returned. - - - When an operation operation completes without throwing both this property and the - property are set. However, this property can be set or changed by interceptors, while the - property will always represent the actual result returned by the - operation, if any. - - - - - When true, this flag indicates that that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - , by setting an to be thrown, or - by setting the operation result using . - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Base class that implements . This class is a convenience for - use when only one or two methods of the interface actually need to have any implementation. - - - - - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls into - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - The original tree created by Entity Framework. Interceptors can change the - property to change the tree that will be used, but the - will always be the tree created by Entity Framework. - - - - - The command tree that will be used by Entity Framework. This starts as the tree contained in the - the property but can be set by interceptors to change - the tree that will be used by Entity Framework. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the the fluent API. - - - This class is used internally by Entity Framework when interacting with . - It is provided publicly so that code that runs outside of the core EF assemblies can opt-in to command - interception/tracing. This is typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - setting . - - The connection on which the operation will be executed. - Information about the context of the call being made, including the value to be set. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The cancellation token. - A task that represents the asynchronous operation. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Provides access to all dispatchers through the the fluent API. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - This is the registration point for interceptors. Interceptors - receive notifications when EF performs certain operations such as executing commands against - the database. For example, see . - - - - - Registers a new to receive notifications. Note that the interceptor - must implement some interface that extends from to be useful. - - The interceptor to add. - - - - Removes a registered so that it will no longer receive notifications. - If the given interceptor is not registered, then this is a no-op. - - The interceptor to remove. - - - - This is the entry point for dispatching to interceptors. This is usually only used internally by - Entity Framework but it is provided publicly so that other code can make sure that registered - interceptors are called when operations are performed on behalf of EF. For example, EF providers - a may make use of this when executing commands. - - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the the fluent API. - - - This class is used internally by Entity Framework when interacting with . - It is provided publicly so that code that runs outside of the core EF assemblies can opt-in to command - interception/tracing. This is typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls to that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The connection on which the transaction was started. - A new interception context that also contains the connection on which the transaction was started. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - The connection on which the transaction was started - - - - - Represents contextual information associated with calls to with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The transaction to be used in the invocation. - A new interception context associated with the given isolation level. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - The that will be used or has been used to enlist a connection. - - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework creates command trees. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - This method is called after a new has been created. - The tree that is used after interception can be changed by setting - while intercepting. - - - Command trees are created for both queries and insert/update/delete commands. However, query - command trees are cached by model which means that command tree creation only happens the - first time a query is executed and this notification will only happen at that time - - Contextual information associated with the call. - - - - Represents a mapping view. - - - - - Creates a instance having the specified entity SQL. - - A string that specifies the entity SQL. - - - - Gets the entity SQL. - - - - - Base abstract class for mapping view cache implementations. - Derived classes must have a parameterless constructor if used with . - - - - - Gets a view corresponding to the specified extent. - - An that specifies the extent. - A that specifies the mapping view, - or null if the extent is not associated with a mapping view. - - - - Gets a hash value computed over the mapping closure. - - - - - Specifies the means to create concrete instances. - - - - - Creates a generated view cache instance for the container mapping specified by - the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - - A that specifies the generated view cache. - - - - - Defines a custom attribute that specifies the mapping view cache type (subclass of ) - associated with a context type (subclass of or ). - The cache type is instantiated at runtime and used to retrieve pre-generated views in the - corresponding context. - - - - - Creates a instance that associates a context type - with a mapping view cache type. - - - A subclass of or . - - - A subclass of . - - - - - Creates a instance that associates a context type - with a mapping view cache type. - - - A subclass of or . - - The assembly qualified full name of the cache type. - - - - The base class for interceptors that handle the transaction operations. Derived classes can be registered using - or - . - - - - - Initializes a new instance of the class. - - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Initializes this instance using the specified context. - - The context for which transaction operations will be handled. - - - - Initializes this instance using the specified context. - - The context for which transaction operations will be handled. - The connection to use for the initialization. - - This method is called by migrations. It is important that no action is performed on the - specified context that causes it to be initialized. - - - - - - - - Releases the resources used by this transaction handler. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - Checks whether the supplied interception context contains the target context - or the supplied connection is the same as the one used by the target context. - - A connection. - An interception context. - - true if the supplied interception context contains the target context or - the supplied connection is the same as the one used by the target context if - the supplied interception context doesn't contain any contexts; false otherwise. - - - Note that calling this method will trigger initialization of any DbContext referenced from the - - - - - When implemented in a derived class returns the script to prepare the database - for this transaction handler. - - A script to change the database schema for this transaction handler. - - - - Can be implemented in a derived class. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that began the transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being closed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that was closed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being disposed. - Contextual information associated with the call. - - - - Can be implemented in a derived class. - - The connection that was disposed. - Contextual information associated with the call. - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being opened. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that was opened. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being commited. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was commited. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being disposed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was disposed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being rolled back. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - Gets the context. - - - The for which the transaction operations will be handled. - - - - - Gets the context. - - - The for which the transaction operations will be handled, could be null. - - - - - Gets the connection. - - - The for which the transaction operations will be handled. - - - This connection object is only used to determine whether a particular operation needs to be handled - in cases where a context is not available. - - - - - Gets or sets a value indicating whether this transaction handler is disposed. - - - true if disposed; otherwise, false. - - - - - This class is used by to write and read transaction tracing information - from the database. - To customize the definition of the transaction table you can derive from - this class and override . Derived classes can be registered - using . - - - By default EF will poll the resolved to check wether the database schema is compatible and - will try to modify it accordingly if it's not. To disable this check call - Database.SetInitializer<TTransactionContext>(null) where TTransactionContext is the type of the resolved context. - - - - - A DbContext instance represents a combination of the Unit Of Work and Repository patterns such that - it can be used to query from a database and group together changes that will then be written - back to the store as a unit. - DbContext is conceptually similar to ObjectContext. - - - DbContext is usually used with a derived type that contains properties for - the root entities of the model. These sets are automatically initialized when the - instance of the derived class is created. This behavior can be modified by applying the - attribute to either the entire derived context - class, or to individual properties on the class. - The Entity Data Model backing the context can be specified in several ways. When using the Code First - approach, the properties on the derived context are used to build a model - by convention. The protected OnModelCreating method can be overridden to tweak this model. More - control over the model used for the Model First approach can be obtained by creating a - explicitly from a and passing this model to one of the DbContext constructors. - When using the Database First or Model First approach the Entity Data Model can be created using the - Entity Designer (or manually through creation of an EDMX file) and then this model can be specified using - entity connection string or an object. - The connection to the database (including the name of the database) can be specified in several ways. - If the parameterless DbContext constructor is called from a derived context, then the name of the derived context - is used to find a connection string in the app.config or web.config file. If no connection string is found, then - the name is passed to the DefaultConnectionFactory registered on the class. The connection - factory then uses the context name as the database name in a default connection string. (This default connection - string points to .\SQLEXPRESS on the local machine unless a different DefaultConnectionFactory is registered.) - Instead of using the derived context name, the connection/database name can also be specified explicitly by - passing the name to one of the DbContext constructors that takes a string. The name can also be passed in - the form "name=myname", in which case the name must be found in the config file or an exception will be thrown. - Note that the connection found in the app.config or web.config file can be a normal database connection - string (not a special Entity Framework connection string) in which case the DbContext will use Code First. - However, if the connection found in the config file is a special Entity Framework connection string, then the - DbContext will use Database/Model First and the model specified in the connection string will be used. - An existing or explicitly created DbConnection can also be used instead of the database/connection name. - A can be applied to a class derived from DbContext to set the - version of conventions used by the context when it creates a model. If no attribute is applied then the - latest version of conventions will be used. - - - - - Interface implemented by objects that can provide an instance. - The class implements this interface to provide access to the underlying - ObjectContext. - - - - - Gets the object context. - - The object context. - - - - Constructs a new context instance using conventions to create the name of the database to - which a connection will be made. The by-convention name is the full name (namespace + class name) - of the derived context class. - See the class remarks for how this is used to create a connection. - - - - - Constructs a new context instance using conventions to create the name of the database to - which a connection will be made, and initializes it from the given model. - The by-convention name is the full name (namespace + class name) of the derived context class. - See the class remarks for how this is used to create a connection. - - The model that will back this context. - - - - Constructs a new context instance using the given string as the name or connection string for the - database to which a connection will be made. - See the class remarks for how this is used to create a connection. - - Either the database name or a connection string. - - - - Constructs a new context instance using the given string as the name or connection string for the - database to which a connection will be made, and initializes it from the given model. - See the class remarks for how this is used to create a connection. - - Either the database name or a connection string. - The model that will back this context. - - - - Constructs a new context instance using the existing connection to connect to a database. - The connection will not be disposed when the context is disposed if - is false. - - An existing connection to use for the new context. - - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - - Constructs a new context instance using the existing connection to connect to a database, - and initializes it from the given model. - The connection will not be disposed when the context is disposed if - is false. - - An existing connection to use for the new context. - The model that will back this context. - - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - - Constructs a new context instance around an existing ObjectContext. - - An existing ObjectContext to wrap with the new context. - - If set to true the ObjectContext is disposed when the DbContext is disposed, otherwise the caller must dispose the connection. - - - - - This method is called when the model for a derived context has been initialized, but - before the model has been locked down and used to initialize the context. The default - implementation of this method does nothing, but it can be overridden in a derived class - such that the model can be further configured before it is locked down. - - - Typically, this method is called only once when the first instance of a derived context - is created. The model for that context is then cached and is for all further instances of - the context in the app domain. This caching can be disabled by setting the ModelCaching - property on the given ModelBuidler, but note that this can seriously degrade performance. - More control over caching is provided through use of the DbModelBuilder and DbContextFactory - classes directly. - - The builder that defines the model for the context being created. - - - - Returns a instance for access to entities of the given type in the context - and the underlying store. - - - Note that Entity Framework requires that this method return the same instance each time that it is called - for a given context instance and entity type. Also, the non-generic returned by the - method must wrap the same underlying query and set of entities. These invariants must - be maintained if this method is overridden for anything other than creating test doubles for unit testing. - See the class for more details. - - The type entity for which a set should be returned. - A set for the given entity type. - - - - Returns a non-generic instance for access to entities of the given type in the context - and the underlying store. - - The type of entity for which a set should be returned. - A set for the given entity type. - - Note that Entity Framework requires that this method return the same instance each time that it is called - for a given context instance and entity type. Also, the generic returned by the - method must wrap the same underlying query and set of entities. These invariants must - be maintained if this method is overridden for anything other than creating test doubles for unit testing. - See the class for more details. - - - - - Saves all changes made in this context to the underlying database. - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An error occurred sending updates to the database. - - A database command did not affect the expected number of rows. This usually indicates an optimistic - concurrency violation; that is, a row has been changed in the database since it was queried. - - - The save was aborted because validation of entity property values failed. - - - An attempt was made to use unsupported behavior such as executing multiple asynchronous commands concurrently - on the same context instance. - The context or connection have been disposed. - - Some error occurred attempting to process entities in the context either before or after sending commands - to the database. - - - - - Asynchronously saves all changes made in this context to the underlying database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An error occurred sending updates to the database. - - A database command did not affect the expected number of rows. This usually indicates an optimistic - concurrency violation; that is, a row has been changed in the database since it was queried. - - - The save was aborted because validation of entity property values failed. - - - An attempt was made to use unsupported behavior such as executing multiple asynchronous commands concurrently - on the same context instance. - The context or connection have been disposed. - - Some error occurred attempting to process entities in the context either before or after sending commands - to the database. - - - - - Asynchronously saves all changes made in this context to the underlying database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - Thrown if the context has been disposed. - - - - Validates tracked entities and returns a Collection of containing validation results. - - Collection of validation results for invalid entities. The collection is never null and must not contain null values or results for valid entities. - - 1. This method calls DetectChanges() to determine states of the tracked entities unless - DbContextConfiguration.AutoDetectChangesEnabled is set to false. - 2. By default only Added on Modified entities are validated. The user is able to change this behavior - by overriding ShouldValidateEntity method. - - - - - Extension point allowing the user to override the default behavior of validating only - added and modified entities. - - DbEntityEntry instance that is supposed to be validated. - true to proceed with validation; false otherwise. - - - - Extension point allowing the user to customize validation of an entity or filter out validation results. - Called by . - - DbEntityEntry instance to be validated. - - User-defined dictionary containing additional info for custom validation. It will be passed to - - and will be exposed as - - . This parameter is optional and can be null. - - Entity validation result. Possibly null when overridden. - - - - Gets a object for the given entity providing access to - information about the entity and the ability to perform actions on the entity. - - The type of the entity. - The entity. - An entry for the entity. - - - - Gets a object for the given entity providing access to - information about the entity and the ability to perform actions on the entity. - - The entity. - An entry for the entity. - - - - Calls the protected Dispose method. - - - - - Disposes the context. The underlying is also disposed if it was created - is by this context or ownership was passed to this context when this context was created. - The connection to the database ( object) is also disposed if it was created - is by this context or ownership was passed to this context when this context was created. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - - - - - - - - - - - - - Creates a Database instance for this context that allows for creation/deletion/existence checks - for the underlying database. - - - - - Returns the Entity Framework ObjectContext that is underlying this context. - - Thrown if the context has been disposed. - - - - Provides access to features of the context that deal with change tracking of entities. - - An object used to access features that deal with change tracking. - - - - Provides access to configuration options for the context. - - An object used to access configuration options. - - - - Initializes a new instance of the class. - - The connection used by the context for which the transactions will be recorded. - - - - - - - Gets or sets a that can be used to read and write instances. - - - - - A transaction handler that allows to gracefully recover from connection failures - during transaction commit by storing transaction tracing information in the database. - It needs to be registered by using . - - - This transaction handler uses to store the transaction information - the schema used can be configured by creating a class derived from - that overrides and passing it to the constructor of this class. - - - - - Initializes a new instance of the class using the default . - - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Initializes a new instance of the class. - - The transaction context factory. - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Creates a new instance of an to use for quering the transaction log. - If null the default will be used. - - An instance or null. - - - - - - - - - - - - - - - - Stores the tracking information for the new transaction to the database in the same transaction. - - The connection that began the transaction. - Contextual information associated with the call. - - - - - If there was an exception thrown checks the database for this transaction and rethrows it if not found. - Otherwise marks the commit as succeeded and queues the transaction information to be deleted. - - The transaction that was commited. - Contextual information associated with the call. - - - - - Stops tracking the transaction that was rolled back. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - Stops tracking the transaction that was disposed. - - The transaction that was disposed. - Contextual information associated with the call. - - - - - Removes all the transaction history. - - - This method should only be invoked when there are no active transactions to remove any leftover history - that was not deleted due to catastrophic failures - - - - - Asynchronously removes all the transaction history. - - - This method should only be invoked when there are no active transactions to remove any leftover history - that was not deleted due to catastrophic failures - - A task that represents the asynchronous operation. - - - - Asynchronously removes all the transaction history. - - - This method should only be invoked when there are no active transactions to remove any leftover history - that was not deleted due to catastrophic failures - - The cancellation token. - A task that represents the asynchronous operation. - - - - Adds the specified transaction to the list of transactions that can be removed from the database - - The transaction to be removed from the database. - - - - Removes the transactions marked for deletion. - - - - - Asynchronously removes the transactions marked for deletion. - - A task that represents the asynchronous operation. - - - - Asynchronously removes the transactions marked for deletion. - - The cancellation token. - A task that represents the asynchronous operation. - - - - Removes the transactions marked for deletion if their number exceeds . - - - if set to true will remove all the old transactions even if their number does not exceed . - - - if set to true the operation will be executed using the associated execution strategy - - - - - Removes the transactions marked for deletion if their number exceeds . - - - if set to true will remove all the old transactions even if their number does not exceed . - - - if set to true the operation will be executed using the associated execution strategy - - The cancellation token. - A task that represents the asynchronous operation. - - - - Gets the associated with the if there is one; - otherwise returns null. - - The context - The associated . - - - - Gets the associated with the if there is one; - otherwise returns null. - - The context - The associated . - - - - Gets the transaction context. - - - The transaction context. - - - - - The map between the store transactions and the transaction tracking objects - - - - - Gets the number of transactions to be executed on the context before the transaction log will be cleaned. - The default value is 20. - - - - - An implementation of this interface is used to initialize the underlying database when - an instance of a derived class is used for the first time. - This initialization can conditionally create the database and/or seed it with data. - The strategy used is set using the static InitializationStrategy property of the - class. - The following implementations are provided: , - , . - - The type of the context. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - Rrepresents a transaction - - - - - - - - - - - A unique id assigned to a transaction object. - - - - - The local time when the transaction was started. - - - - - Helper class that is used to configure a parameter. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a new parameter definition to pass Binary data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The maximum allowable length of the array data. - Value indicating whether or not all data should be padded to the maximum length. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Boolean data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Byte data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass DateTime data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Decimal data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The numeric precision of the parameter. - The numeric scale of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Double data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass GUID data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Single data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Short data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Integer data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Long data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass String data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The maximum allowable length of the string data. - Value indicating whether or not all data should be padded to the maximum length. - Value indicating whether or not the parameter supports Unicode content. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Time data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass DateTimeOffset data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass geography data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass geometry data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Represents altering an existing stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - A migration operation that affects stored procedures. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Represents an operation to modify a database schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the MigrationOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" - }'. - - - - - Gets additional arguments that may be processed by providers. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure. - - - The name of the stored procedure. - - - - - Gets the body of the stored procedure expressed in SQL. - - - The body of the stored procedure expressed in SQL. - - - - - Gets the parameters of the stored procedure. - - - The parameters of the stored procedure. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation that will revert this operation. - Always returns a . - - - - - Represents changes made to custom annotations on a table. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AlterTableOperation class. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table on which annotations have changed. - The custom annotations on the table that have changed. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table on which annotations have changed. - - - - - Gets the columns to be included in the table for which annotations have changed. - - - - - Gets the custom annotations that have changed on the table. - - - - - Gets an operation that is the inverse of this one such that annotations will be changed back to how - they were before this operation was applied. - - - - - - - - Represents renaming an existing index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table the index belongs to. - Name of the index to be renamed. - New name for the index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the index belongs to. - - - - - Gets the name of the index to be renamed. - - - - - Gets the new name for the index. - - - - - Gets an operation that reverts the rename. - - - - - - - - Used when scripting an update database operation to store the operations that would have been performed against the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The queries used to determine if this migration needs to be applied to the database. - This is used to generate an idempotent SQL script that can be run against a database at any version. - - - - - Adds a migration to this update database operation. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The id of the migration. - The individual operations applied by the migration. - - - - The queries used to determine if this migration needs to be applied to the database. - This is used to generate an idempotent SQL script that can be run against a database at any version. - - - - - Gets the migrations applied during the update database operation. - - - The migrations applied during the update database operation. - - - - - Gets a value indicating if any of the operations may result in data loss. - - - - - Represents a migration to be applied to the database. - - - - - Gets the id of the migration. - - - The id of the migration. - - - - - Gets the individual operations applied by this migration. - - - The individual operations applied by this migration. - - - - - Represents moving a stored procedure to a new schema in the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to move. - The new schema for the stored procedure. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to move. - - - The name of the stored procedure to move. - - - - - Gets the new schema for the stored procedure. - - - The new schema for the stored procedure. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents renaming a stored procedure in the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to rename. - The new name for the stored procedure. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to rename. - - - The name of the stored procedure to rename. - - - - - Gets the new name for the stored procedure. - - - The new name for the stored procedure. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents a migration operation that can not be performed, possibly because it is not supported by the targeted database provider. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents information about a parameter. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Represents information about a property of an entity. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the PropertyModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this property model. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets the data type for this property model. - - - - - Gets additional details about the data type of this property model. - This includes details such as maximum length, nullability etc. - - - - - Gets or sets the name of the property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a provider specific data type to use for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the maximum length for this property model. - Only valid for array data types. - - - - - Gets or sets the precision for this property model. - Only valid for decimal data types. - - - - - Gets or sets the scale for this property model. - Only valid for decimal data types. - - - - - Gets or sets a constant value to use as the default value for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a SQL expression used as the default value for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating if this property model is fixed length. - Only valid for array data types. - - - - - Gets or sets a value indicating if this property model supports Unicode characters. - Only valid for textual data types. - - - - - Initializes a new instance of the ParameterModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this parameter. - - - - Initializes a new instance of the ParameterModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this parameter. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets or sets a value indicating whether this instance is out parameter. - - - true if this instance is out parameter; otherwise, false. - - - - - Drops a stored procedure from the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to drop. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to drop. - - - The name of the stored procedure to drop. - - - - - Gets an operation that will revert this operation. - Always returns a . - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Configures an index. - - - - - Configures the index to be unique. - - The same IndexConfiguration instance so that multiple calls can be chained. - - - - Configures whether the index will be unique. - - Value indicating if the index should be unique or not. - The same IndexConfiguration instance so that multiple calls can be chained. - - - - Configures the index to be clustered. - - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures whether or not the index will be clustered. - - Value indicating if the index should be clustered or not. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures the index to have a specific name. - - Value indicating what the index name should be. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures a primary key index. - - - - - Configures the index to be clustered. - - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures whether or not the index will be clustered. - - Value indicating if the index should be clustered or not. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures the index to have a specific name. - - Value indicating what the index name should be. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model. - - - - - Filters the entity types that this convention applies to based on a - predicate. - - A function to test each entity type for a condition. - - An instance so that multiple calls can be chained. - - - - - Filters the entity types that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each entity type. If the value is null, the - entity type will be filtered out. - - - An instance so that multiple calls can be chained. - - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model that inherit from a common, specified type. - - The common type of the entity types that this convention applies to. - - - - Filters the entity types that this convention applies to based on a - predicate. - - A function to test each entity type for a condition. - - An instance so that multiple calls can be chained. - - - - - Filters the entity types that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each entity type. If the value is null, the - entity type will be filtered out. - - - An instance so that multiple calls can be chained. - - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model that inherit from a common, specified type and a - captured value. - - The common type of the entity types that this convention applies to. - Type of the captured value. - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model and a captured value. - - Type of the captured value. - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for an entity type in a model. - This configuration functionality is available via lightweight conventions. - - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Excludes this entity type from the model so that it will not be mapped to the database. - - - The same instance so that multiple calls can be chained. - - - - - Changes this entity type to a complex type. - - - The same instance so that multiple calls can be chained. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The name of the property to be configured. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect if the property does not exist. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The property to be configured. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect if the property does not exist. - - - - - Configures a property that is defined on this type. - - The name of the property being configured. - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - The property being configured. - A configuration object that can be used to configure the property. - - - - Configures the primary key property for this entity type. - - The name of the property to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property for this entity type. - - The property to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property(s) for this entity type. - - The names of the properties to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property(s) for this entity type. - - The properties to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured or if any - property does not exist. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the of this entity type. - - - - - Allows configuration to be performed for an entity type in a model. - This configuration functionality is available via lightweight conventions. - - A type inherited by the entity type. - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Excludes this entity type from the model so that it will not be mapped to the database. - - - The same instance so that multiple calls can be chained. - - - - - Changes this entity type to a complex type. - - - The same instance so that multiple calls can be chained. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - - The same instance so that multiple calls can be chained. - - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the of this entity type. - - - - - Identifies conventions that can be added to or removed from a instance. - - - Note that implementations of this interface must be immutable. - - - - - A general purpose class for Code First conventions that read attributes from .NET properties - and generate column annotations based on those attributes. - - The type of attribute to discover. - The type of annotation that will be created. - - - - A convention that doesn't override configuration. - - - - - The derived class can use the default constructor to apply a set rule of that change the model configuration. - - - - - Begins configuration of a lightweight convention that applies to all mapped types in - the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all mapped types in - the model that derive from or implement the specified type. - - The type of the entities that this convention will apply to. - A configuration object for the convention. - This method does not add new types to the model. - - - - Begins configuration of a lightweight convention that applies to all properties - in the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all primitive - properties of the specified type in the model. - - The type of the properties that the convention will apply to. - A configuration object for the convention. - - The convention will apply to both nullable and non-nullable properties of the - specified type. - - - - - Constructs a convention that will create column annotations with the given name and - using the given factory delegate. - - The name of the annotations to create. - A factory for creating the annotation on each column. - - - - A general purpose class for Code First conventions that read attributes from .NET types - and generate table annotations based on those attributes. - - The type of attribute to discover. - The type of annotation that will be created. - - - - Constructs a convention that will create table annotations with the given name and - using the given factory delegate. - - The name of the annotations to create. - A factory for creating the annotation on each table. - - - - A convention for discovering attributes on properties and generating - column annotations in the model. - - - - - Constructs a new instance of the convention. - - - - - Base class for conventions that process CLR attributes found on primitive properties in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a property that has an attribute of type TAttribute applied. - - The configuration for the property that has the attribute. - The attribute. - - - - Base class for conventions that process CLR attributes found on properties of types in the model. - - - Note that the derived convention will be applied for any non-static property on the mapped type that has - the specified attribute, even if it wasn't included in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a property that has an attribute of type TAttribute applied. - - The member info for the property that has the attribute. - The configuration for the class that contains the property. - The attribute. - - - - Base class for conventions that process CLR attributes found in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a class that has an attribute of type TAttribute applied. - - The configuration for the class that contains the property. - The attribute. - - - - Used to configure a property in a mapping fragment. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the name of the database column used to store the property, in a mapping fragment. - - The name of the column. - The same PropertyMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same PropertyMappingConfiguration instance so that multiple calls can be chained. - - - - Convention to introduce indexes for foreign keys. - - - - - A convention that operates on the database section of the model after the model is created. - - The type of metadata item that this convention operates on. - - - - Applies this convention to an item in the model. - - The item to apply the convention to. - The model. - - - - - - - A convention that operates on the conceptual section of the model after the model is created. - - The type of metadata item that this convention operates on. - - - - Applies this convention to an item in the model. - - The item to apply the convention to. - The model. - - - - Useful extension methods for use with Entity Framework LINQ queries. - - - - - Specifies the related objects to include in the query results. - - - This extension method calls the Include(String) method of the source object, - if such a method exists. If the source does not have a matching method, - then this method does nothing. The , , - and types all have an appropriate Include method to call. - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the . Other instances of - and the object context itself are not affected. Because the Include method returns the query object, - you can call this method multiple times on an to specify multiple paths for the query. - - The type of entity being queried. - - The source on which to call Include. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Specifies the related objects to include in the query results. - - - This extension method calls the Include(String) method of the source object, - if such a method exists. If the source does not have a matching method, - then this method does nothing. The , , - and types all have an appropriate Include method to call. - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the . Other instances of - and the object context itself are not affected. Because the Include method returns the query object, - you can call this method multiple times on an to specify multiple paths for the query. - - - The source on which to call Include. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Specifies the related objects to include in the query results. - - - The path expression must be composed of simple property access expressions together with calls to Select for - composing additional includes after including a collection proprty. Examples of possible include paths are: - To include a single reference: query.Include(e => e.Level1Reference) - To include a single collection: query.Include(e => e.Level1Collection) - To include a reference and then a reference one level down: query.Include(e => e.Level1Reference.Level2Reference) - To include a reference and then a collection one level down: query.Include(e => e.Level1Reference.Level2Collection) - To include a collection and then a reference one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference)) - To include a collection and then a collection one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection)) - To include a collection and then a reference one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference)) - To include a collection and then a collection one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection)) - To include a collection, a reference, and a reference two levels down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference.Level3Reference)) - To include a collection, a collection, and a reference two levels down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection.Select(l2 => l2.Level3Reference))) - This extension method calls the Include(String) method of the source IQueryable object, if such a method exists. - If the source IQueryable does not have a matching method, then this method does nothing. - The Entity Framework ObjectQuery, ObjectSet, DbQuery, and DbSet types all have an appropriate Include method to call. - When you call the Include method, the query path is only valid on the returned instance of the IQueryable<T>. Other - instances of IQueryable<T> and the object context itself are not affected. Because the Include method returns the - query object, you can call this method multiple times on an IQueryable<T> to specify multiple paths for the query. - - The type of entity being queried. - The type of navigation property being included. - The source IQueryable on which to call Include. - A lambda expression representing the path to include. - - A new IQueryable<T> with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the - or . This method works by calling the AsNoTracking method of the - underlying query object. If the underlying query object does not have an AsNoTracking method, - then calling this method will have no affect. - - The element type. - The source query. - A new query with NoTracking applied, or the source query if NoTracking is not supported. - - - - Returns a new query where the entities returned will not be cached in the - or . This method works by calling the AsNoTracking method of the - underlying query object. If the underlying query object does not have an AsNoTracking method, - then calling this method will have no affect. - - The source query. - A new query with NoTracking applied, or the source query if NoTracking is not supported. - - - - Returns a new query that will stream the results instead of buffering. This method works by calling - the AsStreaming method of the underlying query object. If the underlying query object does not have - an AsStreaming method, then calling this method will have no affect. - - - The type of the elements of . - - - An to apply AsStreaming to. - - A new query with AsStreaming applied, or the source query if AsStreaming is not supported. - - - - Returns a new query that will stream the results instead of buffering. This method works by calling - the AsStreaming method of the underlying query object. If the underlying query object does not have - an AsStreaming method, then calling this method will have no affect. - - - An to apply AsStreaming to. - - A new query with AsStreaming applied, or the source query if AsStreaming is not supported. - - - - Enumerates the query such that for server queries such as those of , - - , - , and others the results of the query will be loaded into the associated - - , - or other cache on the client. - This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. - - The source query. - - - - Asynchronously enumerates the query such that for server queries such as those of , - - , - , and others the results of the query will be loaded into the associated - - , - or other cache on the client. - This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. - - The source query. - - A task that represents the asynchronous operation. - - - - - Asynchronously enumerates the query such that for server queries such as those of , - - , - , and others the results of the query will be loaded into the associated - - , - or other cache on the client. - This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. - - The source query. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - An to enumerate. - - The action to perform on each element. - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - An to enumerate. - - The action to perform on each element. - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to enumerate. - - The action to perform on each element. - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to enumerate. - - The action to perform on each element. - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Creates a from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - An to create a from. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates a from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - An to create a from. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates a from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to create a from. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates a from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to create a list from. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates an array from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to create an array from. - - - A task that represents the asynchronous operation. - The task result contains an array that contains elements from the input sequence. - - - - - Creates an array from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to create an array from. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an array that contains elements from the input sequence. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - An to create a from. - - A function to extract a key from each element. - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - An to create a from. - - A function to extract a key from each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function and a comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - An to create a from. - - A function to extract a key from each element. - - An to compare keys. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function and a comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - An to create a from. - - A function to extract a key from each element. - - An to compare keys. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - The type of the value returned by . - - - An to create a from. - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - The type of the value returned by . - - - An to create a from. - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function, a comparer, and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - The type of the value returned by . - - - An to create a from. - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - An to compare keys. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function, a comparer, and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - The type of the value returned by . - - - An to create a from. - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - An to compare keys. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Asynchronously returns the first element of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - - A task that represents the asynchronous operation. - The task result contains the first element in . - - - is null. - - - doesn't implement . - - The source sequence is empty. - - - - Asynchronously returns the first element of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the first element in . - - - - is - null - . - - - - doesn't implement - - . - - The source sequence is empty. - - - - Asynchronously returns the first element of a sequence that satisfies a specified condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the first element in that passes the test in - . - - - - or - - is - null - . - - - - doesn't implement - - . - - - No element satisfies the condition in - - . - - - - - Asynchronously returns the first element of a sequence that satisfies a specified condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the first element in that passes the test in - . - - - - or - - is - null - . - - - - doesn't implement - - . - - - No element satisfies the condition in - - . - - - - - Asynchronously returns the first element of a sequence, or a default value if the sequence contains no elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if - is empty; otherwise, the first element in . - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the first element of a sequence, or a default value if the sequence contains no elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if - is empty; otherwise, the first element in . - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the first element of a sequence that satisfies a specified condition - or a default value if no such element is found. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains default ( ) if - is empty or if no element passes the test specified by ; otherwise, the first - element in that passes the test specified by . - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the first element of a sequence that satisfies a specified condition - or a default value if no such element is found. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if - is empty or if no element passes the test specified by ; otherwise, the first - element in that passes the test specified by . - - - - or - - is - null - . - - - - doesn't implement - - . - - - - has more than one element. - - - - - Asynchronously returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - The source sequence is empty. - - - - Asynchronously returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - has more than one element. - - The source sequence is empty. - - - - Asynchronously returns the only element of a sequence that satisfies a specified condition, - and throws an exception if more than one such element exists. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the the single element of. - - A function to test an element for a condition. - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence that satisfies the condition in - . - - - - or - - is - null - . - - - - doesn't implement - - . - - - No element satisfies the condition in - - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of a sequence that satisfies a specified condition, - and throws an exception if more than one such element exists. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - A function to test an element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence that satisfies the condition in - . - - - - or - - is - null - . - - - - doesn't implement - - . - - - No element satisfies the condition in - - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of a sequence, or a default value if the sequence is empty; - this method throws an exception if there is more than one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence, or default () - if the sequence contains no elements. - - - - is - null - . - - - - doesn't implement - - . - - - - has more than one element. - - - - - Asynchronously returns the only element of a sequence, or a default value if the sequence is empty; - this method throws an exception if there is more than one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence, or default () - if the sequence contains no elements. - - - - is - null - . - - - - doesn't implement - - . - - - - has more than one element. - - - - - Asynchronously returns the only element of a sequence that satisfies a specified condition or - a default value if no such element exists; this method throws an exception if more than one element - satisfies the condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - A function to test an element for a condition. - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence that satisfies the condition in - , or default ( ) if no such element is found. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the only element of a sequence that satisfies a specified condition or - a default value if no such element exists; this method throws an exception if more than one element - satisfies the condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - A function to test an element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence that satisfies the condition in - , or default ( ) if no such element is found. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether a sequence contains a specified element by using the default equality comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - The object to locate in the sequence. - - A task that represents the asynchronous operation. - The task result contains true if the input sequence contains the specified value; otherwise, false. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether a sequence contains a specified element by using the default equality comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - The object to locate in the sequence. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the input sequence contains the specified value; otherwise, false. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether a sequence contains any elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to check for being empty. - - - A task that represents the asynchronous operation. - The task result contains true if the source sequence contains any elements; otherwise, false. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether a sequence contains any elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to check for being empty. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the source sequence contains any elements; otherwise, false. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether any element of a sequence satisfies a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An whose elements to test for a condition. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether any element of a sequence satisfies a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An whose elements to test for a condition. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether all the elements of a sequence satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An whose elements to test for a condition. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains true if every element of the source sequence passes the test in the specified predicate; otherwise, false. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether all the elements of a sequence satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An whose elements to test for a condition. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if every element of the source sequence passes the test in the specified predicate; otherwise, false. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the number of elements in a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously returns the number of elements in a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously returns the number of elements in a sequence that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the number of elements in the sequence that satisfy the condition in the predicate function. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns the number of elements in a sequence that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the sequence that satisfy the condition in the predicate function. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns an that represents the total number of elements in a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously returns an that represents the total number of elements in a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously returns an that represents the number of elements in a sequence - that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the number of elements in the sequence that satisfy the condition in the predicate function. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns an that represents the number of elements in a sequence - that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the sequence that satisfy the condition in the predicate function. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns the minimum value of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to determine the minimum of. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the minimum value of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to determine the minimum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously invokes a projection function on each element of a sequence and returns the minimum resulting value. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the value returned by the function represented by . - - - An that contains the elements to determine the minimum of. - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the minimum value in the sequence. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously invokes a projection function on each element of a sequence and returns the minimum resulting value. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the value returned by the function represented by . - - - An that contains the elements to determine the minimum of. - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the sequence. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the maximum value of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to determine the maximum of. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the maximum value of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to determine the maximum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously invokes a projection function on each element of a sequence and returns the maximum resulting value. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the value returned by the function represented by . - - - An that contains the elements to determine the maximum of. - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the maximum value in the sequence. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously invokes a projection function on each element of a sequence and returns the maximum resulting value. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the value returned by the function represented by . - - - An that contains the elements to determine the maximum of. - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the sequence. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Bypasses a specified number of elements in a sequence and then returns the remaining elements. - - The type of the elements of source. - A sequence to return elements from. - An expression that evaluates to the number of elements to skip. - A sequence that contains elements that occur after the specified index in the - input sequence. - - - - Returns a specified number of contiguous elements from the start of a sequence. - - The type of the elements of source. - The sequence to return elements from. - An expression that evaluates to the number of elements - to return. - A sequence that contains the specified number of elements from the - start of the input sequence. - - - - Controls the transaction creation behavior while executing a database command or query. - - - - - If no transaction is present then a new transaction will be used for the operation. - - - - - If an existing transaction is present then use it, otherwise execute the command or query without a transaction. - - - - - Specifies a structural type mapping. - - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Represents the base item class for all the metadata - - - Represents the base item class for all the metadata - - - - - Adds or updates an annotation with the specified name and value. - - - If an annotation with the given name already exists then the value of that annotation - is updated to the given value. If the given value is null then the annotation will be - removed. - - The name of the annotation property. - The value of the annotation property. - - - - Removes an annotation with the specified name. - - The name of the annotation property. - true if an annotation was removed; otherwise, false. - - - - Returns a conceptual model built-in type that matches one of the - - values. - - - An object that represents the built-in type in the EDM. - - - One of the values. - - - - Returns the list of the general facet descriptions for a specified type. - - A object that represents the list of the general facet descriptions for a specified type. - - - - Gets the built-in type kind for this type. - - A object that represents the built-in type kind for this type. - - - - Gets the list of properties of the current type. - - A collection of type that contains the list of properties of the current type. - - - - Gets or sets the documentation associated with this type. - - A object that represents the documentation on this type. - - - - - Indicates that the given method is a proxy for an EDM function. - - - Note that this attribute has been replaced by the starting with EF6. - - - - - Indicates that the given method is a proxy for an EDM function. - - - Note that this class was called EdmFunctionAttribute in some previous versions of Entity Framework. - - - - - Initializes a new instance of the class. - - The namespace of the mapped-to function. - The name of the mapped-to function. - - - The namespace of the mapped-to function. - The namespace of the mapped-to function. - - - The name of the mapped-to function. - The name of the mapped-to function. - - - - Creates a new DbFunctionAttribute instance. - - The namespace name of the EDM function represented by the attributed method. - The function name of the EDM function represented by the attributed method. - - - - Provides common language runtime (CLR) methods that expose EDM canonical functions - for use in or LINQ to Entities queries. - - - Note that these functions have been moved to the class starting with EF6. - The functions are retained here only to help in the migration of older EF apps to EF6. - - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Left EDM function to return a given - number of the leftmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the left of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Right EDM function to return a given - number of the rightmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the right of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Reverse EDM function to return a given - string with the order of the characters reversed. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The input string with the order of the characters reversed. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to - return the number of minutes that the given date/time is offset from UTC. This is generally between +780 - and -780 (+ or - 13 hrs). - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The offset of the input from UTC. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTimeOffset EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The time zone offset part of the new date. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of hours between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of minutes between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of seconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of milliseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of microseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of nanoseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - The string to escape special characters with, must only be a single character. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a Unicode string. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a non-Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a non-Unicode string. - - - - Options for query execution. - - - - - Creates a new instance of . - - Merge option to use for entity results. - - - - Creates a new instance of . - - Merge option to use for entity results. - Whether the query is streaming or buffering. - - - Determines whether the specified objects are equal. - true if the two objects are equal; otherwise, false. - The left object to compare. - The right object to compare. - - - - Determines whether the specified objects are not equal. - - The left object to compare. - The right object to compare. - true if the two objects are not equal; otherwise, false. - - - - - - - - - - Merge option to use for entity results. - - - - - Whether the query is streaming or buffering. - - - - - DataRecord interface supporting structured types and rich metadata information. - - - - - Gets a object with the specified index. - - - A object. - - The index of the row. - - - - Returns nested readers as objects. - - - Nested readers as objects. - - The ordinal of the column. - - - - Gets for this - - . - - - A object. - - - - - DataRecordInfo class providing a simple way to access both the type information and the column information. - - - - - Initializes a new object for a specific type with an enumerable collection of data fields. - - - The metadata for the type represented by this object, supplied by - - . - - - An enumerable collection of objects that represent column information. - - - - - Gets for this - - object. - - - A object. - - - - - Gets type info for this object as a object. - - - A value. - - - - - A prepared command definition, can be cached and reused to avoid - repreparing a command. - - - - - Initializes a new instance of the class using the supplied - - . - - - The supplied . - - method used to clone the - - - - Initializes a new instance of the class. - - - - - Creates and returns a object that can be executed. - - The command for database. - - - - Metadata Interface for all CLR types types - - - - - Value to pass to GetInformation to get the StoreSchemaDefinition - - - - - Value to pass to GetInformation to get the StoreSchemaMapping - - - - - Value to pass to GetInformation to get the ConceptualSchemaDefinition - - - - - Value to pass to GetInformation to get the StoreSchemaDefinitionVersion3 - - - - - Value to pass to GetInformation to get the StoreSchemaMappingVersion3 - - - - - Value to pass to GetInformation to get the ConceptualSchemaDefinitionVersion3 - - - - - Name of the MaxLength Facet - - - - - Name of the Unicode Facet - - - - - Name of the FixedLength Facet - - - - - Name of the Precision Facet - - - - - Name of the Scale Facet - - - - - Name of the Nullable Facet - - - - - Name of the DefaultValue Facet - - - - - Name of the Collation Facet - - - - - Name of the SRID Facet - - - - - Name of the IsStrict Facet - - - - When overridden in a derived class, returns the set of primitive types supported by the data source. - The set of types supported by the data source. - - - When overridden in a derived class, returns a collection of EDM functions supported by the provider manifest. - A collection of EDM functions. - - - Returns the FacetDescription objects for a particular type. - The FacetDescription objects for the specified EDM type. - The EDM type to return the facet description for. - - - When overridden in a derived class, this method maps the specified storage type and a set of facets for that type to an EDM type. - - The instance that describes an EDM type and a set of facets for that type. - - The TypeUsage instance that describes a storage type and a set of facets for that type to be mapped to the EDM type. - - - When overridden in a derived class, this method maps the specified EDM type and a set of facets for that type to a storage type. - The TypeUsage instance that describes a storage type and a set of facets for that type. - The TypeUsage instance that describes the EDM type and a set of facets for that type to be mapped to a storage type. - - - When overridden in a derived class, this method returns provider-specific information. - The XmlReader object that represents the mapping to the underlying data store catalog. - The type of the information to return. - - - Gets the provider-specific information. - The provider-specific information. - The type of the information to return. - - - Indicates if the provider supports escaping strings to be used as patterns in a Like expression. - True if this provider supports escaping strings to be used as patterns in a Like expression; otherwise, false. - If the provider supports escaping, the character that would be used as the escape character. - - - - Indicates if the provider supports the parameter optimization described in EntityFramework6 GitHub issue #195. - The default is false. Providers should change this to true only after testing that schema queries (as - used in the Database First flow) work correctly with this flag. - - True only if the provider supports the parameter optimization. - - - Provider writers should override this method to return the argument with the wildcards and the escape character escaped. This method is only used if SupportsEscapingLikeArgument returns true. - The argument with the wildcards and the escape character escaped. - The argument to be escaped. - - - - Returns a boolean that specifies whether the provider can handle expression trees - containing instances of DbInExpression. - The default implementation returns false for backwards compatibility. Derived classes can override this method. - - - false - - - - - Returns a boolean that specifies whether the provider can process expression trees not having DbProjectExpression - nodes directly under both Left and Right sides of DbUnionAllExpression and DbIntersectExpression - - - false - - - - Gets the namespace used by this provider manifest. - The namespace used by this provider manifest. - - - - The factory for building command definitions; use the type of this object - as the argument to the IServiceProvider.GetService method on the provider - factory; - - - - - Constructs an EF provider that will use the obtained from - the app domain Singleton for resolving EF dependencies such - as the instance to use. - - - - - Registers a handler to process non-error messages coming from the database provider. - - The connection to receive information for. - The handler to process messages. - - - - Create a Command Definition object given a command tree. - - command tree for the statement - an executable command definition object - - This method simply delegates to the provider's implementation of CreateDbCommandDefinition. - - - - Creates command definition from specified manifest and command tree. - The created command definition. - The manifest. - The command tree. - - - Creates a command definition object for the specified provider manifest and command tree. - An executable command definition object. - Provider manifest previously retrieved from the store provider. - Command tree for the statement. - - - - Create the default DbCommandDefinition object based on the prototype command - This method is intended for provider writers to build a default command definition - from a command. - Note: This will clone the prototype - - the prototype command - an executable command definition object - - - - See issue 2390 - cloning the DesignTimeVisible property on the - DbCommand can cause deadlocks. So here allow sub-classes to override. - - the object to clone - a clone of the - - - - Clones the connection. - - The original connection. - Cloned connection - - - - Clones the connection. - - The original connection. - The factory to use. - Cloned connection - - - Returns provider manifest token given a connection. - The provider manifest token. - Connection to provider. - - - - Returns provider manifest token for a given connection. - - Connection to find manifest token from. - The provider manifest token for the specified connection. - - - Returns the provider manifest by using the specified version information. - The provider manifest by using the specified version information. - The token information associated with the provider manifest. - - - When overridden in a derived class, returns an instance of a class that derives from the DbProviderManifest. - A DbProviderManifest object that represents the provider manifest. - The token information associated with the provider manifest. - - - - Gets the that will be used to execute methods that use the specified connection. - - The database connection - - A new instance of - - - - - Gets the that will be used to execute methods that use the specified connection. - This overload should be used by the derived classes for compatability with wrapping providers. - - The database connection - The provider invariant name - - A new instance of - - - - - Gets the spatial data reader for the . - - The spatial data reader. - The reader where the spatial data came from. - The manifest token associated with the provider manifest. - - - - Gets the spatial services for the . - - The spatial services. - The token information associated with the provider manifest. - - - Gets the spatial services for the . - The spatial services. - Information about the database that the spatial services will be used for. - - - - Gets the spatial data reader for the . - - The spatial data reader. - The reader where the spatial data came from. - The token information associated with the provider manifest. - - - - Gets the spatial services for the . - - The spatial services. - The token information associated with the provider manifest. - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - Returns providers given a connection. - - The instanced based on the specified connection. - - Connection to provider. - - - Retrieves the DbProviderFactory based on the specified DbConnection. - The retrieved DbProviderFactory. - The connection to use. - - - - Return an XML reader which represents the CSDL description - - The name of the CSDL description. - An XmlReader that represents the CSDL description - - - Generates a data definition language (DDL script that creates schema objects (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token. - - Individual statements should be separated using database-specific DDL command separator. - It is expected that the generated script would be executed in the context of existing database with - sufficient permissions, and it should not include commands to create the database, but it may include - commands to create schemas and other auxiliary objects such as sequences, etc. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token. - The provider manifest token identifying the target version. - The structure of the database. - - - - Generates a data definition language (DDL) script that creates schema objects - (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection - parameter and targeted for the version of the database corresponding to the provider manifest token. - - - Individual statements should be separated using database-specific DDL command separator. - It is expected that the generated script would be executed in the context of existing database with - sufficient permissions, and it should not include commands to create the database, but it may include - commands to create schemas and other auxiliary objects such as sequences, etc. - - The provider manifest token identifying the target version. - The structure of the database. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter - and targeted for the version of the database corresponding to the provider manifest token. - - - - - Creates a database indicated by connection and creates schema objects - (tables, primary keys, foreign keys) based on the contents of storeItemCollection. - - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - Creates a database indicated by connection and creates schema objects (tables, primary keys, foreign keys) based on the contents of a StoreItemCollection. - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - Override this method to avoid creating the store item collection if it is not needed. The default implementation evaluates the Lazy and calls the other overload of this method. - - - Deletes the specified database. - Connection to an existing database that needs to be deleted. - Execution timeout for any commands needed to delete the database. - The collection of all store items from the model. This parameter is no longer used for database deletion. - - - Deletes the specified database. - Connection to an existing database that needs to be deleted. - Execution timeout for any commands needed to delete the database. - The collection of all store items from the model. This parameter is no longer used for database deletion. - - - - Expands |DataDirectory| in the given path if it begins with |DataDirectory| and returns the expanded path, - or returns the given string if it does not start with |DataDirectory|. - - The path to expand. - The expanded path. - - - - Adds an that will be used to resolve additional default provider - services when a derived type is registered as an EF provider either using an entry in the application's - config file or through code-based registration in . - - The resolver to add. - - - - Called to resolve additional default provider services when a derived type is registered as an - EF provider either using an entry in the application's config file or through code-based - registration in . The implementation of this method in this - class uses the resolvers added with the AddDependencyResolver method to resolve - dependencies. - - - Use this method to set, add, or change other provider-related services. Note that this method - will only be called for such services if they are not already explicitly configured in some - other way by the application. This allows providers to set default services while the - application is still able to override and explicitly configure each service if required. - See and for more details. - - The type of the service to be resolved. - An optional key providing additional information for resolving the service. - An instance of the given type, or null if the service could not be resolved. - - - - Called to resolve additional default provider services when a derived type is registered as an - EF provider either using an entry in the application's config file or through code-based - registration in . The implementation of this method in this - class uses the resolvers added with the AddDependencyResolver method to resolve - dependencies. - - The type of the service to be resolved. - An optional key providing additional information for resolving the service. - All registered services that satisfy the given type and key, or an empty enumeration if there are none. - - - - A specialization of the ProviderManifest that accepts an XmlReader - - - - - Initializes a new instance of the class. - - - An object that provides access to the XML data in the provider manifest file. - - - - Returns the list of facet descriptions for the specified Entity Data Model (EDM) type. - - A collection of type that contains the list of facet descriptions for the specified EDM type. - - - An for which the facet descriptions are to be retrieved. - - - - Returns the list of primitive types supported by the storage provider. - - A collection of type that contains the list of primitive types supported by the storage provider. - - - - Returns the list of provider-supported functions. - - A collection of type that contains the list of provider-supported functions. - - - - Gets the namespace name supported by this provider manifest. - The namespace name supported by this provider manifest. - - - Gets the best mapped equivalent Entity Data Model (EDM) type for a specified storage type name. - The best mapped equivalent EDM type for a specified storage type name. - - - Gets the best mapped equivalent storage primitive type for a specified storage type name. - The best mapped equivalent storage primitive type for a specified storage type name. - - - - Class for representing a collection of items. - Most of the implementation for actual maintenance of the collection is - done by MetadataCollection - - - - - Class representing a read-only wrapper around MetadataCollection - - The type of items in this collection - - - Retrieves an item from this collection by using the specified identity. - An item from this collection. - The identity of the item to be searched for. - true to perform the case-insensitive search; otherwise, false. - - - Determines whether the collection contains an item with the specified identity. - true if the collection contains the item to be searched for; otherwise, false. The default is false. - The identity of the item. - - - Retrieves an item from this collection by using the specified identity. - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item to be searched for. - true to perform the case-insensitive search; otherwise, false. - When this method returns, this output parameter contains an item from the collection. If there is no matched item, this output parameter contains null. - - - Returns an enumerator that can iterate through this collection. - - A that can be used to iterate through this - - . - - - - Returns the index of the specified value in this collection. - The index of the specified value in this collection. - A value to seek. - - - Gets a value indicating whether this collection is read-only. - true if this collection is read-only; otherwise, false. - - - Gets an item from this collection by using the specified identity. - An item from this collection. - The identity of the item to be searched for. - - - - The enumerator for MetadataCollection - - - - Disposes of this enumerator. - - - - Moves to the next member in the collection of type - - . - - - true if the enumerator is moved in the collection of type - - ; otherwise, false. - - - - - Positions the enumerator before the first position in the collection of type - - . - - - - Gets the member at the current position. - The member at the current position. - - - - Gets the member at the current position - - - - - Returns a strongly typed object by using the specified identity. - - The item that is specified by the identity. - The identity of the item. - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity from this item collection. - - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item. - - When this method returns, the output parameter contains a - - object. If there is no global item with the specified identity in the item collection, this output parameter contains null. - - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity from this item collection. - - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, the output parameter contains a - - object. If there is no global item with the specified identity in the item collection, this output parameter contains null. - - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity with either case-sensitive or case-insensitive search. - - The item that is specified by the identity. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - The type returned by the method. - - - Returns all the items of the specified type from this item collection. - - A collection of type that contains all the items of the specified type. - - The type returned by the method. - - - - Returns an object by using the specified type name and the namespace name in this item collection. - - - An object that represents the type that matches the specified type name and the namespace name in this item collection. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - - When this method returns, this output parameter contains an - - object. If there is no type with the specified name and namespace name in this item collection, this output parameter contains null. - - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - - An object that represents the type that matches the specified type name and the namespace name in this item collection. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, this output parameter contains an - - object. If there is no type with the specified name and namespace name in this item collection, this output parameter contains null. - - - - Returns all the overloads of the functions by using the specified name from this item collection. - - A collection of type that contains all the functions that have the specified name. - - The full name of the function. - - - Returns all the overloads of the functions by using the specified name from this item collection. - - A collection of type that contains all the functions that have the specified name. - - The full name of the function. - true to perform the case-insensitive search; otherwise, false. - - - Returns all the overloads of the functions by using the specified name from this item collection. - A collection of type ReadOnlyCollection that contains all the functions that have the specified name. - A dictionary of functions. - The full name of the function. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified entity container name. - - If there is no entity container, this method returns null; otherwise, it returns the first one. - The name of the entity container. - - - - Returns an object by using the specified entity container name. If there is no entity container, the output parameter contains null; otherwise, it contains the first entity container. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - - When this method returns, it contains an object. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - - - - Returns an object by using the specified entity container name. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified entity container name. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, it contains an object. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - - - Gets the data model associated with this item collection. - The data model associated with this item collection. - - - - EntityRecordInfo class providing a simple way to access both the type information and the column information. - - - - - Initializes a new instance of the class of a specific entity type with an enumerable collection of data fields and with specific key and entity set information. - - - The of the entity represented by the - - described by this - - object. - - - An enumerable collection of objects that represent column information. - - The key for the entity. - The entity set to which the entity belongs. - - - - Gets the for the entity. - - The key for the entity. - - - - Public Entity SQL Parser class. - - - - Parse the specified query with the specified parameters. - - The containing - - and information describing inline function definitions if any. - - The EntitySQL query to be parsed. - The optional query parameters. - - - - Parse a specific query with a specific set variables and produce a - - . - - - The containing - - and information describing inline function definitions if any. - - The query to be parsed. - The optional query variables. - - - - Entity SQL query inline function definition, returned as a part of . - - - - Function name. - - - Function body and parameters. - - - Start position of the function definition in the eSQL query text. - - - End position of the function definition in the eSQL query text. - - - - Entity SQL Parser result information. - - - - A command tree produced during parsing. - - - - List of objects describing query inline function definitions. - - - - - Compares objects using reference equality. - - - - - Gets the default instance. - - - - - Wraps access to the transaction object on the underlying store connection and ensures that the - Entity Framework executes commands on the database within the context of that transaction. - An instance of this class is retrieved by calling BeginTransaction() on the - - object. - - - - - Commits the underlying store transaction - - - - - Rolls back the underlying store transaction - - - - - Cleans up this transaction object and ensures the Entity Framework - is no longer using that transaction. - - - - - Releases the resources used by this transaction object - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - - - - - - - - - - - - - Gets the database (store) transaction that is underlying this context transaction. - - - - - A service for obtaining the correct from a given - . - - - On .NET 4.5 the provider is publicly accessible from the connection. On .NET 4 the - default implementation of this service uses some heuristics to find the matching - provider. If these fail then a new implementation of this service can be registered - on to provide an appropriate resolution. - - - - - Returns the for the given connection. - - The connection. - The provider factory for the connection. - - - - Explicitly implemented by to prevent certain members from showing up - in the IntelliSense of scaffolded migrations. - - - - - Adds a custom to the migration. - Custom operation implementors are encouraged to create extension methods on - that provide a fluent-style API for adding new operations. - - The operation to add. - - - - A default implementation of that uses the - underlying provider to get the manifest token. - Note that to avoid multiple queries, this implementation using caching based on the actual type of - instance, the property, - and the property. - - - - - A service for getting a provider manifest token given a connection. - The class is used by default and makes use of the - underlying provider to get the token which often involves opening the connection. - A different implementation can be used instead by adding an - to that may use any information in the connection to return - the token. For example, if the connection is known to point to a SQL Server 2008 database then - "2008" can be returned without opening the connection. - - - - - Returns the manifest token to use for the given connection. - - The connection for which a manifest token is required. - The manifest token to use. - - - - - - - A strategy that is used to execute a command or query against the database, possibly with logic to retry when a failure occurs. - - - - - Executes the specified operation. - - A delegate representing an executable operation that doesn't return any results. - - - - Executes the specified operation and returns the result. - - - The return type of . - - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - - - - Executes the specified asynchronous operation. - - A function that returns a started task. - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will become faulted and the exception must be observed. - - - - - Executes the specified asynchronous operation and returns the result. - - - The result type of the returned by . - - - A function that returns a started task of type . - - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will become faulted and the exception must be observed. - - - - - Indicates whether this might retry the execution after a failure. - - - - - Provides the base implementation of the retry mechanism for unreliable operations and transient conditions that uses - exponentially increasing delays between retries. - - - A new instance will be created each time an operation is executed. - The following formula is used to calculate the delay after retryCount number of attempts: - min(random(1, 1.1) * (2 ^ retryCount - 1), maxDelay) - The retryCount starts at 0. - The random factor distributes uniformly the retry attempts from multiple simultaneous operations failing simultaneously. - - - - - Creates a new instance of . - - - The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor. - - - - - Creates a new instance of with the specified limits for number of retries and the delay between retries. - - The maximum number of retry attempts. - The maximum delay in milliseconds between retries. - - - - Repetitively executes the specified operation while it satisfies the current retry policy. - - A delegate representing an executable operation that doesn't return any results. - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Repetitively executes the specified operation while it satisfies the current retry policy. - - The type of result expected from the executable operation. - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Repetitively executes the specified asynchronous operation while it satisfies the current retry policy. - - A function that returns a started task. - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will become faulted and the exception must be observed. - - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Repeatedly executes the specified asynchronous operation while it satisfies the current retry policy. - - - The result type of the returned by . - - - A function that returns a started task of type . - - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will become faulted and the exception must be observed. - - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Determines whether the operation should be retried and the delay before the next attempt. - - The exception thrown during the last execution attempt. - - Returns the delay indicating how long to wait for before the next execution attempt if the operation should be retried; - null otherwise - - - - - Recursively gets InnerException from as long as it's an - , or - and passes it to - - The type of the unwrapped exception. - The exception to be unwrapped. - A delegate that will be called with the unwrapped exception. - - The result from . - - - - - Determines whether the specified exception represents a transient failure that can be compensated by a retry. - - The exception object to be verified. - - true if the specified exception is considered as transient, otherwise false. - - - - - Returns true to indicate that might retry the execution after a failure. - - - - - Indicates whether the strategy is suspended. The strategy is typically suspending while executing to avoid - recursive execution from nested operations. - - - - - A key used for resolving . It consists of the ADO.NET provider invariant name - and the database server name as specified in the connection string. - - - - - Initializes a new instance of - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - A string that will be matched against the server name in the connection string. - - - - - - - - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - - - - A string that will be matched against the server name in the connection string. - - - - - Implement this interface on your context to use custom logic to calculate the key used to lookup an already created model in the cache. - This interface allows you to have a single context type that can be used with different models in the same AppDomain, - or multiple context types that use the same model. - - - - Gets the cached key associated with the provider. - The cached key associated with the provider. - - - - Used by and when resolving - a provider invariant name from a . - - - - Gets the name of the provider. - The name of the provider. - - - - Represents a custom pluralization term to be used by the - - - - - Create a new instance - - A non null or empty string representing the singular. - A non null or empty string representing the plural. - - - - Get the singular. - - - - - Get the plural. - - - - - Default pluralization service implementation to be used by Entity Framework. This pluralization - service is based on English locale. - - - - - Pluralization services to be used by the EF runtime implement this interface. - By default the is used, but the pluralization service to use - can be set in a class derived from . - - - - - Pluralize a word using the service. - - The word to pluralize. - The pluralized word - - - - Singularize a word using the service. - - The word to singularize. - The singularized word. - - - - Constructs a new instance of default pluralization service - used in Entity Framework. - - - - - Constructs a new instance of default pluralization service - used in Entity Framework. - - - A collection of user dictionary entries to be used by this service.These inputs - can customize the service according the user needs. - - - - Returns the plural form of the specified word. - The plural form of the input parameter. - The word to be made plural. - - - Returns the singular form of the specified word. - The singular form of the input parameter. - The word to be made singular. - - - - The exception that is thrown when the action failed again after being retried the configured number of times. - - - - - Provider exception - Used by the entity client. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - - - Initializes a new instance of the class. - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - Initializes a new instance of the class with no error message. - - - - - Initializes a new instance of the class with a specified error message. - - The message that describes the error. - - - - Initializes a new instance of the class. - - The message that describes the error. - The exception that is the cause of the current exception. - - - - An that doesn't retry operations if they fail. - - - - - Executes the specified operation once. - - A delegate representing an executable operation that doesn't return any results. - - - - Executes the specified operation once and returns the result. - - - The return type of . - - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - - - - Executes the specified asynchronous operation once, without retrying on failure. - - A function that returns a started task. - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully. - - - - - Executes the specified asynchronous operation once, without retrying on failure. - - - The result type of the returned by . - - A function that returns a started task. - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully. - - - - - Returns false to indicate that will not retry the execution after a failure. - - - - - Asynchronous version of the interface that allows elements to be retrieved asynchronously. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - - - - Gets an enumerator that can be used to asynchronously enumerate the sequence. - - Enumerator for asynchronous enumeration over the sequence. - - - - Asynchronous version of the interface that allows elements of the enumerable sequence to be retrieved asynchronously. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - The type of objects to enumerate. - - - - Gets an enumerator that can be used to asynchronously enumerate the sequence. - - Enumerator for asynchronous enumeration over the sequence. - - - - Represents a SQL query for entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance for the - entity type. The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for non-entities are created using . - See for a generic version of this class. - - - - - Represents a SQL query for non-entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance. - The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for entities are created using . - See for a generic version of this class. - - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The action to perform on each element. - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The action to perform on each element. - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Creates a from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the query. - - - - - Creates a from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the query. - - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - Never returns; always throws. - - - - - - - - - - - - - Returns false. - - - false . - - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for . Methods and properties - that will be used by the test double must be implemented by the test double except AsNoTracking - and AsStreaming where the default implementation is a no-op. - - - - - Returns a new query where the results of the query will not be tracked by the associated - . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - - - - - - - - - - - - - Represents a SQL query for entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance for the - entity type. The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for non-entities are created using . - See for a non-generic version of this class. - - The type of entities returned by the query. - - - - Represents a SQL query for non-entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance. - The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for entities are created using . - See for a non-generic version of this class. - - The type of elements returned by the query. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The action to be executed. - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The action to be executed. - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Creates a from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates a from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates an array from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains an array that contains elements from the input sequence. - - - - - Creates an array from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an array that contains elements from the input sequence. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - A function to extract a key from each element. - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - A function to extract a key from each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function and a comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - A function to extract a key from each element. - - An to compare keys. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function and a comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - A function to extract a key from each element. - - An to compare keys. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - - The type of the value returned by . - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the query. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - - The type of the value returned by . - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the query. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function, a comparer, and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - - The type of the value returned by . - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - An to compare keys. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function, a comparer, and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - - The type of the value returned by . - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - An to compare keys. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Asynchronously returns the first element of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the first element in the query result. - - The query result is empty. - - - - Asynchronously returns the first element of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the first element in the query result. - - The query result is empty. - - - - Asynchronously returns the first element of the query that satisfies a specified condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the first element in the query result that satisfies a specified condition. - - - - is - null - . - - The query result is empty. - - - - Asynchronously returns the first element of the query that satisfies a specified condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the first element in the query result that satisfies a specified condition. - - - - is - null - . - - The query result is empty. - - - - Asynchronously returns the first element of the query, or a default value if the the query result contains no elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if query result is empty; - otherwise, the first element in the query result. - - - - - Asynchronously returns the first element of the query, or a default value if the the query result contains no elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if query result is empty; - otherwise, the first element in the query result. - - - - - Asynchronously returns the first element of the query that satisfies a specified condition - or a default value if no such element is found. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains default ( ) if query result is empty - or if no element passes the test specified by ; otherwise, the first element - in the query result that passes the test specified by . - - - - is - null - . - - - - - Asynchronously returns the first element of the query that satisfies a specified condition - or a default value if no such element is found. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if query result is empty - or if no element passes the test specified by ; otherwise, the first element - in the query result that passes the test specified by . - - - - is - null - . - - - - - Asynchronously returns the only element of the query, and throws an exception - if there is not exactly one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result. - - The query result has more than one element. - The query result is empty. - - - - Asynchronously returns the only element of the query, and throws an exception - if there is not exactly one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result. - - The query result has more than one element. - The query result is empty. - - - - Asynchronously returns the only element of the query that satisfies a specified condition, - and throws an exception if more than one such element exists. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the single element of the query result that satisfies the condition in - . - - - - is - null - . - - - No element satisfies the condition in - - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of the query that satisfies a specified condition, - and throws an exception if more than one such element exists. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result that satisfies the condition in - . - - - - is - null - . - - - No element satisfies the condition in - - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of a sequence, or a default value if the sequence is empty; - this method throws an exception if there is more than one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result, or default () - if the sequence contains no elements. - - The query result has more than one element. - - - - Asynchronously returns the only element of a sequence, or a default value if the sequence is empty; - this method throws an exception if there is more than one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result, or default () - if the sequence contains no elements. - - The query result has more than one element. - - - - Asynchronously returns the only element of the query that satisfies a specified condition or - a default value if no such element exists; this method throws an exception if more than one element - satisfies the condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the single element of the query result that satisfies the condition in - , or default ( ) if no such element is found. - - - - is - null - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of the query that satisfies a specified condition or - a default value if no such element exists; this method throws an exception if more than one element - satisfies the condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result that satisfies the condition in - , or default ( ) if no such element is found. - - - - is - null - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously determines whether the query contains a specified element by using the default equality comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The object to locate in the query result. - - A task that represents the asynchronous operation. - The task result contains true if the query result contains the specified value; otherwise, false. - - - - - Asynchronously determines whether the query contains a specified element by using the default equality comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The object to locate in the query result. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the query result contains the specified value; otherwise, false. - - - - - Asynchronously determines whether the query contains any elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains true if the query result contains any elements; otherwise, false. - - - - - Asynchronously determines whether the query contains any elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the query result contains any elements; otherwise, false. - - - - - Asynchronously determines whether any element of the query satisfies a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains true if any elements in the query result pass the test in the specified predicate; otherwise, false. - - - - - Asynchronously determines whether any element of the query satisfies a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if any elements in the query result pass the test in the specified predicate; otherwise, false. - - - - - Asynchronously determines whether all the elements of the query satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains true if every element of the query result passes the test in the specified predicate; otherwise, false. - - - - is - null - . - - - - - Asynchronously determines whether all the elements of the query satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if every element of the query result passes the test in the specified predicate; otherwise, false. - - - - is - null - . - - - - - Asynchronously returns the number of elements in the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result. - - - The number of elements in the query result is larger than - - . - - - - - Asynchronously returns the number of elements in the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result. - - - The number of elements in the query result is larger than - - . - - - - - Asynchronously returns the number of elements in the query that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result that satisfy the condition in the predicate function. - - - The number of elements in the query result that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns the number of elements in the query that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result that satisfy the condition in the predicate function. - - - The number of elements in the query result that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns an that represents the total number of elements in the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result. - - - The number of elements in the query result is larger than - - . - - - - - Asynchronously returns an that represents the total number of elements in the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result. - - - The number of elements in the query result is larger than - - . - - - - - Asynchronously returns an that represents the number of elements in the query - that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result that satisfy the condition in the predicate function. - - - The number of elements in the query result that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns an that represents the number of elements in the query - that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result that satisfy the condition in the predicate function. - - - The number of elements in the query result that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns the minimum value of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the query result. - - - - - Asynchronously returns the minimum value of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the query result. - - - - - Asynchronously returns the maximum value of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the query result. - - - - - Asynchronously returns the maximum value of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the query result. - - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - Never returns; always throws. - - - - - - - - - - - - - Returns false. - - - false . - - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for . Methods and properties - that will be used by the test double must be implemented by the test double except AsNoTracking and - AsStreaming where the default implementation is a no-op. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - - - - - - - - - - - - - Asynchronous version of the interface that allows elements to be retrieved asynchronously. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - - - - Advances the enumerator to the next element in the sequence, returning the result asynchronously. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the sequence. - - - - - Gets the current element in the iteration. - - - - - Defines methods to create and asynchronously execute queries that are described by an - object. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - - - - Asynchronously executes the query represented by a specified expression tree. - - An expression tree that represents a LINQ query. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the value that results from executing the specified query. - - - - - Asynchronously executes the strongly-typed query represented by a specified expression tree. - - The type of the value that results from executing the query. - An expression tree that represents a LINQ query. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the value that results from executing the specified query. - - - - - Asynchronous version of the interface that allows elements to be retrieved asynchronously. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - The type of objects to enumerate. - - - - Gets the current element in the iteration. - - - - - Represents a key value that uniquely identifies an Entity Framework model that has been loaded into memory. - - - - Determines whether the current cached model key is equal to the specified cached model key. - true if the current cached model key is equal to the specified cached model key; otherwise, false. - The cached model key to compare to the current cached model key. - - - Returns the hash function for this cached model key. - The hash function for this cached model key. - - - - Thrown when an operation can't be performed because there are existing migrations that have not been applied to the database. - - - - - Represents errors that occur inside the Code First Migrations pipeline. - - - - - Initializes a new instance of the MigrationsException class. - - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the MigrationsException class with serialized data. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - Initializes a new instance of the MigrationsPendingException class. - - - - - Initializes a new instance of the MigrationsPendingException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsPendingException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - A migration operation to add a new stored procedure to the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the stored procedure. - - - - - Allows configuration to be performed for a lightweight convention based on - the properties in a model. - - - - - Filters the properties that this convention applies to based on a predicate. - - A function to test each property for a condition. - - A instance so that multiple calls can be chained. - - - - - Filters the properties that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each property. If the value is null, the - property will be filtered out. - - - A instance so that multiple calls can be chained. - - - - - Allows configuration of the properties that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the properties of entity types in a model and a captured value. - - The type of the captured value. - - - - Allows configuration of the properties that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a stored procedure that is used to modify a relationship. - - The type of the entity that the relationship is being configured from. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - The type of the property. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - The type of the property. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - - Creates a convention that configures stored procedures to be used to delete entities in the database. - - - - - Creates a convention that configures stored procedures to be used to modify entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - - - - - - - - - - - - - - Creates a convention that configures stored procedures to be used to insert entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the result for. - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The property to configure the result for. - The name of the result column. - - - - - - - - - - - - - - - - Creates a convention that configures stored procedures to be used to modify entities in the database. - - - - Configures stored procedure used to insert entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to update entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a convention that configures stored procedures to be used to update entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The current value parameter name. - The original value parameter name. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the result for. - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The property to configure the result for. - The name of the result column. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to modify a many to many relationship. - - The type of the entity that the relationship is being configured from. - The type of the entity that the other end of the relationship targets. - - - - Performs configuration of a stored procedure uses to modify an entity in the database. - - - - - Sets the name of the stored procedure. - - Name of the procedure. - The same configuration instance so that multiple calls can be chained. - - - - Sets the name of the stored procedure. - - Name of the procedure. - Name of the schema. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to modify a many to many relationship. - - The type of the entity that the relationship is being configured from. - The type of the entity that the other end of the relationship targets. - - - Configures stored procedure used to insert relationships. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete relationships. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a stored procedure that is used to delete entities. - - The type of the entity that the stored procedure can be used to delete. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to insert entities. - - The type of the entity that the stored procedure can be used to insert. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to update entities. - - The type of the entity that the stored procedure can be used to update. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to modify entities. - - The type of the entity that the stored procedure can be used to modify. - - - Configures stored procedure used to insert entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to update entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a primitive property of an entity type or complex type. - This configuration functionality is available via lightweight conventions. - - - - - Configures the name of the database column used to store the property. - - The name of the column. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the name of the parameter used in stored procedures for this property. - - Name of the parameter. - - The same instance so that multiple calls can be chained. - - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be used as an optimistic concurrency token. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures how values for the property are generated by the database. - - The pattern used to generate values for the property in the database. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to support Unicode string content. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures whether or not the property supports Unicode string content. - - Value indicating if the property supports Unicode string content or not. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to be variable length. - Properties are variable length by default. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to allow the maximum length supported by the database provider. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the precision of the property. - If the database provider does not support precision for the data type of the column then the value is ignored. - - Precision of the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method will throw if the property is not a . - - - - - Configures the precision and scale of the property. - - The precision of the property. - The scale of the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method will throw if the property is not a . - - - - - Configures the property to be a row version in the database. - The actual data type will vary depending on the database provider being used. - Setting the property to be a row version will automatically configure it to be an - optimistic concurrency token. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures this property to be part of the entity type's primary key. - - - The same instance so that - multiple calls can be chained. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the for this property. - - - - - An implementation of that does nothing. Using this - initializer disables database initialization for the given context type. Passing an instance - of this class to is equivalent to passing null. - When is being used to resolve initializers an instance of - this class must be used to disable initialization. - - The type of the context. - - - - - - - FieldMetadata class providing the correlation between the column ordinals and MemberMetadata. - - - - - Initializes a new object with the specified ordinal value and field type. - - An integer specified the location of the metadata. - The field type. - - - - Gets the type of field for this object. - - - The type of field for this object. - - - - - Gets the ordinal for this object. - - An integer representing the ordinal value. - - - - Class representing a parameter collection used in EntityCommand - - - - - Adds the specified object to the . - - - The index of the new object. - - - An . - - - - - Adds an array of values to the end of the - - . - - - The values to add. - - - - - Removes all the objects from the - - . - - - - - Determines whether the specified is in this - - . - - - true if the contains the value; otherwise false. - - - The value. - - - - - Copies all the elements of the current to the specified one-dimensional - - starting at the specified destination index. - - - The one-dimensional that is the destination of the elements copied from the current - - . - - - A 32-bit integer that represents the index in the at which copying starts. - - - - - Returns an enumerator that iterates through the - - . - - - An for the - - . - - - - - - - - - - - Gets the location of the specified with the specified name. - - - The zero-based location of the specified with the specified case-sensitive name. Returns -1 when the object does not exist in the - - . - - - The case-sensitive name of the to find. - - - - - Gets the location of the specified in the collection. - - - The zero-based location of the specified that is a - - in the collection. Returns -1 when the object does not exist in the - - . - - - The to find. - - - - - Inserts an into the - - at the specified index. - - The zero-based index at which value should be inserted. - - An to be inserted in the - - . - - - - Removes the specified parameter from the collection. - - A object to remove from the collection. - - - - - Removes the from the - - at the specified index. - - - The zero-based index of the object to remove. - - - - - Removes the from the - - at the specified parameter name. - - - The name of the to remove. - - - - - - - - - - - Adds the specified object to the - - . - - - A new object. - - - The to add to the collection. - - - The specified in the value parameter is already added to this or another - - . - - - The parameter passed was not a . - - The value parameter is null. - - - - Adds a value to the end of the . - - - A object. - - The name of the parameter. - The value to be added. - - - - Adds a to the - - given the parameter name and the data type. - - - A new object. - - The name of the parameter. - - One of the values. - - - - - Adds a to the - - with the parameter name, the data type, and the column length. - - - A new object. - - The name of the parameter. - - One of the values. - - The column length. - - - - Adds an array of values to the end of the - - . - - - The values to add. - - - - - Determines whether the specified is in this - - . - - - true if the contains the value; otherwise false. - - - The value. - - - - - Copies all the elements of the current to the specified - - starting at the specified destination index. - - - The that is the destination of the elements copied from the current - - . - - - A 32-bit integer that represents the index in the - - at which copying starts. - - - - - Gets the location of the specified in the collection. - - - The zero-based location of the specified that is a - - in the collection. Returns -1 when the object does not exist in the - - . - - - The to find. - - - - - Inserts a object into the - - at the specified index. - - The zero-based index at which value should be inserted. - - A object to be inserted in the - - . - - - - - Removes the specified from the collection. - - - A object to remove from the collection. - - - The parameter is not a . - - The parameter does not exist in the collection. - - - - Gets an Integer that contains the number of elements in the - - . - - - The number of elements in the as an Integer. - - - - - Gets a value that indicates whether the - - has a fixed size. - - - Returns true if the has a fixed size; otherwise false. - - - - - Gets a value that indicates whether the - - is read-only. - - - Returns true if the is read only; otherwise false. - - - - - Gets a value that indicates whether the - - is synchronized. - - - Returns true if the is synchronized; otherwise false. - - - - - Gets an object that can be used to synchronize access to the - - . - - - An object that can be used to synchronize access to the - - . - - - - - Gets the at the specified index. - - - The at the specified index. - - The zero-based index of the parameter to retrieve. - The specified index does not exist. - - - - Gets the with the specified name. - - - The with the specified name. - - The name of the parameter to retrieve. - The specified name does not exist. - - - - Class representing a command for the conceptual layer - - - - - Initializes a new instance of the class using the specified values. - - - - - Initializes a new instance of the class with the specified statement. - - The text of the command. - - - - Constructs the EntityCommand object with the given eSQL statement and the connection object to use - - The eSQL command text to execute - The connection object - Resolver used to resolve DbProviderServices - - - - Initializes a new instance of the class with the specified statement and connection. - - The text of the command. - A connection to the data source. - - - - Initializes a new instance of the class with the specified statement, connection and transaction. - - The text of the command. - A connection to the data source. - The transaction in which the command executes. - - - - Cancels the execution of an . - - - - - Creates a new instance of an object. - - - A new instance of an object. - - - - - Create and return a new parameter object representing a parameter in the eSQL statement - - The parameter object. - - - Executes the command and returns a data reader. - - The that contains the results. - - - - - Compiles the into a command tree and passes it to the underlying store provider for execution, then builds an - - out of the produced result set using the specified - - . - - - The that contains the results. - - - One of the values. - - - - - Asynchronously executes the command and returns a data reader for reading the results. May only - be called on CommandType.CommandText (otherwise, use the standard Execute* methods) - - - A task that represents the asynchronous operation. - The task result contains an EntityDataReader object. - - - For stored procedure commands, if called - for anything but an entity collection result - - - - - Asynchronously executes the command and returns a data reader for reading the results. May only - be called on CommandType.CommandText (otherwise, use the standard Execute* methods) - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an EntityDataReader object. - - - For stored procedure commands, if called - for anything but an entity collection result - - - - - Asynchronously executes the command and returns a data reader for reading the results. May only - be called on CommandType.CommandText (otherwise, use the standard Execute* methods) - - The behavior to use when executing the command - - A task that represents the asynchronous operation. - The task result contains an EntityDataReader object. - - - For stored procedure commands, if called - for anything but an entity collection result - - - - - Asynchronously executes the command and returns a data reader for reading the results. May only - be called on CommandType.CommandText (otherwise, use the standard Execute* methods) - - The behavior to use when executing the command - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an EntityDataReader object. - - - For stored procedure commands, if called - for anything but an entity collection result - - - - - Executes the command and returns a data reader for reading the results - - The behavior to use when executing the command - A DbDataReader object - - - - Asynchronously executes the command and returns a data reader for reading the results - - The behavior to use when executing the command - The token to monitor for cancellation requests - - A task that represents the asynchronous operation. - The task result contains a DbDataReader object. - - - - Executes the current command. - The number of rows affected. - - - - Asynchronously executes the command and discard any results returned from the command - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - Executes the command, and returns the first column of the first row in the result set. Additional columns or rows are ignored. - The first column of the first row in the result set, or a null reference (Nothing in Visual Basic) if the result set is empty. - - - Compiles the entity-level command and creates a prepared version of the command. - - - Compiles the entity-level command and returns the store command text. - The store command text. - - - - Gets or sets the used by the - - . - - The connection used by the entity command. - - - - The connection object used for executing the command - - - - Gets or sets an Entity SQL statement that specifies a command or stored procedure to execute. - The Entity SQL statement that specifies a command or stored procedure to execute. - - - Gets or sets the command tree to execute; only one of the command tree or the command text can be set, not both. - The command tree to execute. - - - Gets or sets the amount of time to wait before timing out. - The time in seconds to wait for the command to execute. - - - - Gets or sets a value that indicates how the - - property is to be interpreted. - - - One of the enumeration values. - - - - Gets the parameters of the Entity SQL statement or stored procedure. - The parameters of the Entity SQL statement or stored procedure. - - - - The collection of parameters for this command - - - - - Gets or sets the transaction within which the executes. - - - The transaction within which the executes. - - - - - The transaction that this command executes in - - - - Gets or sets how command results are applied to rows being updated. - - One of the values. - - - - Gets or sets a value that indicates whether the command object should be visible in a Windows Form Designer control. - true if the command object should be visible in a Windows Form Designer control; otherwise, false. - - - Gets or sets a value that indicates whether the query plan caching is enabled. - true if the query plan caching is enabled; otherwise, false. - - - - Class representing a connection for the conceptual layer. An entity connection may only - be initialized once (by opening the connection). It is subsequently not possible to change - the connection string, attach a new store connection, or change the store connection string. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class, based on the connection string. - - The provider-specific connection string. - An invalid connection string keyword has been provided, or a required connection string keyword has not been provided. - - - - Initializes a new instance of the class with a specified - and - . - - - A to be associated with this - . - - - The underlying data source connection for this object. - - The workspace or connection parameter is null. - The conceptual model is missing from the workspace.-or-The mapping file is missing from the workspace.-or-The storage model is missing from the workspace.-or-The connection is not in a closed state. - The connection is not from an ADO.NET Entity Framework-compatible provider. - - - - Constructs the EntityConnection from Metadata loaded in memory - - Workspace containing metadata information. - Store connection. - If set to true the store connection is disposed when the entity connection is disposed, otherwise the caller must dispose the store connection. - - - - Returns the associated with this - - . - - - The associated with this - - . - - The inline connection string contains an invalid Metadata keyword value. - - - Establishes a connection to the data source by calling the underlying data provider's Open method. - An error occurs when you open the connection, or the name of the underlying data provider is not known. - The inline connection string contains an invalid Metadata keyword value. - - - - Asynchronously establishes a connection to the data store by calling the Open method on the underlying data provider - - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Creates a new instance of an , with the - - set to this - - . - - - An object. - - The name of the underlying data provider is not known. - - - - Create a new command object that uses this connection object - - The command object. - - - Closes the connection to the database. - An error occurred when closing the connection. - - - Not supported. - Not supported. - When the method is called. - - - Begins a transaction by using the underlying provider. - - A new . The returned - - instance can later be associated with the - - to execute the command under that transaction. - - - The underlying provider is not known.-or-The call to - - was made on an - - that already has a current transaction.-or-The state of the - - is not - - . - - - - Begins a transaction with the specified isolation level by using the underlying provider. - - A new . The returned - - instance can later be associated with the - - to execute the command under that transaction. - - The isolation level of the transaction. - - The underlying provider is not known.-or-The call to - - was made on an - - that already has a current transaction.-or-The state of the - - is not - - . - - - - - Begins a database transaction - - The isolation level of the transaction - An object representing the new transaction - - - - Enlists this in the specified transaction. - - The transaction object to enlist into. - - The state of the is not - - . - - - - - Cleans up this connection object - - true to release both managed and unmanaged resources; false to release only unmanaged resources - - - - Gets or sets the connection string. - - The connection string required to establish the initial connection to a data source. The default value is an empty string. On a closed connection, the currently set value is returned. If no value has been set, an empty string is returned. - - An attempt was made to set the property after the - - ’s was initialized. The - - is initialized either when the instance is constructed through the overload that takes a - - as a parameter, or when the - - instance has been opened. - - An invalid connection string keyword has been provided or a required connection string keyword has not been provided. - - - Gets the number of seconds to wait when attempting to establish a connection before ending the attempt and generating an error. - The time (in seconds) to wait for a connection to open. The default value is the underlying data provider's default time-out. - The value set is less than 0. - - - Gets the name of the current database, or the database that will be used after a connection is opened. - The value of the Database property of the underlying data provider. - The underlying data provider is not known. - - - - Gets the state of the EntityConnection, which is set up to track the state of the underlying - database connection that is wrapped by this EntityConnection. - - - - Gets the name or network address of the data source to connect to. - The name of the data source. The default value is an empty string. - The underlying data provider is not known. - - - Gets a string that contains the version of the data source to which the client is connected. - The version of the data source that is contained in the provider connection string. - The connection is closed. - - - - Gets the provider factory associated with EntityConnection - - - - - Provides access to the underlying data source connection that is used by the - - object. - - - The for the data source connection. - - - - - Gets the current transaction that this connection is enlisted in. May be null. - - - - - Class representing a connection string builder for the entity client provider - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the supplied connection string. - - A provider-specific connection string to the underlying data source. - - - - Clears the contents of the instance. - - - - - Determines whether the contains a specific key. - - - Returns true if the contains an element that has the specified key; otherwise, false. - - - The key to locate in the . - - - - - Retrieves a value corresponding to the supplied key from this - - . - - Returns true if keyword was found in the connection string; otherwise, false. - The key of the item to retrieve. - The value corresponding to keyword. - keyword contains a null value (Nothing in Visual Basic). - - - - Removes the entry with the specified key from the - - instance. - - Returns true if the key existed in the connection string and was removed; false if the key did not exist. - - The key of the keyword/value pair to be removed from the connection string in this - - . - - keyword is null (Nothing in Visual Basic) - - - Gets or sets the name of a section as defined in a configuration file. - The name of a section in a configuration file. - - - Gets or sets the name of the underlying .NET Framework data provider in the connection string. - The invariant name of the underlying .NET Framework data provider. - - - Gets or sets the metadata locations in the connection string. - Gets or sets the metadata locations in the connection string. - - - Gets or sets the inner, provider-specific connection string. - The inner, provider-specific connection string. - - - - Gets a value that indicates whether the - - has a fixed size. - - - Returns true in every case, because the - - supplies a fixed-size collection of keyword/value pairs. - - - - - Gets an that contains the keys in the - - . - - - An that contains the keys in the - - . - - - - Gets or sets the value associated with the specified key. In C#, this property is the indexer. - The value associated with the specified key. - The key of the item to get or set. - keyword is a null reference (Nothing in Visual Basic). - Tried to add a key that does not exist in the available keys. - Invalid value in the connection string (specifically, a Boolean or numeric value was expected but not supplied). - - - - A data reader class for the entity client provider - - - - - Closes the object. - - - - - Releases the resources consumed by this and calls - - . - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the value of the specified column as a Boolean. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a byte. - The value of the specified column. - The zero-based column ordinal. - - - Reads a stream of bytes from the specified column, starting at location indicated by dataIndex , into the buffer, starting at the location indicated by bufferIndex . - The actual number of bytes read. - The zero-based column ordinal. - The index within the row from which to begin the read operation. - The buffer into which to copy the data. - The index with the buffer to which the data will be copied. - The maximum number of characters to read. - - - Gets the value of the specified column as a single character. - The value of the specified column. - The zero-based column ordinal. - - - Reads a stream of characters from the specified column, starting at location indicated by dataIndex , into the buffer, starting at the location indicated by bufferIndex . - The actual number of characters read. - The zero-based column ordinal. - The index within the row from which to begin the read operation. - The buffer into which to copy the data. - The index with the buffer to which the data will be copied. - The maximum number of characters to read. - - - Gets the name of the data type of the specified column. - The name of the data type. - The zero-based column ordinal. - - - - Gets the value of the specified column as a object. - - The value of the specified column. - The zero-based column ordinal. - - - - Returns a object for the requested column ordinal that can be overridden with a provider-specific implementation. - - A data reader. - The zero-based column ordinal. - - - - Gets the value of the specified column as a object. - - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a double-precision floating point number. - The value of the specified column. - The zero-based column ordinal. - - - Gets the data type of the specified column. - The data type of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a single-precision floating point number. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a globally-unique identifier (GUID). - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 16-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 32-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 64-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the name of the column, given the zero-based column ordinal. - The name of the specified column. - The zero-based column ordinal. - - - Gets the column ordinal given the name of the column. - The zero-based column ordinal. - The name of the column. - The name specified is not a valid column name. - - - Returns the provider-specific field type of the specified column. - - The object that describes the data type of the specified column. - - The zero-based column ordinal. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - Gets all provider-specific attribute columns in the collection for the current row. - - The number of instances of in the array. - - - An array of into which to copy the attribute columns. - - - - - Returns a that describes the column metadata of the - - . - - - A that describes the column metadata. - - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - Populates an array of objects with the column values of the current row. - - The number of instances of in the array. - - - An array of into which to copy the attribute columns. - - - - Gets a value that indicates whether the column contains nonexistent or missing values. - - true if the specified column is equivalent to ; otherwise, false. - - The zero-based column ordinal. - - - Advances the reader to the next result when reading the results of a batch of statements. - true if there are more result sets; otherwise, false. - - - - Asynchronously moves the reader to the next result set when reading a batch of statements - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if there are more result sets; false otherwise. - - - - Advances the reader to the next record in a result set. - true if there are more rows; otherwise, false. - - - - Asynchronously moves the reader to the next row of the current result set - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if there are more rows; false otherwise. - - - - - Returns an that can be used to iterate through the rows in the data reader. - - - An that can be used to iterate through the rows in the data reader. - - - - - Returns a nested . - - The nested data record. - The number of the DbDataRecord to return. - - - - Returns nested readers as objects. - - - The nested readers as objects. - - The ordinal of the column. - - - Gets a value indicating the depth of nesting for the current row. - The depth of nesting for the current row. - - - Gets the number of columns in the current row. - The number of columns in the current row. - - - - Gets a value that indicates whether this contains one or more rows. - - - true if the contains one or more rows; otherwise, false. - - - - - Gets a value indicating whether the is closed. - - - true if the is closed; otherwise, false. - - - - Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. - The number of rows changed, inserted, or deleted. Returns -1 for SELECT statements; 0 if no rows were affected or the statement failed. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The name of the column. - - - - Gets the number of fields in the that are not hidden. - - The number of fields that are not hidden. - - - - Gets for this - - . - - The information of a data record. - - - - Class representing a parameter used in EntityCommand - - - - - Initializes a new instance of the class using the default values. - - - - - Initializes a new instance of the class using the specified parameter name and data type. - - The name of the parameter. - - One of the values. - - - - - Initializes a new instance of the class using the specified parameter name, data type and size. - - The name of the parameter. - - One of the values. - - The size of the parameter. - - - - Initializes a new instance of the class using the specified properties. - - The name of the parameter. - - One of the values. - - The size of the parameter. - The name of the source column. - - - - Initializes a new instance of the class using the specified properties. - - The name of the parameter. - - One of the values. - - The size of the parameter. - - One of the values. - - true to indicate that the parameter accepts null values; otherwise, false. - The number of digits used to represent the value. - The number of decimal places to which value is resolved. - The name of the source column. - - One of the values. - - The value of the parameter. - - - - Resets the type associated with the . - - - - Returns a string representation of the parameter. - A string representation of the parameter. - - - Gets or sets the name of the entity parameter. - The name of the entity parameter. - - - - Gets or sets the of the parameter. - - - One of the values. - - - - Gets or sets the type of the parameter, expressed as an EdmType. - The type of the parameter, expressed as an EdmType. - - - - Gets or sets the number of digits used to represent the - - property. - - The number of digits used to represent the value. - - - - Gets or sets the number of decimal places to which - - is resolved. - - The number of decimal places to which value is resolved. - - - Gets or sets the value of the parameter. - The value of the parameter. - - - Gets or sets the direction of the parameter. - - One of the values. - - - - Gets or sets a value that indicates whether the parameter accepts null values. - true if null values are accepted; otherwise, false. - - - Gets or sets the maximum size of the data within the column. - The maximum size of the data within the column. - - - - Gets or sets the name of the source column mapped to the and used for loading or returning the - - . - - The name of the source column mapped to the dataset and used for loading or returning the value. - - - Gets or sets a value that indicates whether source column is nullable. - true if source column is nullable; otherwise, false. - - - - Gets or sets the to use when loading the value. - - - One of the values. - - - - - Class representing a provider factory for the entity client provider - - - - - A singleton object for the entity client provider factory object. - This remains a public field (not property) because DbProviderFactory expects a field. - - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - This method is currently not supported. - - - - Returns the requested class. - - - A new instance of . The supported types are - - , - - , and - - . Returns null (or Nothing in Visual Basic) for every other type. - - - The to return. - - - - - Class representing a transaction for the conceptual layer - - - - Commits the underlying transaction. - - - Rolls back the underlying transaction. - - - - Cleans up this transaction object - - true to release both managed and unmanaged resources; false to release only unmanaged resources - - - - Gets for this - - . - - - An to the underlying data source. - - - - - The connection object owning this transaction object - - - - - Gets the isolation level of this . - - - An enumeration value that represents the isolation level of the underlying transaction. - - - - - Gets the DbTransaction for the underlying provider transaction. - - - - - Represents a failure while trying to prepare or execute a CommandCompilation - This exception is intended to provide a common exception that people can catch to - hold provider exceptions (SqlException, OracleException) when using the EntityCommand - to execute statements. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The message that describes the error. - - - - Initializes a new instance of . - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents a failure while trying to prepare or execute a CommandExecution - This exception is intended to provide a common exception that people can catch to - hold provider exceptions (SqlException, OracleException) when using the EntityCommand - to execute statements. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The message that describes the error. - - - - Initializes a new instance of . - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - An identifier for an entity. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with an entity set name and a generic - - collection. - - - A that is the entity set name qualified by the entity container name. - - - A generic collection.Each key/value pair has a property name as the key and the value of that property as the value. There should be one pair for each property that is part of the - - . The order of the key/value pairs is not important, but each key property should be included. The property names are simple names that are not qualified with an entity type name or the schema name. - - - - - Initializes a new instance of the class with an entity set name and an - - collection of - - objects. - - - A that is the entity set name qualified by the entity container name. - - - An collection of - - objects with which to initialize the key. - - - - - Initializes a new instance of the class with an entity set name and specific entity key pair. - - - A that is the entity set name qualified by the entity container name. - - - A that is the name of the key. - - - An that is the key value. - - - - Gets the entity set for this entity key from the given metadata workspace. - - The for the entity key. - - The metadata workspace that contains the entity. - The entity set could not be located in the specified metadata workspace. - - - Returns a value that indicates whether this instance is equal to a specified object. - true if this instance and obj have equal values; otherwise, false. - - An to compare with this instance. - - - - - Returns a value that indicates whether this instance is equal to a specified - - . - - true if this instance and other have equal values; otherwise, false. - - An object to compare with this instance. - - - - - Serves as a hash function for the current object. - - is suitable for hashing algorithms and data structures such as a hash table. - - - A hash code for the current . - - - - - Compares two objects. - - true if the key1 and key2 values are equal; otherwise, false. - - A to compare. - - - A to compare. - - - - - Compares two objects. - - true if the key1 and key2 values are not equal; otherwise, false. - - A to compare. - - - A to compare. - - - - - Helper method that is used to deserialize an . - - Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. - - - - Helper method that is used to deserialize an . - - Describes the source and destination of a given serialized stream and provides an additional caller-defined context. - - - - Gets a singleton EntityKey by which a read-only entity is identified. - - - - - Gets a singleton EntityKey identifying an entity resulted from a failed TREAT. - - - - Gets or sets the name of the entity set. - - A value that is the name of the entity set for the entity to which the - - belongs. - - - - Gets or sets the name of the entity container. - - A value that is the name of the entity container for the entity to which the - - belongs. - - - - - Gets or sets the key values associated with this . - - - A of key values for this - - . - - - - - Gets a value that indicates whether the is temporary. - - - true if the is temporary; otherwise, false. - - - - - Information about a key that is part of an EntityKey. - A key member contains the key name and value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified entity key pair. - - The name of the key. - The key value. - - - Returns a string representation of the entity key. - A string representation of the entity key. - - - Gets or sets the name of the entity key. - The key name. - - - Gets or sets the value of the entity key. - The key value. - - - - Kind of collection (applied to Properties) - - - - - Property is not a Collection - - - - - Collection has Bag semantics( unordered and duplicates ok) - - - - - Collection has List semantics - (Order is deterministic and duplicates ok) - - - - - The concurrency mode for properties. - - - - - Default concurrency mode: the property is never validated - at write time - - - - - Fixed concurrency mode: the property is always validated at - write time - - - - - The pattern for Server Generated Properties. - - - - - Not a Server Generated Property. This is the default. - - - - - A value is generated on INSERT, and remains unchanged on update. - - - - - A value is generated on both INSERT and UPDATE. - - - - - Represents an eSQL Query compilation exception; - The class of exceptional conditions that may cause this exception to be raised are mainly: - 1) Syntax Errors: raised during query text parsing and when a given query does not conform to eSQL formal grammar; - 2) Semantic Errors: raised when semantic rules of eSQL language are not met such as metadata or schema information - not accurate or not present, type validation errors, scoping rule violations, user of undefined variables, etc. - For more information, see eSQL Language Spec. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of the class that uses a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - Gets a description of the error. - A string that describes the error. - - - Gets the approximate context where the error occurred, if available. - A string that describes the approximate context where the error occurred, if available. - - - Gets the approximate line number where the error occurred. - An integer that describes the line number where the error occurred. - - - Gets the approximate column number where the error occurred. - An integer that describes the column number where the error occurred. - - - - Thrown to indicate that a command tree is invalid. - - - - - Initializes a new instance of the class with a default message. - - - - - Initializes a new instance of the class with the specified message. - - The exception message. - - - - Initializes a new instance of the class with the specified message and inner exception. - - The exception message. - - The exception that is the cause of this . - - - - - Mapping exception class. Note that this class has state - so if you change even - its internals, it can be a breaking change - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Class for representing a collection of mapping items in Edm space. - - - - - Base class for the type created at design time to store the generated views. - - - - Returns the key/value pair at the specified index, which contains the view and its key. - The key/value pair at index , which contains the view and its key. - The index of the view. - - - - Gets or sets the name of . - - The container name. - - - - Gets or sets in storage schema. - - Container name. - - - Hash value. - Hash value. - - - Hash value of views. - Hash value. - - - Gets or sets view count. - View count. - - - - Attribute to mark the assemblies that contain the generated views type. - - - - - Initializes a new instance of the class. - - The view type. - - - Gets the T:System.Type of the view. - The T:System.Type of the view. - - - - Represents a complex type mapping for a function import result. - - - - - Specifies a function import structural type mapping. - - - - - Gets the property mappings for the result type of a function import. - - - - - Initializes a new FunctionImportComplexTypeMapping instance. - - The return type. - The property mappings for the result type of a function import. - - - - Ges the return type. - - - - - Represents a function import entity type mapping. - - - - - Initializes a new FunctionImportEntityTypeMapping instance. - - The entity types at the base of - the type hierarchies to be mapped. - The entity types to be mapped. - The property mappings for the result types of a function import. - The mapping conditions. - - - - Gets the entity types being mapped. - - - - - Gets the entity types at the base of the hierarchies being mapped. - - - - - Gets the mapping conditions. - - - - - Represents a mapping condition for a function import result. - - - - - - - - Gets the name of the column used to evaluate the condition. - - - - - Represents a mapping condition for the result of a function import - evaluated by checking null or not null. - - - - - Initializes a new FunctionImportEntityTypeMappingConditionIsNull instance. - - The name of the column used to evaluate the condition. - Flag that indicates whether a null or not null check is performed. - - - - Gets a flag that indicates whether a null or not null check is performed. - - - - - Represents a mapping condition for the result of a function import, - evaluated by comparison with a specified value. - - - - - Initializes a new FunctionImportEntityTypeMappingConditionValue instance. - - The name of the column used to evaluate the condition. - The value to compare with. - - - - Gets the value used for comparison. - - - - - Represents a mapping from a model function import to a store composable or non-composable function. - - - - - Gets model function (or source of the mapping) - - - - - Gets store function (or target of the mapping) - - - - - Represents a mapping from a model function import to a store composable function. - - - - - Initializes a new FunctionImportMappingComposable instance. - - The model function import. - The store composable function. - The result mapping for the function import. - The parent container mapping. - - - - Gets the result mapping for the function import. - - - - - Represents a mapping from a model function import to a store non-composable function. - - - - - Initializes a new FunctionImportMappingNonComposable instance. - - The model function import. - The store non-composable function. - The function import result mappings. - The parent container mapping. - - - - Gets the function import result mappings. - - - - - Base class for mapping a property of a function import return type. - - - - - Maps a function import return type property to a table column. - - - - - Initializes a new FunctionImportReturnTypeScalarPropertyMapping instance. - - The mapped property name. - The mapped column name. - - - - Gets the mapped property name. - - - - - Gets the mapped column name. - - - - - Represents the base item class for all the mapping metadata - - - - - Represents the base item class for all the metadata - - - - - Describes modification function mappings for an association set. - - - - - Initalizes a new AssociationSetModificationFunctionMapping instance. - - An association set. - A delete function mapping. - An insert function mapping. - - - - - - - Gets the association set. - - - - - Gets the delete function mapping. - - - - - Gets the insert function mapping. - - - - - Describes modification function mappings for an entity type within an entity set. - - - - - Initializes a new EntityTypeModificationFunctionMapping instance. - - An entity type. - A delete function mapping. - An insert function mapping. - An updated function mapping. - - - - - - - Gets the entity type. - - - - - Gets the delete function mapping. - - - - - Gets the insert function mapping. - - - - - Gets hte update function mapping. - - - - - Describes the location of a member within an entity or association type structure. - - - - - Initializes a new ModificationFunctionMemberPath instance. - - Gets the members in the path from the leaf (the member being bound) - to the root of the structure. - Gets the association set to which we are navigating - via this member. If the value is null, this is not a navigation member path. - - - - - - - Gets the members in the path from the leaf (the member being bound) - to the Root of the structure. - - - - - Gets the association set to which we are navigating via this member. If the value - is null, this is not a navigation member path. - - - - - Binds a modification function parameter to a member of the entity or association being modified. - - - - - Initializes a new ModificationFunctionParameterBinding instance. - - The parameter taking the value. - The path to the entity or association member defining the value. - A flag indicating whether the current or original member value is being bound. - - - - - - - Gets the parameter taking the value. - - - - - Gets the path to the entity or association member defining the value. - - - - - Gets a flag indicating whether the current or original - member value is being bound. - - - - - Defines a binding from a named result set column to a member taking the value. - - - - - Initializes a new ModificationFunctionResultBinding instance. - - The name of the column to bind from the function result set. - The property to be set on the entity. - - - - - - - Gets the name of the column to bind from the function result set. - - - - - Gets the property to be set on the entity. - - - - - Represents the Mapping metadata for an AssociationSet in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for the AssociationSetMapping elements in the - above example. And it is possible to access the AssociationTypeMap underneath it. - There will be only one TypeMap under AssociationSetMap. - - - - - Represents the Mapping metadata for an Extent in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for all the extent map elements in the - above example namely EntitySetMapping, AssociationSetMapping and CompositionSetMapping. - The EntitySetBaseMapping elements that are children of the EntityContainerMapping element - can be accessed through the properties on this type. - - - - - Gets the parent container mapping. - - - - - Gets or sets the query view associated with this mapping. - - - - - Initializes a new AssociationSetMapping instance. - - The association set to be mapped. - The store entity set to be mapped. - The parent container mapping. - - - - Adds a property mapping condition. - - The condition to add. - - - - Removes a property mapping condition. - - The property mapping condition to remove. - - - - Gets the association set that is mapped. - - - - - Gets the contained association type mapping. - - - - - Gets or sets the corresponding function mapping. Can be null. - - - - - Gets the store entity set that is mapped. - - - - - Gets or sets the source end property mapping. - - - - - Gets or sets the target end property mapping. - - - - - Gets the property mapping conditions. - - - - - Represents the Mapping metadata for an association type map in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ComplexTypeMap - --ScalarPropertyMap - --ScalarProperyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all association Type map elements in the - above example. Users can access the table mapping fragments under the - association type mapping through this class. - - - - - Represents the Mapping metadata for a type map in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all the Type map elements in the - above example namely EntityTypeMapping, AssociationTypeMapping and CompositionTypeMapping. - The TypeMapping elements contain TableMappingFragments which in turn contain the property maps. - - - - - Creates an AssociationTypeMapping instance. - - The AssociationSetMapping that - the contains this AssociationTypeMapping. - - - - Gets the AssociationSetMapping that contains this AssociationTypeMapping. - - - - - Gets the association type being mapped. - - - - - Gets the single mapping fragment. - - - - - Mapping metadata for Complex properties. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the complex property map elements in the - above example. ComplexPropertyMaps contain ComplexTypeMaps which define mapping based - on the type of the ComplexProperty in case of inheritance. - - - - - Construct a new Complex Property mapping object - - The MemberMetadata object that represents this Complex member - - - - Adds a type mapping corresponding to a nested complex type. - - The complex type mapping to be added. - - - - Removes a type mapping corresponding to a nested complex type. - - The complex type mapping to be removed. - - - - Gets a read only collections of type mappings corresponding to the - nested complex types. - - - - - Mapping metadata for Complex Types. - - - - - Creates a ComplexTypeMapping instance. - - The ComplexType being mapped. - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Gets the ComplexType being mapped. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Mapping metadata for End property of an association. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the end property map elements in the - above example. EndPropertyMaps provide mapping for each end of the association. - - - - - Creates an association end property mapping. - - An AssociationEndMember that specifies - the association end to be mapped. - - - - Adds a child property-column mapping. - - A ScalarPropertyMapping that specifies - the property-column mapping to be added. - - - - Removes a child property-column mapping. - - A ScalarPropertyMapping that specifies - the property-column mapping to be removed. - - - - Gets an AssociationEndMember that specifies the mapped association end. - - - - - Gets a ReadOnlyCollection of ScalarPropertyMapping that specifies the children - of this association end property mapping. - - - - - Represents the Mapping metadata for the EntityContainer map in CS space. - Only one EntityContainerMapping element is allowed in the MSL file for CS mapping. - - - For Example if conceptually you could represent the CS MSL file as following - ---Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --AssociationSetMapping - The type represents the metadata for EntityContainerMapping element in the above example. - The EntitySetBaseMapping elements that are children of the EntityContainerMapping element - can be accessed through the properties on this type. - - - We currently assume that an Entity Container on the C side - is mapped to a single Entity Container in the S - space. - - - - - Initializes a new EntityContainerMapping instance. - - The conceptual entity container to be mapped. - The store entity container to be mapped. - The parent mapping item collection. - Flag indicating whether to generate update views. - - - - Adds an entity set mapping. - - The entity set mapping to add. - - - - Removes an association set mapping. - - The association set mapping to remove. - - - - Adds an association set mapping. - - The association set mapping to add. - - - - Removes an association set mapping. - - The association set mapping to remove. - - - - Adds a function import mapping. - - The function import mapping to add. - - - - Removes a function import mapping. - - The function import mapping to remove. - - - - Gets the parent mapping item collection. - - - - - Gets the type kind for this item - - - - - Gets the conceptual entity container. - - - - - Gets the store entity container. - - - - - Gets the entity set mappings. - - - - - Gets the association set mappings. - - - - - Gets the function import mappings. - - - - - Gets a flag that indicates whether to generate the update views or not. - - - - - Represents the Mapping metadata for an EnitytSet in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for the EntitySetMapping elements in the - above example. And it is possible to access the EntityTypeMaps underneath it. - - - - - Initialiazes a new EntitySetMapping instance. - - The entity set to be mapped. - The parent container mapping. - - - - Adds a type mapping. - - The type mapping to add. - - - - Removes a type mapping. - - The type mapping to remove. - - - - Adds a function mapping. - - The function mapping to add. - - - - Removes a function mapping. - - The function mapping to remove. - - - - Gets the entity set that is mapped. - - - - - Gets the contained entity type mappings. - - - - - Gets the corresponding function mappings. - - - - - Mapping metadata for Entity type. - If an EntitySet represents entities of more than one type, than we will have - more than one EntityTypeMapping for an EntitySet( For ex : if - PersonSet Entity extent represents entities of types Person and Customer, - than we will have two EntityType Mappings under mapping for PersonSet). - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarProperyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all entity Type map elements in the - above example. Users can access the table mapping fragments under the - entity type mapping through this class. - - - - - Creates an EntityTypeMapping instance. - - The EntitySetMapping that contains this EntityTypeMapping. - - - - Adds an entity type to the mapping. - - The EntityType to be added. - - - - Removes an entity type from the mapping. - - The EntityType to be removed. - - - - Adds an entity type hierarchy to the mapping. - The hierarchy is represented by the specified root entity type. - - The root EntityType of the hierarchy to be added. - - - - Removes an entity type hierarchy from the mapping. - The hierarchy is represented by the specified root entity type. - - The root EntityType of the hierarchy to be removed. - - - - Adds a mapping fragment. - - The mapping fragment to be added. - - - - Removes a mapping fragment. - - The mapping fragment to be removed. - - - - Gets the EntitySetMapping that contains this EntityTypeMapping. - - - - - Gets the single EntityType being mapped. Throws exception in case of hierarchy type mapping. - - - - - Gets a flag that indicates whether this is a type hierarchy mapping. - - - - - Gets a read-only collection of mapping fragments. - - - - - Gets the mapped entity types. - - - - - Gets the mapped base types for a hierarchy mapping. - - - - - Represents the metadata for mapping fragment. - A set of mapping fragments makes up the Set mappings( EntitySet, AssociationSet or CompositionSet ) - Each MappingFragment provides mapping for those properties of a type that map to a single table. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the mapping fragment elements in the - above example. Users can access all the top level constructs of - MappingFragment element like EntityKey map, Property Maps, Discriminator - property through this mapping fragment class. - - - - - Creates a MappingFragment instance. - - The EntitySet corresponding to the table of view being mapped. - The TypeMapping that contains this MappingFragment. - Flag that indicates whether to include 'DISTINCT' when generating queries. - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Gets the EntitySet corresponding to the table or view being mapped. - - - - - Gets the TypeMapping that contains this MappingFragment. - - - - - Gets a flag that indicates whether to include 'DISTINCT' when generating queries. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Represents a collection of items in Storage Mapping (CS Mapping) space. - - - - Initializes a new instance of the class using the specified , and a collection of string indicating the metadata file paths. - The that this mapping is to use. - The that this mapping is to use. - The file paths that this mapping is to use. - - - Initializes a new instance of the class using the specified , and XML readers. - The that this mapping is to use. - The that this mapping is to use. - The XML readers that this mapping is to use. - - - - Computes a hash value for the container mapping specified by the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - A string that specifies the computed hash value. - - - - Computes a hash value for the single container mapping in the collection. - - A string that specifies the computed hash value. - - - - Creates a dictionary of (extent, generated view) for a container mapping specified by - the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - A list that accumulates potential errors. - - A dictionary of (, ) that specifies the generated views. - - - - - Creates a dictionary of (extent, generated view) for the single container mapping - in the collection. - - A list that accumulates potential errors. - - A dictionary of (, ) that specifies the generated views. - - - - - Factory method that creates a . - - - The edm metadata collection to map. Must not be null. - - - The store metadata collection to map. Must not be null. - - - MSL artifacts to load. Must not be null. - - - Paths to MSL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - - Gets or sets a for creating instances - that are used to retrieve pre-generated mapping views. - - - - Gets the version of this represents. - The version of this represents. - - - - Describes modification function binding for change processing of entities or associations. - - - - - Initializes a new ModificationFunctionMapping instance. - - The entity or association set. - The entity or association type. - The metadata of function to which we should bind. - Bindings for function parameters. - The output parameter producing number of rows affected. - Bindings for the results of function evaluation - - - - - - - Gets output parameter producing number of rows affected. May be null. - - - - - Gets Metadata of function to which we should bind. - - - - - Gets bindings for function parameters. - - - - - Gets bindings for the results of function evaluation. - - - - - Mapping metadata for scalar properties. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the scalar property map elements in the - above example. - - - - - Creates a mapping between a simple property and a column. - - The property to be mapped. - The column to be mapped. - - - - Gets an EdmProperty that specifies the mapped column. - - - - - metadata exception class - - - - - Initializes a new instance of the class with a default message. - - - - - Initializes a new instance of the class with the specified message. - - The exception message. - - - - Initializes a new instance of the class with the specified message and inner exception. - - The exception message. - - The exception that is the cause of this . - - - - - DataSpace - - - - - OSpace indicates the item in the clr space - - - - - CSpace indicates the item in the CSpace - edm primitive types + - types defined in csdl - - - - - SSpace indicates the item in the SSpace - - - - - Mapping between OSpace and CSpace - - - - - Mapping between CSpace and SSpace - - - - - This class encapsulates the error information for a generic EDM error. - - - - Gets the error message. - The error message. - - - - Class for representing a collection of items in Edm space. - - - - - Initializes a new instance of the class by using the collection of the XMLReader objects where the conceptual schema definition language (CSDL) files exist. - - The collection of the XMLReader objects where the conceptual schema definition language (CSDL) files exist. - - - Initializes a new instance of the class. - The entity data model. - - - - Initializes a new instance of the class by using the paths where the conceptual schema definition language (CSDL) files exist. - - The paths where the conceptual schema definition language (CSDL) files exist. - - - - Returns a collection of the objects. - - - A ReadOnlyCollection object that represents a collection of the - - objects. - - - - - Returns a collection of the objects with the specified conceptual model version. - - - A ReadOnlyCollection object that represents a collection of the - - objects. - - The conceptual model version. - - - - Factory method that creates an . - - - CSDL artifacts to load. Must not be null. - - - Paths to CSDL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - Gets the conceptual model version for this collection. - The conceptual model version for this collection. - - - - This class encapsulates the error information for a schema error that was encountered. - - - - - Constructs a EdmSchemaError object. - - The explanation of the error. - The code associated with this error. - The severity of the error. - - - Returns the error message. - The error message. - - - Gets the error code. - The error code. - - - Gets the severity level of the error. - - One of the values. The default is - - . - - - - Gets the line number where the error occurred. - The line number where the error occurred. - - - Gets the column where the error occurred. - The column where the error occurred. - - - Gets the location of the schema that contains the error. This string also includes the name of the schema at the end. - The location of the schema that contains the error. - - - Gets the name of the schema that contains the error. - The name of the schema that contains the error. - - - Gets a string representation of the stack trace at the time the error occurred. - A string representation of the stack trace at the time the error occurred. - - - - Defines the different severities of errors that can occur when validating an Entity Framework model. - - - - - A warning that does not prevent the model from being used. - - - - - An error that prevents the model from being used. - - - - - Represents a end of a Association Type - - - - - Initializes a new instance of the RelationshipEndMember class - - - - - Represents the edm member class - - - - Returns the name of this member. - The name of this member. - - - - Gets or sets the name of the property. Setting this from a store-space model-convention will change the name of the database - column for this property. In the conceptual model, this should align with the corresponding property from the entity class - and should not be changed. - - The name of this member. - - - Gets the type on which this member is declared. - - A object that represents the type on which this member is declared. - - - - - Gets the instance of the class that contains both the type of the member and facets for the type. - - - A object that contains both the type of the member and facets for the type. - - - - - Tells whether this member is marked as a Computed member in the EDM definition - - - - - Tells whether this member's Store generated pattern is marked as Identity in the EDM definition - - - - Access the EntityType of the EndMember in an association. - The EntityType of the EndMember in an association. - - - Gets the operational behavior of this relationship end member. - - One of the values. The default is - - . - - - - Gets the multiplicity of this relationship end member. - - One of the values. - - - - - Creates a read-only AssociationEndMember instance. - - The name of the association end member. - The reference type for the end. - The multiplicity of the end. - Flag that indicates the delete behavior of the end. - Metadata properties to be associated with the instance. - The newly created AssociationEndMember instance. - The specified name is null or empty. - The specified reference type is null. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Class for representing an Association set - - - - - Class for representing a relationship set - - - - - Class for representing a entity set - - - - Returns the name of the current entity or relationship set. - The name of the current entity or relationship set. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets escaped provider specific SQL describing this entity set. - - - - - Gets or sets the name of the current entity or relationship set. - If this property is changed from store-space, the mapping layer must also be updated to reflect the new name. - To change the table name of a store space use the Table property. - - The name of the current entity or relationship set. - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - Gets the entity container of the current entity or relationship set. - - An object that represents the entity container of the current entity or relationship set. - - Thrown if the setter is called when the EntitySetBase instance or the EntityContainer passed into the setter is in ReadOnly state - - - - Gets the entity type of this . - - - An object that represents the entity type of this - - . - - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - - Gets or sets the database table name for this entity set. - - if value passed into setter is null - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - - Gets or sets the database schema for this entity set. - - if value passed into setter is null - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - - Gets the relationship type of this . - - - An object that represents the relationship type of this - - . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Creates a read-only AssociationSet instance from the specified parameters. - - The name of the association set. - The association type of the elements in the association set. - The entity set for the source association set end. - The entity set for the target association set end. - Metadata properties to be associated with the instance. - The newly created AssociationSet instance. - The specified name is null or empty. - The specified association type is null. - - The entity type of one of the ends of the specified - association type does not match the entity type of the corresponding entity set end. - - - - - Gets the association related to this . - - - An object that represents the association related to this - - . - - - - - Gets the ends of this . - - - A collection of type that contains the ends of this - - . - - - - - Gets the built-in type kind for this . - - - A object that represents built-in type kind for this - - . - - - - - Class representing a AssociationSet End - - - - - Returns the name of the End role for this . - - - The name of the End role for this . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the parent association set of this . - - - An object that represents the parent association set of this - - . - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - - Gets the End member that this object corresponds to. - - - An object that represents the End member that this - - object corresponds to. - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - - Gets the name of the End for this . - - - The name of the End for this . - - - - - Gets the name of the End role for this . - - - The name of the End role for this . - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - Gets the entity set referenced by this End role. - - An object that represents the entity set referred by this End role. - - - - - Describes an association/relationship between two entities in the conceptual model or a foreign key relationship - between two tables in the store model. In the conceptual model the dependant class may or may not define a foreign key property. - If a foreign key is defined the property will be true and the property will contain details of the foreign keys - - - - - Represents the Relationship type - - - - - Represents the Entity Type - - - - - Represents the Structural Type - - - - - Base EdmType class for all the model types - - - - Returns the full name of this type. - The full name of this type. - - - - Returns an instance of the whose element type is this type. - - - The object whose element type is this type. - - - - Gets the name of this type. - The name of this type. - - - Gets the namespace of this type. - The namespace of this type. - - - Gets a value indicating whether this type is abstract or not. - true if this type is abstract; otherwise, false. - Thrown if the setter is called on instance that is in ReadOnly state - - - Gets the base type of this type. - The base type of this type. - Thrown if the setter is called on instance that is in ReadOnly state - Thrown if the value passed in for setter will create a loop in the inheritance chain - - - Gets the full name of this type. - The full name of this type. - - - - Adds a member to this type - - The member to add - - - Removes a member from this type. - The member to remove. - - - Gets the list of members on this type. - - A collection of type that contains a set of members on this type. - - - - - Adds the specified property to the list of keys for the current entity. - - The property to add. - if member argument is null - Thrown if the EntityType has a base type of another EntityTypeBase. In this case KeyMembers should be added to the base type - If the EntityType instance is in ReadOnly state - - - Removes the specified key member from the collection. - The key member to remove. - - - Gets the list of all the key members for the current entity or relationship type. - - A object that represents the list of key members for the current entity or relationship type. - - - - Gets the list of all the key properties for this entity type. - The list of all the key properties for this entity type. - - - Gets the list of ends for this relationship type. - - A collection of type that contains the list of Ends for this relationship type. - - - - - Creates a read-only AssociationType instance from the specified parameters. - - The name of the association type. - The namespace of the association type. - Flag that indicates a foreign key (FK) relationship. - The data space for the association type. - The source association end member. - The target association end member. - A referential constraint. - Metadata properties to be associated with the instance. - The newly created AssociationType instance. - The specified name is null or empty. - The specified namespace is null or empty. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of ends for this . - - - A collection of type that contains the list of ends for this - - . - - - - Gets or sets the referential constraint. - The referential constraint. - - - - Gets the list of constraints for this . - - - A collection of type that contains the list of constraints for this - - . - - - - Gets the Boolean property value that specifies whether the column is a foreign key. - A Boolean value that specifies whether the column is a foreign key. If true, the column is a foreign key. If false (default), the column is not a foreign key. - - - - Represents the structure of an . In the conceptual-model this represents the shape and structure - of an entity. In the store model this represents the structure of a table. To change the Schema and Table name use EntitySet. - - - - - Returns a object that references this - - . - - - A object that references this - - . - - - - - The factory method for constructing the EntityType object. - - The name of the entity type. - The namespace of the entity type. - The dataspace in which the EntityType belongs to. - Name of key members for the type. - Members of the entity type (primitive and navigation properties). - Metadata properties to be associated with the instance. - The EntityType object. - Thrown if either name, namespace arguments are null. - The newly created EntityType will be read only. - - - - The factory method for constructing the EntityType object. - - The name of the entity type. - The namespace of the entity type. - The dataspace in which the EntityType belongs to. - The base type. - Name of key members for the type. - Members of the entity type (primitive and navigation properties). - Metadata properties to be associated with the instance. - The EntityType object. - Thrown if either name, namespace arguments are null. - The newly created EntityType will be read only. - - - - Adds the specified navigation property to the members of this type. - The navigation property is added regardless of the read-only flag. - - The navigation property to be added. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - Gets the declared navigation properties associated with the entity type. - The declared navigation properties associated with the entity type. - - - - Gets the navigation properties of this . - - - A collection of type that contains the list of navigation properties on this - - . - - - - Gets the list of declared properties for the entity type. - The declared properties for the entity type. - - - Gets the collection of declared members for the entity type. - The collection of declared members for the entity type. - - - - Gets the list of properties for this . - - - A collection of type that contains the list of properties for this - - . - - - - - Represents an enumeration type. - - - - - Class representing a simple type - - - - - Creates a read-only EnumType instance. - - The name of the enumeration type. - The namespace of the enumeration type. - The underlying type of the enumeration type. - Indicates whether the enumeration type can be treated as a bit field; that is, a set of flags. - The members of the enumeration type. - Metadata properties to be associated with the enumeration type. - The newly created EnumType instance. - underlyingType is null. - - name is null or empty. - -or- - namespaceName is null or empty. - -or- - underlyingType is not a supported underlying type. - -or- - The specified members do not have unique names. - -or- - The value of a specified member is not in the range of the underlying type. - - - - Returns the kind of the type - - - Gets a collection of enumeration members for this enumeration type. - - - Gets a value indicating whether the enum type is defined as flags (i.e. can be treated as a bit field) - - - Gets the underlying type for this enumeration type. - - - - Specifies the kinds of item attributes in the conceptual model. - - - - - An enumeration member indicating that an item attribute is System - - - - - An enumeration member indicating that an item attribute is Extended. - - - - - List of all the built in types - - - - - Association Type Kind - - - - - AssociationSetEnd Kind - - - - - AssociationSet Kind - - - - - Association Type Kind - - - - - EntitySetBase Kind - - - - - Entity Type Base Kind - - - - - Collection Type Kind - - - - - Collection Kind - - - - - Complex Type Kind - - - - - Documentation Kind - - - - - DeleteAction Type Kind - - - - - Edm Type Kind - - - - - Entity Container Kind - - - - - Entity Set Kind - - - - - Entity Type Kind - - - - - Enumeration Type Kind - - - - - Enum Member Kind - - - - - Facet Kind - - - - - EdmFunction Kind - - - - - Function Parameter Kind - - - - - Global Item Type Kind - - - - - Metadata Property Kind - - - - - Navigation Property Kind - - - - - Metadata Item Type Kind - - - - - EdmMember Type Kind - - - - - Parameter Mode Kind - - - - - Primitive Type Kind - - - - - Primitive Type Kind Kind - - - - - EdmProperty Type Kind - - - - - ProviderManifest Type Kind - - - - - Referential Constraint Type Kind - - - - - Ref Type Kind - - - - - RelationshipEnd Type Kind - - - - - Relationship Multiplicity Type Kind - - - - - Relationship Set Type Kind - - - - - Relationship Type - - - - - Row Type Kind - - - - - Simple Type Kind - - - - - Structural Type Kind - - - - - Type Information Kind - - - - - Represents the Edm Collection Type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the instance of the class that contains the type of the element that this current - - object includes and facets for that type. - - - The instance of the class that contains the type of the element that this current - - object includes and facets for that type. - - - - - Represents the Edm Complex Type. This can be used to configure complex types - from a conceptual-space model-based convention. Complex types are not supported in the store model. - - - - - Creates a new instance of the type. - - The name of the complex type. - The namespace of the complex type. - The dataspace to which the complex type belongs to. - Members of the complex type. - Metadata properties to be associated with the instance. - Thrown if either name, namespace or members argument is null. - - A new instance a the type. - - - The newly created will be read only. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of properties for this . - - - A collection of type that contains the list of properties for this - - . - - - - - Class representing the Documentation associated with an item - - - - - Initializes a new Documentation instance. - - A summary string. - A long description string. - - - - Returns the summary for this . - - - The summary for this . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the summary for this . - - - The summary for this . - - - - - Gets the long description for this . - - - The long description for this . - - - - - Gets a value indicating whether this object contains only a null or an empty - - and a - - . - - - true if this object contains only a null or an empty - - and a - - ; otherwise, false. - - - - - Class for representing a function - - - - - Adds a parameter to this function. - - The parameter to be added. - - - - The factory method for constructing the object. - - The name of the function. - The namespace of the function. - The namespace the function belongs to. - Additional function attributes and properties. - Metadata properties that will be added to the function. Can be null. - - A new, read-only instance of the type. - - - - - Gets the built-in type kind for this . - - - One of the enumeration values of the enumeration. - - - - Returns the full name (namespace plus name) of this type. - The full name of the type. - - - - Gets the parameters of this . - - - A collection of type that contains the parameters of this - - . - - - - - Gets the return parameter of this . - - - A object that represents the return parameter of this - - . - - - - - Gets the return parameters of this . - - - A collection of type that represents the return parameters of this - - . - - - - Gets the store function name attribute of this function. - - - Gets the parameter type semantics attribute of this function. - - - Gets the aggregate attribute of this function. - - - - Gets a value indicating whether built in attribute is present on this function. - - - true if the attribute is present; otherwise, false. - - - - - Gets a value indicating whether this instance is from the provider manifest. - - - true if this instance is from the provider manifest; otherwise, false. - - - - - Gets a value indicating whether the is a niladic function (a function that accepts no arguments). - - - true if the function is niladic; otherwise, false. - - - - Gets whether this instance is mapped to a function or to a stored procedure. - true if this instance is mapped to a function; false if this instance is mapped to a stored procedure. - - - Gets a query in the language that is used by the database management system or storage model. - - A string value in the syntax used by the database management system or storage model that contains the query or update statement of the - - . - - - - Gets or sets the schema associated with the function. - The schema associated with the function. - - - - In conceptual-space, EdmProperty represents a property on an Entity. - In store-space, EdmProperty represents a column in a table. - - - - Creates a new primitive property. - The newly created property. - The name of the property. - The type of the property. - - - Creates a new enum property. - The newly created property. - The name of the property. - The type of the property. - - - Creates a new complex property. - The newly created property. - The name of the property. - The type of the property. - - - - Creates a new instance of EdmProperty type. - - Name of the property. - - Property - - A new instance of EdmProperty type - - - Sets the metadata properties. - The metadata properties to be set. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets a value indicating whether this can have a null value. - - - Nullability in the conceptual model and store model is a simple indication of whether or not - the property is considered nullable. Nullability in the object model is more complex. - When using convention based mapping (as usually happens with POCO entities), a property in the - object model is considered nullable if and only if the underlying CLR type is nullable and - the property is not part of the primary key. - When using attribute based mapping (usually used with entities that derive from the EntityObject - base class), a property is considered nullable if the IsNullable flag is set to true in the - attribute. This flag can - be set to true even if the underlying type is not nullable, and can be set to false even if the - underlying type is nullable. The latter case happens as part of default code generation when - a non-nullable property in the conceptual model is mapped to a nullable CLR type such as a string. - In such a case, the Entity Framework treats the property as non-nullable even though the CLR would - allow null to be set. - There is no good reason to set a non-nullable CLR type as nullable in the object model and this - should not be done even though the attribute allows it. - - - true if this can have a null value; otherwise, false. - - Thrown if the setter is called when the EdmProperty instance is in ReadOnly state - - - Gets the type name of the property. - The type name of the property. - - - - Gets the default value for this . - - - The default value for this . - - Thrown if the setter is called when the EdmProperty instance is in ReadOnly state - - - Gets whether the property is a collection type property. - true if the property is a collection type property; otherwise, false. - - - Gets whether this property is a complex type property. - true if this property is a complex type property; otherwise, false. - - - Gets whether this property is a primitive type. - true if this property is a primitive type; otherwise, false. - - - Gets whether this property is an enumeration type property. - true if this property is an enumeration type property; otherwise, false. - - - Gets whether this property is an underlying primitive type. - true if this property is an underlying primitive type; otherwise, false. - - - Gets the complex type information for this property. - The complex type information for this property. - - - Gets the primitive type information for this property. - The primitive type information for this property. - - - Gets the enumeration type information for this property. - The enumeration type information for this property. - - - Gets the underlying primitive type information for this property. - The underlying primitive type information for this property. - - - Gets or sets the concurrency mode for the property. - The concurrency mode for the property. - - - Gets or sets the database generation method for the database column associated with this property - The store generated pattern for the property. - - - Gets or sets the kind of collection for this model. - The kind of collection for this model. - - - Gets whether the maximum length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the maximum length of the property. - The maximum length of the property. - - - Gets or sets whether this property uses the maximum length supported by the provider. - true if this property uses the maximum length supported by the provider; otherwise, false. - - - Gets whether the fixed length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets whether the length of this property is fixed. - true if the length of this property is fixed; otherwise, false. - - - Gets whether the Unicode facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets whether this property is a Unicode property. - true if this property is a Unicode property; otherwise, false. - - - Gets whether the precision facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the precision of this property. - The precision of this property. - - - Gets whether the scale facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the scale of this property. - The scale of this property. - - - - Class for representing an entity container - - - - - Creates an entity container with the specified name and data space. - - The entity container name. - The entity container data space. - Thrown if the name argument is null. - Thrown if the name argument is empty string. - - - - Returns an object by using the specified name for the entity set. - - - An object that represents the entity set that has the specified name. - - The name of the entity set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified name for the entity set. - - true if there is an entity set that matches the search criteria; otherwise, false. - The name of the entity set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, contains an object. If there is no entity set, this output parameter contains null. - - - - - Returns a object by using the specified name for the relationship set. - - - An object that represents the relationship set that has the specified name. - - The name of the relationship set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - - - Returns a object by using the specified name for the relationship set. - - true if there is a relationship set that matches the search criteria; otherwise, false. - The name of the relationship set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, contains a object. - - - - - Returns the name of this . - - - The name of this . - - - - - Adds the specified entity set to the container. - - The entity set to add. - - - Removes a specific entity set from the container. - The entity set to remove. - - - - Adds a function import to the container. - - The function import to add. - - - - The factory method for constructing the EntityContainer object. - - The name of the entity container to be created. - DataSpace in which this entity container belongs to. - Entity sets that will be included in the new container. Can be null. - Functions that will be included in the new container. Can be null. - Metadata properties to be associated with the instance. - The EntityContainer object. - Thrown if the name argument is null or empty string. - The newly created EntityContainer will be read only. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets a list of entity sets and association sets that this - - includes. - - - A object that contains a list of entity sets and association sets that this - - includes. - - - - Gets the association sets for this entity container. - The association sets for this entity container . - - - Gets the entity sets for this entity container. - The entity sets for this entity container . - - - - Specifies a collection of elements. Each function contains the details of a stored procedure that exists in the database or equivalent CommandText that is mapped to an entity and its properties. - - - A that contains - - elements. - - - - - Represents a particular usage of a structure defined in EntityType. In the conceptual-model, this represents a set that can - query and persist entities. In the store-model it represents a table. - From a store-space model-convention it can be used to configure - table name with property and table schema with property. - - - - - The factory method for constructing the EntitySet object. - - The name of the EntitySet. - The db schema. Can be null. - The db table. Can be null. - - The provider specific query that should be used to retrieve data for this EntitySet. Can be null. - - The entity type of the entities that this entity set type contains. - - Metadata properties that will be added to the newly created EntitySet. Can be null. - - The EntitySet object. - Thrown if the name argument is null or empty string. - The newly created EntitySet will be read only. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the entity type of this . - - - An object that represents the entity type of this - - . - - - - - Represents an enumeration member. - - - - Overriding System.Object.ToString to provide better String representation for this type. - The name of this enumeration member. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - Gets the kind of this type. - - - Gets the name of this enumeration member. - - - Gets the value of this enumeration member. - - - - Class for representing a Facet object - This object is Immutable (not just set to readonly) and - some parts of the system are depending on that behavior - - - - - Returns the name of this . - - - The name of this . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the description of this . - - - The object that represents the description of this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets the type of this . - - - The object that represents the type of this - - . - - - - - Gets the value of this . - - - The value of this . - - Thrown if the Facet instance is in ReadOnly state - - - Gets a value indicating whether the value of the facet is unbounded. - true if the value of the facet is unbounded; otherwise, false. - - - - Class for representing a FacetDescription object - - - - Returns the name of this facet. - The name of this facet. - - - Gets the name of this facet. - The name of this facet. - - - Gets the type of this facet. - - An object that represents the type of this facet. - - - - Gets the minimum value for this facet. - The minimum value for this facet. - - - Gets the maximum value for this facet. - The maximum value for this facet. - - - Gets the default value of a facet with this facet description. - The default value of a facet with this facet description. - - - Gets a value indicating whether the value of this facet is a constant. - true if this facet is a constant; otherwise, false. - - - Gets a value indicating whether this facet is a required facet. - true if this facet is a required facet; otherwise, false. - - - - Class representing a function parameter - - - - - Returns the name of this . - - - The name of this . - - - - - The factory method for constructing the object. - - The name of the parameter. - The EdmType of the parameter. - - The of the parameter. - - - A new, read-only instance of the type. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the mode of this . - - - One of the values. - - Thrown if the FunctionParameter instance is in ReadOnly state - - - - Gets the name of this . - - - The name of this . - - - - - Gets the instance of the class that contains both the type of the parameter and facets for the type. - - - A object that contains both the type of the parameter and facets for the type. - - - - Gets the type name of this parameter. - The type name of this parameter. - - - Gets whether the max length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the maximum length of the parameter. - The maximum length of the parameter. - - - Gets whether the parameter uses the maximum length supported by the database provider. - true if parameter uses the maximum length supported by the database provider; otherwise, false. - - - Gets whether the precision facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the precision value of the parameter. - The precision value of the parameter. - - - Gets whether the scale facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the scale value of the parameter. - The scale value of the parameter. - - - - Gets the on which this parameter is declared. - - - A object that represents the function on which this parameter is declared. - - - - - Class representing a metadata attribute for an item - - - - - The factory method for constructing the MetadataProperty object. - - The name of the metadata property. - The type usage of the metadata property. - The value of the metadata property. - The MetadataProperty object. - - Thrown is null. - - The newly created MetadataProperty will be read only. - - - - Creates a metadata annotation having the specified name and value. - - The annotation name. - The annotation value. - A MetadataProperty instance representing the created annotation. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets the value of this . - - - The value of this . - - Thrown if the MetadataProperty instance is in readonly state - - - - Gets the instance of the class that contains both the type of this - - and facets for the type. - - - A object that contains both the type of this - - and facets for the type. - - Thrown if the MetadataProperty instance is in readonly state - - - - Gets the value of this . - - - The value of this . - - - - - Gets a boolean that indicates whether the metadata property is an annotation. - - - - - Represent the edm navigation property class - - - - - Where the given navigation property is on the dependent end of a referential constraint, - returns the foreign key properties. Otherwise, returns an empty set. We will return the members in the order - of the principal end key properties. - - A collection of the foreign key properties. - - - - Creates a NavigationProperty instance from the specified parameters. - - The name of the navigation property. - Specifies the navigation property type and its facets. - The relationship type for the navigation. - The source end member in the navigation. - The target end member in the navigation. - The metadata properties of the navigation property. - The newly created NavigationProperty instance. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - Gets the relationship type that this navigation property operates on. - The relationship type that this navigation property operates on. - Thrown if the NavigationProperty instance is in ReadOnly state - - - Gets the "to" relationship end member of this navigation. - The "to" relationship end member of this navigation. - Thrown if the NavigationProperty instance is in ReadOnly state - - - Gets the "from" relationship end member in this navigation. - The "from" relationship end member in this navigation. - Thrown if the NavigationProperty instance is in ReadOnly state - - - - Represents the list of possible actions for delete operation - - - - - no action - - - - - Cascade to other ends - - - - - The enumeration defining the mode of a parameter - - - - - In parameter - - - - - Out parameter - - - - - Both in and out parameter - - - - - Return Parameter - - - - - Class representing a primitive type - - - - - Returns the equivalent of this - - . - - - For example if this instance is nvarchar and it's - base type is Edm String then the return type is Edm String. - If the type is actually already a model type then the - return type is "this". - - - An object that is an equivalent of this - - . - - - - Returns the list of primitive types. - - A collection of type that contains the list of primitive types. - - - - - Returns the equivalent of a - - . - - - An object that is an equivalent of a specified - - . - - - A value of type . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets a enumeration value that indicates a primitive type of this - - . - - - A enumeration value that indicates a primitive type of this - - . - - - - - Gets the list of facet descriptions for this . - - - A collection of type that contains the list of facet descriptions for this - - . - - - - - Returns an equivalent common language runtime (CLR) type of this - - . Note that the - - property always returns a non-nullable type value. - - - A object that represents an equivalent common language runtime (CLR) type of this - - . - - - - - Primitive Types as defined by EDM - - - - - Binary Type Kind - - - - - Boolean Type Kind - - - - - Byte Type Kind - - - - - DateTime Type Kind - - - - - Decimal Type Kind - - - - - Double Type Kind - - - - - Guid Type Kind - - - - - Single Type Kind - - - - - SByte Type Kind - - - - - Int16 Type Kind - - - - - Int32 Type Kind - - - - - Int64 Type Kind - - - - - String Type Kind - - - - - Time Type Kind - - - - - DateTimeOffset Type Kind - - - - - Geometry Type Kind - - - - - Geography Type Kind - - - - - Geometric point type kind - - - - - Geometric linestring type kind - - - - - Geometric polygon type kind - - - - - Geometric multi-point type kind - - - - - Geometric multi-linestring type kind - - - - - Geometric multi-polygon type kind - - - - - Geometric collection type kind - - - - - Geographic point type kind - - - - - Geographic linestring type kind - - - - - Geographic polygon type kind - - - - - Geographic multi-point type kind - - - - - Geographic multi-linestring type kind - - - - - Geographic multi-polygon type kind - - - - - Geographic collection type kind - - - - - This class represents a referential constraint between two entities specifying the "to" and "from" ends of the relationship. - - - - - Constructs a new constraint on the relationship - - role from which the relationship originates - role to which the relationship is linked/targeted to - properties on entity type of to role which take part in the constraint - properties on entity type of from role which take part in the constraint - Argument Null exception if any of the arguments is null - - - - Returns the combination of the names of the - - and the - - . - - - The combination of the names of the - - and the - - . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the "from role" that takes part in this - - . - - - A object that represents the "from role" that takes part in this - - . - - Thrown if value passed into setter is null - Thrown if the ReferentialConstraint instance is in ReadOnly state - - - - Gets the "to role" that takes part in this . - - - A object that represents the "to role" that takes part in this - - . - - Thrown if value passed into setter is null - Thrown if the ReferentialConstraint instance is in ReadOnly state - - - - Gets the list of properties for the "from role" on which this - - is defined. - - - A collection of type that contains the list of properties for "from role" on which this - - is defined. - - - - - Gets the list of properties for the "to role" on which this - - is defined. - - - A collection of type that contains the list of properties for the "to role" on which this - - is defined. - - - - - Class representing a ref type - - - - - - - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the entity type referenced by this . - - - An object that represents the entity type referenced by this - - . - - - - - Represents the multiplicity information about the end of a relationship type - - - - - Lower Bound is Zero and Upper Bound is One - - - - - Both lower bound and upper bound is one - - - - - Lower bound is zero and upper bound is null - - - - - Represents the Edm Row Type - - - - - The factory method for constructing the object. - - Properties of the row type object. - Metadata properties that will be added to the function. Can be null. - - A new, read-only instance of the object. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of properties on this . - - - A collection of type that contains the list of properties on this - - . - - - - Gets a collection of the properties defined by the current type. - A collection of the properties defined by the current type. - - - - Class representing a type information for an item - - - - - Factory method for creating a TypeUsage with specified EdmType and facets - - EdmType for which to create a type usage - facets to be copied into the new TypeUsage - new TypeUsage instance - - - - Creates a object with the specified conceptual model type. - - - A object with the default facet values for the specified - - . - - - A for which the - - object is created. - - - - - Creates a object to describe a string type by using the specified facet values. - - - A object describing a string type by using the specified facet values. - - - A for which the - - object is created. - - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the length of the string type to fixed; otherwise, false. - - - - Creates a object to describe a string type by using the specified facet values and unbounded MaxLength. - - - A object describing a string type by using the specified facet values and unbounded MaxLength. - - - A for which the - - object is created. - - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the length of the string type to fixed; otherwise, false - - - - Creates a object to describe a binary type by using the specified facet values. - - - A object describing a binary type by using the specified facet values. - - - A for which the - - object is created. - - true to set the length of the binary type to fixed; otherwise, false. - The maximum length of the binary type. - - - - Creates a object to describe a binary type by using the specified facet values. - - - A object describing a binary type by using the specified facet values. - - - A for which the - - object is created. - - true to set the length of the binary type to fixed; otherwise, false. - - - - Creates a object of the type that the parameters describe. - - - A object. - - - The simple type that defines the units of measurement of the DateTime object. - - - The degree of granularity of the DateTimeOffset in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object of the type that the parameters describe. - - - A object. - - The simple type that defines the units of measurement of the offset. - - The degree of granularity of the DateTimeOffset in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object of the type that the parameters describe. - - - A object. - - - The simple type that defines the units of measurement of the DateTime object. - - - The degree of granularity of the DateTimeOffset in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object to describe a decimal type by using the specified facet values. - - - A object describing a decimal type by using the specified facet values. - - - A for which the - - object is created. - - - The precision of the decimal type as type . - - - The scale of the decimal type as type . - - - - - Creates a object to describe a decimal type with unbounded precision and scale facet values. - - - A object describing a decimal type with unbounded precision and scale facet values. - - - A for which the - - object is created. - - - - - Checks whether this is a subtype of the specified - - . - - - true if this is a subtype of the specified - - ; otherwise, false. - - - The object to be checked. - - - - - Returns the full name of the type described by this . - - - The full name of the type described by this as string. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the type information described by this . - - - An object that represents the type information described by this - - . - - - - - Gets the list of facets for the type that is described by this - - . - - - A collection of type that contains the list of facets for the type that is described by this - - . - - - - - Returns a Model type usage for a provider type - - Model (CSpace) type usage - - - - Do not perform any extension check - - - - - Check the extension against a specific value - - - - - Check the extension against the set of acceptable extensions - - - - - Runtime Metadata Workspace - - - - - Initializes a new instance of the class. - - - - - Constructs a with loaders for all item collections () - needed by EF except the o/c mapping which will be created automatically based on the given o-space and c-space - loaders. The item collection delegates are executed lazily when a given collection is used for the first - time. It is acceptable to pass a delegate that returns null if the collection will never be used, but this - is rarely done, and any attempt by EF to use the collection in such cases will result in an exception. - - Delegate to return the c-space (CSDL) item collection. - Delegate to return the s-space (SSDL) item collection. - Delegate to return the c/s mapping (MSL) item collection. - Delegate to return the o-space item collection. - - - - Constructs a with loaders for all item collections () - that come from traditional EDMX mapping. Default o-space and o/c mapping collections will be used. - The item collection delegates are executed lazily when a given collection is used for the first - time. It is acceptable to pass a delegate that returns null if the collection will never be used, but this - is rarely done, and any attempt by EF to use the collection in such cases will result in an exception. - - Delegate to return the c-space (CSDL) item collection. - Delegate to return the s-space (SSDL) item collection. - Delegate to return the c/s mapping (MSL) item collection. - - - - Initializes a new instance of the class using the specified paths and assemblies. - - The paths to workspace metadata. - The names of assemblies used to construct workspace. - - - - Creates an configured to use the - - data space. - - The created parser object. - - - - Creates a new bound to this metadata workspace based on the specified query expression. - - - A new with the specified expression as it's - - property. - - - A that defines the query. - - - If - - is null - - - If - - contains metadata that cannot be resolved in this metadata workspace - - - If - - is not structurally valid because it contains unresolvable variable references - - - - - Gets items. - - - The items. - - - The from which to retrieve items. - - - - Registers the item collection with each associated data model. - The output parameter collection that needs to be filled up. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - The delegate for logging the load messages. - - - Returns an item by using the specified identity and the data model. - The item that matches the given identity in the specified data model. - The identity of the item. - The conceptual model in which the item is searched. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns an item by using the specified identity and the data model. - true if there is an item that matches the search criteria; otherwise, false. - The conceptual model on which the item is searched. - The conceptual model on which the item is searched. - - When this method returns, contains a object. This parameter is passed uninitialized. - - The type returned by the method. - - - Returns an item by using the specified identity and the data model. - The item that matches the given identity in the specified data model. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the item is searched. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns an item by using the specified identity and the data model. - true if there is an item that matches the search criteria; otherwise, false. - The conceptual model on which the item is searched. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the item is searched. - - When this method returns, contains a object. This parameter is passed uninitialized. - - The type returned by the method. - - - Gets all the items in the specified data model. - - A collection of type that contains all the items in the specified data model. - - The conceptual model for which the list of items is needed. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - - An object that represents the type that matches the given type name and the namespace name in the specified data model. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - The conceptual model on which the type is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - The conceptual model on which the type is searched. - - When this method returns, contains an object. This parameter is passed uninitialized. - - - - - Returns an object by using the specified type name, namespace name, and data model. - - - An object. - - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the type is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the type is searched. - - When this method returns, contains an object. This parameter is passed uninitialized. - - - - - Returns an object by using the specified entity container name and the data model. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - The conceptual model on which the entity container is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified entity container name and the data model. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - The conceptual model on which the entity container is searched. - - When this method returns, contains an object. If there is no entity container, this output parameter contains null; otherwise, it returns the first entity container. This parameter is passed uninitialized. - - - - - Returns an object by using the specified entity container name and the data model. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the entity container is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified entity container name and the data model. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the entity container is searched. - - When this method returns, contains an object. If there is no entity container, this output parameter contains null; otherwise, it returns the first entity container. This parameter is passed uninitialized. - - - - Returns all the overloads of the functions by using the specified name, namespace name, and data model. - - A collection of type that contains all the functions that match the specified name in a given namespace and a data model. - - The name of the function. - The namespace of the function. - The conceptual model in which the functions are searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns all the overloads of the functions by using the specified name, namespace name, and data model. - - A collection of type that contains all the functions that match the specified name in a given namespace and a data model. - - The name of the function. - The namespace of the function. - The conceptual model in which the functions are searched. - true to perform the case-insensitive search; otherwise, false. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns the list of primitive types in the specified data model. - - A collection of type that contains all the primitive types in the specified data model. - - The data model for which you need the list of primitive types. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Gets all the items in the specified data model. - - A collection of type that contains all the items in the specified data model. - - The conceptual model for which the list of items is needed. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Tests the retrieval of . - - true if the retrieval was successful; otherwise, false. - - The from which to attempt retrieval of - - . - - When this method returns, contains the item collection. This parameter is passed uninitialized. - - - - Returns a object that represents the object space type that matches the type supplied by the parameter edmSpaceType . - - - A object that represents the Object space type. If there is no matched type, this method returns null. - - - A object that represents the - - . - - - - - Returns a object via the out parameter objectSpaceType that represents the type that matches the - - supplied by the parameter edmSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the - - . - - - When this method returns, contains a object that represents the Object space type. This parameter is passed uninitialized. - - - - - Returns a object that represents the object space type that matches the type supplied by the parameter edmSpaceType . - - - A object that represents the Object space type. If there is no matched type, this method returns null. - - - A object that represents the - - . - - - - - Returns a object via the out parameter objectSpaceType that represents the type that matches the - - supplied by the parameter edmSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the - - . - - - When this method returns, contains a object that represents the Object space type. This parameter is passed uninitialized. - - - - - Returns a object that represents the - - that matches the type supplied by the parameter objectSpaceType . - - - A object that represents the - - . If there is no matched type, this method returns null. - - - A that supplies the type in the object space. - - - - - Returns a object via the out parameter edmSpaceType that represents the - - that matches the type supplied by the parameter objectSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the object space type. - - - When this method returns, contains a object that represents the - - . This parameter is passed uninitialized. - - - - - Returns a object that represents the - - that matches the type supplied by the parameter objectSpaceType . - - - A object that represents the - - . If there is no matched type, this method returns null. - - - A that supplies the type in the object space. - - - - - Returns a object via the out parameter edmSpaceType that represents the - - that matches the type supplied by the parameter objectSpaceType . - - true on success, false on failure. - - A object that represents the object space type. - - - When this method returns, contains a object that represents the - - . This parameter is passed uninitialized. - - - - Clears all the metadata cache entries. - - - Gets original value members from an entity set and entity type. - The original value members from an entity set and entity type. - The entity set from which to retrieve original values. - The entity type of which to retrieve original values. - - - - Returns members of a given / - - for which original values are needed when modifying an entity. - - - The s for which original value is required. - - - An belonging to the C-Space. - - - An that participates in the given - - . - - true if entities may be updated partially; otherwise, false. - - - - The Max EDM version thats going to be supported by the runtime. - - - - - Class for representing a collection of items for the object layer. - Most of the implementation for actual maintenance of the collection is - done by ItemCollection - - - - - Initializes a new instance of the class. - - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - The EDM metadata source for the O space metadata. - The delegate to which log messages are sent. - - - Loads metadata from the specified assembly. - The assembly from which the metadata will be loaded. - The EDM metadata source for the O space metadata. - - - Returns a collection of primitive type objects. - A collection of primitive type objects. - - - - Returns the CLR type that corresponds to the supplied by the objectSpaceType parameter. - - The CLR type of the OSpace argument. - - A that represents the object space type. - - - - - Returns a CLR type corresponding to the supplied by the objectSpaceType parameter. - - true if there is a type that matches the search criteria; otherwise, false. - - A that represents the object space type. - - The CLR type. - - - The method returns the underlying CLR type for the specified OSpace type argument. If the DataSpace of the parameter is not OSpace, an ArgumentException is thrown. - The CLR type of the OSpace argument. - The OSpace type to look up. - - - Returns the underlying CLR type for the specified OSpace enum type argument. If the DataSpace of the parameter is not OSpace, the method returns false and sets the out parameter to null. - true on success, false on failure - The OSpace enum type to look up - The CLR enum type of the OSpace argument - - - Returns all the items of the specified type from this item collection. - - A collection of type that contains all items of the specified type. - - The type returned by the method. - - - - The enumeration defining the type semantics used to resolve function overloads. - These flags are defined in the provider manifest per function definition. - - - - - Allow Implicit Conversion between given and formal argument types (default). - - - - - Allow Type Promotion between given and formal argument types. - - - - - Use strict Equivalence only. - - - - - Class for representing a collection of items in Store space. - - - - - Initializes a new instance of the class using the specified XMLReader. - - The XMLReader used to create metadata. - - - Initializes a new instances of the class. - The model of the . - - - - Initializes a new instance of the class using the specified file paths. - - The file paths used to create metadata. - - - - Returns a collection of the objects. - - - A object that represents the collection of the - - objects. - - - - - Factory method that creates a . - - - SSDL artifacts to load. Must not be null. - - - Paths to SSDL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - Custom resolver. Currently used to resolve DbProviderServices implementation. If null - the default resolver will be used. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - Gets the provider factory of the StoreItemCollection. - The provider factory of the StoreItemCollection. - - - Gets the provider manifest of the StoreItemCollection. - The provider manifest of the StoreItemCollection. - - - Gets the manifest token of the StoreItemCollection. - The manifest token of the StoreItemCollection. - - - Gets the invariant name of the StoreItemCollection. - The invariant name of the StoreItemCollection. - - - Gets the version of the store schema for this collection. - The version of the store schema for this collection. - - - - This exception is thrown when a requested object is not found in the store. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of class that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Caches an ELinq query - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg14 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg15 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg14 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - - The values currently assigned to the properties of an entity. - - - - - Provides access to the original values of object data. The DbUpdatableDataRecord implements methods that allow updates to the original values of an object. - - - - Retrieves the field value as a Boolean. - The field value as a Boolean. - The ordinal of the field. - - - Retrieves the field value as a byte. - The field value as a byte. - The ordinal of the field. - - - Retrieves the field value as a byte array. - The number of bytes copied. - The ordinal of the field. - The index at which to start copying data. - The destination buffer where data is copied. - The index in the destination buffer where copying will begin. - The number of bytes to copy. - - - Retrieves the field value as a char. - The field value as a char. - The ordinal of the field. - - - Retrieves the field value as a char array. - The number of characters copied. - The ordinal of the field. - The index at which to start copying data. - The destination buffer where data is copied. - The index in the destination buffer where copying will begin. - The number of characters to copy. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as a - - - The field value as a . - - The ordinal of the field. - - - Retrieves the name of the field data type. - The name of the field data type. - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - Retrieves the field value as a decimal. - The field value as a decimal. - The ordinal of the field. - - - Retrieves the field value as a double. - The field value as a double. - The ordinal of the field. - - - Retrieves the type of a field. - The field type. - The ordinal of the field. - - - Retrieves the field value as a float. - The field value as a float. - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - Retrieves the name of a field. - The name of the field. - The ordinal of the field. - - - Retrieves the ordinal of a field by using the name of the field. - The ordinal of the field. - The name of the field. - - - Retrieves the field value as a string. - The field value. - The ordinal of the field. - - - Retrieves the value of a field. - The field value. - The ordinal of the field. - - - Retrieves the value of a field. - The field value. - The ordinal of the field. - - - Populates an array of objects with the field values of the current record. - The number of field values returned. - An array of objects to store the field values. - - - - Returns whether the specified field is set to . - - - true if the field is set to ; otherwise false. - - The ordinal of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets field values in a record. - The number of the fields that were set. - The values of the field. - - - - Sets a field to the value. - - The ordinal of the field. - - - - Retrieves a field value as a . - - - A field value as a . - - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Gets the number of fields in the record. - An integer value that is the field count. - - - Returns a value that has the given field ordinal. - The value that has the given field ordinal. - The ordinal of the field. - - - Gets a value that has the given field name. - The field value. - The name of the field. - - - Gets data record information. - - A object. - - - - - This is the interface that represent the minimum interface required - to be an entity in ADO.NET. - - - - - This class contains the common methods need for an date object. - - - - - Public constant name used for change tracking - Providing this definition allows users to use this constant instead of - hard-coding the string. This helps to ensure the property name is correct - and allows faster comparisons in places where we are looking for this specific string. - Users can still use the case-sensitive string directly instead of the constant, - it will just be slightly slower on comparison. - Including the dash (-) character around the name ensures that this will not conflict with - a real data property, because -EntityKey- is not a valid identifier name - - - - - Raises the event. - - The name of the changed property. - - - - Raises the event. - - The name of the property changing. - - - Returns the minimum date time value supported by the data source. - - A value that is the minimum date time that is supported by the data source. - - - - Raises an event that is used to report that a property change is pending. - The name of the changing property. - - - Raises an event that is used to report that a property change has occurred. - The name for the changed property. - - - Returns a complex type for the specified property. - - Unlike most of the other helper methods in this class, this one is not static - because it references the SetValidValue for complex objects, which is also not static - because it needs a reference to this. - - A complex type object for the property. - A complex object that inherits from complex object. - The name of the complex property that is the complex object. - Indicates whether the type supports null values. - Indicates whether the type is initialized. - The type of the complex object being requested. - - - Determines whether the specified byte arrays contain identical values. - true if both arrays are of the same length and contain the same byte values or if both arrays are null; otherwise, false. - The first byte array value to compare. - The second byte array to compare. - - - Returns a copy of the current byte value. - - A copy of the current value. - - The current byte array value. - - - - Makes sure the value being set for a property is valid. - - - The value being validated. - - The value passed into the property setter. - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - If value is null for a non nullable value. - - - - Makes sure the value being set for a property is valid. - - - A value being set. - - The value being set. - Indicates whether the property is nullable. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - The Boolean value. - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - The Boolean value. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - A that is set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value that is set. - - The value that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - A value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - Makes sure the Single value being set for a property is valid. - - The value being set. - - - The value. - - The name of the property that is being validated. - - - Makes sure the Single value being set for a property is valid. - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - Name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - Makes sure the UInt16 value being set for a property is valid. - The nullable UInt16 value being set. - The nullable UInt16 value. - The name of the property that is being validated. - - - Makes sure the UInt16 value being set for a property is valid. - The nullable UInt16 value being set. - The nullable UInt16 value. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - Makes sure the UInt32 value being set for a property is valid. - The nullable UInt32 value being set. - The nullable UInt32 value. - The name of the property that is being validated. - - - Makes sure the UInt32 value being set for a property is valid. - The nullable UInt32 value being set. - The nullable UInt32 value. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - The nullable UInt64 value being set. - The nullable UInt64 value. - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - The nullable UInt64 value being set. - The nullable UInt64 value. - - - Validates that the property is not null, and throws if it is. - The validated property. - The string value to be checked. - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - The string value is null for a non-nullable string. - - - Validates that the property is not null, and throws if it is. - - The validated value. - - The string value to be checked. - Flag indicating if this property is allowed to be null. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - The value to be checked. - - Flag indicating if this property is allowed to be null. - Name of the property that is being validated. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - value to be checked. - - Flag indicating if this property is allowed to be null. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - value to be checked. - - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - The value to be checked. - - Flag indicating if this property is allowed to be null. - The value is null for a non-nullable property. - - - Sets a complex object for the specified property. - A complex type that derives from complex object. - The original complex object for the property, if any. - The complex object is being set. - The complex property that is being set to the complex object. - The type of the object being replaced. - - - Verifies that a complex object is not null. - The complex object being validated. - The complex object that is being validated. - The complex property on the parent object that is associated with complexObject . - The type of the complex object being verified. - - - - Notification that a property has been changed. - - - The PropertyChanged event can indicate all properties on the - object have changed by using either a null reference - (Nothing in Visual Basic) or String.Empty as the property name - in the PropertyChangedEventArgs. - - - - - Notification that a property is about to be changed. - - - The PropertyChanging event can indicate all properties on the - object are changing by using either a null reference - (Nothing in Visual Basic) or String.Empty as the property name - in the PropertyChangingEventArgs. - - - - Notifies the change tracker that a property change is pending on a complex object. - The name of the changing property. - property is null. - - - Notifies the change tracker that a property of a complex object has changed. - The name of the changed property. - property is null. - - - - Attribute for complex properties - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - Base attribute for properties mapped to store elements. - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - attribute for complex types - - - - - Base attribute for schematized types - - - - The name of the type in the conceptual schema that maps to the class to which this attribute is applied. - - A that is the name. - - - - The namespace name of the entity object type or complex type in the conceptual schema that maps to this type. - - A that is the namespace name. - - - - - Attribute identifying the Edm base class - - - - - Attribute indicating an enum type. - - - - - Attribute identifying the Ends defined for a RelationshipSet - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - Initializes a new instance of the - - class. - - The namespace name of the relationship property. - The name of the relationship. The relationship name is not namespace qualified. - The role name at the other end of the relationship. - - - The namespace name of the navigation property. - - A that is the namespace name. - - - - Gets the unqualified relationship name. - The relationship name. - - - Gets the role name at the other end of the relationship. - The target role name is specified by the Role attribute of the other End element in the association that defines this relationship in the conceptual model. For more information, see Association (EDM). - - - - Defines a relationship between two entity types based on an association in the conceptual model. - - - - - Creates an instance of the class. - - The name of the namespace for the association in which this entity participates. - The name of a relationship in which this entity participates. - Name of the role for the type at one end of the association. - - A value of that indicates the multiplicity at one end of the association, such as one or many. - - The type of the entity at one end of the association. - Name of the role for the type at the other end of the association. - - A value of that indicates the multiplicity at the other end of the association, such as one or many. - - The type of the entity at the other end of the association. - - - - Initializes a new instance of the - - class. - - The name of the namespace for the association in which this entity participates. - The name of a relationship in which this entity participates. - Name of the role for the type at one end of the association. - - A value of that indicates the multiplicity at one end of the association, such as one or many. - - The type of the entity at one end of the association. - Name of the role for the type at the other end of the association. - - A value of that indicates the multiplicity at the other end of the association, such as one or many. - - The type of the entity at the other end of the association. - A value that indicates whether the relationship is based on the foreign key value. - - - The namespace for the relationship. - - A that is the namespace for the relationship. - - - - Name of the relationship. - - A that is the name of a relationship that is defined by this - - . - - - - Name of the role at one end of the relationship. - - A that is the name of the role. - - - - Multiplicity at one end of the relationship. - - A value that indicates the multiplicity. - - - - Type of the entity at one end of the relationship. - - A that is the type of the object at this end of the association. - - - - Name of the role at the other end of the relationship. - - A that is the name of the role. - - - - Multiplicity at the other end of the relationship. - - A value that indicates the multiplicity. - - - - Type of the entity at the other end of the relationship. - - A that is the type of the object t the other end of the association. - - - - Gets a Boolean value that indicates whether the relationship is based on the foreign key value. - true if the relationship is based on the foreign key value; otherwise false. - - - - Attribute for scalar properties in an IEntity. - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - Gets or sets the value that indicates whether the property can have a null value. - The value that indicates whether the property can have a null value. - - - Gets or sets the value that indicates whether the property is part of the entity key. - The value that indicates whether the property is part of the entity key. - - - - Attribute for static types - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a unique value for each model referenced by the assembly. - - - Setting this parameter to a unique value for each model file in a Visual Basic - assembly will prevent the following error: - "'System.Data.Entity.Core.Objects.DataClasses.EdmSchemaAttribute' cannot be specified more than once in this project, even with identical parameter values." - - A string that is a unique GUID value for the model in the assembly. - - - - Collection of entities modeling a particular EDM construct - which can either be all entities of a particular type or - entities participating in a particular relationship. - - The type of entities in this collection. - - - - Base class for EntityCollection and EntityReference - - - - - Represents one end of a relationship. - - - - Loads the related object or objects into this related end with the default merge option. - - - Asynchronously loads the related object or objects into this related end with the default merge option. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - Loads the related object or objects into the related end with the specified merge option. - - The to use when merging objects into an existing - . - - - - Asynchronously loads the related object or objects into the related end with the specified merge option. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when merging objects into an existing - . - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - Adds an object to the related end. - - An object to add to the collection. entity must implement - - . - - - - Adds an object to the related end. - An object to add to the collection. - - - Removes an object from the collection of objects at the related end. - - true if entity was successfully removed, false if entity was not part of the - - . - - - The object to remove from the collection. entity must implement - - . - - - - Removes an object from the collection of objects at the related end. - - true if entity was successfully removed; false if entity was not part of the - - . - - An object to remove from the collection. - - - Defines a relationship between two attached objects. - - The object being attached. entity must implement - - . - - - - Defines a relationship between two attached objects. - The object being attached. - - - - Returns an that represents the objects that belong to the related end. - - - An that represents the objects that belong to the related end. - - - - - Returns an that iterates through the collection of related objects. - - - An that iterates through the collection of related objects. - - - - - Gets or sets a value indicating whether the entity (for an or all entities - in the collection (for an have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded - and wants to prevent any other entities from being loaded automatically. - Note that explicit loading using will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity is detached the IsLoaded flag is reset to false indicating that not all related entities - are now loaded. - - - True if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise false. - - - - Gets the name of the relationship in which this related end participates. - - The name of the relationship in which this is participating. The relationship name is not namespace qualified. - - - - Gets the role name at the source end of the relationship. - The role name at the source end of the relationship. - - - Gets the role name at the target end of the relationship. - The role name at the target end of the relationship. - - - Returns a reference to the metadata for the related end. - - A object that contains metadata for the end of a relationship. - - - - - Returns an that represents the objects that belong to the related end. - - - An that represents the objects that belong to the related end. - - - - - Loads the related object or objects into the related end with the default merge option. - - - When the source object was retrieved by using a query - and the is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Asynchronously loads the related object or objects into the related end with the default merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - When the source object was retrieved by using a query - and the is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Loads an object or objects from the related end with the specified merge option. - - - The to use when merging objects into an existing - . - - - When the source object was retrieved by using a query - and the - is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Asynchronously loads an object or objects from the related end with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when merging objects into an existing - . - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - When the source object was retrieved by using a query - and the - is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Attaches an entity to the related end. This method works in exactly the same way as Attach(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - The entity to attach to the related end - - Thrown when - - is null. - - Thrown when the entity cannot be related via the current relationship end. - - - - Attaches an entity to the related end. If the related end is already filled - or partially filled, this merges the existing entities with the given entity. The given - entity is not assumed to be the complete set of related entities. - Owner and all entities passed in must be in Unchanged or Modified state. - Deleted elements are allowed only when the state manager is already tracking the relationship - instance. - - The entity to attach to the related end - - Thrown when - - is null. - - Thrown when the entity cannot be related via the current relationship end. - - - - Adds an entity to the related end. This method works in exactly the same way as Add(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - Entity instance to add to the related end - - - - Adds an entity to the related end. If the owner is - attached to a cache then the all the connected ends are - added to the object cache and their corresponding relationships - are also added to the ObjectStateManager. The RelatedEnd of the - relationship is also fixed. - - Entity instance to add to the related end - - - - Removes an entity from the related end. This method works in exactly the same way as Remove(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - Entity instance to remove from the related end - Returns true if the entity was successfully removed, false if the entity was not part of the RelatedEnd. - - - - Removes an entity from the related end. If owner is - attached to a cache, marks relationship for deletion and if - the relationship is composition also marks the entity for deletion. - - Entity instance to remove from the related end - Returns true if the entity was successfully removed, false if the entity was not part of the RelatedEnd. - - - - Returns an that iterates through the collection of related objects. - - - An that iterates through the collection of related objects. - - - - - Used internally to deserialize entity objects along with the - - instances. - - The serialized stream. - - - Occurs when a change is made to a related end. - - - Gets the name of the relationship in which this related end participates. - - The name of the relationship in which this participates. The relationship name is not namespace qualified. - - - - Gets the role name at the source end of the relationship. - - A that is the role name. - - - - Gets the role name at the target end of the relationship. - - A that is the role name. - - - - Gets a reference to the metadata for the related end. - - A object that contains metadata for the end of a relationship. - - - - - - - - Initializes a new instance of the class. - - - - - Returns the collection as an used for data binding. - - - An of entity objects. - - - - Loads related objects into the collection, using the specified merge option. - - Specifies how the objects in this collection should be merged with the objects that might have been returned from previous queries against the same - - . - - - - - - - Defines relationships between an object and a collection of related objects in an object context. - - Loads related entities into the local collection. If the collection is already filled - or partially filled, merges existing entities with the given entities. The given - entities are not assumed to be the complete set of related entities. - Owner and all entities passed in must be in Unchanged or Modified state. We allow - deleted elements only when the state manager is already tracking the relationship - instance. - - Collection of objects in the object context that are related to the source object. - entities collection is null. - - The source object or an object in the entities collection is null or is not in an - - or state.-or-The relationship cannot be defined based on the EDM metadata. This can occur when the association in the conceptual schema does not support a relationship between the two types. - - - - Defines a relationship between two attached objects in an object context. - The object being attached. - When the entity is null. - - When the entity cannot be related to the source object. This can occur when the association in the conceptual schema does not support a relationship between the two types.-or-When either object is null or is not in an - - or state. - - - - Adds an object to the collection. - - An object to add to the collection. entity must implement - - . - - entity is null. - - - Removes an object from the collection and marks the relationship for deletion. - true if item was successfully removed; otherwise, false. - The object to remove from the collection. - entity object is null. - The entity object is not attached to the same object context.-or-The entity object does not have a valid relationship manager. - - - Returns an enumerator that is used to iterate through the objects in the collection. - - An that iterates through the set of values cached by - - . - - - - - Returns an enumerator that is used to iterate through the set of values cached by - - . - - - An that iterates through the set of values cached by - - . - - - - Removes all entities from the collection. - - - Determines whether a specific object exists in the collection. - - true if the object is found in the ; otherwise, false. - - - The object to locate in the . - - - - Copies all the contents of the collection to an array, starting at the specified index of the target array. - The array to copy to. - The zero-based index in the array at which copying begins. - - - Used internally to serialize entity objects. - The streaming context. - - - Used internally to deserialize entity objects. - The streaming context. - - - Returns an object query that, when it is executed, returns the same set of objects that exists in the current collection. - - An that represents the entity collection. - - - When the object is in an state - or when the object is in a - state with a - other than - . - - - - Gets the number of objects that are contained in the collection. - - The number of elements that are contained in the - - . - - - - - Gets a value that indicates whether the - - is read-only. - - Always returns false. - - - - IListSource.ContainsListCollection implementation. Always returns false. - This means that the IList we return is the one which contains our actual data, - it is not a list of collections. - - - - - This is the class is the basis for all perscribed EntityObject classes. - - - - - Interface that defines an entity containing a key. - - - - - Gets or sets the for instances of entity types that implement this interface. - - - If an object is being managed by a change tracker, it is expected that - IEntityChangeTracker methods EntityMemberChanging and EntityMemberChanged will be - used to report changes on EntityKey. This allows the change tracker to validate the - EntityKey's new value and to verify if the change tracker is in a state where it can - allow updates to the EntityKey. - - - The for instances of entity types that implement this interface. - - - - - Minimum interface that a data class must implement in order to be managed by a change tracker. - - - - - Gets or sets the used to report changes. - - - The used to report changes. - - - - - Interface that a data class must implement if exposes relationships - - - - Returns the relationship manager that manages relationships for an instance of an entity type. - - Classes that expose relationships must implement this property - by constructing and setting RelationshipManager in their constructor. - The implementation of this property should use the static method RelationshipManager.Create - to create a new RelationshipManager when needed. Once created, it is expected that this - object will be stored on the entity and will be provided through this property. - - - The for this entity. - - - - - Used by the ObjectStateManager to attach or detach this EntityObject to the cache. - - Reference to the ObjectStateEntry that contains this entity - - - Notifies the change tracker that a property change is pending. - The name of the changing property. - property is null. - - - Notifies the change tracker that a property has changed. - The name of the changed property. - property is null. - - - Gets the entity state of the object. - - The of this object. - - - - Gets or sets the key for this object. - - The for this object. - - - - - Returns the container for the lazily created relationship - navigation property objects, collections and refs. - - - - - This interface is implemented by a change tracker and is used by data classes to report changes - - - - Notifies the change tracker of a pending change to a property of an entity type. - The name of the property that is changing. - - - Notifies the change tracker that a property of an entity type has changed. - The name of the property that has changed. - - - Notifies the change tracker of a pending change to a complex property. - The name of the top-level entity property that is changing. - The complex type that contains the property that is changing. - The name of the property that is changing on complex type. - - - Notifies the change tracker that a property of a complex type has changed. - The name of the complex property of the entity type that has changed. - The complex type that contains the property that changed. - The name of the property that changed on complex type. - - - Gets current state of a tracked object. - - An that is the state of the tracked object.For more information, see Identity Resolution, State Managment, and Change Tracking and Tracking Changes in POCO Entities. - - - - - Models a relationship end with multiplicity 1. - - - - Returns the key for the related object. - - Returns the EntityKey of the target entity associated with this EntityReference. - Is non-null in the following scenarios: - (a) Entities are tracked by a context and an Unchanged or Added client-side relationships exists for this EntityReference's owner with the - same RelationshipName and source role. This relationship could have been created explicitly by the user (e.g. by setting - the EntityReference.Value, setting this property directly, or by calling EntityCollection.Add) or automatically through span queries. - (b) If the EntityKey was non-null before detaching an entity from the context, it will still be non-null after detaching, until any operation - occurs that would set it to null, as described below. - (c) Entities are detached and the EntityKey is explicitly set to non-null by the user. - (d) Entity graph was created using a NoTracking query with full span - Is null in the following scenarios: - (a) Entities are tracked by a context but there is no Unchanged or Added client-side relationship for this EntityReference's owner with the - same RelationshipName and source role. - (b) Entities are tracked by a context and a relationship exists, but the target entity has a temporary key (i.e. it is Added) or the key - is one of the special keys - (c) Entities are detached and the relationship was explicitly created by the user. - - - An that is the key of the related object. - - - - - Models a relationship end with multiplicity 1. - - The type of the entity being referenced. - - - - Creates a new instance of . - - - The default constructor is required for some serialization scenarios. It should not be used to - create new EntityReferences. Use the GetRelatedReference or GetRelatedEnd methods on the RelationshipManager - class instead. - - - - - Loads the related object for this with the specified merge option. - - - Specifies how the object should be returned if it already exists in the - - . - - - The source of the is null - or a query returned more than one related end - or a query returned zero related ends, and one related end was expected. - - - - - - - Creates a many-to-one or one-to-one relationship between two objects in the object context. - The object being attached. - When the entity is null. - When the entity cannot be related to the current related end. This can occur when the association in the conceptual schema does not support a relationship between the two types. - - - Creates an equivalent object query that returns the related object. - - An that returns the related object. - - - When the object is in an state - or when the object is in a - state with a - other than . - - - - This method is used internally to serialize related entity objects. - The serialized stream. - - - This method is used internally to serialize related entity objects. - The serialized stream. - - - - Gets or sets the related object returned by this - - . - - - The object returned by this . - - - - - Identifies the kind of a relationship - - - - - The relationship is an Association - - - - - Container for the lazily created relationship navigation - property objects (collections and refs). - - - - - Creates a new object. - - - Used by data classes that support relationships. If the change tracker - requests the RelationshipManager property and the data class does not - already have a reference to one of these objects, it calls this method - to create one, then saves a reference to that object. On subsequent accesses - to that property, the data class should return the saved reference. - The reason for using a factory method instead of a public constructor is to - emphasize that this is not something you would normally call outside of a data class. - By requiring that these objects are created via this method, developers should - give more thought to the operation, and will generally only use it when - they explicitly need to get an object of this type. It helps define the intended usage. - - - The requested . - - Reference to the entity that is calling this method. - - - - Returns either an or - - of the correct type for the specified target role in a relationship. - - - representing the - - or - - that was retrieved. - - Name of the relationship in which targetRoleName is defined. The relationship name is not namespace qualified. - Target role to use to retrieve the other end of relationshipName . - relationshipName or targetRoleName is null. - The source type does not match the type of the owner. - targetRoleName is invalid or unable to find the relationship type in the metadata. - - - - Takes an existing EntityReference that was created with the default constructor and initializes it using the provided relationship and target role names. - This method is designed to be used during deserialization only, and will throw an exception if the provided EntityReference has already been initialized, - if the relationship manager already contains a relationship with this name and target role, or if the relationship manager is already attached to a ObjectContext.W - - The relationship name. - The role name of the related end. - - The to initialize. - - - The type of the being initialized. - - - When the provided - is already initialized.-or-When the relationship manager is already attached to an - - or when the relationship manager already contains a relationship with this name and target role. - - - - - Takes an existing EntityCollection that was created with the default constructor and initializes it using the provided relationship and target role names. - This method is designed to be used during deserialization only, and will throw an exception if the provided EntityCollection has already been initialized, - or if the relationship manager is already attached to a ObjectContext. - - The relationship name. - The target role name. - An existing EntityCollection. - Type of the entity represented by targetRoleName - - - - Gets an of related objects with the specified relationship name and target role name. - - - The of related objects. - - Name of the relationship to navigate. The relationship name is not namespace qualified. - Name of the target role for the navigation. Indicates the direction of navigation across the relationship. - - The type of the returned . - - - The specified role returned an instead of an - - . - - - - - Gets the for a related object by using the specified combination of relationship name and target role name. - - - The of a related object. - - Name of the relationship to navigate. The relationship name is not namespace qualified. - Name of the target role for the navigation. Indicates the direction of navigation across the relationship. - - The type of the returned . - - - The specified role returned an instead of an - - . - - - - Returns an enumeration of all the related ends managed by the relationship manager. - - An of objects that implement - - . An empty enumeration is returned when the relationships have not yet been populated. - - - - - Called by Object Services to prepare an for binary serialization with a serialized relationship. - - Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. - - - - Used internally to deserialize entity objects along with the - - instances. - - The serialized stream. - - - - Represents either a entity, entity stub or relationship - - - - - Gets the updatable version of original values of the object associated with this - - . - - The updatable original values of object data. - - - Accepts the current values as original values. - - - Marks an entity as deleted. - - - - Returns the names of an object’s properties that have changed since the last time - - was called. - - - An collection of names as string. - - - - Sets the state of the object or relationship to modify. - If State is not Modified or Unchanged - - - Marks the specified property as modified. - The name of the property. - If State is not Modified or Unchanged - - - Rejects any changes made to the property with the given name since the property was last loaded, attached, saved, or changes were accepted. The orginal value of the property is stored and the property will no longer be marked as modified. - The name of the property to change. - - - Uses DetectChanges to determine whether or not the current value of the property with the given name is different from its original value. Note that this may be different from the property being marked as modified since a property which has not changed can still be marked as modified. - - Note that this property always returns the same result as the modified state of the property for change tracking - proxies and entities that derive from the EntityObject base class. This is because original values are not tracked - for these entity types and hence there is no way to know if the current value is really different from the - original value. - - true if the property has changed; otherwise, false. - The name of the property. - - - - Changes state of the entry to the specified value. - - - The value to set for the - - property of the entry. - - - - Sets the current values of the entry to match the property values of a supplied object. - The detached object that has updated values to apply to the object. currentEntity can also be the object’s entity key. - - - Sets the original values of the entry to match the property values of a supplied object. - The detached object that has original values to apply to the object. originalEntity can also be the object’s entity key. - - - - Used to report that a scalar entity property is about to change - The current value of the specified property is cached when this method is called. - - The name of the entity property that is changing - - - - Used to report that a scalar entity property has been changed - The property value that was cached during EntityMemberChanging is now - added to OriginalValues - - The name of the entity property that has changing - - - - Used to report that a complex property is about to change - The current value of the specified property is cached when this method is called. - - The name of the top-level entity property that is changing - The complex object that contains the property that is changing - The name of the property that is changing on complexObject - - - - Used to report that a complex property has been changed - The property value that was cached during EntityMemberChanging is now added to OriginalValues - - The name of the top-level entity property that has changed - The complex object that contains the property that changed - The name of the property that changed on complexObject - - - - Gets the for the - - . - - - The for the - - . - - - - - Gets the for the object or relationship. - - - The for the object or relationship. - - - - - Gets the state of the . - - - The state of the . - - - - Gets the entity object. - The entity object. - - - Gets the entity key. - The entity key. - - - - Gets a value that indicates whether the represents a relationship. - - - true if the represents a relationship; otherwise, false. - - - - Gets the read-only version of original values of the object or relationship. - The read-only version of original values of the relationship set entry or entity. - - - - Gets the current property values of the object or relationship associated with this - - . - - - A that contains the current values of the object or relationship associated with this - - . - - - - - Gets the instance for the object represented by entry. - - - The object. - - The entry is a stub or represents a relationship - - - - Returns the EntityState from the ObjectStateEntry - - - - - Defines behavior for implementations of IQueryable that allow modifications to the membership of the resulting set. - - Type of entities returned from the queryable. - - - Notifies the set that an object that represents a new entity must be added to the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The new object to add to the set. - - - Notifies the set that an object that represents an existing entity must be added to the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The existing object to add to the set. - - - Notifies the set that an object that represents an existing entity must be deleted from the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The existing object to delete from the set. - - - Notifies the set that an object that represents an existing entity must be detached from the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The object to detach from the set. - - - - The different ways that new objects loaded from the database can be merged with existing objects already in memory. - - - - - Will only append new (top level-unique) rows. This is the default behavior. - - - - - Same behavior as LoadOption.OverwriteChanges. - - - - - Same behavior as LoadOption.PreserveChanges. - - - - - Will not modify cache. - - - - - ObjectContext is the top-level object that encapsulates a connection between the CLR and the database, - serving as a gateway for Create, Read, Update, and Delete operations. - - - - - Initializes a new instance of the class with the given connection. During construction, the metadata workspace is extracted from the - - object. - - - An that contains references to the model and to the data source connection. - - The connection is null. - The connection is invalid or the metadata workspace is invalid. - - - - Creates an ObjectContext with the given connection and metadata workspace. - - connection to the store - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - Initializes a new instance of the class with the given connection string and default entity container name. - - The connection string, which also provides access to the metadata information. - The connectionString is null. - The connectionString is invalid or the metadata workspace is not valid. - - - - Initializes a new instance of the class with a given connection string and entity container name. - - The connection string, which also provides access to the metadata information. - The name of the default entity container. When the defaultContainerName is set through this method, the property becomes read-only. - The connectionString is null. - The connectionString , defaultContainerName , or metadata workspace is not valid. - - - - Initializes a new instance of the class with a given connection and entity container name. - - - An that contains references to the model and to the data source connection. - - The name of the default entity container. When the defaultContainerName is set through this method, the property becomes read-only. - The connection is null. - The connection , defaultContainerName , or metadata workspace is not valid. - - - Accepts all changes made to objects in the object context. - - - Adds an object to the object context. - Represents the entity set name, which may optionally be qualified by the entity container name. - - The to add. - - The entity parameter is null or the entitySetName does not qualify. - - - Explicitly loads an object related to the supplied object by the specified navigation property and using the default merge option. - The entity for which related objects are to be loaded. - The name of the navigation property that returns the related objects to be loaded. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified navigation property and using the specified merge option. - The entity for which related objects are to be loaded. - The name of the navigation property that returns the related objects to be loaded. - - The value to use when you load the related objects. - - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified LINQ query and by using the default merge option. - The type of the entity. - The source object for which related objects are to be loaded. - A LINQ expression that defines the related objects to be loaded. - selector does not supply a valid input parameter. - selector is null. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified LINQ query and by using the specified merge option. - The type of the entity. - The source object for which related objects are to be loaded. - A LINQ expression that defines the related objects to be loaded. - - The value to use when you load the related objects. - - selector does not supply a valid input parameter. - selector is null. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Applies property changes from a detached object to an object already attached to the object context. - The name of the entity set to which the object belongs. - The detached object that has property updates to apply to the original object. - When entitySetName is null or an empty string or when changed is null. - - When the from entitySetName does not match the - - of the object - - or when the entity is in a state other than - - or - - or the original object is not attached to the context. - - When the type of the changed object is not the same type as the original object. - - - - Copies the scalar values from the supplied object into the object in the - - that has the same key. - - The updated object. - The name of the entity set to which the object belongs. - - The detached object that has property updates to apply to the original object. The entity key of currentEntity must match the - - property of an entry in the - - . - - The entity type of the object. - entitySetName or current is null. - - The from entitySetName does not match the - - of the object - - or the object is not in the - - or it is in a - - state or the entity key of the supplied object is invalid. - - entitySetName is an empty string. - - - - Copies the scalar values from the supplied object into set of original values for the object in the - - that has the same key. - - The updated object. - The name of the entity set to which the object belongs. - - The detached object that has original values to apply to the object. The entity key of originalEntity must match the - - property of an entry in the - - . - - The type of the entity object. - entitySetName or original is null. - - The from entitySetName does not match the - - of the object - - or an - - for the object cannot be found in the - - or the object is in an - - or a - - state or the entity key of the supplied object is invalid or has property changes. - - entitySetName is an empty string. - - - Attaches an object or object graph to the object context in a specific entity set. - Represents the entity set name, which may optionally be qualified by the entity container name. - - The to attach. - - The entity is null. - - Invalid entity set or the object has a temporary key or the object has an - - and the - - does not match with the entity set passed in as an argument of the method or the object does not have an - - and no entity set is provided or any object from the object graph has a temporary - - or any object from the object graph has an invalid - - (for example, values in the key do not match values in the object) or the entity set could not be found from a given entitySetName name and entity container name or any object from the object graph already exists in another state manager. - - - - Attaches an object or object graph to the object context when the object has an entity key. - The object to attach. - The entity is null. - Invalid entity key. - - - Creates the entity key for a specific object, or returns the entity key if it already exists. - - The of the object. - - The fully qualified name of the entity set to which the entity object belongs. - The object for which the entity key is being retrieved. - When either parameter is null. - When entitySetName is empty or when the type of the entity object does not exist in the entity set or when the entitySetName is not fully qualified. - When the entity key cannot be constructed successfully based on the supplied parameters. - - - - Creates a new instance that is used to query, add, modify, and delete objects of the specified entity type. - - - The new instance. - - - Entity type of the requested . - - - The property is not set on the - - or the specified type belongs to more than one entity set. - - - - - Creates a new instance that is used to query, add, modify, and delete objects of the specified type and with the specified entity set name. - - - The new instance. - - - Name of the entity set for the returned . The string must be qualified by the default container name if the - - property is not set on the - - . - - - Entity type of the requested . - - - The from entitySetName does not match the - - of the object - - or the - - property is not set on the - - and the name is not qualified as part of the entitySetName parameter or the specified type belongs to more than one entity set. - - - - - Creates an in the current object context by using the specified query string. - - - An of the specified type. - - The query string to be executed. - Parameters to pass to the query. - - The entity type of the returned . - - The queryString or parameters parameter is null. - - - Marks an object for deletion. - - An object that specifies the entity to delete. The object can be in any state except - - . - - - - Removes the object from the object context. - - Object to be detached. Only the entity is removed; if there are any related objects that are being tracked by the same - - , those will not be detached automatically. - - The entity is null. - - The entity is not associated with this (for example, was newly created and not associated with any context yet, or was obtained through some other context, or was already detached). - - - - - Finalizes an instance of the class. - - - - Releases the resources used by the object context. - - - - Releases the resources used by the object context. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Returns an object that has the specified entity key. - - An that is an instance of an entity type. - - The key of the object to be found. - The key parameter is null. - - The object is not found in either the or the data source. - - - - Updates a collection of objects in the object context with data from the database. - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - - An collection of objects to refresh. - - collection is null. - refreshMode is not valid. - collection is empty or an object is not attached to the context. - - - Updates an object in the object context with data from the database. - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - The object to be refreshed. - entity is null. - refreshMode is not valid. - entity is not attached to the context. - - - Asynchronously updates a collection of objects in the object context with data from the database. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - - An collection of objects to refresh. - - - A task that represents the asynchronous operation. - - collection is null. - refreshMode is not valid. - collection is empty or an object is not attached to the context. - - - Asynchronously updates a collection of objects in the object context with data from the database. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - - An collection of objects to refresh. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - collection is null. - refreshMode is not valid. - collection is empty or an object is not attached to the context. - - - Asynchronously updates an object in the object context with data from the database. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - The object to be refreshed. - - A task that represents the asynchronous operation. - - entity is null. - refreshMode is not valid. - entity is not attached to the context. - - - Asynchronously updates an object in the object context with data from the database. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - The object to be refreshed. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - entity is null. - refreshMode is not valid. - entity is not attached to the context. - - - Persists all updates to the database and resets change tracking in the object context. - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Asynchronously persists all updates to the database and resets change tracking in the object context. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Asynchronously persists all updates to the database and resets change tracking in the object context. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Persists all updates to the database and optionally resets change tracking in the object context. - - This parameter is needed for client-side transaction support. If true, the change tracking on all objects is reset after - - finishes. If false, you must call the - method after . - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Persists all updates to the database and optionally resets change tracking in the object context. - - A value that determines the behavior of the operation. - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Asynchronously persists all updates to the database and optionally resets change tracking in the object context. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that determines the behavior of the operation. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Asynchronously persists all updates to the database and optionally resets change tracking in the object context. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that determines the behavior of the operation. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - - Ensures that changes are synchronized with changes in all objects that are tracked by the - - . - - - - Returns an object that has the specified entity key. - true if the object was retrieved successfully. false if the key is temporary, the connection is null, or the value is null. - The key of the object to be found. - When this method returns, contains the object. - Incompatible metadata for key . - key is null. - - - - Executes a stored procedure or function that is defined in the data source and mapped in the conceptual model, with the specified parameters. Returns a typed - - . - - - An for the data that is returned by the stored procedure. - - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - The entity type of the returned when the function is executed against the data source. This type must implement - - . - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - - Executes the given stored procedure or function that is defined in the data source and expressed in the conceptual model, with the specified parameters, and merge option. Returns a typed - - . - - - An for the data that is returned by the stored procedure. - - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - The to use when executing the query. - - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - The entity type of the returned when the function is executed against the data source. This type must implement - - . - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - - Executes the given function on the default container. - - Element type for function results. - - Name of function. May include container (e.g. ContainerName.FunctionName) or just function name when DefaultContainerName is known. - - The options for executing this function. - - The parameter values to use for the function. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - An object representing the result of executing this function. - If function is null or empty - - If function is invalid (syntax, - does not exist, refers to a function with return type incompatible with T) - - - - Executes a stored procedure or function that is defined in the data source and expressed in the conceptual model; discards any results returned from the function; and returns the number of rows affected by the execution. - The number of rows affected. - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - Generates an equivalent type that can be used with the Entity Framework for each type in the supplied enumeration. - - An enumeration of objects that represent custom data classes that map to the conceptual model. - - - - Returns all the existing proxy types. - - An of all the existing proxy types. - - - - Returns the entity type of the POCO entity associated with a proxy object of a specified type. - - The of the associated POCO entity. - - - The of the proxy object. - - - - Creates and returns an instance of the requested type . - An instance of the requested type T , or an instance of a derived type that enables T to be used with the Entity Framework. The returned object is either an instance of the requested type or an instance of a derived type that enables the requested type to be used with the Entity Framework. - Type of object to be returned. - - - - Executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command specified in the server's native query language. - The parameter values to use for the query. - The number of rows affected. - - - - Executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - Controls the creation of a transaction for this command. - The command specified in the server's native query language. - The parameter values to use for the query. - The number of rows affected. - - - - Asynchronously executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command specified in the server's native query language. - The parameter values to use for the query. - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - - Asynchronously executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - Controls the creation of a transaction for this command. - The command specified in the server's native query language. - The parameter values to use for the query. - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - - Asynchronously executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command specified in the server's native query language. - - A to observe while waiting for the task to complete. - - The parameter values to use for the query. - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - - Asynchronously executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - Controls the creation of a transaction for this command. - The command specified in the server's native query language. - - A to observe while waiting for the task to complete. - - The parameter values to use for the query. - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior of - DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - - The to use when executing the query. The default is - . - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - - A to observe while waiting for the task to complete. - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - The options for executing this query. - - A to observe while waiting for the task to complete. - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - The options for executing this query. - - A to observe while waiting for the task to complete. - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Translates a that contains rows of entity data to objects of the requested entity type. - - The entity type. - An enumeration of objects of type TResult . - - The that contains entity data to translate into entity objects. - - When reader is null. - - - - Translates a that contains rows of entity data to objects of the requested entity type, in a specific entity set, and with the specified merge option. - - The entity type. - An enumeration of objects of type TResult . - - The that contains entity data to translate into entity objects. - - The entity set of the TResult type. - - The to use when translated objects are added to the object context. The default is - - . - - When reader is null. - - When the supplied mergeOption is not a valid value. - - When the supplied entitySetName is not a valid entity set for the TResult type. - - - - Creates the database by using the current data source connection and the metadata in the - - . - - - - Deletes the database that is specified as the database in the current data source connection. - - - - Checks if the database that is specified as the database in the current store connection exists on the store. Most of the actual work - is done by the DbProviderServices implementation for the current store connection. - - true if the database exists; otherwise, false. - - - - Generates a data definition language (DDL) script that creates schema objects (tables, primary keys, foreign keys) for the metadata in the - - . The - - loads metadata from store schema definition language (SSDL) files. - - - A DDL script that creates schema objects for the metadata in the - - . - - - - Gets the connection used by the object context. - - A object that is the connection. - - - When the instance has been disposed. - - - - Gets or sets the default container name. - - A that is the default container name. - - - - Gets the metadata workspace used by the object context. - - The object associated with this - - . - - - - Gets the object state manager used by the object context to track object changes. - - The used by this - - . - - - - Gets or sets the timeout value, in seconds, for all object context operations. A null value indicates that the default value of the underlying provider will be used. - - An value that is the timeout value, in seconds. - - The timeout value is less than 0. - - - Gets the LINQ query provider associated with this object context. - - The instance used by this object context. - - - - - Gets the instance that contains options that affect the behavior of the - - . - - - The instance that contains options that affect the behavior of the - - . - - - - - Returns itself. ObjectContext implements to provide a common - interface for and ObjectContext both of which will return the underlying - ObjectContext. - - - - - Gets the transaction handler in use by this context. May be null if no transaction have been started. - - - The transaction handler. - - - - - Returns the being used for this context. - - - - Occurs when changes are saved to the data source. - - - Occurs when a new entity object is created from data in the data source as part of a query or load operation. - - - - Defines options that affect the behavior of the ObjectContext. - - - - - Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction. - - - This flag determines whether a new transaction will be started when methods such as - and are executed outside of a transaction. - Note that this does not change the behavior of . - - - The default transactional behavior. - - - - Gets or sets a Boolean value that determines whether related objects are loaded automatically when a navigation property is accessed. - true if lazy loading is enabled; otherwise, false. - - - Gets or sets a Boolean value that determines whether proxy instances are created for custom data classes that are persistence ignorant. - true if proxies are created; otherwise, false. The default value is true. - - - Gets or sets a Boolean value that determines whether to use the legacy PreserveChanges behavior. - true if the legacy PreserveChanges behavior should be used; otherwise, false. - - - Gets or sets a Boolean value that determines whether to use the consistent NullReference behavior. - - If this flag is set to false then setting the Value property of the for an - FK relationship to null when it is already null will have no effect. When this flag is set to true, then - setting the value to null will always cause the FK to be nulled and the relationship to be deleted - even if the value is currently null. The default value is false when using ObjectContext and true - when using DbContext. - - true if the consistent NullReference behavior should be used; otherwise, false. - - - Gets or sets a Boolean value that determines whether to use the C# NullComparison behavior. - - This flag determines whether C# behavior should be exhibited when comparing null values in LinqToEntities. - If this flag is set, then any equality comparison between two operands, both of which are potentially - nullable, will be rewritten to show C# null comparison semantics. As an example: - (operand1 = operand2) will be rewritten as - (((operand1 = operand2) AND NOT (operand1 IS NULL OR operand2 IS NULL)) || (operand1 IS NULL && operand2 IS NULL)) - The default value is false when using . - - true if the C# NullComparison behavior should be used; otherwise, false. - - - - EventArgs for the ObjectMaterialized event. - - - - Gets the entity object that was created. - The entity object that was created. - - - - Delegate for the ObjectMaterialized event. - - The ObjectContext responsable for materializing the object. - EventArgs containing a reference to the materialized object. - - - - This class represents a query parameter at the object layer, which consists - of a Name, a Type and a Value. - - - - - Initializes a new instance of the class with the specified name and type. - - The parameter name. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. The first character of the expression must be a letter. Any successive characters in the expression must be either letters, numbers, or an underscore (_) character. - The common language runtime (CLR) type of the parameter. - If the value of either argument is null. - If the value of the name argument is invalid. Parameter names must start with a letter and can only contain letters, numbers, and underscores. - - - - Initializes a new instance of the class with the specified name and value. - - The parameter name. This name should not include the "@" parameter marker that is used in Entity SQL statements, only the actual name. The first character of the expression must be a letter. Any successive characters in the expression must be either letters, numbers, or an underscore (_) character. - The initial value (and inherently, the type) of the parameter. - If the value of either argument is null. - If the value of the name argument is not valid. Parameter names must start with a letter and can only contain letters, numbers, and underscores. - - - Gets the parameter name, which can only be set through a constructor. - The parameter name, which can only be set through a constructor. - - - Gets the parameter type. - - The of the parameter. - - - - Gets or sets the parameter value. - The parameter value. - - - - This class represents a collection of query parameters at the object layer. - - - - - Adds the specified to the collection. - - The parameter to add to the collection. - The parameter argument is null. - - The parameter argument already exists in the collection. This behavior differs from that of most collections that allow duplicate entries. -or-Another parameter with the same name as the parameter argument already exists in the collection. Note that the lookup is case-insensitive. This behavior differs from that of most collections, and is more like that of a - - . - - The type of the parameter is not valid. - - - - Deletes all instances from the collection. - - - - - Checks for the existence of a specified in the collection by reference. - - Returns true if the parameter object was found in the collection; otherwise, false. - - The to find in the collection. - - The parameter argument is null. - - - - Determines whether an with the specified name is in the collection. - - Returns true if a parameter with the specified name was found in the collection; otherwise, false. - The name of the parameter to look for in the collection. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. - The name parameter is null. - - - Allows the parameters in the collection to be copied into a supplied array, starting with the object at the specified index. - The array into which to copy the parameters. - The index in the array at which to start copying the parameters. - - - - Removes an instance of an from the collection by reference if it exists in the collection. - - Returns true if the parameter object was found and removed from the collection; otherwise, false. - An object to remove from the collection. - The parameter argument is null. - - - - These methods return enumerator instances, which allow the collection to - be iterated through and traversed. - - An object that can be used to iterate through the collection. - - - Returns an untyped enumerator over the collection. - - An instance. - - - - Gets the number of parameters currently in the collection. - - The number of objects that are currently in the collection. - - - - - This collection is read-write - parameters may be added, removed - and [somewhat] modified at will (value only) - provided that the - implementation the collection belongs to has not locked its parameters - because it's command definition has been prepared. - - - - Provides an indexer that allows callers to retrieve parameters by name. - - The instance. - - The name of the parameter to find. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. - No parameter with the specified name is found in the collection. - - - - This class implements untyped queries at the object-layer. - - - - Returns the commands to execute against the data source. - A string that represents the commands that the query executes against the data source. - - - Returns information about the result type of the query. - - A value that contains information about the result type of the query. - - - - Executes the untyped object query with the specified merge option. - - The to use when executing the query. - The default is . - - - An that contains a collection of entity objects returned by the query. - - - - - Asynchronously executes the untyped object query with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when executing the query. - The default is . - - - A task that represents the asynchronous operation. - The task result contains an an - that contains a collection of entity objects returned by the query. - - - - - Asynchronously executes the untyped object query with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when executing the query. - The default is . - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an an - that contains a collection of entity objects returned by the query. - - - - - Returns the collection as an used for data binding. - - - An of entity objects. - - - - Returns an enumerator that iterates through a collection. - - An that can be used to iterate through the collection. - - - - - Returns an which when enumerated will execute the given SQL query against the database. - - The query results. - - - Returns the command text for the query. - A string value. - - - Gets the object context associated with this object query. - - The associated with this - - instance. - - - - Gets or sets how objects returned from a query are added to the object context. - - The query . - - - - - Whether the query is streaming or buffering - - - - Gets the parameter collection for this object query. - - The parameter collection for this . - - - - Gets or sets a value that indicates whether the query plan should be cached. - A value that indicates whether the query plan should be cached. - - - - Gets the result element type for this query instance. - - - - - Gets the expression describing this query. For queries built using - LINQ builder patterns, returns a full LINQ expression tree; otherwise, - returns a constant expression wrapping this query. Note that the - default expression is not cached. This allows us to differentiate - between LINQ and Entity-SQL queries. - - - - - Gets the associated with this query instance. - - - - - ObjectQuery implements strongly-typed queries at the object-layer. - Queries are specified using Entity-SQL strings and may be created by calling - the Entity-SQL-based query builder methods declared by ObjectQuery. - - The result type of this ObjectQuery - - - - Creates a new instance using the specified Entity SQL command as the initial query. - - The Entity SQL query. - - The on which to execute the query. - - - - - Creates a new instance using the specified Entity SQL command as the initial query and the specified merge option. - - The Entity SQL query. - - The on which to execute the query. - - - Specifies how the entities that are retrieved through this query should be merged with the entities that have been returned from previous queries against the same - - . - - - - Executes the object query with the specified merge option. - - The to use when executing the query. - The default is . - - - An that contains a collection of entity objects returned by the query. - - - - - Asynchronously executes the object query with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when executing the query. - The default is . - - - A task that represents the asynchronous operation. - The task result contains an - that contains a collection of entity objects returned by the query. - - - - - Asynchronously executes the object query with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when executing the query. - The default is . - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an - that contains a collection of entity objects returned by the query. - - - - Specifies the related objects to include in the query results. - - A new with the defined query path. - - Dot-separated list of related objects to return in the query results. - path is null. - path is empty. - - - Limits the query to unique results. - - A new instance that is equivalent to the original instance with SELECT DISTINCT applied. - - - - - This query-builder method creates a new query whose results are all of - the results of this query, except those that are also part of the other - query specified. - - A query representing the results to exclude. - a new ObjectQuery instance. - If the query parameter is null. - - - Groups the query results by the specified criteria. - - A new instance of type - - that is equivalent to the original instance with GROUP BY applied. - - The key columns by which to group the results. - The list of selected properties that defines the projection. - Zero or more parameters that are used in this method. - The query parameter is null or an empty string - or the projection parameter is null or an empty string. - - - - This query-builder method creates a new query whose results are those that - are both in this query and the other query specified. - - A query representing the results to intersect with. - a new ObjectQuery instance. - If the query parameter is null. - - - Limits the query to only results of a specific type. - - A new instance that is equivalent to the original instance with OFTYPE applied. - - - The type of the returned when the query is executed with the applied filter. - - The type specified is not valid. - - - Orders the query results by the specified criteria. - - A new instance that is equivalent to the original instance with ORDER BY applied. - - The key columns by which to order the results. - Zero or more parameters that are used in this method. - The keys or parameters parameter is null. - The key is an empty string. - - - Limits the query results to only the properties that are defined in the specified projection. - - A new instance of type - - that is equivalent to the original instance with SELECT applied. - - The list of selected properties that defines the projection. - Zero or more parameters that are used in this method. - projection is null or parameters is null. - The projection is an empty string. - - - Limits the query results to only the property specified in the projection. - - A new instance of a type compatible with the specific projection. The returned - - is equivalent to the original instance with SELECT VALUE applied. - - The projection list. - An optional set of query parameters that should be in scope when parsing. - - The type of the returned by the - - method. - - projection is null or parameters is null. - The projection is an empty string. - - - Orders the query results by the specified criteria and skips a specified number of results. - - A new instance that is equivalent to the original instance with both ORDER BY and SKIP applied. - - The key columns by which to order the results. - The number of results to skip. This must be either a constant or a parameter reference. - An optional set of query parameters that should be in scope when parsing. - Any argument is null. - keys is an empty string or count is an empty string. - - - Limits the query results to a specified number of items. - - A new instance that is equivalent to the original instance with TOP applied. - - The number of items in the results as a string. - An optional set of query parameters that should be in scope when parsing. - count is null. - count is an empty string. - - - - This query-builder method creates a new query whose results are all of - the results of this query, plus all of the results of the other query, - without duplicates (i.e., results are unique). - - A query representing the results to add. - a new ObjectQuery instance. - If the query parameter is null. - - - - This query-builder method creates a new query whose results are all of - the results of this query, plus all of the results of the other query, - including any duplicates (i.e., results are not necessarily unique). - - A query representing the results to add. - a new ObjectQuery instance. - If the query parameter is null. - - - Limits the query to results that match specified filtering criteria. - - A new instance that is equivalent to the original instance with WHERE applied. - - The filter predicate. - Zero or more parameters that are used in this method. - predicate is null or parameters is null. - The predicate is an empty string. - - - - Returns an which when enumerated will execute the given SQL query against the database. - - The query results. - - - - Returns an which when enumerated will execute the given SQL query against the database. - - The query results. - - - Gets or sets the name of this object query. - - A string value that is the name of this . - - The value specified on set is not valid. - - - - This class implements IEnumerable and IDisposable. Instance of this class - is returned from ObjectQuery.Execute method. - - - - - This constructor is intended only for use when creating test doubles that will override members - with mocked or faked behavior. Use of this constructor for other purposes may result in unexpected - behavior including but not limited to throwing . - - - - - - - Returns an enumerator that iterates through the query results. - An enumerator that iterates through the query results. - - - Returns the results in a format useful for data binding. - - An of entity objects. - - - - Performs tasks associated with freeing, releasing, or resetting resources. - - - Releases the resources used by the object result. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the next result set of a stored procedure. - An ObjectResult that enumerates the values of the next result set. Null, if there are no more, or if the ObjectResult is not the result of a stored procedure call. - The type of the element. - - - - IListSource.ContainsListCollection implementation. Always returns false. - - - - - When overridden in a derived class, gets the type of the generic - - . - - - The type of the generic . - - - - - This class represents the result of the method. - - The type of the result. - - - - This constructor is intended only for use when creating test doubles that will override members - with mocked or faked behavior. Use of this constructor for other purposes may result in unexpected - behavior including but not limited to throwing . - - - - Returns an enumerator that iterates through the query results. - An enumerator that iterates through the query results. - - - - - - Releases the unmanaged resources used by the and optionally releases the managed resources. - true to release managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the type of the . - - - A that is the type of the . - - - - - Represents a typed entity set that is used to perform create, read, update, and delete operations. - - The type of the entity. - - - Adds an object to the object context in the current entity set. - The object to add. - - - Attaches an object or object graph to the object context in the current entity set. - The object to attach. - - - Marks an object for deletion. - - An object that represents the entity to delete. The object can be in any state except - - . - - - - Removes the object from the object context. - - Object to be detached. Only the entity is removed; if there are any related objects that are being tracked by the same - - , those will not be detached automatically. - - - - - Copies the scalar values from the supplied object into the object in the - - that has the same key. - - The updated object. - - The detached object that has property updates to apply to the original object. The entity key of currentEntity must match the - - property of an entry in the - - . - - - - - Sets the property of an - - to match the property values of a supplied object. - - The updated object. - - The detached object that has property updates to apply to the original object. The entity key of originalEntity must match the - - property of an entry in the - - . - - - - Creates a new entity type object. - The new entity type object, or an instance of a proxy type that corresponds to the entity type. - - - Creates an instance of the specified type. - An instance of the requested type T , or an instance of a proxy type that corresponds to the type T . - Type of object to be returned. - - - - Gets the metadata of the entity set represented by this instance. - - - An object. - - - - - The original values of the properties of an entity when it was retrieved from the database. - - - - - Maintains object state and identity management for entity type instances and relationship instances. - - - - - Initializes a new instance of the class. - - - The , which supplies mapping and metadata information. - - - - - Returns a collection of objects for objects or relationships with the given state. - - - A collection of objects in the given - - . - - - An used to filter the returned - - objects. - - - When state is . - - - - - Changes state of the for a specific object to the specified entityState . - - - The for the supplied entity . - - The object for which the state must be changed. - The new state of the object. - When entity is null. - - When the object is not detached and does not have an entry in the state manager - or when you try to change the state to - from any other - or when state is not a valid value. - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and the name of the navigation property. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - The name of the navigation property on source that returns the specified target . - - The requested of the specified relationship. - - When source or target is null. - - When trying to change the state of the relationship to a state other than - or - when either source or target is in a state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an state - or when state is not a valid value - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and a LINQ expression that defines the navigation property. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - A LINQ expression that selects the navigation property on source that returns the specified target . - - The requested of the specified relationship. - - The entity type of the source object. - When source , target , or selector is null. - selector is malformed or cannot return a navigation property. - - When you try to change the state of the relationship to a state other than - or - when either source or target is in a - state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an state - or when state is not a valid value. - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and the properties of the relationship. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - The name of the relationship. - The role name at the target end of the relationship. - - The requested of the specified relationship. - - When source or target is null. - - When you try to change the state of the relationship to a state other than - or - when either source or target is in a state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an - state - or when state is not a valid value. - - - - - Returns an for the object or relationship entry with the specified key. - - - The corresponding for the given - - . - - - The . - - When key is null. - When the specified key cannot be found in the state manager. - - No entity with the specified exists in the - - . - - - - - Returns an for the specified object. - - - The corresponding for the given - - . - - - The to which the retrieved - - belongs. - - - No entity for the specified exists in the - - . - - - - - Tries to retrieve the corresponding for the specified - - . - - - A Boolean value that is true if there is a corresponding - - for the given object; otherwise, false. - - - The to which the retrieved - - belongs. - - - When this method returns, contains the for the given - - This parameter is passed uninitialized. - - - - - Tries to retrieve the corresponding for the object or relationship with the specified - - . - - - A Boolean value that is true if there is a corresponding - - for the given - - ; otherwise, false. - - - The given . - - - When this method returns, contains an for the given - - This parameter is passed uninitialized. - - A null (Nothing in Visual Basic) value is provided for key . - - - - Returns the that is used by the specified object. - - - The for the specified object. - - - The object for which to return the . - - - The entity does not implement IEntityWithRelationships and is not tracked by this ObjectStateManager - - - - - Returns the that is used by the specified object. - - - true if a instance was returned for the supplied entity ; otherwise false. - - - The object for which to return the . - - - When this method returns, contains the - - for the entity . - - - - - Gets the associated with this state manager. - - - The associated with this - - . - - - - Occurs when entities are added to or removed from the state manager. - - - - A DataContractResolver that knows how to resolve proxy types created for persistent - ignorant classes to their base types. This is used with the DataContractSerializer. - - - - During deserialization, maps any xsi:type information to the actual type of the persistence-ignorant object. - Returns the type that the xsi:type is mapped to. Returns null if no known type was found that matches the xsi:type. - The xsi:type information to map. - The namespace of the xsi:type. - The declared type. - - An instance of . - - - - During serialization, maps actual types to xsi:type information. - true if the type was resolved; otherwise, false. - The actual type of the persistence-ignorant object. - The declared type. - - An instance of . - - When this method returns, contains a list of xsi:type declarations. - When this method returns, contains a list of namespaces used. - - - - Defines the different ways to handle modified properties when refreshing in-memory data from the database. - - - - - For unmodified client objects, same behavior as StoreWins. For modified client - objects, Refresh original values with store value, keeping all values on client - object. The next time an update happens, all the client change units will be - considered modified and require updating. - - - - - Discard all changes on the client and refresh values with store values. - Client original values is updated to match the store. - - - - - Flags used to modify behavior of ObjectContext.SaveChanges() - - - - - Changes are saved without the DetectChanges or the AcceptAllChangesAfterSave methods being called. - - - - - After changes are saved, the AcceptAllChangesAfterSave method is called, which resets change tracking in the ObjectStateManager. - - - - - Before changes are saved, the DetectChanges method is called to synchronize the property values of objects that are attached to the object context with data in the ObjectStateManager. - - - - - This exception is thrown when a update operation violates the concurrency constraint. - - - - - Exception during save changes to store - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of the class that uses a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class that uses a specified error message, a reference to the inner exception, and an enumerable collection of - - objects. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - The collection of objects. - - - - - Initializes a new instance of with serialized data. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - Gets the objects for this - - . - - - A collection of objects comprised of either a single entity and 0 or more relationships, or 0 entities and 1 or more relationships. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of that uses a specified error message, a reference to the inner exception, and an enumerable collection of - - objects. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - The enumerable collection of objects. - - - - - Property constraint exception class. Note that this class has state - so if you change even - its internals, it can be a breaking change - - - - - Initializes a new instance of the class with default message. - - - - - Initializes a new instance of the class with supplied message. - - A localized error message. - - - - Initializes a new instance of the class with supplied message and inner exception. - - A localized error message. - The inner exception. - - - - Initializes a new instance of the class. - - A localized error message. - The name of the property. - - - - Initializes a new instance of the class. - - A localized error message. - The name of the property. - The inner exception. - - - Gets the name of the property that violated the constraint. - The name of the property that violated the constraint. - - - - This exception is thrown when the store provider exhibits a behavior incompatible with the entity client provider - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Provides common language runtime (CLR) methods that expose EDM canonical functions - for use in or LINQ to Entities queries. - - - Note that this class was called EntityFunctions in some previous versions of Entity Framework. - - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Left EDM function to return a given - number of the leftmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the left of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Right EDM function to return a given - number of the rightmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the right of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Reverse EDM function to return a given - string with the order of the characters reversed. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The input string with the order of the characters reversed. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to - return the number of minutes that the given date/time is offset from UTC. This is generally between +780 - and -780 (+ or - 13 hrs). - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The offset of the input from UTC. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTimeOffset EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The time zone offset part of the new date. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of hours between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of minutes between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of seconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of milliseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of microseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of nanoseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - The string to escape special characters with, must only be a single character. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a Unicode string. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a non-Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a non-Unicode string. - - - - Describes the state of an entity. - - - - - The entity is not being tracked by the context. - An entity is in this state immediately after it has been created with the new operator - or with one of the Create methods. - - - - - The entity is being tracked by the context and exists in the database, and its property - values have not changed from the values in the database. - - - - - The entity is being tracked by the context but does not yet exist in the database. - - - - - The entity is being tracked by the context and exists in the database, but has been marked - for deletion from the database the next time SaveChanges is called. - - - - - The entity is being tracked by the context and exists in the database, and some or all of its - property values have been modified. - - - - - Represents information about a database connection. - - - - - Creates a new instance of DbConnectionInfo representing a connection that is specified in the application configuration file. - - The name of the connection string in the application configuration. - - - - Creates a new instance of DbConnectionInfo based on a connection string. - - The connection string to use for the connection. - The name of the provider to use for the connection. Use 'System.Data.SqlClient' for SQL Server. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Instances of this class are used to create DbConnection objects for - SQL Server LocalDb based on a given database name or connection string. - - - An instance of this class can be set on the class or in the - app.config/web.config for the application to cause all DbContexts created with no - connection information or just a database name to use SQL Server LocalDb by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Implementations of this interface are used to create DbConnection objects for - a type of database server based on a given database name. - An Instance is set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use a certain type of database server by default. - Two implementations of this interface are provided: - is used to create connections to Microsoft SQL Server, including EXPRESS editions. - is used to create connections to Microsoft SQL - Server Compact Editions. - Other implementations for other database servers can be added as needed. - Note that implementations should be thread safe or immutable since they may - be accessed by multiple threads at the same time. - - - - - Creates a connection based on the given database name or connection string. - - The database name or connection string. - An initialized DbConnection. - - - - Creates a new instance of the connection factory for the given version of LocalDb. - For SQL Server 2012 LocalDb use "v11.0". - For SQL Server 2014 and later LocalDb use "mssqllocaldb". - - The LocalDb version to use. - - - - Creates a new instance of the connection factory for the given version of LocalDb. - For SQL Server 2012 LocalDb use "v11.0". - For SQL Server 2014 and later LocalDb use "mssqllocaldb". - - The LocalDb version to use. - The connection string to use for options to the database other than the 'Initial Catalog', 'Data Source', and 'AttachDbFilename'. The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the database name when CreateConnection is called. The 'Data Source' will be set based on the LocalDbVersion argument. - - - - Creates a connection for SQL Server LocalDb based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - The connection string to use for options to the database other than the 'Initial Catalog', - 'Data Source', and 'AttachDbFilename'. - The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the - database name when CreateConnection is called. - The 'Data Source' will be set based on the LocalDbVersion argument. - The default is 'Integrated Security=True;'. - - - - - An implementation of that will use Code First Migrations - to update the database to the latest version. - - The type of the context. - The type of the migrations configuration to use during initialization. - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class that will use - the connection information from a context constructed using the default constructor - or registered factory if applicable - - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class specifying whether to - use the connection information from the context that triggered initialization to perform the migration. - - - If set to true the initializer is run using the connection information from the context that - triggered initialization. Otherwise, the connection information will be taken from a context constructed - using the default constructor or registered factory if applicable. - - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class specifying whether to - use the connection information from the context that triggered initialization to perform the migration. - Also allows specifying migrations configuration to use during initialization. - - - If set to true the initializer is run using the connection information from the context that - triggered initialization. Otherwise, the connection information will be taken from a context constructed - using the default constructor or registered factory if applicable. - - Migrations configuration to use during initialization. - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class that will - use a specific connection string from the configuration file to connect to - the database to perform the migration. - - The name of the connection string to use for migration. - - - - - - - Helper class that is used to configure a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a new column definition to store Binary data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The maximum allowable length of the array data. - Value indicating whether or not all data should be padded to the maximum length. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - Value indicating whether or not this column should be configured as a timestamp. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Boolean data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Byte data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store DateTime data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Decimal data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The numeric precision of the column. - The numeric scale of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Value indicating whether or not the database will generate values for this column during insert. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Double data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store GUID data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Single data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Short data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Integer data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Long data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store String data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The maximum allowable length of the string data. - Value indicating whether or not all data should be padded to the maximum length. - Value indicating whether or not the column supports Unicode content. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Time data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store DateTimeOffset data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store geography data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store geometry data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Helper class that is used to further configure a table being created from a CreateTable call on - - . - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The type that represents the table's columns. - - - - Initializes a new instance of the TableBuilder class. - - The table creation operation to be further configured. - The migration the table is created in. - - - - Specifies a primary key for the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The name of the primary key. If null is supplied, a default name will be generated. - A value indicating whether or not this is a clustered primary key. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - Specifies an index to be created on the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A lambda expression representing the property to be indexed. C#: t => t.PropertyOne VB.Net: Function(t) t.PropertyOne If multiple properties are to be indexed then specify an anonymous type including the properties. C#: t => new { t.PropertyOne, t.PropertyTwo } VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo } - The name of the index. - A value indicating whether or not this is a unique index. - A value indicating whether or not this is a clustered index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - Specifies a foreign key constraint to be created on the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table that the foreign key constraint targets. - A lambda expression representing the properties of the foreign key. C#: t => t.PropertyOne VB.Net: Function(t) t.PropertyOne If multiple properties make up the foreign key then specify an anonymous type including the properties. C#: t => new { t.PropertyOne, t.PropertyTwo } VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo } - A value indicating whether or not cascade delete should be configured on the foreign key constraint. - The name of this foreign key constraint. If no name is supplied, a default name will be calculated. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Base class for code-based migrations. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Operations to be performed during the upgrade process. - - - - - Operations to be performed during the downgrade process. - - - - - Adds an operation to create a new stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The action that specifies the parameters of the stored procedure. - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - The parameters in this create stored procedure operation. You do not need to specify this - type, it will be inferred from the parameter you supply. - - - - - Adds an operation to alter a stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to alter a stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The parameters in this alter stored procedure operation. You do not need to specify this - type, it will be inferred from the parameter you supply. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The action that specifies the parameters of the stored procedure. - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing stored procedure with the specified name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the procedure to drop. Schema name is optional, if no schema is specified then dbo is - assumed. - - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this create table operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - An object that allows further configuration of the table creation operation. - - - - Adds an operation to create a new table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this create table operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - Custom annotations that exist on the table to be created. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - An object that allows further configuration of the table creation operation. - - - - Adds an operation to handle changes in the annotations defined on tables. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - The custom annotations on the table that have changed. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new foreign key constraint. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - The column this foreign key references. If no value is supplied the primary key of the - principal table will be referenced. - - - A value indicating if cascade delete should be configured for the foreign key - relationship. If no value is supplied, cascade delete will be off. - - - The name of the foreign key constraint in the database. If no value is supplied a unique name will - be generated. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new foreign key constraint. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key columns. - - The table that contains the columns this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - The columns this foreign key references. If no value is supplied the primary key of the - principal table will be referenced. - - - A value indicating if cascade delete should be configured for the foreign key - relationship. If no value is supplied, cascade delete will be off. - - - The name of the foreign key constraint in the database. If no value is supplied a unique name will - be generated. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on its name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The name of the foreign key constraint in the database. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the column it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the column it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. - Schema name is optional, if no schema is specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. - Schema name is optional, if no schema is specified then dbo is assumed. - - The columns this foreign key references. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the columns it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key columns. - - The table that contains the columns this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to move a table to a new schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be moved. Schema name is optional, if no schema is specified then dbo is - assumed. - - The schema the table is to be moved to. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to move a stored procedure to a new schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure to be moved. Schema name is optional, if no schema is specified - then dbo is assumed. - - The schema the stored procedure is to be moved to. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a table. To change the schema of a table use MoveTable. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be renamed. Schema name is optional, if no schema is specified then dbo is - assumed. - - - The new name for the table. Schema name is optional, if no schema is specified then dbo is - assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a stored procedure. To change the schema of a stored procedure use MoveStoredProcedure - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure to be renamed. Schema name is optional, if no schema is specified - then dbo is assumed. - - - The new name for the stored procedure. Schema name is optional, if no schema is specified then - dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table that contains the column to be renamed. Schema name is optional, if no - schema is specified then dbo is assumed. - - The name of the column to be renamed. - The new name for the column. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to add a column to an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to add the column to. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be added. - - An action that specifies the column to be added. i.e. c => c.Int(nullable: false, - defaultValue: 3) - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the column from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the column from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to alter the definition of an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table the column exists in. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be changed. - - An action that specifies the new definition for the column. i.e. c => c.String(nullable: - false, defaultValue: "none") - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - The primary key column. - - The name of the primary key in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered primary key. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new primary key based on multiple columns. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The primary key columns. - - The name of the primary key in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered primary key. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing primary key that does not have the default name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the primary key to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing primary key that was created with the default name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create an index on a single column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to create the index on. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to create the index on. - - A value indicating if this is a unique index. If no value is supplied a non-unique index will be - created. - - - The name to use for the index in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create an index on multiple columns. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to create the index on. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the columns to create the index on. - - A value indicating if this is a unique index. If no value is supplied a non-unique index will be - created. - - - The name to use for the index in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an index based on its name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the index from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the index to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an index based on the columns it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the index from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column(s) the index targets. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename an index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table that contains the index to be renamed. Schema name is optional, if no - schema is specified then dbo is assumed. - - The name of the index to be renamed. - The new name for the index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL command or set of SQL commands. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The SQL to be executed. - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL file. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The SQL file to be executed. Relative paths are assumed to be relative to the current AppDomain's BaseDirectory. - - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL resource file. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The manifest resource name of the SQL resource file to be executed. - - The assembly containing the resource file. The calling assembly is assumed if not provided. - - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - - - - - - - - - - - - - - - - - - - Configuration relating to the use of migrations for a given model. - You will typically create a configuration class that derives - from rather than - using this class. - - - - - The default directory that migrations are stored in. - - - - - Initializes a new instance of the DbMigrationsConfiguration class. - - - - - Adds a new SQL generator to be used for a given database provider. - - Name of the database provider to set the SQL generator for. - The SQL generator to be used. - - - - Gets the SQL generator that is set to be used with a given database provider. - - Name of the database provider to get the SQL generator for. - The SQL generator that is set for the database provider. - - - - Adds a new factory for creating instances to be used for a given database provider. - - Name of the database provider to set the SQL generator for. - - A factory for creating instances for a given and - representing the default schema. - - - - - Gets the history context factory that is set to be used with a given database provider. - - Name of the database provider to get thefactory for. - The history context factory that is set for the database provider. - - - - Gets or sets a value indicating if automatic migrations can be used when migrating the database. - - - - - Gets or sets the string used to distinguish migrations belonging to this configuration - from migrations belonging to other configurations using the same database. - This property enables migrations from multiple different models to be applied to a single database. - - - - - Gets or sets a value indicating if data loss is acceptable during automatic migration. - If set to false an exception will be thrown if data loss may occur as part of an automatic migration. - - - - - Gets or sets the derived DbContext representing the model to be migrated. - - - - - Gets or sets the namespace used for code-based migrations. - - - - - Gets or sets the sub-directory that code-based migrations are stored in. - Note that this property must be set to a relative path for a sub-directory under the - Visual Studio project root; it cannot be set to an absolute path. - - - - - Gets or sets the code generator to be used when scaffolding migrations. - - - - - Gets or sets the assembly containing code-based migrations. - - - - - Gets or sets a value to override the connection of the database to be migrated. - - - - - Gets or sets the timeout value used for the individual commands within a - migration. A null value indicates that the default value of the underlying - provider will be used. - - - - - Configuration relating to the use of migrations for a given model. - - The context representing the model that this configuration applies to. - - - - Initializes a new instance of the DbMigrationsConfiguration class. - - - - - Runs after upgrading to the latest migration to allow seed data to be updated. - - - Note that the database may already contain seed data when this method runs. This means that - implementations of this method must check whether or not seed data is present and/or up-to-date - and then only make changes if necessary and in a non-destructive way. The - - can be used to help with this, but for seeding large amounts of data it may be necessary to do less - granular checks if performance is an issue. - If the database - initializer is being used, then this method will be called each time that the initializer runs. - If one of the , , - or initializers is being used, then this method will not be - called and the Seed method defined in the initializer should be used instead. - - Context to be used for updating seed data. - - - - - - - - - - - - - - - - - - - DbMigrator is used to apply existing migrations to a database. - DbMigrator can be used to upgrade and downgrade to any given migration. - To scaffold migrations based on changes to your model use - - - - - Base class for decorators that wrap the core - - - - - Initializes a new instance of the MigratorBase class. - - The migrator that this decorator is wrapping. - - - - Gets a list of the pending migrations that have not been applied to the database. - - List of migration Ids - - - - Updates the target database to the latest migration. - - - - - Updates the target database to a given migration. - - The migration to upgrade/downgrade to. - - - - Gets a list of the migrations that are defined in the assembly. - - List of migration Ids - - - - Gets a list of the migrations that have been applied to the database. - - List of migration Ids - - - - Gets the configuration being used for the migrations process. - - - - - Migration Id representing the state of the database before any migrations are applied. - - - - - Initializes a new instance of the DbMigrator class. - - Configuration to be used for the migration process. - - - - Gets all migrations that are defined in the configured migrations assembly. - - The list of migrations. - - - - Gets all migrations that have been applied to the target database. - - The list of migrations. - - - - Gets all migrations that are defined in the assembly but haven't been applied to the target database. - - The list of migrations. - - - - Updates the target database to a given migration. - - The migration to upgrade/downgrade to. - - - - Gets the configuration that is being used for the migration process. - - - - - A set of extension methods for - - - - - Adds or updates entities by key when SaveChanges is called. Equivalent to an "upsert" operation - from database terminology. - This method can useful when seeding data using Migrations. - - The type of entities to add or update. - The set to which the entities belong. - The entities to add or update. - - When the parameter is a custom or fake IDbSet implementation, this method will - attempt to locate and invoke a public, instance method with the same signature as this extension method. - - - - - Adds or updates entities by a custom identification expression when SaveChanges is called. - Equivalent to an "upsert" operation from database terminology. - This method can useful when seeding data using Migrations. - - The type of entities to add or update. - The set to which the entities belong. - An expression specifying the properties that should be used when determining whether an Add or Update operation should be performed. - The entities to add or update. - - When the parameter is a custom or fake IDbSet implementation, this method will - attempt to locate and invoke a public, instance method with the same signature as this extension method. - - - - - Generates C# code for a code-based migration. - - - - - Base class for providers that generate code for code-based migrations. - - - - - Generates the code that should be added to the users project. - - Unique identifier of the migration. - Operations to be performed by the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Gets the namespaces that must be output as "using" or "Imports" directives to handle - the code generated by the given operations. - - The operations for which code is going to be generated. - An ordered list of namespace names. - - - - Gets the default namespaces that must be output as "using" or "Imports" directives for - any code generated. - - A value indicating if this class is being generated for a code-behind file. - An ordered list of namespace names. - - - - Gets the instances that are being used. - - - - - - - - Generates the primary code file that the user can view and edit. - - Operations to be performed by the migration. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates the code behind file with migration metadata. - - Unique identifier of the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates a property to return the source or target model in the code behind file. - - Name of the property. - Value to be returned. - Text writer to add the generated code to. - - - - Generates class attributes. - - Text writer to add the generated code to. - A value indicating if this class is being generated for a code-behind file. - - - - Generates a namespace, using statements and class definition. - - Namespace that code should be generated in. - Name of the class that should be generated. - Text writer to add the generated code to. - Base class for the generated class. - A value indicating if this class is being generated for a code-behind file. - Namespaces for which using directives will be added. If null, then the namespaces returned from GetDefaultNamespaces will be used. - - - - Generates the closing code for a class that was started with WriteClassStart. - - Namespace that code should be generated in. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for the given annotation value, which may be null. The default behavior is to use an - if one is registered, otherwise call ToString on the annotation value. - - - Note that a can be registered to generate code for custom annotations - without the need to override the entire code generator. - - The name of the annotation for which code is needed. - The annotation value to generate. - The writer to which generated code should be written. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to specify the definition for a . - The parameter definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for an . - - The operation for which code should be generated. - The writer to which generated code should be written. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify a set of column names using a lambda expression. - - The columns to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify the definition for a . - - The column definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column of unknown data type. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Removes any invalid characters from the name of an database artifact. - - The name to be scrubbed. - The scrubbed name. - - - - Gets the type name to use for a column of the given data type. - - The data type to translate. - The type name to use in the generated migration. - - - - Quotes an identifier using appropriate escaping to allow it to be stored in a string. - - The identifier to be quoted. - The quoted identifier. - - - - Scaffolds code-based migrations to apply pending model changes to the database. - - - - - Initializes a new instance of the MigrationScaffolder class. - - Configuration to be used for scaffolding. - - - - Scaffolds a code based migration to apply any pending model changes to the database. - - The name to use for the scaffolded migration. - The scaffolded migration. - - - - Scaffolds a code based migration to apply any pending model changes to the database. - - The name to use for the scaffolded migration. - Whether or not to include model changes. - The scaffolded migration. - - - - Scaffolds the initial code-based migration corresponding to a previously run database initializer. - - The scaffolded migration. - - - - Gets or sets the namespace used in the migration's generated code. - By default, this is the same as MigrationsNamespace on the migrations - configuration object passed into the constructor. For VB.NET projects, this - will need to be updated to take into account the project's root namespace. - - - - - Represents a code-based migration that has been scaffolded and is ready to be written to a file. - - - - - Gets or sets the unique identifier for this migration. - Typically used for the file name of the generated code. - - - - - Gets or sets the scaffolded migration code that the user can edit. - - - - - Gets or sets the scaffolded migration code that should be stored in a code behind file. - - - - - Gets or sets the programming language used for this migration. - Typically used for the file extension of the generated code. - - - - - Gets or sets the subdirectory in the user's project that this migration should be saved in. - - - - - Gets a dictionary of string resources to add to the migration resource file. - - - - - Gets or sets whether the migration was re-scaffolded. - - - - - Represents an exception that occurred while running an operation in another AppDomain in the - . - - - - - Initializes a new instance of the ToolingException class. - - - - - Initializes a new instance of the class with a specified error message. - - The message that describes the error. - - - - Initializes a new instance of the ToolingException class. - - Error that explains the reason for the exception. - The type of the exception that was thrown. - The stack trace of the exception that was thrown. - - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the type of the exception that was thrown. - - - - - Gets the stack trace of the exception that was thrown. - - - - - Helper class that is used by design time tools to run migrations related - commands that need to interact with an application that is being edited - in Visual Studio. - Because the application is being edited the assemblies need to - be loaded in a separate AppDomain to ensure the latest version - is always loaded. - The App/Web.config file from the startup project is also copied - to ensure that any configuration is applied. - - - - - Initializes a new instance of the ToolingFacade class. - - The name of the assembly that contains the migrations configuration to be used. - The name of the assembly that contains the DbContext to be used. - The namespace qualified name of migrations configuration to be used. - The working directory containing the compiled assemblies. - The path of the config file from the startup project. - The path of the application data directory from the startup project. Typically the App_Data directory for web applications or the working directory for executables. - The connection to the database to be migrated. If null is supplied, the default connection for the context will be used. - - - - Releases all unmanaged resources used by the facade. - - - - - Gets the fully qualified name of all types deriving from . - - All context types found. - - - - Gets the fully qualified name of a type deriving from . - - The name of the context type. If null, the single context type found in the assembly will be returned. - The context type found. - - - - Gets a list of all migrations that have been applied to the database. - - Ids of applied migrations. - - - - Gets a list of all migrations that have not been applied to the database. - - Ids of pending migrations. - - - - Updates the database to the specified migration. - - The Id of the migration to migrate to. If null is supplied, the database will be updated to the latest migration. - Value indicating if data loss during automatic migration is acceptable. - - - - Generates a SQL script to migrate between two migrations. - - The migration to update from. If null is supplied, a script to update the current database will be produced. - The migration to update to. If null is supplied, a script to update to the latest migration will be produced. - Value indicating if data loss during automatic migration is acceptable. - The generated SQL script. - - - - Scaffolds a code-based migration to apply any pending model changes. - - The name for the generated migration. - The programming language of the generated migration. - The root namespace of the project the migration will be added to. - Whether or not to include model changes. - The scaffolded migration. - - - - Scaffolds the initial code-based migration corresponding to a previously run database initializer. - - The programming language of the generated migration. - The root namespace of the project the migration will be added to. - The scaffolded migration. - - - - - - - Releases all resources used by the facade. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - Gets or sets an action to be run to log information. - - - - - Gets or sets an action to be run to log warnings. - - - - - Gets or sets an action to be run to log verbose information. - - - - - Base class for loggers that can be used for the migrations process. - - - - - Logs an informational message. - - The message to be logged. - - - - Logs a warning that the user should be made aware of. - - The message to be logged. - - - - Logs some additional information that should only be presented to the user if they request verbose output. - - The message to be logged. - - - - Generates VB.Net code for a code-based migration. - - - - - - - - Generates the primary code file that the user can view and edit. - - Operations to be performed by the migration. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates the code behind file with migration metadata. - - Unique identifier of the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates a property to return the source or target model in the code behind file. - - Name of the property. - Value to be returned. - Text writer to add the generated code to. - - - - Generates class attributes. - - Text writer to add the generated code to. - A value indicating if this class is being generated for a code-behind file. - - - - Generates a namespace, using statements and class definition. - - Namespace that code should be generated in. - Name of the class that should be generated. - Text writer to add the generated code to. - Base class for the generated class. - A value indicating if this class is being generated for a code-behind file. - Namespaces for which Imports directives will be added. If null, then the namespaces returned from GetDefaultNamespaces will be used. - - - - Generates the closing code for a class that was started with WriteClassStart. - - Namespace that code should be generated in. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for the given annotation value, which may be null. The default behavior is to use an - if one is registered, otherwise call ToString on the annotation value. - - - Note that a can be registered to generate code for custom annotations - without the need to override the entire code generator. - - The name of the annotation for which code is needed. - The annotation value to generate. - The writer to which generated code should be written. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The parameter model definition to generate code for. - Text writer to add the generated code to. - true to include the column name in the definition; otherwise, false. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for an . - - The operation for which code should be generated. - The writer to which generated code should be written. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify a set of column names using a lambda expression. - - The columns to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify the definition for a . - - The column definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column of unknown data type. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Removes any invalid characters from the name of an database artifact. - - The name to be scrubbed. - The scrubbed name. - - - - Gets the type name to use for a column of the given data type. - - The data type to translate. - The type name to use in the generated migration. - - - - Quotes an identifier using appropriate escaping to allow it to be stored in a string. - - The identifier to be quoted. - The quoted identifier. - - - - Contains extension methods for the class. - - - - - Configures an awaiter used to await this to avoid - marshalling the continuation - back to the original context, but preserve the current culture and UI culture. - - - The type of the result produced by the associated . - - The task to be awaited on. - An object used to await this task. - - - - Configures an awaiter used to await this to avoid - marshalling the continuation - back to the original context, but preserve the current culture and UI culture. - - The task to be awaited on. - An object used to await this task. - - - - Provides an awaitable object that allows for awaits on that - preserve the culture. - - - The type of the result produced by the associated . - - This type is intended for compiler use only. - - - - Constructs a new instance of the class. - - The task to be awaited on. - - - Gets an awaiter used to await this . - An awaiter instance. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was canceled. - The task completed in a Faulted state. - - - This method is not implemented and should not be called. - The action to invoke when the await operation completes. - - - - Schedules the continuation onto the associated with this - . - - The action to invoke when the await operation completes. - - The argument is null - (Nothing in Visual Basic). - - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - Provides an awaitable object that allows for awaits on that - preserve the culture. - - This type is intended for compiler use only. - - - - Constructs a new instance of the class. - - The task to be awaited on. - - - Gets an awaiter used to await this . - An awaiter instance. - This method is intended for compiler user rather than use directly in code. - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was canceled. - The task completed in a Faulted state. - - - This method is not implemented and should not be called. - The action to invoke when the await operation completes. - - - - Schedules the continuation onto the associated with this - . - - The action to invoke when the await operation completes. - - The argument is null - (Nothing in Visual Basic). - - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - - This class is used by Code First Migrations to read and write migration history - from the database. - To customize the definition of the migrations history table you can derive from - this class and override OnModelCreating. Derived instances can either be registered - on a per migrations configuration basis using , - or globally using . - - - - - The default name used for the migrations history table. - - - - - Initializes a new instance of the HistoryContext class. - If you are creating a derived history context you will generally expose a constructor - that accepts these same parameters and passes them to this base constructor. - - - An existing connection to use for the new context. - - - The default schema of the model being migrated. - This schema will be used for the migrations history table unless a different schema is configured in OnModelCreating. - - - - - Applies the default configuration for the migrations history table. If you override - this method it is recommended that you call this base implementation before applying your - custom configuration. - - The builder that defines the model for the context being created. - - - - Gets the key used to locate a model that was previously built for this context. This is used - to avoid processing OnModelCreating and calculating the model every time a new context instance is created. - By default this property returns the default schema. - In most cases you will not need to override this property. However, if your implementation of OnModelCreating - contains conditional logic that results in a different model being built for the same database provider and - default schema you should override this property and calculate an appropriate key. - - - - - Gets the default schema of the model being migrated. - This schema will be used for the migrations history table unless a different schema is configured in OnModelCreating. - - - - - Gets or sets a that can be used to read and write instances. - - - - - This class is used by Code First Migrations to read and write migration history - from the database. - - - - - Gets or sets the Id of the migration this row represents. - - - - - Gets or sets a key representing to which context the row applies. - - - - - Gets or sets the state of the model after this migration was applied. - - - - - Gets or sets the version of Entity Framework that created this entry. - - - - - Represents an error that occurs when an automatic migration would result in data loss. - - - - - Initializes a new instance of the AutomaticDataLossException class. - - - - - Initializes a new instance of the AutomaticDataLossException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents an error that occurs when there are pending model changes after applying the last migration and automatic migration is disabled. - - - - - Initializes a new instance of the AutomaticMigrationsDisabledException class. - - - - - Initializes a new instance of the AutomaticMigrationsDisabledException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Provides additional metadata about a code-based migration. - - - - - Gets the unique identifier for the migration. - - - - - Gets the state of the model before this migration is run. - - - - - Gets the state of the model after this migration is run. - - - - - Decorator to provide logging during migrations operations.. - - - - - Initializes a new instance of the MigratorLoggingDecorator class. - - The migrator that this decorator is wrapping. - The logger to write messages to. - - - - Decorator to produce a SQL script instead of applying changes to the database. - Using this decorator to wrap will prevent - from applying any changes to the target database. - - - - - Initializes a new instance of the MigratorScriptingDecorator class. - - The migrator that this decorator is wrapping. - - - - Produces a script to update the database. - - - The migration to update from. If null is supplied, a script to update the - current database will be produced. - - - The migration to update to. If null is supplied, - a script to update to the latest migration will be produced. - - The generated SQL script. - - - - Represents a column being added to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be added to. - Details of the column being added. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column should be added to. - - - - - Gets the details of the column being added. - - - - - Gets an operation that represents dropping the added column. - - - - - - - - Represents a foreign key constraint being added to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Base class for changes that affect foreign key constraints. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ForeignKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets the name of the table that the foreign key constraint targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the name of the table that the foreign key columns exist in. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - The names of the foreign key column(s). - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this foreign key constraint. - - - - - Gets or sets the name of this foreign key constraint. - If no name is supplied, a default name will be calculated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddForeignKeyOperation class. - The PrincipalTable, PrincipalColumns, DependentTable and DependentColumns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to create an index on the foreign key column(s). - - An operation to add the index. - - - - The names of the column(s) that the foreign key constraint should target. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating if cascade delete should be configured on the foreign key constraint. - - - - - Gets an operation to drop the foreign key constraint. - - - - - - - - Represents adding a primary key to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Common base class to represent operations affecting primary keys. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Returns the default name for the primary key. - - The target table name. - The default primary key name. - - - - Initializes a new instance of the PrimaryKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets the name of the table that contains the primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets the column(s) that make up the primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this primary key. - - - - - Gets or sets the name of this primary key. - If no name is supplied, a default name will be calculated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - - - - Gets or sets whether this is a clustered primary key. - - - - - Initializes a new instance of the AddPrimaryKeyOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the primary key. - - - - - Represents altering an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AlterColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table that the column belongs to. - Details of what the column should be altered to. - Value indicating if this change will result in data loss. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the AlterColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table that the column belongs to. - Details of what the column should be altered to. - Value indicating if this change will result in data loss. - An operation to revert this alteration of the column. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table that the column belongs to. - - - - - Gets the new definition for the column. - - - - - Gets an operation that represents reverting the alteration. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents information about a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ColumnModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this column. - - - - Initializes a new instance of the ColumnModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this column. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Determines if this column is a narrower data type than another column. - Used to determine if altering the supplied column definition to this definition will result in data loss. - - The column to compare to. - Details of the database provider being used. - True if this column is of a narrower data type. - - - - Gets the CLR type corresponding to the database type of this column. - - - - - Gets the default value for the CLR type corresponding to the database type of this column. - - - - - Gets or sets a value indicating if this column can store null values. - - - - - Gets or sets a value indicating if values for this column will be generated by the database using the identity pattern. - - - - - Gets or sets a value indicating if this property model should be configured as a timestamp. - - - - - Gets or sets the custom annotations that have changed on the column. - - - - - Represents creating a database index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Common base class for operations affecting indexes. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a default index name based on the supplied column names. - - The column names used to create a default index name. - A default index name. - - - - Initializes a new instance of the IndexOperation class. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets or sets the table the index belongs to. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets the columns that are indexed. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this index. - - - - - Gets or sets the name of this index. - If no name is supplied, a default name will be calculated. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the CreateIndexOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets a value indicating if this is a unique index. - - - - - Gets an operation to drop this index. - - - - - - - - Gets or sets whether this is a clustered index. - - - - - Represents creating a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the CreateTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be created. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the CreateTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be created. - Custom annotations that exist on the table to be created. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be created. - - - - - Gets the columns to be included in the new table. - - - - - Gets or sets the primary key for the new table. - - - - - Gets custom annotations that exist on the table to be created. - - - - - Gets an operation to drop the table. - - - - - - - - Represents a column being dropped from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - The operation that represents reverting the drop operation. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - The operation that represents reverting the drop operation. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column should be dropped from. - - - - - Gets the name of the column to be dropped. - - - - - Gets custom annotations that exist on the column that is being dropped. - - - - - Gets an operation that represents reverting dropping the column. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents a foreign key constraint being dropped from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropForeignKeyOperation class. - The PrincipalTable, DependentTable and DependentColumns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropForeignKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc.. - - The operation that represents reverting dropping the foreign key constraint. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the associated index on the foreign key column(s). - - An operation to drop the index. - - - - Gets an operation that represents reverting dropping the foreign key constraint. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents dropping an existing index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The operation that represents reverting dropping the index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation that represents reverting dropping the index. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents dropping a primary key from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropPrimaryKeyOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to add the primary key. - - - - - Used when altering the migrations history table so that the table can be rebuilt rather than just dropping and adding the primary key. - - - The create table operation for the migrations history table. - - - - - Represents dropping an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - An operation that represents reverting dropping the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - An operation that represents reverting dropping the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be dropped. - - - - - Gets custom annotations that exist on the table that is being dropped. - - - - - Gets custom annotations that exist on columns of the table that is being dropped. - - - - - Gets an operation that represents reverting dropping the table. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Operation representing DML changes to the migrations history table. - The migrations history table is used to store a log of the migrations that have been applied to the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the HistoryOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A sequence of command trees representing the operations being applied to the history table. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - A sequence of commands representing the operations being applied to the history table. - - - - - - - - Represents moving a table from one schema to another. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the MoveTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be moved. - Name of the schema to move the table to. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be moved. - - - - - Gets the name of the schema to move the table to. - - - - - Gets an operation that moves the table back to its original schema. - - - - - - - - Used when altering the migrations history table so that data can be moved to the new table. - - - The context key for the model. - - - - - Gets a value that indicates whether this is a system table. - - - true if the table is a system table; otherwise, false. - - - - - Used when altering the migrations history table so that the table can be rebuilt rather than just dropping and adding the primary key. - - - The create table operation for the migrations history table. - - - - - Represents renaming an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table the column belongs to. - Name of the column to be renamed. - New name for the column. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column belongs to. - - - - - Gets the name of the column to be renamed. - - - - - Gets the new name for the column. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents renaming an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be renamed. - New name for the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be renamed. - - - - - Gets the new name for the table. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents a provider specific SQL statement to be executed directly against the target database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the SqlOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The SQL to be executed. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the SQL to be executed. - - - - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - - - - Common base class for providers that convert provider agnostic migration - operations into database provider specific SQL commands. - - - - - Converts a set of migration operations into database provider specific SQL. - - The operations to be converted. - Token representing the version of the database being targeted. - A list of SQL statements to be executed to perform the migration operations. - - - - Generates the SQL body for a stored procedure. - - The command trees representing the commands for an insert, update or delete operation. - The rows affected parameter name. - The provider manifest token. - The SQL body for the stored procedure. - - - - Determines if a provider specific exception corresponds to a database-level permission denied error. - - The database exception. - true if the supplied exception corresponds to a database-level permission denied error; otherwise false. - - - - Builds the store type usage for the specified using the facets from the specified . - - Name of the store type. - The target property. - A store-specific TypeUsage - - - - Gets or sets the provider manifest. - - - The provider manifest. - - - - - Represents a migration operation that has been translated into a SQL statement. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the SQL to be executed to perform this migration operation. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - Gets or sets the batch terminator for the database provider. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The batch terminator for the database provider. - - - - - Extension methods for . - - - - - Returns an implementation that stays in sync with the given - . - - The element type. - The collection that the binding list will stay in sync with. - The binding list. - - - - Represents data in a geodetic (round earth) coordinate system. - - - - - Creates a new value based on the specified well known binary value. - - - A new DbGeography value as defined by the well known binary value with the default geography coordinate system identifier (SRID)( - - ). - - A byte array that contains a well known binary representation of the geography value. - - - - Creates a new value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new line value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new point value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new polygon value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Returns the multiline value from a binary value. - The multiline value from a binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multipoint value from a well-known binary value. - The multipoint value from a well-known binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multi polygon value from a well-known binary value. - The multi polygon well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new DbGeography value as defined by the GML value with the default geography coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geography value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the GML value with the specified coordinate system identifier. - A string that contains a Geography Markup Language (GML) representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new value based on the specified well known text value. - - - A new DbGeography value as defined by the well known text value with the default geography coordinate system identifier (SRID) ( - - ). - - A string that contains a well known text representation of the geography value. - - - - Creates a new value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new line value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new point value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new polygon value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Returns the multiline value from a well-known text value. - The multiline value from a well-known text value. - The well-known text. - The coordinate system identifier. - - - Returns the multipoint value from a well-known text value. - The multipoint value from a well-known text value. - The well-known text value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known text value. - The multi polygon value from a well-known text value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Generates the well known text representation of this DbGeography value. Includes only Longitude and Latitude for points. - A string containing the well known text representation of this DbGeography value. - - - Generates the well known binary representation of this DbGeography value. - The well-known binary representation of this DbGeography value. - - - Generates the Geography Markup Language (GML) representation of this DbGeography value. - A string containing the GML representation of this DbGeography value. - - - Determines whether this DbGeography is spatially equal to the specified DbGeography argument. - true if other is spatially equal to this geography value; otherwise false. - The geography value that should be compared with this geography value for equality. - - - Determines whether this DbGeography is spatially disjoint from the specified DbGeography argument. - true if other is disjoint from this geography value; otherwise false. - The geography value that should be compared with this geography value for disjointness. - - - Determines whether this DbGeography value spatially intersects the specified DbGeography argument. - true if other intersects this geography value; otherwise false. - The geography value that should be compared with this geography value for intersection. - - - Returns a geography object that represents the union of all points whose distance from a geography instance is less than or equal to a specified value. - A geography object that represents the union of all points - The distance. - - - Computes the distance between the closest points in this DbGeography value and another DbGeography value. - A double value that specifies the distance between the two closest points in this geography value and other. - The geography value for which the distance from this value should be computed. - - - Computes the intersection of this DbGeography value and another DbGeography value. - A new DbGeography value representing the intersection between this geography value and other. - The geography value for which the intersection with this value should be computed. - - - Computes the union of this DbGeography value and another DbGeography value. - A new DbGeography value representing the union between this geography value and other. - The geography value for which the union with this value should be computed. - - - Computes the difference of this DbGeography value and another DbGeography value. - A new DbGeography value representing the difference between this geography value and other. - The geography value for which the difference with this value should be computed. - - - Computes the symmetric difference of this DbGeography value and another DbGeography value. - A new DbGeography value representing the symmetric difference between this geography value and other. - The geography value for which the symmetric difference with this value should be computed. - - - Returns an element of this DbGeography value from a specific position, if it represents a geography collection. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a collection of other geography values; otherwise null.</returns> - An element of this DbGeography value from a specific position - The index. - - - Returns an element of this DbGeography value from a specific position, if it represents a linestring or linear ring. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a linestring or linear ring; otherwise null.</returns> - An element of this DbGeography value from a specific position - The index. - - - Returns a string representation of the geography value. - A string representation of the geography value. - - - Gets the default coordinate system id (SRID) for geography values (WGS 84) - The default coordinate system id (SRID) for geography values (WGS 84) - - - Gets a representation of this DbGeography value that is specific to the underlying provider that constructed it. - A representation of this DbGeography value. - - - - Gets the spatial provider that will be used for operations on this spatial type. - - - - Gets or sets a data contract serializable well known representation of this DbGeography value. - A data contract serializable well known representation of this DbGeography value. - - - Gets the identifier associated with the coordinate system. - The identifier associated with the coordinate system. - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of the given value. - - - - Gets the spatial type name of the DBGeography. - The spatial type name of the DBGeography. - - - Gets a nullable Boolean value indicating whether this DbGeography value is empty. - True if this DbGeography value is empty; otherwise, false. - - - Gets the number of elements in this DbGeography value, if it represents a geography collection. <returns>The number of elements in this geography value, if it represents a collection of other geography values; otherwise null.</returns> - The number of elements in this DbGeography value. - - - Gets the Latitude coordinate of this DbGeography value, if it represents a point. <returns>The Latitude coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The Latitude coordinate of this DbGeography value. - - - Gets the Longitude coordinate of this DbGeography value, if it represents a point. <returns>The Longitude coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The Longitude coordinate of this DbGeography value. - - - Gets the elevation (Z coordinate) of this DbGeography value, if it represents a point. <returns>The elevation (Z coordinate) value of this geography value, if it represents a point; otherwise null.</returns> - The elevation (Z coordinate) of this DbGeography value. - - - Gets the M (Measure) coordinate of this DbGeography value, if it represents a point. <returns>The M (Measure) coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The M (Measure) coordinate of this DbGeography value. - - - Gets a nullable double value that indicates the length of this DbGeography value, which may be null if this value does not represent a curve. - A nullable double value that indicates the length of this DbGeography value. - - - Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve. - A DbGeography value representing the start point of this value. - - - Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve. - A DbGeography value representing the start point of this value. - - - Gets a nullable Boolean value indicating whether this DbGeography value is closed, which may be null if this value does not represent a curve. - True if this DbGeography value is closed; otherwise, false. - - - Gets the number of points in this DbGeography value, if it represents a linestring or linear ring. <returns>The number of elements in this geography value, if it represents a linestring or linear ring; otherwise null.</returns> - The number of points in this DbGeography value. - - - Gets a nullable double value that indicates the area of this DbGeography value, which may be null if this value does not represent a surface. - A nullable double value that indicates the area of this DbGeography value. - - - - A data contract serializable representation of a value. - - - - Gets or sets the coordinate system identifier (SRID) of this value. - - - Gets or sets the well known text representation of this value. - - - Gets or sets the well known binary representation of this value. - - - - Represents geometric shapes. - - - - - Creates a new value based on the specified well known binary value. - - - A new DbGeometry value as defined by the well known binary value with the default geometry coordinate system identifier ( - - ). - - A byte array that contains a well known binary representation of the geometry value. - wellKnownBinary - - - - Creates a new value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - wellKnownBinary - coordinateSystemId - - - - Creates a new line value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - lineWellKnownBinary - coordinateSystemId - - - - Creates a new point value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - pointWellKnownBinary - coordinateSystemId - - - - Creates a new polygon value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - polygonWellKnownBinary - coordinateSystemId - - - Returns the multiline value from a binary value. - The multiline value from a binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multipoint value from a well-known binary value. - The multipoint value from a well-known binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multipoint value from a well-known text value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryCollectionWellKnownBinary - coordinateSystemId - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new DbGeometry value as defined by the GML value with the default geometry coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - geometryMarkup - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the GML value with the specified coordinate system identifier. - A string that contains a Geography Markup Language (GML) representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryMarkup - coordinateSystemId - - - - Creates a new value based on the specified well known text value. - - - A new DbGeometry value as defined by the well known text value with the default geometry coordinate system identifier (SRID) ( - - ). - - A string that contains a well known text representation of the geometry value. - wellKnownText - - - - Creates a new value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - wellKnownText - coordinateSystemId - - - - Creates a new line value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - lineWellKnownText - coordinateSystemId - - - - Creates a new point value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - pointWellKnownText - coordinateSystemId - - - - Creates a new polygon value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - polygonWellKnownText - coordinateSystemId - - - Returns the multiline value from a well-known text value. - The multiline value from a well-known text value. - The well-known text. - The coordinate system identifier. - - - Returns the multipoint value from a well-known text value. - The multipoint value from a well-known text value. - The well-known text value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multi polygon value from a well-known binary value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryCollectionWellKnownText - coordinateSystemId - - - Generates the well known text representation of this DbGeometry value. Includes only X and Y coordinates for points. - A string containing the well known text representation of this DbGeometry value. - - - Generates the well known binary representation of this DbGeometry value. - The well-known binary representation of this DbGeometry value. - - - Generates the Geography Markup Language (GML) representation of this DbGeometry value. - A string containing the GML representation of this DbGeometry value. - - - Determines whether this DbGeometry is spatially equal to the specified DbGeometry argument. - true if other is spatially equal to this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for equality. - other - - - Determines whether this DbGeometry is spatially disjoint from the specified DbGeometry argument. - true if other is disjoint from this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for disjointness. - other - - - Determines whether this DbGeometry value spatially intersects the specified DbGeometry argument. - true if other intersects this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for intersection. - other - - - Determines whether this DbGeometry value spatially touches the specified DbGeometry argument. - true if other touches this geometry value; otherwise false. - The geometry value that should be compared with this geometry value. - other - - - Determines whether this DbGeometry value spatially crosses the specified DbGeometry argument. - true if other crosses this geometry value; otherwise false. - The geometry value that should be compared with this geometry value. - other - - - Determines whether this DbGeometry value is spatially within the specified DbGeometry argument. - true if this geometry value is within other; otherwise false. - The geometry value that should be compared with this geometry value for containment. - other - - - Determines whether this DbGeometry value spatially contains the specified DbGeometry argument. - true if this geometry value contains other; otherwise false. - The geometry value that should be compared with this geometry value for containment. - other - - - Determines whether this DbGeometry value spatially overlaps the specified DbGeometry argument. - true if this geometry value overlaps other; otherwise false. - The geometry value that should be compared with this geometry value for overlap. - other - - - Determines whether this DbGeometry value spatially relates to the specified DbGeometry argument according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern. - true if this geometry value relates to other according to the specified intersection pattern matrix; otherwise false. - The geometry value that should be compared with this geometry value for relation. - A string that contains the text representation of the (DE-9IM) intersection pattern that defines the relation. - othermatrix - - - Returns a geometry object that represents the union of all points whose distance from a geometry instance is less than or equal to a specified value. - A geometry object that represents the union of all points. - The distance. - - - Computes the distance between the closest points in this DbGeometry value and another DbGeometry value. - A double value that specifies the distance between the two closest points in this geometry value and other. - The geometry value for which the distance from this value should be computed. - other - - - Computes the intersection of this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the intersection between this geometry value and other. - The geometry value for which the intersection with this value should be computed. - other - - - Computes the union of this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the union between this geometry value and other. - The geometry value for which the union with this value should be computed. - other - - - Computes the difference between this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the difference between this geometry value and other. - The geometry value for which the difference with this value should be computed. - other - - - Computes the symmetric difference between this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the symmetric difference between this geometry value and other. - The geometry value for which the symmetric difference with this value should be computed. - other - - - Returns an element of this DbGeometry value from a specific position, if it represents a geometry collection. <param name="index">The position within this geometry value from which the element should be taken.</param><returns>The element in this geometry value at the specified position, if it represents a collection of other geometry values; otherwise null.</returns> - An element of this DbGeometry value from a specific position. - The index. - - - Returns an element of this DbGeometry value from a specific position, if it represents a linestring or linear ring. <param name="index">The position within this geometry value from which the element should be taken.</param><returns>The element in this geometry value at the specified position, if it represents a linestring or linear ring; otherwise null.</returns> - An element of this DbGeometry value from a specific position. - The index. - - - Returns an interior ring from this DbGeometry value at a specific position, if it represents a polygon. <param name="index">The position within this geometry value from which the interior ring should be taken.</param><returns>The interior ring in this geometry value at the specified position, if it represents a polygon; otherwise null.</returns> - An interior ring from this DbGeometry value at a specific position. - The index. - - - Returns a string representation of the geometry value. - A string representation of the geometry value. - - - Gets the default coordinate system id (SRID) for geometry values. - The default coordinate system id (SRID) for geometry values. - - - Gets a representation of this DbGeometry value that is specific to the underlying provider that constructed it. - A representation of this DbGeometry value. - - - - Gets the spatial provider that will be used for operations on this spatial type. - - - - Gets or sets a data contract serializable well known representation of this DbGeometry value. - A data contract serializable well known representation of this DbGeometry value. - - - Gets the coordinate system identifier of the DbGeometry object. - The coordinate system identifier of the DbGeometry object. - - - Gets the boundary of the DbGeometry objects. - The boundary of the DbGeometry objects. - - - - Gets the dimension of the given value or, if the value is a collection, the dimension of its largest element. - - - The dimension of the given value. - - - - Gets the envelope (minimum bounding box) of this DbGeometry value, as a geometry value. - The envelope (minimum bounding box) of this DbGeometry value. - - - Gets a spatial type name representation of this DbGeometry value. - A spatial type name representation of this DbGeometry value. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is empty, which may be null if this value does not represent a curve. - True if this DbGeometry value is empty; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is simple. - True if this DbGeometry value is simple; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is valid. - True if this DbGeometry value is valid; otherwise, false. - - - Gets the convex hull of this DbGeometry value as another DbGeometry value. - The convex hull of this DbGeometry value as another DbGeometry value. - - - Gets the number of elements in this DbGeometry value, if it represents a geometry collection. <returns>The number of elements in this geometry value, if it represents a collection of other geometry values; otherwise null.</returns> - The number of elements in this DbGeometry value. - - - Gets the X coordinate of this DbGeometry value, if it represents a point. <returns>The X coordinate value of this geometry value, if it represents a point; otherwise null.</returns> - The X coordinate of this DbGeometry value. - - - Gets the Y coordinate of this DbGeometry value, if it represents a point. <returns>The Y coordinate value of this geometry value, if it represents a point; otherwise null.</returns> - The Y coordinate of this DbGeometry value. - - - Gets the elevation (Z coordinate) of this DbGeometry value, if it represents a point. <returns>The elevation (Z coordinate) of this geometry value, if it represents a point; otherwise null.</returns> - The elevation (Z coordinate) of this DbGeometry value. - - - Gets the Measure (M coordinate) of this DbGeometry value, if it represents a point. <returns>The Measure (M coordinate) value of this geometry value, if it represents a point; otherwise null.</returns> - The Measure (M coordinate) of this DbGeometry value. - - - Gets a nullable double value that indicates the length of this DbGeometry value, which may be null if this value does not represent a curve. - The length of this DbGeometry value. - - - Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve. - A DbGeometry value representing the start point of this value. - - - Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve. - A DbGeometry value representing the start point of this value. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is closed, which may be null if this value does not represent a curve. - True if this DbGeometry value is closed; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is a ring, which may be null if this value does not represent a curve. - True if this DbGeometry value is a ring; otherwise, false. - - - Gets the number of points in this DbGeometry value, if it represents a linestring or linear ring. <returns>The number of elements in this geometry value, if it represents a linestring or linear ring; otherwise null.</returns> - The number of points in this DbGeometry value. - - - Gets a nullable double value that indicates the area of this DbGeometry value, which may be null if this value does not represent a surface. - A nullable double value that indicates the area of this DbGeometry value. - - - Gets the DbGeometry value that represents the centroid of this DbGeometry value, which may be null if this value does not represent a surface. - The DbGeometry value that represents the centroid of this DbGeometry value. - - - Gets a point on the surface of this DbGeometry value, which may be null if this value does not represent a surface. - A point on the surface of this DbGeometry value. - - - Gets the DbGeometry value that represents the exterior ring of this DbGeometry value, which may be null if this value does not represent a polygon. - The DbGeometry value that represents the exterior ring of this DbGeometry value. - - - Gets the number of interior rings in this DbGeometry value, if it represents a polygon. <returns>The number of elements in this geometry value, if it represents a polygon; otherwise null.</returns> - The number of interior rings in this DbGeometry value. - - - - A data contract serializable representation of a value. - - - - Gets or sets the coordinate system identifier (SRID) of this value. - - - Gets or sets the well known text representation of this value. - - - Gets or sets the well known binary representation of this value. - - - - A provider-independent service API for geospatial (Geometry/Geography) type support. - - - - - When implemented in derived types, reads an instance of from the column at the specified column ordinal. - - The instance of DbGeography at the specified column value - The ordinal of the column that contains the geography value - - - - Asynchronously reads an instance of from the column at the specified column ordinal. - - - Providers should override with an appropriate implementation. - The default implementation invokes the synchronous method and returns - a completed task, blocking the calling thread. - - The ordinal of the column that contains the geography value. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the instance of at the specified column value. - - - - - When implemented in derived types, reads an instance of from the column at the specified column ordinal. - - The instance of DbGeometry at the specified column value - The ordinal of the data record column that contains the provider-specific geometry data - - - - Asynchronously reads an instance of from the column at the specified column ordinal. - - - Providers should override with an appropriate implementation. - The default implementation invokes the synchronous method and returns - a completed task, blocking the calling thread. - - The ordinal of the data record column that contains the provider-specific geometry data. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the instance of at the specified column value. - - - - - Returns whether the column at the specified column ordinal is of geography type - - The column ordinal. - - true if the column at the specified column ordinal is of geography type; - false otherwise. - - - - - Returns whether the column at the specified column ordinal is of geometry type - - The column ordinal. - - true if the column at the specified column ordinal is of geometry type; - false otherwise. - - - - - A provider-independent service API for geospatial (Geometry/Geography) type support. - - - - - This method is intended for use by derived implementations of - - after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation. - - - A new instance that contains the specified providerValue and uses the specified spatialServices as its spatial implementation. - - - The spatial services instance that the returned value will depend on for its implementation of spatial functionality. - - The provider value. - - - - Creates a new value based on a provider-specific value that is compatible with this spatial services implementation. - - - A new value backed by this spatial services implementation and the specified provider value. - - A provider-specific value that this spatial services implementation is capable of interpreting as a geography value. - A new DbGeography value backed by this spatial services implementation and the specified provider value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known - - representation. - - A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation. - - An instance of that contains the well-known representation of a geography value. - - - - - Creates an instance of that represents the specified - - value using one or both of the standard well-known spatial formats. - - - The well-known representation of geographyValue, as a new - - . - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on the specified well-known binary value. - - - A new value as defined by the well-known binary value with the default - - coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - - - Creates a new value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known binary value and coordinate system identifier. - - - The new multiline value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known binary value and coordinate system identifier. - - - A new multipoint value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known binary value and coordinate system identifier. - - - A new multi polygon value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified well-known text value. - - - A new value as defined by the well-known text value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - - - Creates a new value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known text value and coordinate system identifier. - - - A new multiline value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known text value and coordinate system identifier. - - - A new multipoint value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known text value and coordinate system identifier. - - - A new multi polygon value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new value as defined by the GML value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a Geometry Markup Language (GML) representation of the geography value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - - A new value as defined by the GML value with the specified coordinate system identifier (SRID). - - A string that contains a Geometry Markup Language (GML) representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Returns the coordinate system identifier of the given value. - - - The coordinate system identifier of the given value. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of geographyValue, or the largest element dimension if - - is a collection. - - The geography value for which the dimension value should be retrieved. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that indicates the spatial type name of the given - - value. - - - The spatial type name of the given value. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is empty. - - - True if the given value is empty; otherwise, false. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known text representation of the given value. This value should include only the Longitude and Latitude of points. - - A string containing the well-known text representation of geographyValue. - The geography value for which the well-known text should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a text representation of with elevation and measure. - - - A text representation of . - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known binary representation of the given value. - - - The well-known binary representation of the given value. - - The geography value for which the well-known binary should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Generates the Geography Markup Language (GML) representation of this - - value. - - A string containing the GML representation of this DbGeography value. - The geography value for which the GML should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially equal. - - true if geographyValue is spatially equal to otherGeography; otherwise false. - The first geography value to compare for equality. - The second geography value to compare for equality. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially disjoint. - - true if geographyValue is disjoint from otherGeography; otherwise false. - The first geography value to compare for disjointness. - The second geography value to compare for disjointness. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially intersect. - - true if geographyValue intersects otherGeography; otherwise false. - The first geography value to compare for intersection. - The second geography value to compare for intersection. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Creates a geography value representing all points less than or equal to distance from the given - - value. - - A new DbGeography value representing all points less than or equal to distance from geographyValue. - The geography value. - A double value specifying how far from geographyValue to buffer. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the distance between the closest points in two values. - - A double value that specifies the distance between the two closest points in geographyValue and otherGeography. - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the intersection of two values. - - - A new value representing the intersection of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the union of two values. - - - A new value representing the union of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the difference of two values. - - A new DbGeography value representing the difference of geographyValue and otherGeography. - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the symmetric difference of two values. - - - A new value representing the symmetric difference of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns the number of elements in the given value, if it represents a geography collection. - - The number of elements in geographyValue, if it represents a collection of other geography values; otherwise null. - The geography value, which need not represent a geography collection. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an element of the given value, if it represents a geography collection. - - The element in geographyValue at position index, if it represents a collection of other geography values; otherwise null. - The geography value, which need not represent a geography collection. - The position within the geography value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Latitude coordinate of the given value, if it represents a point. - - - The Latitude coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Longitude coordinate of the given value, if it represents a point. - - - The Longitude coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the elevation (Z coordinate) of the given value, if it represents a point. - - The elevation (Z coordinate) of geographyValue, if it represents a point; otherwise null. - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the M (Measure) coordinate of the given value, if it represents a point. - - - The M (Measure) coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the length of the given - - value, which may be null if the value does not represent a curve. - - - The length of the given value. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the start point of the given DbGeography value, which may be null if the value does not represent a curve. - - - The start point of the given value. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the end point of the given DbGeography value, which may be null if the value does not represent a curve. - - The end point of geographyValue, if it represents a curve; otherwise null. - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is closed, which may be null if the value does not represent a curve. - - - True if the given value is closed; otherwise, false. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of points in the given value, if it represents a linestring or linear ring. - - - The number of points in the given value. - - The geography value, which need not represent a linestring or linear ring. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a point element of the given value, if it represents a linestring or linear ring. - - The point in geographyValue at position index, if it represents a linestring or linear ring; otherwise null. - The geography value, which need not represent a linestring or linear ring. - The position within the geography value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the area of the given - - value, which may be null if the value does not represent a surface. - - - A nullable double value that indicates the area of the given value. - - The geography value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - This method is intended for use by derived implementations of - - after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation. - - - A new instance that contains the specified providerValue and uses the specified spatialServices as its spatial implementation. - - - The spatial services instance that the returned value will depend on for its implementation of spatial functionality. - - A provider value. - - - - Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known - - representation. - - A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation. - - An instance of that contains the well-known representation of a geometry value. - - - - - Creates an instance of that represents the specified - - value using one or both of the standard well-known spatial formats. - - - The well-known representation of geometryValue, as a new - - . - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on a provider-specific value that is compatible with this spatial services implementation. - - - A new value backed by this spatial services implementation and the specified provider value. - - A provider-specific value that this spatial services implementation is capable of interpreting as a geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on the specified well-known binary value. - - - A new value as defined by the well-known binary value with the default - - coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - - - Creates a new value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known binary value and coordinate system identifier. - - - The new multiline value - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known binary value and coordinate system identifier. - - - A new multipoint value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known binary value and coordinate system identifier. - - - A new multi polygon value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified well-known text value. - - - A new value as defined by the well-known text value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - - - Creates a new value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known text value and coordinate system identifier. - - - A new multiline value - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known text value and coordinate system identifier. - - - A new multipoint value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known text value and coordinate system identifier. - - - A new multi polygon value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new value as defined by the GML value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - - A new value as defined by the GML value with the specified coordinate system identifier (SRID). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Returns the coordinate system identifier of the given value. - - - The coordinate system identifier of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the boundary of the given - - value. - - - The boundary of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of geometryValue, or the largest element dimension if - - is a collection. - - The geometry value for which the dimension value should be retrieved. - - - - Gets the envelope (minimum bounding box) of the given value, as a geometry value. - - - The envelope of geometryValue, as a value. - - The geometry value for which the envelope value should be retrieved. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that indicates the spatial type name of the given - - value. - - - The spatial type name of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is empty. - - - True if the given value is empty; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is simple. - - - True if the given value is simple; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is valid. - - - True if the given value is valid; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known text representation of the given value, including only X and Y coordinates for points. - - A string containing the well-known text representation of geometryValue. - The geometry value for which the well-known text should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a text representation of with elevation and measure. - - - A text representation of with elevation and measure. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known binary representation of the given value. - - - The well-known binary representation of the given value. - - The geometry value for which the well-known binary should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Generates the Geography Markup Language (GML) representation of this - - value. - - A string containing the GML representation of this DbGeometry value. - The geometry value for which the GML should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially equal. - - true if geometryValue is spatially equal to otherGeometry; otherwise false. - The first geometry value to compare for equality. - The second geometry value to compare for equality. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially disjoint. - - true if geometryValue is disjoint from otherGeometry; otherwise false. - The first geometry value to compare for disjointness. - The second geometry value to compare for disjointness. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially intersect. - - true if geometryValue intersects otherGeometry; otherwise false. - The first geometry value to compare for intersection. - The second geometry value to compare for intersection. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially touch. - - true if geometryValue touches otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially cross. - - true if geometryValue crosses otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether one value is spatially within the other. - - true if geometryValue is within otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether one value spatially contains the other. - - true if geometryValue contains otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially overlap. - - true if geometryValue overlaps otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially related according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern. - - true if this geometryValue value relates to otherGeometry according to the specified intersection pattern matrix; otherwise false. - The first geometry value. - The geometry value that should be compared with the first geometry value for relation. - A string that contains the text representation of the (DE-9IM) intersection pattern that defines the relation. - - - , - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Creates a geometry value representing all points less than or equal to distance from the given - - value. - - A new DbGeometry value representing all points less than or equal to distance from geometryValue. - The geometry value. - A double value specifying how far from geometryValue to buffer. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the distance between the closest points in two values. - - A double value that specifies the distance between the two closest points in geometryValue and otherGeometry. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the convex hull of the given - - value. - - - The convex hull of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the intersection of two values. - - - A new value representing the intersection of geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the union of two values. - - - A new value representing the union of geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the difference between two values. - - A new DbGeometry value representing the difference between geometryValue and otherGeometry. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the symmetric difference between two values. - - - A new value representing the symmetric difference between geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns the number of elements in the given value, if it represents a geometry collection. - - The number of elements in geometryValue, if it represents a collection of other geometry values; otherwise null. - The geometry value, which need not represent a geometry collection. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an element of the given value, if it represents a geometry collection. - - The element in geometryValue at position index, if it represents a collection of other geometry values; otherwise null. - The geometry value, which need not represent a geometry collection. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the X coordinate of the given value, if it represents a point. - - - The X coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Y coordinate of the given value, if it represents a point. - - - The Y coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the elevation (Z) of the given value, if it represents a point. - - The elevation (Z) of geometryValue, if it represents a point; otherwise null. - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the M (Measure) coordinate of the given value, if it represents a point. - - - The M (Measure) coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the length of the given - - value, which may be null if the value does not represent a curve. - - - The length of the given value. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the start point of the given DbGeometry value, which may be null if the value does not represent a curve. - - - The start point of the given value. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the end point of the given DbGeometry value, which may be null if the value does not represent a curve. - - The end point of geometryValue, if it represents a curve; otherwise null. - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is closed, which may be null if the value does not represent a curve. - - - True if the given value is closed; otherwise, false. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is a ring, which may be null if the value does not represent a curve. - - - True if the given value is a ring; otherwise, false. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of points in the given value, if it represents a linestring or linear ring. - - - The number of points in the given value. - - The geometry value, which need not represent a linestring or linear ring. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a point element of the given value, if it represents a linestring or linear ring. - - The point in geometryValue at position index, if it represents a linestring or linear ring; otherwise null. - The geometry value, which need not represent a linestring or linear ring. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the area of the given - - value, which may be null if the value does not represent a surface. - - - A nullable double value that indicates the area of the given value. - - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the centroid of the given DbGeometry value, which may be null if the value does not represent a surface. - - The centroid of geometryValue, if it represents a surface; otherwise null. - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents a point on the surface of the given DbGeometry value, which may be null if the value does not represent a surface. - - - A value that represents a point on the surface of the given DbGeometry value. - - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the exterior ring of the given DbGeometry value, which may be null if the value does not represent a polygon. - - A DbGeometry value representing the exterior ring on geometryValue, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of interior rings in the given value, if it represents a polygon. - - The number of elements in geometryValue, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an interior ring from the given value, if it represents a polygon. - - The interior ring in geometryValue at position index, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the default services for the . - - The default services. - - - - Override this property to allow the spatial provider to fail fast when native types or other - resources needed for the spatial provider to function correctly are not available. - The default value is true which means that EF will continue with the assumption - that the provider has the necessary types/resources rather than failing fast. - - - - - The same as but works in partial trust and adds explicit caching of - generated indentation string and also recognizes writing a string that contains just \r\n or \n as a write-line to ensure - we indent the next line properly. - - - - - Specifies the default tab string. This field is constant. - - - - - Specifies the culture what will be used by the underlying TextWriter. This static property is read-only. - Note that any writer passed to one of the constructors of must use this - same culture. The culture is . - - - - - Initializes a new instance of the IndentedTextWriter class using the specified text writer and default tab string. - Note that the writer passed to this constructor must use the specified by the - property. - - - The to use for output. - - - - - Initializes a new instance of the IndentedTextWriter class using the specified text writer and tab string. - Note that the writer passed to this constructor must use the specified by the - property. - - - The to use for output. - - The tab string to use for indentation. - - - - Closes the document being written to. - - - - - Flushes the stream. - - - - - Outputs the tab string once for each level of indentation according to the - - property. - - - - - Builds a string representing the current indentation level for a new line. - - - Does NOT check if tabs are currently pending, just returns a string that would be - useful in replacing embedded newline characters. - - An empty string, or a string that contains .Indent level's worth of specified tab-string. - - - - Writes the specified string to the text stream. - - The string to write. - - - - Writes the text representation of a Boolean value to the text stream. - - The Boolean value to write. - - - - Writes a character to the text stream. - - The character to write. - - - - Writes a character array to the text stream. - - The character array to write. - - - - Writes a subarray of characters to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes the text representation of a Double to the text stream. - - The double to write. - - - - Writes the text representation of a Single to the text stream. - - The single to write. - - - - Writes the text representation of an integer to the text stream. - - The integer to write. - - - - Writes the text representation of an 8-byte integer to the text stream. - - The 8-byte integer to write. - - - - Writes the text representation of an object to the text stream. - - The object to write. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string. - The object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string to use. - The first object to write into the formatted string. - The second object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string to use. - The argument array to output. - - - - Writes the specified string to a line without tabs. - - The string to write. - - - - Writes the specified string, followed by a line terminator, to the text stream. - - The string to write. - - - - Writes a line terminator. - - - - - Writes the text representation of a Boolean, followed by a line terminator, to the text stream. - - The Boolean to write. - - - - Writes a character, followed by a line terminator, to the text stream. - - The character to write. - - - - Writes a character array, followed by a line terminator, to the text stream. - - The character array to write. - - - - Writes a subarray of characters, followed by a line terminator, to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes the text representation of a Double, followed by a line terminator, to the text stream. - - The double to write. - - - - Writes the text representation of a Single, followed by a line terminator, to the text stream. - - The single to write. - - - - Writes the text representation of an integer, followed by a line terminator, to the text stream. - - The integer to write. - - - - Writes the text representation of an 8-byte integer, followed by a line terminator, to the text stream. - - The 8-byte integer to write. - - - - Writes the text representation of an object, followed by a line terminator, to the text stream. - - The object to write. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string. - The object to write into the formatted string. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string to use. - The first object to write into the formatted string. - The second object to write into the formatted string. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string to use. - The argument array to output. - - - - Writes the text representation of a UInt32, followed by a line terminator, to the text stream. - - A UInt32 to output. - - - - Gets the encoding for the text writer to use. - - - An that indicates the encoding for the text writer to use. - - - - - Gets or sets the new line character to use. - - The new line character to use. - - - - Gets or sets the number of spaces to indent. - - The number of spaces to indent. - - - - Gets the to use. - - - The to use. - - - - - Convention to apply column ordering specified via - - or the API. This convention throws if a duplicate configured column order - is detected. - - - - - Convention to apply column ordering specified via - - or the API. - - - - - - - - Validates the ordering configuration supplied for columns. - This base implementation is a no-op. - - The name of the table that the columns belong to. - The definition of the table. - - - - Validates the ordering configuration supplied for columns to ensure - that the same ordinal was not supplied for two columns. - - The name of the table that the columns belong to. - The definition of the table. - - - - Represents a conceptual or store model. This class can be used to access information about the shape of the model - and the way the that it has been configured. - - - - - Adds an association type to the model. - - The AssociationType instance to be added. - - - - Adds a complex type to the model. - - The ComplexType instance to be added. - - - - Adds an entity type to the model. - - The EntityType instance to be added. - - - - Adds an enumeration type to the model. - - The EnumType instance to be added. - - - - Adds a function to the model. - - The EdmFunction instance to be added. - - - - Removes an association type from the model. - - The AssociationType instance to be removed. - - - - Removes a complex type from the model. - - The ComplexType instance to be removed. - - - - Removes an entity type from the model. - - The EntityType instance to be removed. - - - - Removes an enumeration type from the model. - - The EnumType instance to be removed. - - - - Removes a function from the model. - - The EdmFunction instance to be removed. - - - Gets the built-in type kind for this type. - - A object that represents the built-in type kind for this type. - - - - - Gets the data space associated with the model, which indicates whether - it is a conceptual model (DataSpace.CSpace) or a store model (DataSpace.SSpace). - - - - - Gets the association types in the model. - - - - - Gets the complex types in the model. - - - - - Gets the entity types in the model. - - - - - Gets the enum types in the model. - - - - - Gets the functions in the model. - - - - - Gets the container that stores entity and association sets, and function imports. - - - - Gets the global items associated with the model. - The global items associated with the model. - - - - An implementation of IDatabaseInitializer that will recreate and optionally re-seed the - database only if the database does not exist. - To seed the database, create a derived class and override the Seed method. - - The type of the context. - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - An instance of this class is obtained from an object and can be used - to manage the actual database backing a DbContext or connection. - This includes creating, deleting, and checking for the existence of a database. - Note that deletion and checking for existence of a database can be performed using just a - connection (i.e. without a full context) by using the static methods of this class. - - - - - Enables the user to pass in a database transaction created outside of the object - if you want the Entity Framework to execute commands within that external transaction. - Alternatively, pass in null to clear the framework's knowledge of that transaction. - - the external transaction - Thrown if the transaction is already completed - - Thrown if the connection associated with the object is already enlisted in a - - transaction - - - Thrown if the connection associated with the object is already participating in a transaction - - Thrown if the connection associated with the transaction does not match the Entity Framework's connection - - - - Begins a transaction on the underlying store connection - - - a object wrapping access to the underlying store's transaction object - - - - - Begins a transaction on the underlying store connection using the specified isolation level - - The database isolation level with which the underlying store transaction will be created - - a object wrapping access to the underlying store's transaction object - - - - - Sets the database initializer to use for the given context type. The database initializer is called when a - the given type is used to access a database for the first time. - The default strategy for Code First contexts is an instance of . - - The type of the context. - The initializer to use, or null to disable initialization for the given context type. - - - - Runs the the registered on this context. - If "force" is set to true, then the initializer is run regardless of whether or not it - has been run before. This can be useful if a database is deleted while an app is running - and needs to be reinitialized. - If "force" is set to false, then the initializer is only run if it has not already been - run for this context, model, and connection in this app domain. This method is typically - used when it is necessary to ensure that the database has been created and seeded - before starting some operation where doing so lazily will cause issues, such as when the - operation is part of a transaction. - - - If set to true the initializer is run even if it has already been run. - - - - - Checks whether or not the database is compatible with the the current Code First model. - - - Model compatibility currently uses the following rules. - If the context was created using either the Model First or Database First approach then the - model is assumed to be compatible with the database and this method returns true. - For Code First the model is considered compatible if the model is stored in the database - in the Migrations history table and that model has no differences from the current model as - determined by Migrations model differ. - If the model is not stored in the database but an EF 4.1/4.2 model hash is found instead, - then this is used to check for compatibility. - - - If set to true then an exception will be thrown if no model metadata is found in the database. If set to false then this method will return true if metadata is not found. - - True if the model hash in the context and the database match; false otherwise. - - - - Creates a new database on the database server for the model defined in the backing context. - Note that calling this method before the database initialization strategy has run will disable - executing that strategy. - - - - - Creates a new database on the database server for the model defined in the backing context, but only - if a database with the same name does not already exist on the server. - - True if the database did not exist and was created; false otherwise. - - - - Checks whether or not the database exists on the server. - - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - Calling this method from outside of an initializer will mark the database as having - not been initialized. This means that if an attempt is made to use the database again - after it has been deleted, then any initializer set will run again and, usually, will - try to create the database again automatically. - - True if the database did exist and was deleted; false otherwise. - - - - Checks whether or not the database exists on the server. - The connection to the database is created using the given database name or connection string - in the same way as is described in the documentation for the class. - - The database name or a connection string to the database. - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - The connection to the database is created using the given database name or connection string - in the same way as is described in the documentation for the class. - - The database name or a connection string to the database. - True if the database did exist and was deleted; false otherwise. - - - - Checks whether or not the database exists on the server. - - An existing connection to the database. - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - - An existing connection to the database. - True if the database did exist and was deleted; false otherwise. - - - - Creates a raw SQL query that will return elements of the given generic type. - The type can be any type that has properties that match the names of the columns returned - from the query, or can be a simple primitive type. The type does not have to be an - entity type. The results of this query are never tracked by the context even if the - type of object returned is an entity type. Use the - method to return entities that are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The type of object returned by the query. - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values will - not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - Creates a raw SQL query that will return elements of the given type. - The type can be any type that has properties that match the names of the columns returned - from the query, or can be a simple primitive type. The type does not have to be an - entity type. The results of this query are never tracked by the context even if the - type of object returned is an entity type. Use the - method to return entities that are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The type of object returned by the query. - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - Executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - If there isn't an existing local or ambient transaction a new transaction will be used - to execute the command. - - The command string. - The parameters to apply to the command string. - The result returned by the database after executing the command. - - - - Executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - Controls the creation of a transaction for this command. - The command string. - The parameters to apply to the command string. - The result returned by the database after executing the command. - - - - Asynchronously executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command string. - The parameters to apply to the command string. - - A task that represents the asynchronous operation. - The task result contains the result returned by the database after executing the command. - - - - - Asynchronously executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - Controls the creation of a transaction for this command. - The command string. - The parameters to apply to the command string. - - A task that represents the asynchronous operation. - The task result contains the result returned by the database after executing the command. - - - - - Asynchronously executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command string. - - A to observe while waiting for the task to complete. - - The parameters to apply to the command string. - - A task that represents the asynchronous operation. - The task result contains the result returned by the database after executing the command. - - - - - Asynchronously executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - Controls the creation of a transaction for this command. - The command string. - - A to observe while waiting for the task to complete. - - The parameters to apply to the command string. - - A task that represents the asynchronous operation. - The task result contains the result returned by the database after executing the command. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the transaction the underlying store connection is enlisted in. May be null. - - - - - Returns the connection being used by this context. This may cause the - connection to be created if it does not already exist. - - Thrown if the context has been disposed. - - - - The connection factory to use when creating a from just - a database name or a connection string. - - - This is used when just a database name or connection string is given to or when - the no database name or connection is given to DbContext in which case the name of - the context class is passed to this factory in order to generate a DbConnection. - By default, the instance to use is read from the application's .config - file from the "EntityFramework DefaultConnectionFactory" entry in appSettings. If no entry is found in - the config file then is used. Setting this property in code - always overrides whatever value is found in the config file. - - - - - Gets or sets the timeout value, in seconds, for all context operations. - The default value is null, where null indicates that the default value of the underlying - provider will be used. - - - The timeout, in seconds, or null to use the provider default. - - - - - Set this property to log the SQL generated by the to the given - delegate. For example, to log to the console, set this property to . - - - The format of the log text can be changed by creating a new formatter that derives from - and setting it with . - For more low-level control over logging/interception see and - . - - - - - DbModelBuilder is used to map CLR classes to a database schema. - This code centric approach to building an Entity Data Model (EDM) model is known as 'Code First'. - - - DbModelBuilder is typically used to configure a model by overriding - DbContext.OnModelCreating(DbModelBuilder) - . - You can also use DbModelBuilder independently of DbContext to build a model and then construct a - or . - The recommended approach, however, is to use OnModelCreating in as - the workflow is more intuitive and takes care of common tasks, such as caching the created model. - Types that form your model are registered with DbModelBuilder and optional configuration can be - performed by applying data annotations to your classes and/or using the fluent style DbModelBuilder - API. - When the Build method is called a set of conventions are run to discover the initial model. - These conventions will automatically discover aspects of the model, such as primary keys, and - will also process any data annotations that were specified on your classes. Finally - any configuration that was performed using the DbModelBuilder API is applied. - Configuration done via the DbModelBuilder API takes precedence over data annotations which - in turn take precedence over the default conventions. - - - - - Initializes a new instance of the class. - The process of discovering the initial model will use the set of conventions included - in the most recent version of the Entity Framework installed on your machine. - - - Upgrading to newer versions of the Entity Framework may cause breaking changes - in your application because new conventions may cause the initial model to be - configured differently. There is an alternate constructor that allows a specific - version of conventions to be specified. - - - - - Initializes a new instance of the class that will use - a specific set of conventions to discover the initial model. - - The version of conventions to be used. - - - - Excludes a type from the model. This is used to remove types from the model that were added - by convention during initial model discovery. - - The type to be excluded. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Configures the default database schema name. This default database schema name is used - for database objects that do not have an explicitly configured schema name. - - The name of the default database schema. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Excludes the specified type(s) from the model. This is used to remove types from the model that were added - by convention during initial model discovery. - - The types to be excluded from the model. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Registers an entity type as part of the model and returns an object that can be used to - configure the entity. This method can be called multiple times for the same entity to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified entity type. - - - - Registers an entity type as part of the model. - - The type to be registered. - - This method is provided as a convenience to allow entity types to be registered dynamically - without the need to use MakeGenericMethod in order to call the normal generic Entity method. - This method does not allow further configuration of the entity type using the fluent APIs since - these APIs make extensive use of generic type parameters. - - - - - Registers a type as a complex type in the model and returns an object that can be used to - configure the complex type. This method can be called multiple times for the same type to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified complex type. - - - - Begins configuration of a lightweight convention that applies to all entities and complex types in - the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all entities and complex types - in the model that inherit from or implement the type specified by the generic argument. - This method does not register types as part of the model. - - The type of the entities or complex types that this convention will apply to. - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all properties - in the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all primitive - properties of the specified type in the model. - - The type of the properties that the convention will apply to. - A configuration object for the convention. - - The convention will apply to both nullable and non-nullable properties of the - specified type. - - - - - Creates a based on the configuration performed using this builder. - The connection is used to determine the database provider being used as this - affects the database layer of the generated model. - - Connection to use to determine provider information. - The model that was built. - - - - Creates a based on the configuration performed using this builder. - Provider information must be specified because this affects the database layer of the generated model. - For SqlClient the invariant name is 'System.Data.SqlClient' and the manifest token is the version year (i.e. '2005', '2008' etc.) - - The database provider that the model will be used with. - The model that was built. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Provides access to the settings of this DbModelBuilder that deal with conventions. - - - - - Gets the for this DbModelBuilder. - The registrar allows derived entity and complex type configurations to be registered with this builder. - - - - - A value from this enumeration can be provided directly to the - class or can be used in the applied to - a class derived from . The value used defines which version of - the DbContext and DbModelBuilder conventions should be used when building a model from - code--also known as "Code First". - - - Using DbModelBuilderVersion.Latest ensures that all the latest functionality is available - when upgrading to a new release of the Entity Framework. However, it may result in an - application behaving differently with the new release than it did with a previous release. - This can be avoided by using a specific version of the conventions, but if a version - other than the latest is set then not all the latest functionality will be available. - - - - - Indicates that the latest version of the and - conventions should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v4.1 - should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v5.0 - when targeting .Net Framework 4 should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v5.0 - should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v6.0 - should be used. - - - - - This attribute can be applied to a class derived from to set which - version of the DbContext and conventions should be used when building - a model from code--also known as "Code First". See the - enumeration for details about DbModelBuilder versions. - - - If the attribute is missing from DbContextthen DbContext will always use the latest - version of the conventions. This is equivalent to using DbModelBuilderVersion.Latest. - - - - - Initializes a new instance of the class. - - - The conventions version to use. - - - - - Gets the conventions version. - - - The conventions version. - - - - - A non-generic version of which can be used when the type of entity - is not known at build time. - - - - - Represents a non-generic LINQ to Entities query against a DbContext. - - - - - Throws an exception indicating that binding directly to a store query is not supported. - Instead populate a DbSet with data, for example by using the Load extension method, and - then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to - DbSet.Local.ToBindingList(). - - Never returns; always throws. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Specifies the related objects to include in the query results. - - - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the DbQuery<T>. Other instances of DbQuery<T> and the object context itself are not affected. - Because the Include method returns the query object, you can call this method multiple times on an DbQuery<T> to - specify multiple paths for the query. - - The dot-separated list of related objects to return in the query results. - - A new DbQuery<T> with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns the equivalent generic object. - - The type of element for which the query was created. - The generic set object. - - - - Returns a representation of the underlying query. - - The query string. - - - - - - - - - - - - - Returns false. - - - false . - - - - - The IQueryable element type. - - - - - The IQueryable LINQ Expression. - - - - - The IQueryable provider. - - - - - Gets a representation of the underlying query. - - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for DbSets. Methods and properties that will be used by the - test double must be implemented by the test double except AsNoTracking, AsStreaming, an Include where - the default implementation is a no-op. - - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Asynchronously finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The values of the primary key for the entity to be found. - A task that represents the asynchronous find operation. The task result contains the entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Asynchronously finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - The values of the primary key for the entity to be found. - A task that represents the asynchronous find operation. The task result contains the entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Adds the given collection of entities into context underlying the set with each entity being put into - the Added state such that it will be inserted into the database when SaveChanges is called. - - The collection of entities to add. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before adding any entities and will not be called - again. This means that in some situations AddRange may perform significantly better than calling - Add multiple times would do. - Note that entities that are already in the context in some other state will have their state set to - Added. AddRange is a no-op for entities that are already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Removes the given collection of entities from the context underlying the set with each entity being put into - the Deleted state such that it will be deleted from the database when SaveChanges is called. - - The collection of entities to delete. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before delete any entities and will not be called - again. This means that in some situations RemoveRange may perform significantly better than calling - Remove multiple times would do. - Note that if any entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Returns the equivalent generic object. - - The type of entity for which the set was created. - The generic set object. - - - - Creates a raw SQL query that will return entities in this set. By default, the - entities returned are tracked by the context; this can be changed by calling - AsNoTracking on the returned. - Note that the entities returned are always of the type for this set and never of - a derived type. If the table or tables queried may contain data for other entity - types, then the SQL query must be written appropriately to ensure that only entities of - the correct type are returned. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - - - - - - - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - A DbSet represents the collection of all entities in the context, or that can be queried from the - database, of a given type. DbSet objects are created from a DbContext using the DbContext.Set method. - - - Note that DbSet does not support MEST (Multiple Entity Sets per Type) meaning that there is always a - one-to-one correlation between a type and a set. - - The type that defines the set. - - - - Represents a LINQ to Entities query against a DbContext. - - The type of entity to query for. - - - - Specifies the related objects to include in the query results. - - - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the DbQuery<T>. Other instances of DbQuery<T> and the object context itself are not affected. - Because the Include method returns the query object, you can call this method multiple times on an DbQuery<T> to - specify multiple paths for the query. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Throws an exception indicating that binding directly to a store query is not supported. - Instead populate a DbSet with data, for example by using the Load extension method, and - then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to - DbSet.Local.ToBindingList(). - - Never returns; always throws. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns a representation of the underlying query. - - The query string. - - - - Returns a new instance of the non-generic class for this query. - - The query. - A non-generic version. - - - - - - - - - - - - - Returns false. - - - false . - - - - - The IQueryable element type. - - - - - The IQueryable LINQ Expression. - - - - - The IQueryable provider. - - - - - Gets a representation of the underlying query. - - - - - An represents the collection of all entities in the context, or that - can be queried from the database, of a given type. is a concrete - implementation of IDbSet. - - - was originally intended to allow creation of test doubles (mocks or - fakes) for . However, this approach has issues in that adding new members - to an interface breaks existing code that already implements the interface without the new members. - Therefore, starting with EF6, no new members will be added to this interface and it is recommended - that be used as the base class for test doubles. - - The type that defines the set. - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for DbSets. Methods and properties that will be used by the - test double must be implemented by the test double except AsNoTracking, AsStreaming, an Include where - the default implementation is a no-op. - - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Asynchronously finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - The values of the primary key for the entity to be found. - A task that represents the asynchronous find operation. The task result contains the entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Asynchronously finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The values of the primary key for the entity to be found. - A task that represents the asynchronous find operation. The task result contains the entity found, or null. - - - - - - - - - - Adds the given collection of entities into context underlying the set with each entity being put into - the Added state such that it will be inserted into the database when SaveChanges is called. - - The collection of entities to add. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before adding any entities and will not be called - again. This means that in some situations AddRange may perform significantly better than calling - Add multiple times would do. - Note that entities that are already in the context in some other state will have their state set to - Added. AddRange is a no-op for entities that are already in the context in the Added state. - - - - - - - - Removes the given collection of entities from the context underlying the set with each entity being put into - the Deleted state such that it will be deleted from the database when SaveChanges is called. - - The collection of entities to delete. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before delete any entities and will not be called - again. This means that in some situations RemoveRange may perform significantly better than calling - Remove multiple times would do. - Note that if any entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - - - - - - - Returns the equivalent non-generic object. - - The generic set object. - The non-generic set object. - - - - Creates a raw SQL query that will return entities in this set. By default, the - entities returned are tracked by the context; this can be changed by calling - AsNoTracking on the returned. - Note that the entities returned are always of the type for this set and never of - a derived type. If the table or tables queried may contain data for other entity - types, then the SQL query must be written appropriately to ensure that only entities of - the correct type are returned. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values will - not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - - - - - - - - - - - - - An implementation of IDatabaseInitializer that will always recreate and optionally re-seed the - database the first time that a context is used in the app domain. - To seed the database, create a derived class and override the Seed method. - - The type of the context. - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - is - null - . - - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - An implementation of IDatabaseInitializer that will DELETE, recreate, and optionally re-seed the - database only if the model has changed since the database was created. - - The type of the context. - - Whether or not the model has changed is determined by the - method. - To seed the database create a derived class and override the Seed method. - - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - is - null - . - - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - Returned by the ChangeTracker method of to provide access to features of - the context that are related to change tracking of entities. - - - - - Gets objects for all the entities tracked by this context. - - The entries. - - - - Gets objects for all the entities of the given type - tracked by this context. - - The type of the entity. - The entries. - - - - Checks if the is tracking any new, deleted, or changed entities or - relationships that will be sent to the database if is called. - - - Functionally, calling this method is equivalent to checking if there are any entities or - relationships in the Added, Updated, or Deleted state. - Note that this method calls unless - has been set to false. - - - True if underlying have changes, else false. - - - - - Detects changes made to the properties and relationships of POCO entities. Note that some types of - entity (such as change tracking proxies and entities that derive from - ) - report changes automatically and a call to DetectChanges is not normally needed for these types of entities. - Also note that normally DetectChanges is called automatically by many of the methods of - and its related classes such that it is rare that this method will need to be called explicitly. - However, it may be desirable, usually for performance reasons, to turn off this automatic calling of - DetectChanges using the AutoDetectChangesEnabled flag from . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - A non-generic version of the class. - - - - - This is an abstract base class use to represent a scalar or complex property, or a navigation property - of an entity. Scalar and complex properties use the derived class , - reference navigation properties use the derived class , and collection - navigation properties use the derived class . - - - - - Validates this property. - - - Collection of objects. Never null. If the entity is valid the collection will be empty. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Gets the name of the property. - - The property name. - - - - Gets or sets the current value of this property. - - The current value. - - - - The to which this member belongs. - - An entry for the entity that owns this member. - - - - Loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - - - Asynchronously loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Returns the query that would be used to load this collection from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database, such - as counting the number of entities in the collection in the database without actually loading them. - - A query for the collection. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the collection element. - The equivalent generic object. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Gets or sets a value indicating whether all entities of this collection have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities of this collection from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded into this collection - and wants to prevent any other entities from being loaded automatically. - Note that explict loading using one of the Load methods will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity in the collection is detached the IsLoaded flag is reset to false indicating that the - not all related entities are now loaded. - - - true if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Instances of this class are returned from the Collection method of - and allow operations such as loading to - be performed on the an entity's collection navigation properties. - - The type of the entity to which this property belongs. - The type of the element in the collection of entities. - - - - This is an abstract base class use to represent a scalar or complex property, or a navigation property - of an entity. Scalar and complex properties use the derived class , - reference navigation properties use the derived class , and collection - navigation properties use the derived class . - - The type of the entity to which this property belongs. - The type of the property. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - Validates this property. - - - Collection of objects. Never null. If the entity is valid the collection will be empty. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - Gets the name of the property. - The name of the property. - - - - Gets or sets the current value of this property. - - The current value. - - - - The to which this member belongs. - - An entry for the entity that owns this member. - - - - Loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - - - Asynchronously loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Returns the query that would be used to load this collection from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database, such - as counting the number of entities in the collection in the database without actually loading them. - - A query for the collection. - - - - Returns a new instance of the non-generic class for - the navigation property represented by this object. - - The object representing the navigation property. - A non-generic version. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Gets or sets a value indicating whether all entities of this collection have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities of this collection from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded into this collection - and wants to prevent any other entities from being loaded automatically. - Note that explict loading using one of the Load methods will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity in the collection is detached the IsLoaded flag is reset to false indicating that the - not all related entities are now loaded. - - - true if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - An immutable representation of an Entity Data Model (EDM) model that can be used to create an - or can be passed to the constructor of a . - For increased performance, instances of this type should be cached and re-used to construct contexts. - - - - - Creates an instance of ObjectContext or class derived from ObjectContext. Note that an instance - of DbContext can be created instead by using the appropriate DbContext constructor. - If a derived ObjectContext is used, then it must have a public constructor with a single - EntityConnection parameter. - The connection passed is used by the ObjectContext created, but is not owned by the context. The caller - must dispose of the connection once the context has been disposed. - - The type of context to create. - An existing connection to a database for use by the context. - The context. - - - - A non-generic version of the class. - - - - - A non-generic version of the class. - - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Gets the property name. - - The property name. - - - - Gets or sets the original value of this property. - - The original value. - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets or sets a value indicating whether the value of this property has been modified since - it was loaded from the database. - - - Setting this value to false for a modified property will revert the change by setting the - current value to the original value. If the result is that no properties of the entity are - marked as modified, then the entity will be marked as Unchanged. - Setting this value to false for properties of Added, Unchanged, or Deleted entities - is a no-op. - - - true if this instance is modified; otherwise, false . - - - - - The to which this property belongs. - - An entry for the entity that owns this property. - - - - The of the property for which this is a nested property. - This method will only return a non-null entry for properties of complex objects; it will - return null for properties of the entity itself. - - An entry for the parent complex property, or null if this is an entity property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The name of the nested property. - An object representing the nested property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the complex property. - The equivalent generic object. - - - - Instances of this class are returned from the ComplexProperty method of - and allow access to the state of a complex property. - - The type of the entity to which this property belongs. - The type of the property. - - - - Instances of this class are returned from the Property method of - and allow access to the state of the scalar - or complex property. - - The type of the entity to which this property belongs. - The type of the property. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - Gets the property name. - - The property name. - - - - Gets or sets the original value of this property. - - The original value. - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets or sets a value indicating whether the value of this property has been modified since - it was loaded from the database. - - - true if this instance is modified; otherwise, false . - - - - - The to which this property belongs. - - An entry for the entity that owns this property. - - - - The of the property for which this is a nested property. - This method will only return a non-null entry for properties of complex objects; it will - return null for properties of the entity itself. - - An entry for the parent complex property, or null if this is an entity property. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The type of the nested property. - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The type of the nested property. - An expression representing the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The type of the nested property. - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The type of the nested property. - An expression representing the nested property. - An object representing the nested property. - - - - Describes the origin of the database connection string associated with a . - - - - - The connection string was created by convention. - - - - - The connection string was read from external configuration. - - - - - The connection string was explicitly specified at runtime. - - - - - The connection string was overriden by connection information supplied to DbContextInfo. - - - - - Returned by the Configuration method of to provide access to configuration - options for the context. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction. - - - This flag determines whether a new transaction will be started when methods such as - are executed outside of a transaction. - Note that this does not change the behavior of . - - - The default transactional behavior. - - - - - Gets or sets a value indicating whether lazy loading of relationships exposed as - navigation properties is enabled. Lazy loading is enabled by default. - - - true if lazy loading is enabled; otherwise, false . - - - - - Gets or sets a value indicating whether or not the framework will create instances of - dynamically generated proxy classes whenever it creates an instance of an entity type. - Note that even if proxy creation is enabled with this flag, proxy instances will only - be created for entity types that meet the requirements for being proxied. - Proxy creation is enabled by default. - - - true if proxy creation is enabled; otherwise, false . - - - - - Gets or sets a value indicating whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. The default value is false. - - For example (operand1 == operand2) will be translated as: - - (operand1 = operand2) - - if UseDatabaseNullSemantics is true, respectively - - (((operand1 = operand2) AND (NOT (operand1 IS NULL OR operand2 IS NULL))) OR ((operand1 IS NULL) AND (operand2 IS NULL))) - - if UseDatabaseNullSemantics is false. - - - true if database null comparison behavior is enabled, otherwise false . - - - - - Gets or sets a value indicating whether the - method is called automatically by methods of and related classes. - The default value is true. - - - true if should be called automatically; otherwise, false. - - - - - Gets or sets a value indicating whether tracked entities should be validated automatically when - is invoked. - The default value is true. - - - - - Provides runtime information about a given type. - - - - - Creates a new instance representing a given type. - - - The type deriving from . - - - - - Creates a new instance representing a given targeting a specific database. - - - The type deriving from . - - Connection information for the database to be used. - - - - Creates a new instance representing a given type. An external list of - connection strings can be supplied and will be used during connection string resolution in place - of any connection strings specified in external configuration files. - - - It is preferable to use the constructor that accepts the entire config document instead of using this - constructor. Providing the entire config document allows DefaultConnectionFactroy entries in the config - to be found in addition to explicitly specified connection strings. - - - The type deriving from . - - A collection of connection strings. - - - - Creates a new instance representing a given type. An external config - object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - - - The type deriving from . - - An object representing the config file. - - - - Creates a new instance representing a given , targeting a specific database. - An external config object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - - - The type deriving from . - - An object representing the config file. - Connection information for the database to be used. - - - - Creates a new instance representing a given type. A - can be supplied in order to override the default determined provider used when constructing - the underlying EDM model. - - - The type deriving from . - - - A specifying the underlying ADO.NET provider to target. - - - - - Creates a new instance representing a given type. An external config - object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - A can be supplied in order to override the default determined - provider used when constructing the underlying EDM model. This can be useful to prevent EF from - connecting to discover a manifest token. - - - The type deriving from . - - An object representing the config file. - - A specifying the underlying ADO.NET provider to target. - - - - - If instances of the underlying type can be created, returns - a new instance; otherwise returns null. - - - A instance. - - - - - The concrete type. - - - - - Whether or not instances of the underlying type can be created. - - - - - The connection string used by the underlying type. - - - - - The connection string name used by the underlying type. - - - - - The ADO.NET provider name of the connection used by the underlying type. - - - - - The origin of the connection string used by the underlying type. - - - - - An action to be run on the DbModelBuilder after OnModelCreating has been run on the context. - - - - - A non-generic version of the class. - - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - The store values. - - - - Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the store values. - - - - - Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the store values. - - - - - Reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - - - Asynchronously reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The name of the property. - An object representing the property. - - - - Gets an object that represents a complex property of this entity. - - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The name of the member. - An object representing the member. - - - - Returns a new instance of the generic class for the given - generic type for the tracked entity represented by this object. - Note that the type of the tracked entity must be compatible with the generic type or - an exception will be thrown. - - The type of the entity. - A generic version. - - - - Validates this instance and returns validation result. - - - Entity validation result. Possibly null if - DbContext.ValidateEntity(DbEntityEntry, IDictionary{object,object}) - method is overridden. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Returns a hash code for this instance. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the entity. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - - The original values. - - - - Instances of this class provide access to information about and control of entities that - are being tracked by the . Use the Entity or Entities methods of - the context to obtain objects of this type. - - The type of the entity. - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - The store values. - - - - Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the store values. - - - - - Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the store values. - - - - - Reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - - - Asynchronously reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The type of the property. - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The type of the property. - An expression representing the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The type of elements in the collection. - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The type of elements in the collection. - An expression representing the navigation property. - An object representing the navigation property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The name of the property. - An object representing the property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The type of the property. - The name of the property. - An object representing the property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The type of the property. - An expression representing the property. - An object representing the property. - - - - Gets an object that represents a complex property of this entity. - - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a complex property of this entity. - - The type of the complex property. - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a complex property of this entity. - - The type of the complex property. - An expression representing the complex property. - An object representing the complex property. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The name of the member. - An object representing the member. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The type of the member. - The name of the member. - An object representing the member. - - - - Returns a new instance of the non-generic class for - the tracked entity represented by this object. - - The object representing the tracked entity. - A non-generic version. - - - - Validates this instance and returns validation result. - - - Entity validation result. Possibly null if - DbContext.ValidateEntity(DbEntityEntry, IDictionary{object, object}) - method is overridden. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Returns a hash code for this instance. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the entity. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - - The original values. - - - - Represents an Entity Data Model (EDM) created by the . - The Compile method can be used to go from this EDM representation to a - which is a compiled snapshot of the model suitable for caching and creation of - or instances. - - - - - Creates a for this mode which is a compiled snapshot - suitable for caching and creation of instances. - - The compiled model. - - - - Gets the provider information. - - - - - Gets the provider manifest. - - - - - Gets the conceptual model. - - - - - Gets the store model. - - - - - Gets the mapping model. - - - - - A collection of all the properties for an underlying entity or complex object. - - - An instance of this class can be converted to an instance of the generic class - using the Cast method. - Complex properties in the underlying entity or complex object are represented in - the property values as nested instances of this class. - - - - - Creates an object of the underlying type for this dictionary and hydrates it with property - values from this dictionary. - - The properties of this dictionary copied into a new object. - - - - Sets the values of this dictionary by reading values out of the given object. - The given object can be of any type. Any property on the object with a name that - matches a property name in the dictionary and can be read will be read. Other - properties will be ignored. This allows, for example, copying of properties from - simple Data Transfer Objects (DTOs). - - The object to read values from. - - - - Creates a new dictionary containing copies of all the properties in this dictionary. - Changes made to the new dictionary will not be reflected in this dictionary and vice versa. - - A clone of this dictionary. - - - - Sets the values of this dictionary by reading values from another dictionary. - The other dictionary must be based on the same type as this dictionary, or a type derived - from the type for this dictionary. - - The dictionary to read values from. - - - - Gets the value of the property just like using the indexed property getter but - typed to the type of the generic parameter. This is useful especially with - nested dictionaries to avoid writing expressions with lots of casts. - - The type of the property. - Name of the property. - The value of the property. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets the set of names of all properties in this dictionary as a read-only set. - - The property names. - - - - Gets or sets the value of the property with the specified property name. - The value may be a nested instance of this class. - - The property name. - The value of the property. - - - - Groups a pair of strings that identify a provider and server version together into a single object. - - - Instances of this class act as the key for resolving a for a specific - provider from a . This is typically used when registering spatial services - in or when the spatial services specific to a provider is - resolved by an implementation of . - - - - - Creates a new object for a given provider invariant name and manifest token. - - - A string that identifies that provider. For example, the SQL Server - provider uses the string "System.Data.SqlCient". - - - A string that identifies that version of the database server being used. For example, the SQL Server - provider uses the string "2008" for SQL Server 2008. This cannot be null but may be empty. - The manifest token is sometimes referred to as a version hint. - - - - - - - - - - - A string that identifies that provider. For example, the SQL Server - provider uses the string "System.Data.SqlCient". - - - - - A string that identifies that version of the database server being used. For example, the SQL Server - provider uses the string "2008" for SQL Server 2008. This cannot be null but may be empty. - - - - - A non-generic version of the class. - - - - - Loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - - - Asynchronously loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Returns the query that would be used to load this entity from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database. - - A query for the entity. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Gets or sets a value indicating whether the entity has been loaded from the database. - - - Loading the related entity from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entity from being lazy-loaded. - Note that explict loading using one of the Load methods will load the related entity from the database - regardless of whether or not IsLoaded is true. - When a related entity is detached the IsLoaded flag is reset to false indicating that the related entity is - no longer loaded. - - - true if the entity is loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Instances of this class are returned from the Reference method of - and allow operations such as loading to - be performed on the an entity's reference navigation properties. - - The type of the entity to which this property belongs. - The type of the property. - - - - Loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - - - Asynchronously loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Returns the query that would be used to load this entity from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database. - - A query for the entity. - - - - Returns a new instance of the non-generic class for - the navigation property represented by this object. - - The object representing the navigation property. - A non-generic version. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Gets or sets a value indicating whether the entity has been loaded from the database. - - - Loading the related entity from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entity from being lazy-loaded. - Note that explict loading using one of the Load methods will load the related entity from the database - regardless of whether or not IsLoaded is true. - When a related entity is detached the IsLoaded flag is reset to false indicating that the related entity is - no longer loaded. - - - true if the entity is loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Exception thrown by when it was expected that SaveChanges for an entity would - result in a database update but in fact no rows in the database were affected. This usually indicates - that the database has been concurrently updated such that a concurrency token that was expected to match - did not actually match. - Note that state entries referenced by this exception are not serialized due to security and accesses to - the state entries after serialization will return null. - - - - - Exception thrown by when the saving of changes to the database fails. - Note that state entries referenced by this exception are not serialized due to security and accesses to the - state entries after serialization will return null. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Gets objects that represents the entities that could not - be saved to the database. - - The entries representing the entities that could not be saved. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Represents an entity used to store metadata about an EDM in the database. - - - - - Attempts to get the model hash calculated by Code First for the given context. - This method will return null if the context is not being used in Code First mode. - - The context. - The hash string. - - - - Gets or sets the ID of the metadata entity, which is currently always 1. - - The id. - - - - Gets or sets the model hash which is used to check whether the model has - changed since the database was created from it. - - The model hash. - - - - Contains methods used to access the Entity Data Model created by Code First in the EDMX form. - These methods are typically used for debugging when there is a need to look at the model that - Code First creates internally. - - - - - Uses Code First with the given context and writes the resulting Entity Data Model to the given - writer in EDMX form. This method can only be used with context instances that use Code First - and create the model internally. The method cannot be used for contexts created using Database - First or Model First, for contexts created using a pre-existing , or - for contexts created using a pre-existing . - - The context. - The writer. - - - - Writes the Entity Data Model represented by the given to the - given writer in EDMX form. - - An object representing the EDM. - The writer. - - - - A factory for creating derived instances. Implement this - interface to enable design-time services for context types that do not have a - public default constructor. - At design-time, derived instances can be created in order to enable specific - design-time experiences such as model rendering, DDL generation etc. To enable design-time instantiation - for derived types that do not have a public, default constructor, implement - this interface. Design-time services will auto-discover implementations of this interface that are in the - same assembly as the derived type. - - The type of the context. - - - - Creates a new instance of a derived type. - - An instance of TContext - - - - This convention causes DbModelBuilder to include metadata about the model - when it builds the model. When creates a model by convention it will - add this convention to the list of those used by the DbModelBuilder. This will then result in - model metadata being written to the database if the DbContext is used to create the database. - This can then be used as a quick check to see if the model has changed since the last time it was - used against the database. - This convention can be removed from the conventions by overriding - the OnModelCreating method on a derived DbContext class. - - - - - This convention uses the name of the derived - class as the container for the conceptual model built by - Code First. - - - - - Applies the convention to the given model. - - The container to apply the convention to. - The model. - - - - This convention uses the namespace of the derived - class as the namespace of the conceptual model built by - Code First. - - - - - Instances of this class are used internally to create constant expressions for - that are inserted into the expression tree to replace references to - and . - - The type of the element. - - - - The public property expected in the LINQ expression tree. - - The query. - - - - Instances of this class are used to create DbConnection objects for - SQL Server Compact Edition based on a given database name or connection string. - - - It is necessary to provide the provider invariant name of the SQL Server Compact - Edition to use when creating an instance of this class. This is because different - versions of SQL Server Compact Editions use different invariant names. - An instance of this class can be set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use SQL Server Compact Edition by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Creates a new connection factory with empty (default) DatabaseDirectory and BaseConnectionString - properties. - - The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. - - - - Creates a new connection factory with the given DatabaseDirectory and BaseConnectionString properties. - - The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. - The path to prepend to the database name that will form the file name used by SQL Server Compact Edition when it creates or reads the database file. An empty string means that SQL Server Compact Edition will use its default for the database file location. - The connection string to use for options to the database other than the 'Data Source'. The Data Source will be prepended to this string based on the database name when CreateConnection is called. - - - - Creates a connection for SQL Server Compact Edition based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - The path to prepend to the database name that will form the file name used by - SQL Server Compact Edition when it creates or reads the database file. - The default value is "|DataDirectory|", which means the file will be placed - in the designated data directory. - - - - - The connection string to use for options to the database other than the 'Data Source'. - The Data Source will be prepended to this string based on the database name when - CreateConnection is called. - The default is the empty string, which means no other options will be used. - - - - - The provider invariant name that specifies the version of SQL Server Compact Edition - that should be used. - - - - - Instances of this class are used to create DbConnection objects for - SQL Server based on a given database name or connection string. By default, the connection is - made to '.\SQLEXPRESS'. This can be changed by changing the base connection - string when constructing a factory instance. - - - An instance of this class can be set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use SQL Server by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Creates a new connection factory with a default BaseConnectionString property of - 'Data Source=.\SQLEXPRESS; Integrated Security=True; MultipleActiveResultSets=True;'. - - - - - Creates a new connection factory with the given BaseConnectionString property. - - The connection string to use for options to the database other than the 'Initial Catalog'. The 'Initial Catalog' will be prepended to this string based on the database name when CreateConnection is called. - - - - Creates a connection for SQL Server based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - The connection string to use for options to the database other than the 'Initial Catalog'. - The 'Initial Catalog' will be prepended to this string based on the database name when - CreateConnection is called. - The default is 'Data Source=.\SQLEXPRESS; Integrated Security=True;'. - - - - - This attribute can be applied to either an entire derived class or to - individual or properties on that class. When applied - any discovered or properties will still be included - in the model but will not be automatically initialized. - - - - - Thrown when a context is generated from the templates in Database First or Model - First mode and is then used in Code First mode. - - - Code generated using the T4 templates provided for Database First and Model First use may not work - correctly if used in Code First mode. To use these classes with Code First please add any additional - configuration using attributes or the DbModelBuilder API and then remove the code that throws this - exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The object that holds the serialized object data. - The contextual information about the source or destination. - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Allows configuration to be performed for an complex type in a model. - A ComplexTypeConfiguration can be obtained via the ComplexType method on - or a custom type derived from ComplexTypeConfiguration - can be registered via the Configurations property on . - - The complex type to be configured. - - - - Allows configuration to be performed for a type in a model. - - The type to be configured. - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Initializes a new instance of ComplexTypeConfiguration - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The same ComplexTypeConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Allows derived configuration classes for entities and complex types to be registered with a - . - - - Derived configuration classes are created by deriving from - or and using a type to be included in the model as the generic - parameter. - Configuration can be performed without creating derived configuration classes via the Entity and ComplexType - methods on . - - - - - Discovers all types that inherit from or - in the given assembly and adds an instance - of each discovered type to this registrar. - - - Note that only types that are abstract or generic type definitions are skipped. Every - type that is discovered and added must provide a parameterless constructor. - - The assembly containing model configurations to add. - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - Adds an to the . - Only one can be added for each type in a model. - - The entity type being configured. - The entity type configuration to be added. - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - Adds an to the . - Only one can be added for each type in a model. - - The complex type being configured. - The complex type configuration to be added - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows the conventions used by a instance to be customized. - The default conventions can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. - - - - - Discover all conventions in the given assembly and add them to the . - - - This method add all conventions ordered by type name. The order in which conventions are added - can have an impact on how they behave because it governs the order in which they are run. - All conventions found must have a parameterless public constructor. - - The assembly containing conventions to be added. - - - - Enables one or more conventions for the . - - The conventions to be enabled. - - - - Enables a convention for the . - - The type of the convention to be enabled. - - - - Enables a convention for the . This convention - will run after the one specified. - - The type of the convention after which the enabled one will run. - The convention to enable. - - - - Enables a configuration convention for the . This convention - will run before the one specified. - - The type of the convention before which the enabled one will run. - The convention to enable. - - - - Disables one or more conventions for the . - - The conventions to be disabled. - - - - Disables a convention for the . - The default conventions that are available for removal can be found in the - System.Data.Entity.ModelConfiguration.Conventions namespace. - - The type of the convention to be disabled. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures the table and column mapping for an entity type or a sub-set of properties from an entity type. - This configuration functionality is available via the Code First Fluent API, see . - - The entity type to be mapped. - - - Initializes a new instance of the class. - - - - Configures the properties that will be included in this mapping fragment. - If this method is not called then all properties that have not yet been - included in a mapping fragment will be configured. - - An anonymous type including the properties to be mapped. - A lambda expression to an anonymous type that contains the properties to be mapped. C#: t => new { t.Id, t.Property1, t.Property2 } VB.Net: Function(t) New With { p.Id, t.Property1, t.Property2 } - - - - Configures a property that is included in this mapping fragment. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Re-maps all properties inherited from base types. - When configuring a derived type to be mapped to a separate table this will cause all properties to - be included in the table rather than just the non-inherited properties. This is known as - Table per Concrete Type (TPC) mapping. - - The same configuration instance so that multiple calls can be chained. - - - - Configures the table name to be mapped to. - - Name of the table. - The same configuration instance so that multiple calls can be chained. - - - - Configures the table name and schema to be mapped to. - - Name of the table. - Schema of the table. - The same configuration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the discriminator column used to differentiate between types in an inheritance hierarchy. - - The name of the discriminator column. - A configuration object to further configure the discriminator column and values. - - - - Configures the discriminator condition used to differentiate between types in an inheritance hierarchy. - - The type of the property being used to discriminate between types. - A lambda expression representing the property being used to discriminate between types. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object to further configure the discriminator condition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a column with length facets for an entity type or complex type. This configuration functionality is exposed by the Code First Fluent API, see . - - - - - Configures a primitive column from an entity type. - - - - Configures the primitive column to be optional. - The same instance so that multiple calls can be chained. - - - Configures the primitive column to be required. - The same instance so that multiple calls can be chained. - - - Configures the data type of the primitive column used to store the property. - The same instance so that multiple calls can be chained. - The name of the database provider specific data type. - - - Configures the order of the primitive column used to store the property. This method is also used to specify key ordering when an entity type has a composite key. - The same instance so that multiple calls can be chained. - The order that this column should appear in the database table. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - Configures the column to allow the maximum length supported by the database provider. - The same instance so that multiple calls can be chained. - - - Configures the column to have the specified maximum length. - The same instance so that multiple calls can be chained. - The maximum length for the column. Setting the value to null will remove any maximum length restriction from the column and a default length will be used for the database column. - - - Configures the column to be fixed length. - The same instance so that multiple calls can be chained. - - - Configures the column to be variable length. - The same instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Configures a condition used to discriminate between types in an inheritance hierarchy based on the values assigned to a property. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the condition to require a value in the property. - Rows that do not have a value assigned to column that this property is stored in are - assumed to be of the base type of this entity type. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a database column used to store a string values. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the column to allow the maximum length supported by the database provider. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - - The maximum length for the property. Setting 'null' will result in a default length being used for the column. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be variable length. - Columns are variable length by default. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be optional. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be required. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column. - - Name of the database provider specific data type. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column. - - The order that this column should appear in the database table. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to support Unicode string content. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the column supports Unicode string content. - - Value indicating if the column supports Unicode string content or not. Specifying 'null' will remove the Unicode facet from the column. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Configures a discriminator column used to differentiate between types in an inheritance hierarchy. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - Type of the discriminator value. - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - Type of the discriminator value. - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a many relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be many:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:required with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:required without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:optional with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:optional without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an optional relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be optional:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:required with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:required without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional with a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional without a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional with a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A lambda expression representing the navigation property on the other end of the relationship. - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional without a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an required relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be required:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:optional with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:optional without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required with a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required without a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required with a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required without a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Base class for performing configuration of a relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures a relationship that can support cascade on delete functionality. - - - - - Configures cascade delete to be on for the relationship. - - - - - Configures whether or not cascade delete is on for the relationship. - - Value indicating if cascade delete is on or not. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a relationship that can support foreign key properties that are exposed in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - The dependent entity type. - - - - Configures a relationship that can only support foreign key properties that are not exposed in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the relationship to use foreign key property(s) that are not exposed in the object model. - The column(s) and table can be customized by specifying a configuration action. - If an empty configuration action is specified then column name(s) will be generated by convention. - If foreign key properties are exposed in the object model then use the HasForeignKey method. - Not all relationships support exposing foreign key properties in the object model. - - Action that configures the foreign key column(s) and table. - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Configures the relationship to use foreign key property(s) that are exposed in the object model. - If the foreign key property(s) are not exposed in the object model then use the Map method. - - The type of the key. - A lambda expression representing the property to be used as the foreign key. If the foreign key is made up of multiple properties then specify an anonymous type including the properties. When using multiple foreign key properties, the properties must be specified in the same order that the the primary key properties were configured for the principal entity type. - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Configures the table and column mapping of a relationship that does not expose foreign key properties in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the name of the column(s) for the foreign key. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the the primary key properties were configured for the target entity type. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for a database column that has been configured with . - The annotation value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The name of the column that was configured with the HasKey method. - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that the foreign key column(s) reside in. - The table that is specified must already be mapped for the entity type. - If you want the foreign key(s) to reside in their own table then use the Map method - on to perform - entity splitting to create the table with just the primary key property. Foreign keys can - then be added to the table via this method. - - Name of the table. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table name and schema that the foreign key column(s) reside in. - The table that is specified must already be mapped for the entity type. - If you want the foreign key(s) to reside in their own table then use the Map method - on to perform - entity splitting to create the table with just the primary key property. Foreign keys can - then be added to the table via this method. - - Name of the table. - Schema of the table. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - - - - Configures the table and column mapping of a many:many relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the join table name for the relationship. - - Name of the table. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the join table name and schema for the relationship. - - Name of the table. - Schema of the table. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the join table. The annotation value can later be used when - processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the name of the column(s) for the left foreign key. - The left foreign key points to the parent entity of the navigation property specified in the HasMany call. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the the primary key properties were configured for the target entity type. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the column(s) for the right foreign key. - The right foreign key points to the parent entity of the the navigation property specified in the WithMany call. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the the primary key properties were configured for the target entity type. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - - - Determines whether the specified object is equal to the current object. - true if the specified object is equal to the current object; otherwise, false. - The object to compare with the current object. - - - - - - - - - - - - - Configures a many:many relationship. - This configuration functionality is available via the Code First Fluent API, see . - - The type of the parent entity of the navigation property specified in the HasMany call. - The type of the parent entity of the navigation property specified in the WithMany call. - - - - Configures the foreign key column(s) and table used to store the relationship. - - Action that configures the foreign key column(s) and table. - The same instance so that multiple calls can be chained. - - - - Configures stored procedures to be used for modifying this relationship. - The default conventions for procedure and parameter names will be used. - - The same instance so that multiple calls can be chained. - - - - Configures stored procedures to be used for modifying this relationship. - - - Configuration to override the default conventions for procedure and parameter names. - - The same instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Used to configure a property with length facets for an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Used to configure a primitive property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the parameter used in stored procedures for this property. - - Name of the parameter. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures the property to allow the maximum length supported by the database provider. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property and a default length will be used for the database column. - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - Properties are variable length by default. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to allow the maximum length supported by the database provider. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - properties are variable length by default. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - properties are optional by default. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be a row version in the database. - The actual data type will vary depending on the database provider being used. - Setting the property to be a row version will automatically configure it to be an - optimistic concurrency token. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - properties are required by default. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the precision of the property. - If the database provider does not support precision for the data type of the column then the value is ignored. - - Precision of the property. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - properties are required by default. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the precision and scale of the property. - - The precision of the property. - The scale of the property. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to allow the maximum length supported by the database provider. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property and a default length will be used for the database column.. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - properties are variable length by default. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - properties are optional by default. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to support Unicode string content. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property supports Unicode string content. - - Value indicating if the property supports Unicode string content or not. Specifying 'null' will remove the Unicode facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Convention to process instances of found on properties in the model - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on foreign key properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on navigation properties in the model. - - - - - Convention to process instances of found on primitive properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Convention to detect navigation properties to be inverses of each other when only one pair - of navigation properties exists between the related types. - - - - - - - - Convention to configure a type as a complex type if it has no primary key, no mapped base type and no navigation properties. - - - - - - - - Convention to add a cascade delete to the join table from both tables involved in a many to many relationship. - - - - - Convention to ensure an invalid/unsupported mapping is not created when mapping inherited properties - - - - - Convention to set the table name to be a pluralized version of the entity type name. - - - - - - - - Convention to set precision to 18 and scale to 2 for decimal properties. - - - - - Initializes a new instance of with the default precision and scale. - - - - - Initializes a new instance of with the specified precision and scale. - - Precision - Scale - - - - - - - Convention to move primary key properties to appear first. - - - - - - - - Convention to distinguish between optional and required relationships based on CLR nullability of the foreign key property. - - - - - - - - Base class for conventions that discover foreign key properties. - - - - - When overriden returns true if should be part of the foreign key. - - The association type being configured. - The dependent end. - The candidate property on the dependent end. - The principal end entity type. - A key property on the principal end that is a candidate target for the foreign key. - true if dependentProperty should be a part of the foreign key; otherwise, false. - - - - - - - Returns true if the convention supports pairs of entity types that have multiple associations defined between them. - - - - - Convention to process instances of found on navigation properties in the model. - - - - - - - - Convention to detect primary key properties. - Recognized naming patterns in order of precedence are: - 1. 'Id' - 2. [type name]Id - Primary key detection is case insensitive. - - - - - Base class for conventions that discover primary key properties. - - - - - - - - When overriden returns the subset of properties that will be part of the primary key. - - The entity type. - The primitive types of the entities - The properties that should be part of the primary key. - - - - - - - Convention to discover foreign key properties whose names are a combination - of the dependent navigation property name and the principal type primary key property name(s). - - - - - - - - - - - Convention to enable cascade delete for any required relationships. - - - - - - - - Convention to configure the primary key(s) of the dependent entity type as foreign key(s) in a one:one relationship. - - - - - - - - Convention to set the entity set name to be a pluralized version of the entity type name. - - - - - - - - Convention to discover foreign key properties whose names match the principal type primary key property name(s). - - - - - - - - Convention to set a maximum length for properties whose type supports length facets. The default value is 128. - - - - - Initializes a new instance of with the default length. - - - - - Initializes a new instance of with the specified length. - - The maximum lenght of properties. - - - - - - - - - - - - - Convention to set a default maximum length of 4000 for properties whose type supports length facets when SqlCe is the provider. - - - - - Initializes a new instance of with the default length. - - - - - Initializes a new instance of with the specified length. - - The default maximum length for properties. - - - - - - - - - - Convention to configure integer primary keys to be identity. - - - - - - - - Convention to discover foreign key properties whose names are a combination - of the principal type name and the principal type primary key property name(s). - - - - - - - - Allows configuration to be performed for an entity type in a model. - An EntityTypeConfiguration can be obtained via the Entity method on - or a custom type derived from EntityTypeConfiguration - can be registered via the Configurations property on . - - The entity type being configured. - - - - Initializes a new instance of EntityTypeConfiguration - - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - A builder to configure the key. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures index property(s) for this entity type. - - The type of the index. - A lambda expression representing the property to apply an index to. C#: t => t.Id VB.Net: Function(t) t.Id If the index is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The IndexConfiguration instance so that the index can be further configured. - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - Allows advanced configuration related to how this entity type is mapped to the database schema. - By default, any configuration will also apply to any type derived from this entity type. - Derived types can be configured via the overload of Map that configures a derived type or - by using an EntityTypeConfiguration for the derived type. - The properties of an entity can be split between multiple tables using multiple Map calls. - Calls to Map are additive, subsequent calls will not override configuration already preformed via Map. - - - An action that performs configuration against an - - . - - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Allows advanced configuration related to how a derived entity type is mapped to the database schema. - Calls to Map are additive, subsequent calls will not override configuration already preformed via Map. - - The derived entity type to be configured. - - An action that performs configuration against an - - . - - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures an optional relationship from this entity type. - Instances of the entity type will be able to be saved to the database without this relationship being specified. - The foreign key in the database will be nullable. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures a required relationship from this entity type. - Instances of the entity type will not be able to be saved to the database unless this relationship is specified. - The foreign key in the database will be non-nullable. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures a many relationship from this entity type. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Exception thrown by during model creation when an invalid model is generated. - - - - - Initializes a new instance of ModelValidationException - - - - - Initializes a new instance of ModelValidationException - - The exception message. - - - - Initializes a new instance of ModelValidationException - - The exception message. - The inner exception. - - - Initializes a new instance of class serialization info and streaming context. - The serialization info. - The streaming context. - - - - Exception thrown from when validating entities fails. - - - - - Initializes a new instance of DbEntityValidationException. - - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - Validation results. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - The inner exception. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - Validation results. - The inner exception. - - - - Validation results. - - - - - Represents validation results for single entity. - - - - - Creates an instance of class. - - Entity entry the results applies to. Never null. - - List of instances. Never null. Can be empty meaning the entity is valid. - - - - - Gets an instance of the results applies to. - - - - - Gets validation errors. Never null. - - - - - Gets an indicator if the entity is valid. - - - - - Exception thrown from when an exception is thrown from the validation - code. - - - - - Initializes a new instance of DbUnexpectedValidationException. - - - - - Initializes a new instance of DbUnexpectedValidationException. - - The exception message. - - - - Initializes a new instance of DbUnexpectedValidationException. - - The exception message. - The inner exception. - - - - Initializes a new instance of DbUnexpectedValidationException with the specified serialization info and - context. - - The serialization info. - The streaming context. - - - - Validation error. Can be either entity or property level validation error. - - - - - Creates an instance of . - - Name of the invalid property. Can be null. - Validation error message. Can be null. - - - - Gets name of the invalid property. - - - - - Gets validation error message. - - - - diff --git a/app/packages/EntityFramework.6.2.0/tools/EntityFramework.PowerShell.Utility.dll b/app/packages/EntityFramework.6.2.0/tools/EntityFramework.PowerShell.Utility.dll deleted file mode 100644 index b0753f9..0000000 Binary files a/app/packages/EntityFramework.6.2.0/tools/EntityFramework.PowerShell.Utility.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.2.0/tools/EntityFramework.PowerShell.dll b/app/packages/EntityFramework.6.2.0/tools/EntityFramework.PowerShell.dll deleted file mode 100644 index 6eefbb3..0000000 Binary files a/app/packages/EntityFramework.6.2.0/tools/EntityFramework.PowerShell.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.2.0/tools/EntityFramework.psd1 b/app/packages/EntityFramework.6.2.0/tools/EntityFramework.psd1 deleted file mode 100644 index 346fec6..0000000 Binary files a/app/packages/EntityFramework.6.2.0/tools/EntityFramework.psd1 and /dev/null differ diff --git a/app/packages/EntityFramework.6.2.0/tools/EntityFramework.psm1 b/app/packages/EntityFramework.6.2.0/tools/EntityFramework.psm1 deleted file mode 100644 index a87446e..0000000 --- a/app/packages/EntityFramework.6.2.0/tools/EntityFramework.psm1 +++ /dev/null @@ -1,1176 +0,0 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. - -$InitialDatabase = '0' - -$knownExceptions = @( - 'System.Data.Entity.Migrations.Infrastructure.MigrationsException', - 'System.Data.Entity.Migrations.Infrastructure.AutomaticMigrationsDisabledException', - 'System.Data.Entity.Migrations.Infrastructure.AutomaticDataLossException', - 'System.Data.Entity.Migrations.Infrastructure.MigrationsPendingException', - 'System.Data.Entity.Migrations.ProjectTypeNotSupportedException' -) - -<# -.SYNOPSIS - Adds or updates an Entity Framework provider entry in the project config - file. - -.DESCRIPTION - Adds an entry into the 'entityFramework' section of the project config - file for the specified provider invariant name and provider type. If an - entry for the given invariant name already exists, then that entry is - updated with the given type name, unless the given type name already - matches, in which case no action is taken. The 'entityFramework' - section is added if it does not exist. The config file is automatically - saved if and only if a change was made. - - This command is typically used only by Entity Framework provider NuGet - packages and is run from the 'install.ps1' script. - -.PARAMETER Project - The Visual Studio project to update. When running in the NuGet install.ps1 - script the '$project' variable provided as part of that script should be - used. - -.PARAMETER InvariantName - The provider invariant name that uniquely identifies this provider. For - example, the Microsoft SQL Server provider is registered with the invariant - name 'System.Data.SqlClient'. - -.PARAMETER TypeName - The assembly-qualified type name of the provider-specific type that - inherits from 'System.Data.Entity.Core.Common.DbProviderServices'. For - example, for the Microsoft SQL Server provider, this type is - 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'. -#> -function Add-EFProvider -{ - param ( - [parameter(Position = 0, - Mandatory = $true)] - $Project, - [parameter(Position = 1, - Mandatory = $true)] - [string] $InvariantName, - [parameter(Position = 2, - Mandatory = $true)] - [string] $TypeName - ) - - if (!(Check-Project $project)) - { - return - } - - $runner = New-EFConfigRunner $Project - - try - { - Invoke-RunnerCommand $runner System.Data.Entity.ConnectionFactoryConfig.AddProviderCommand @( $InvariantName, $TypeName ) - $error = Get-RunnerError $runner - - if ($error) - { - if ($knownExceptions -notcontains $error.TypeName) - { - Write-Host $error.StackTrace - } - else - { - Write-Verbose $error.StackTrace - } - - throw $error.Message - } - } - finally - { - Remove-Runner $runner - } -} - -<# -.SYNOPSIS - Adds or updates an Entity Framework default connection factory in the - project config file. - -.DESCRIPTION - Adds an entry into the 'entityFramework' section of the project config - file for the connection factory that Entity Framework will use by default - when creating new connections by convention. Any existing entry will be - overridden if it does not match. The 'entityFramework' section is added if - it does not exist. The config file is automatically saved if and only if - a change was made. - - This command is typically used only by Entity Framework provider NuGet - packages and is run from the 'install.ps1' script. - -.PARAMETER Project - The Visual Studio project to update. When running in the NuGet install.ps1 - script the '$project' variable provided as part of that script should be - used. - -.PARAMETER TypeName - The assembly-qualified type name of the connection factory type that - implements the 'System.Data.Entity.Infrastructure.IDbConnectionFactory' - interface. For example, for the Microsoft SQL Server Express provider - connection factory, this type is - 'System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework'. - -.PARAMETER ConstructorArguments - An optional array of strings that will be passed as arguments to the - connection factory type constructor. -#> -function Add-EFDefaultConnectionFactory -{ - param ( - [parameter(Position = 0, - Mandatory = $true)] - $Project, - [parameter(Position = 1, - Mandatory = $true)] - [string] $TypeName, - [string[]] $ConstructorArguments - ) - - if (!(Check-Project $project)) - { - return - } - - $runner = New-EFConfigRunner $Project - - try - { - Invoke-RunnerCommand $runner System.Data.Entity.ConnectionFactoryConfig.AddDefaultConnectionFactoryCommand @( $TypeName, $ConstructorArguments ) - $error = Get-RunnerError $runner - - if ($error) - { - if ($knownExceptions -notcontains $error.TypeName) - { - Write-Host $error.StackTrace - } - else - { - Write-Verbose $error.StackTrace - } - - throw $error.Message - } - } - finally - { - Remove-Runner $runner - } -} - -<# -.SYNOPSIS - Initializes the Entity Framework section in the project config file - and sets defaults. - -.DESCRIPTION - Creates the 'entityFramework' section of the project config file and sets - the default connection factory to use SQL Express if it is running on the - machine, or LocalDb otherwise. Note that installing a different provider - may change the default connection factory. The config file is - automatically saved if and only if a change was made. - - In addition, any reference to 'System.Data.Entity.dll' in the project is - removed. - - This command is typically used only by Entity Framework provider NuGet - packages and is run from the 'install.ps1' script. - -.PARAMETER Project - The Visual Studio project to update. When running in the NuGet install.ps1 - script the '$project' variable provided as part of that script should be - used. -#> -function Initialize-EFConfiguration -{ - param ( - [parameter(Position = 0, - Mandatory = $true)] - $Project - ) - - if (!(Check-Project $project)) - { - return - } - - $runner = New-EFConfigRunner $Project - - try - { - Invoke-RunnerCommand $runner System.Data.Entity.ConnectionFactoryConfig.InitializeEntityFrameworkCommand - $error = Get-RunnerError $runner - - if ($error) - { - if ($knownExceptions -notcontains $error.TypeName) - { - Write-Host $error.StackTrace - } - else - { - Write-Verbose $error.StackTrace - } - - throw $error.Message - } - } - finally - { - Remove-Runner $runner - } -} - -<# -.SYNOPSIS - Enables Code First Migrations in a project. - -.DESCRIPTION - Enables Migrations by scaffolding a migrations configuration class in the project. If the - target database was created by an initializer, an initial migration will be created (unless - automatic migrations are enabled via the EnableAutomaticMigrations parameter). - -.PARAMETER ContextTypeName - Specifies the context to use. If omitted, migrations will attempt to locate a - single context type in the target project. - -.PARAMETER EnableAutomaticMigrations - Specifies whether automatic migrations will be enabled in the scaffolded migrations configuration. - If omitted, automatic migrations will be disabled. - -.PARAMETER MigrationsDirectory - Specifies the name of the directory that will contain migrations code files. - If omitted, the directory will be named "Migrations". - -.PARAMETER ProjectName - Specifies the project that the scaffolded migrations configuration class will - be added to. If omitted, the default project selected in package manager - console is used. - -.PARAMETER StartUpProjectName - Specifies the configuration file to use for named connection strings. If - omitted, the specified project's configuration file is used. - -.PARAMETER ContextProjectName - Specifies the project which contains the DbContext class to use. If omitted, - the context is assumed to be in the same project used for migrations. - -.PARAMETER ConnectionStringName - Specifies the name of a connection string to use from the application's - configuration file. - -.PARAMETER ConnectionString - Specifies the the connection string to use. If omitted, the context's - default connection will be used. - -.PARAMETER ConnectionProviderName - Specifies the provider invariant name of the connection string. - -.PARAMETER Force - Specifies that the migrations configuration be overwritten when running more - than once for a given project. - -.PARAMETER ContextAssemblyName - Specifies the name of the assembly which contains the DbContext class to use. Use this - parameter instead of ContextProjectName when the context is contained in a referenced - assembly rather than in a project of the solution. - -.PARAMETER AppDomainBaseDirectory - Specifies the directory to use for the app-domain that is used for running Migrations - code such that the app-domain is able to find all required assemblies. This is an - advanced option that should only be needed if the solution contains several projects - such that the assemblies needed for the context and configuration are not all - referenced from either the project containing the context or the project containing - the migrations. - -.EXAMPLE - Enable-Migrations - # Scaffold a migrations configuration in a project with only one context - -.EXAMPLE - Enable-Migrations -Auto - # Scaffold a migrations configuration with automatic migrations enabled for a project - # with only one context - -.EXAMPLE - Enable-Migrations -ContextTypeName MyContext -MigrationsDirectory DirectoryName - # Scaffold a migrations configuration for a project with multiple contexts - # This scaffolds a migrations configuration for MyContext and will put the configuration - # and subsequent configurations in a new directory called "DirectoryName" - -#> -function Enable-Migrations -{ - [CmdletBinding(DefaultParameterSetName = 'ConnectionStringName')] - param ( - [string] $ContextTypeName, - [alias('Auto')] - [switch] $EnableAutomaticMigrations, - [string] $MigrationsDirectory, - [string] $ProjectName, - [string] $StartUpProjectName, - [string] $ContextProjectName, - [parameter(ParameterSetName = 'ConnectionStringName')] - [string] $ConnectionStringName, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', - Mandatory = $true)] - [string] $ConnectionString, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', - Mandatory = $true)] - [string] $ConnectionProviderName, - [switch] $Force, - [string] $ContextAssemblyName, - [string] $AppDomainBaseDirectory - ) - - $runner = New-MigrationsRunner $ProjectName $StartUpProjectName $ContextProjectName $null $ConnectionStringName $ConnectionString $ConnectionProviderName $ContextAssemblyName $AppDomainBaseDirectory - - try - { - Invoke-RunnerCommand $runner System.Data.Entity.Migrations.EnableMigrationsCommand @( $EnableAutomaticMigrations.IsPresent, $Force.IsPresent ) @{ 'ContextTypeName' = $ContextTypeName; 'MigrationsDirectory' = $MigrationsDirectory } - $error = Get-RunnerError $runner - - if ($error) - { - if ($knownExceptions -notcontains $error.TypeName) - { - Write-Host $error.StackTrace - } - else - { - Write-Verbose $error.StackTrace - } - - throw $error.Message - } - - $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow]).Show() - } - finally - { - Remove-Runner $runner - } -} - -<# -.SYNOPSIS - Scaffolds a migration script for any pending model changes. - -.DESCRIPTION - Scaffolds a new migration script and adds it to the project. - -.PARAMETER Name - Specifies the name of the custom script. - -.PARAMETER Force - Specifies that the migration user code be overwritten when re-scaffolding an - existing migration. - -.PARAMETER ProjectName - Specifies the project that contains the migration configuration type to be - used. If omitted, the default project selected in package manager console - is used. - -.PARAMETER StartUpProjectName - Specifies the configuration file to use for named connection strings. If - omitted, the specified project's configuration file is used. - -.PARAMETER ConfigurationTypeName - Specifies the migrations configuration to use. If omitted, migrations will - attempt to locate a single migrations configuration type in the target - project. - -.PARAMETER ConnectionStringName - Specifies the name of a connection string to use from the application's - configuration file. - -.PARAMETER ConnectionString - Specifies the the connection string to use. If omitted, the context's - default connection will be used. - -.PARAMETER ConnectionProviderName - Specifies the provider invariant name of the connection string. - -.PARAMETER IgnoreChanges - Scaffolds an empty migration ignoring any pending changes detected in the current model. - This can be used to create an initial, empty migration to enable Migrations for an existing - database. N.B. Doing this assumes that the target database schema is compatible with the - current model. - -.PARAMETER AppDomainBaseDirectory - Specifies the directory to use for the app-domain that is used for running Migrations - code such that the app-domain is able to find all required assemblies. This is an - advanced option that should only be needed if the solution contains several projects - such that the assemblies needed for the context and configuration are not all - referenced from either the project containing the context or the project containing - the migrations. - -.EXAMPLE - Add-Migration First - # Scaffold a new migration named "First" - -.EXAMPLE - Add-Migration First -IgnoreChanges - # Scaffold an empty migration ignoring any pending changes detected in the current model. - # This can be used to create an initial, empty migration to enable Migrations for an existing - # database. N.B. Doing this assumes that the target database schema is compatible with the - # current model. - -#> -function Add-Migration -{ - [CmdletBinding(DefaultParameterSetName = 'ConnectionStringName')] - param ( - [parameter(Position = 0, - Mandatory = $true)] - [string] $Name, - [switch] $Force, - [string] $ProjectName, - [string] $StartUpProjectName, - [string] $ConfigurationTypeName, - [parameter(ParameterSetName = 'ConnectionStringName')] - [string] $ConnectionStringName, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', - Mandatory = $true)] - [string] $ConnectionString, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', - Mandatory = $true)] - [string] $ConnectionProviderName, - [switch] $IgnoreChanges, - [string] $AppDomainBaseDirectory) - - Hint-Downgrade $MyInvocation.MyCommand - $runner = New-MigrationsRunner $ProjectName $StartUpProjectName $null $ConfigurationTypeName $ConnectionStringName $ConnectionString $ConnectionProviderName $null $AppDomainBaseDirectory - - try - { - Invoke-RunnerCommand $runner System.Data.Entity.Migrations.AddMigrationCommand @( $Name, $Force.IsPresent, $IgnoreChanges.IsPresent ) - $error = Get-RunnerError $runner - - if ($error) - { - if ($knownExceptions -notcontains $error.TypeName) - { - Write-Host $error.StackTrace - } - else - { - Write-Verbose $error.StackTrace - } - - throw $error.Message - } - $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow]).Show() - } - finally - { - Remove-Runner $runner - } -} - -<# -.SYNOPSIS - Applies any pending migrations to the database. - -.DESCRIPTION - Updates the database to the current model by applying pending migrations. - -.PARAMETER SourceMigration - Only valid with -Script. Specifies the name of a particular migration to use - as the update's starting point. If omitted, the last applied migration in - the database will be used. - -.PARAMETER TargetMigration - Specifies the name of a particular migration to update the database to. If - omitted, the current model will be used. - -.PARAMETER Script - Generate a SQL script rather than executing the pending changes directly. - -.PARAMETER Force - Specifies that data loss is acceptable during automatic migration of the - database. - -.PARAMETER ProjectName - Specifies the project that contains the migration configuration type to be - used. If omitted, the default project selected in package manager console - is used. - -.PARAMETER StartUpProjectName - Specifies the configuration file to use for named connection strings. If - omitted, the specified project's configuration file is used. - -.PARAMETER ConfigurationTypeName - Specifies the migrations configuration to use. If omitted, migrations will - attempt to locate a single migrations configuration type in the target - project. - -.PARAMETER ConnectionStringName - Specifies the name of a connection string to use from the application's - configuration file. - -.PARAMETER ConnectionString - Specifies the the connection string to use. If omitted, the context's - default connection will be used. - -.PARAMETER ConnectionProviderName - Specifies the provider invariant name of the connection string. - -.PARAMETER AppDomainBaseDirectory - Specifies the directory to use for the app-domain that is used for running Migrations - code such that the app-domain is able to find all required assemblies. This is an - advanced option that should only be needed if the solution contains several projects - such that the assemblies needed for the context and configuration are not all - referenced from either the project containing the context or the project containing - the migrations. - -.EXAMPLE - Update-Database - # Update the database to the latest migration - -.EXAMPLE - Update-Database -TargetMigration Second - # Update database to a migration named "Second" - # This will apply migrations if the target hasn't been applied or roll back migrations - # if it has - -.EXAMPLE - Update-Database -Script - # Generate a script to update the database from it's current state to the latest migration - -.EXAMPLE - Update-Database -Script -SourceMigration Second -TargetMigration First - # Generate a script to migrate the database from a specified start migration - # named "Second" to a specified target migration named "First" - -.EXAMPLE - Update-Database -Script -SourceMigration $InitialDatabase - # Generate a script that can upgrade a database currently at any version to the latest version. - # The generated script includes logic to check the __MigrationsHistory table and only apply changes - # that haven't been previously applied. - -.EXAMPLE - Update-Database -TargetMigration $InitialDatabase - # Runs the Down method to roll-back any migrations that have been applied to the database - - -#> -function Update-Database -{ - [CmdletBinding(DefaultParameterSetName = 'ConnectionStringName')] - param ( - [string] $SourceMigration, - [string] $TargetMigration, - [switch] $Script, - [switch] $Force, - [string] $ProjectName, - [string] $StartUpProjectName, - [string] $ConfigurationTypeName, - [parameter(ParameterSetName = 'ConnectionStringName')] - [string] $ConnectionStringName, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', - Mandatory = $true)] - [string] $ConnectionString, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', - Mandatory = $true)] - [string] $ConnectionProviderName, - [string] $AppDomainBaseDirectory) - - Hint-Downgrade $MyInvocation.MyCommand - $runner = New-MigrationsRunner $ProjectName $StartUpProjectName $null $ConfigurationTypeName $ConnectionStringName $ConnectionString $ConnectionProviderName $null $AppDomainBaseDirectory - - try - { - Invoke-RunnerCommand $runner System.Data.Entity.Migrations.UpdateDatabaseCommand @( $SourceMigration, $TargetMigration, $Script.IsPresent, $Force.IsPresent, $Verbose.IsPresent ) - $error = Get-RunnerError $runner - - if ($error) - { - if ($knownExceptions -notcontains $error.TypeName) - { - Write-Host $error.StackTrace - } - else - { - Write-Verbose $error.StackTrace - } - - throw $error.Message - } - $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow]).Show() - } - finally - { - Remove-Runner $runner - } -} - -<# -.SYNOPSIS - Displays the migrations that have been applied to the target database. - -.DESCRIPTION - Displays the migrations that have been applied to the target database. - -.PARAMETER ProjectName - Specifies the project that contains the migration configuration type to be - used. If omitted, the default project selected in package manager console - is used. - -.PARAMETER StartUpProjectName - Specifies the configuration file to use for named connection strings. If - omitted, the specified project's configuration file is used. - -.PARAMETER ConfigurationTypeName - Specifies the migrations configuration to use. If omitted, migrations will - attempt to locate a single migrations configuration type in the target - project. - -.PARAMETER ConnectionStringName - Specifies the name of a connection string to use from the application's - configuration file. - -.PARAMETER ConnectionString - Specifies the the connection string to use. If omitted, the context's - default connection will be used. - -.PARAMETER ConnectionProviderName - Specifies the provider invariant name of the connection string. - -.PARAMETER AppDomainBaseDirectory - Specifies the directory to use for the app-domain that is used for running Migrations - code such that the app-domain is able to find all required assemblies. This is an - advanced option that should only be needed if the solution contains several projects - such that the assemblies needed for the context and configuration are not all - referenced from either the project containing the context or the project containing - the migrations. -#> -function Get-Migrations -{ - [CmdletBinding(DefaultParameterSetName = 'ConnectionStringName')] - param ( - [string] $ProjectName, - [string] $StartUpProjectName, - [string] $ConfigurationTypeName, - [parameter(ParameterSetName = 'ConnectionStringName')] - [string] $ConnectionStringName, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', - Mandatory = $true)] - [string] $ConnectionString, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', - Mandatory = $true)] - [string] $ConnectionProviderName, - [string] $AppDomainBaseDirectory) - - $runner = New-MigrationsRunner $ProjectName $StartUpProjectName $null $ConfigurationTypeName $ConnectionStringName $ConnectionString $ConnectionProviderName $null $AppDomainBaseDirectory - - try - { - Invoke-RunnerCommand $runner System.Data.Entity.Migrations.GetMigrationsCommand - $error = Get-RunnerError $runner - - if ($error) - { - if ($knownExceptions -notcontains $error.TypeName) - { - Write-Host $error.StackTrace - } - else - { - Write-Verbose $error.StackTrace - } - - throw $error.Message - } - } - finally - { - Remove-Runner $runner - } -} - -function New-MigrationsRunner($ProjectName, $StartUpProjectName, $ContextProjectName, $ConfigurationTypeName, $ConnectionStringName, $ConnectionString, $ConnectionProviderName, $ContextAssemblyName, $AppDomainBaseDirectory) -{ - $startUpProject = Get-MigrationsStartUpProject $StartUpProjectName $ProjectName - Build-Project $startUpProject - - $project = Get-MigrationsProject $ProjectName - Build-Project $project - - $contextProject = $project - if ($ContextProjectName) - { - $contextProject = Get-SingleProject $ContextProjectName - Build-Project $contextProject - } - - $installPath = Get-EntityFrameworkInstallPath $project - $toolsPath = Join-Path $installPath tools - - $info = New-AppDomainSetup $project $installPath - - $domain = [AppDomain]::CreateDomain('Migrations', $null, $info) - $domain.SetData('project', $project) - $domain.SetData('contextProject', $contextProject) - $domain.SetData('startUpProject', $startUpProject) - $domain.SetData('configurationTypeName', $ConfigurationTypeName) - $domain.SetData('connectionStringName', $ConnectionStringName) - $domain.SetData('connectionString', $ConnectionString) - $domain.SetData('connectionProviderName', $ConnectionProviderName) - $domain.SetData('contextAssemblyName', $ContextAssemblyName) - $domain.SetData('appDomainBaseDirectory', $AppDomainBaseDirectory) - - $dispatcher = New-DomainDispatcher $toolsPath - $domain.SetData('efDispatcher', $dispatcher) - - return @{ - Domain = $domain; - ToolsPath = $toolsPath - } -} - -function New-EFConfigRunner($Project) -{ - $installPath = Get-EntityFrameworkInstallPath $Project - $toolsPath = Join-Path $installPath tools - $info = New-AppDomainSetup $Project $installPath - - $domain = [AppDomain]::CreateDomain('EFConfig', $null, $info) - $domain.SetData('project', $Project) - - $dispatcher = New-DomainDispatcher $toolsPath - $domain.SetData('efDispatcher', $dispatcher) - - return @{ - Domain = $domain; - ToolsPath = $toolsPath - } -} - -function New-AppDomainSetup($Project, $InstallPath) -{ - $info = New-Object System.AppDomainSetup -Property @{ - ShadowCopyFiles = 'true'; - ApplicationBase = $InstallPath; - PrivateBinPath = 'tools'; - ConfigurationFile = ([AppDomain]::CurrentDomain.SetupInformation.ConfigurationFile) - } - - $targetFrameworkVersion = (New-Object System.Runtime.Versioning.FrameworkName ($Project.Properties.Item('TargetFrameworkMoniker').Value)).Version - - if ($targetFrameworkVersion -lt (New-Object Version @( 4, 5 ))) - { - $info.PrivateBinPath += ';lib\net40' - } - else - { - $info.PrivateBinPath += ';lib\net45' - } - - return $info -} - -function New-DomainDispatcher($ToolsPath) -{ - $utilityAssembly = [System.Reflection.Assembly]::LoadFrom((Join-Path $ToolsPath EntityFramework.PowerShell.Utility.dll)) - $dispatcher = $utilityAssembly.CreateInstance( - 'System.Data.Entity.Migrations.Utilities.DomainDispatcher', - $false, - [System.Reflection.BindingFlags]::Instance -bor [System.Reflection.BindingFlags]::Public, - $null, - $PSCmdlet, - $null, - $null) - - return $dispatcher -} - -function Remove-Runner($runner) -{ - [AppDomain]::Unload($runner.Domain) -} - -function Invoke-RunnerCommand($runner, $command, $parameters, $anonymousArguments) -{ - $domain = $runner.Domain - - if ($anonymousArguments) - { - $anonymousArguments.GetEnumerator() | %{ - $domain.SetData($_.Name, $_.Value) - } - } - - $domain.CreateInstanceFrom( - (Join-Path $runner.ToolsPath EntityFramework.PowerShell.dll), - $command, - $false, - 0, - $null, - $parameters, - $null, - $null) | Out-Null -} - -function Get-RunnerError($runner) -{ - $domain = $runner.Domain - - if (!$domain.GetData('wasError')) - { - return $null - } - - return @{ - Message = $domain.GetData('error.Message'); - TypeName = $domain.GetData('error.TypeName'); - StackTrace = $domain.GetData('error.StackTrace') - } -} - -function Get-MigrationsProject($name, $hideMessage) -{ - if ($name) - { - return Get-SingleProject $name - } - - $project = Get-Project - $projectName = $project.Name - - if (!$hideMessage) - { - Write-Verbose "Using NuGet project '$projectName'." - } - - return $project -} - -function Get-MigrationsStartUpProject($name, $fallbackName) -{ - $startUpProject = $null - - if ($name) - { - $startUpProject = Get-SingleProject $name - } - else - { - $startupProjectPaths = $DTE.Solution.SolutionBuild.StartupProjects - - if ($startupProjectPaths) - { - if ($startupProjectPaths.Length -eq 1) - { - $startupProjectPath = $startupProjectPaths[0] - - if (!(Split-Path -IsAbsolute $startupProjectPath)) - { - $solutionPath = Split-Path $DTE.Solution.Properties.Item('Path').Value - $startupProjectPath = Join-Path $solutionPath $startupProjectPath -Resolve - } - - $startupProject = Get-SolutionProjects | ?{ - try - { - $fullName = $_.FullName - } - catch [NotImplementedException] - { - return $false - } - - if ($fullName -and $fullName.EndsWith('\')) - { - $fullName = $fullName.Substring(0, $fullName.Length - 1) - } - - return $fullName -eq $startupProjectPath - } - } - else - { - Write-Verbose 'More than one start-up project found.' - } - } - else - { - Write-Verbose 'No start-up project found.' - } - } - - if (!($startUpProject -and (Test-StartUpProject $startUpProject))) - { - $startUpProject = Get-MigrationsProject $fallbackName $true - $startUpProjectName = $startUpProject.Name - - Write-Warning "Cannot determine a valid start-up project. Using project '$startUpProjectName' instead. Your configuration file and working directory may not be set as expected. Use the -StartUpProjectName parameter to set one explicitly. Use the -Verbose switch for more information." - } - else - { - $startUpProjectName = $startUpProject.Name - - Write-Verbose "Using StartUp project '$startUpProjectName'." - } - - return $startUpProject -} - -function Get-SolutionProjects() -{ - $projects = New-Object System.Collections.Stack - - $DTE.Solution.Projects | %{ - $projects.Push($_) - } - - while ($projects.Count -ne 0) - { - $project = $projects.Pop(); - - # NOTE: This line is similar to doing a "yield return" in C# - $project - - if ($project.ProjectItems) - { - $project.ProjectItems | ?{ $_.SubProject } | %{ - $projects.Push($_.SubProject) - } - } - } -} - -function Get-SingleProject($name) -{ - $project = Get-Project $name - - if ($project -is [array]) - { - throw "More than one project '$name' was found. Specify the full name of the one to use." - } - - return $project -} - -function Test-StartUpProject($project) -{ - if ($project.Kind -eq '{cc5fd16d-436d-48ad-a40c-5a424c6e3e79}') - { - $projectName = $project.Name - Write-Verbose "Cannot use start-up project '$projectName'. The Windows Azure Project type isn't supported." - - return $false - } - - return $true -} - -function Build-Project($project) -{ - $configuration = $DTE.Solution.SolutionBuild.ActiveConfiguration.Name - - $DTE.Solution.SolutionBuild.BuildProject($configuration, $project.UniqueName, $true) - - if ($DTE.Solution.SolutionBuild.LastBuildInfo) - { - $projectName = $project.Name - - throw "The project '$projectName' failed to build." - } -} - -function Get-EntityFrameworkInstallPath($project) -{ - $package = Get-Package -ProjectName $project.FullName | ?{ $_.Id -eq 'EntityFramework' } - - if (!$package) - { - $projectName = $project.Name - - throw "The EntityFramework package is not installed on project '$projectName'." - } - - return Get-PackageInstallPath $package -} - -function Get-PackageInstallPath($package) -{ - $componentModel = Get-VsComponentModel - $packageInstallerServices = $componentModel.GetService([NuGet.VisualStudio.IVsPackageInstallerServices]) - - $vsPackage = $packageInstallerServices.GetInstalledPackages() | ?{ $_.Id -eq $package.Id -and $_.Version -eq $package.Version } - - return $vsPackage.InstallPath -} - -function Check-Project($project) -{ - if (!$project.FullName) - { - throw "The Project argument must refer to a Visual Studio project. Use the '`$project' variable provided by NuGet when running in install.ps1." - } - - return $project.CodeModel -} - -function Hint-Downgrade ($name) { - if (Get-Module | Where { $_.Name -eq 'EntityFrameworkCore' }) { - Write-Warning "Both Entity Framework 6.x and Entity Framework Core commands are installed. The Entity Framework 6 version is executing. You can fully qualify the command to select which one to execute, 'EntityFramework\$name' for EF6.x and 'EntityFrameworkCore\$name' for EF Core." - } -} - -Export-ModuleMember @( 'Enable-Migrations', 'Add-Migration', 'Update-Database', 'Get-Migrations', 'Add-EFProvider', 'Add-EFDefaultConnectionFactory', 'Initialize-EFConfiguration') -Variable InitialDatabase - -# SIG # Begin signature block -# MIIa3gYJKoZIhvcNAQcCoIIazzCCGssCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB -# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR -# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUMst5oGNhRFW5FyGr05jAUKeC -# HF6gghWAMIIEwjCCA6qgAwIBAgITMwAAAL+RbPt8GiTgIgAAAAAAvzANBgkqhkiG -# 9w0BAQUFADB3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4G -# A1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSEw -# HwYDVQQDExhNaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EwHhcNMTYwOTA3MTc1ODQ5 -# WhcNMTgwOTA3MTc1ODQ5WjCBsjELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp -# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw -# b3JhdGlvbjEMMAoGA1UECxMDQU9DMScwJQYDVQQLEx5uQ2lwaGVyIERTRSBFU046 -# NTdDOC0yRDE1LTFDOEIxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNl -# cnZpY2UwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCt7X+GwPaidVcV -# TRT2yohV/L1dpTMCvf4DHlCY0GUmhEzD4Yn22q/qnqZTHDd8IlI/OHvKhWC9ksKE -# F+BgBHtUQPSg7s6+ZXy69qX64r6m7X/NYizeK31DsScLsDHnqsbnwJaNZ2C2u5hh -# cKsHvc8BaSsv/nKlr6+eg2iX2y9ai1uB1ySNeunEtdfchAr1U6Qb7AJHrXMTdKl8 -# ptLov67aFU0rRRMwQJOWHR+o/gQa9v4z/f43RY2PnMRoF7Dztn6ditoQ9CgTiMdS -# MtsqFWMAQNMt5bZ8oY1hmgkSDN6FwTjVyUEE6t3KJtgX2hMHjOVqtHXQlud0GR3Z -# LtAOMbS7AgMBAAGjggEJMIIBBTAdBgNVHQ4EFgQU5GwaORrHk1i0RjZlB8QAt3kX -# nBEwHwYDVR0jBBgwFoAUIzT42VJGcArtQPt2+7MrsMM1sw8wVAYDVR0fBE0wSzBJ -# oEegRYZDaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwvcHJvZHVjdHMv -# TWljcm9zb2Z0VGltZVN0YW1wUENBLmNybDBYBggrBgEFBQcBAQRMMEowSAYIKwYB -# BQUHMAKGPGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljcm9z -# b2Z0VGltZVN0YW1wUENBLmNydDATBgNVHSUEDDAKBggrBgEFBQcDCDANBgkqhkiG -# 9w0BAQUFAAOCAQEAjt62jcZ+2YBqm7RKit827DRU9OKioi6HEERT0X0bL+JjUTu3 -# 7k4piPcK3J/0cfktWuPjrYSuySa/NbkmlvAhQV4VpoWxipx3cZplF9HK9IH4t8AD -# YDxUI5u1xb2r24aExGIzWY+1uH92bzTKbAjuwNzTMQ1z10Kca4XXPI4HFZalXxgL -# fbjCkV3IKNspU1TILV0Dzk0tdKAwx/MoeZN1HFcB9WjzbpFnCVH+Oy/NyeJOyiNE -# 4uT/6iyHz1+XCqf2nIrV/DXXsJYKwifVlOvSJ4ZrV40MYucq3lWQuKERfXivLFXl -# dKyXQrS4eeToRPSevRisc0GBYuZczpkdeN5faDCCBOswggPToAMCAQICEzMAAAF4 -# JVq1zSPGX5UAAQAAAXgwDQYJKoZIhvcNAQEFBQAweTELMAkGA1UEBhMCVVMxEzAR -# BgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1p -# Y3Jvc29mdCBDb3Jwb3JhdGlvbjEjMCEGA1UEAxMaTWljcm9zb2Z0IENvZGUgU2ln -# bmluZyBQQ0EwHhcNMTcwODExMjAxMTE1WhcNMTgwODExMjAxMTE1WjCBgjELMAkG -# A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQx -# HjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEMMAoGA1UECxMDQU9DMR4w -# HAYDVQQDExVNaWNyb3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUA -# A4IBDwAwggEKAoIBAQCZbh1TVaudsrIbXUPPB9c8S+E+dKSbskHKYlG6SGTH8jhT -# hpuvGiAO87F2b9GHVN+DvszaMkGy/xQgHaGEJLfpnb3kpakic7E0bjDHdG4KnHRb -# no/wfUkGLfS79o+cw//RY8Ck6yE+0czDBcxp0Gbw5JyGP+KFqvzRR/3Tv3nt/5x0 -# 5ZnEOHYP+eDVikDvn/DH+oxxtiCfX3tkvtm/yX4eOb47YdmYKQjCgz2+Nil/lupY -# vU0QFIjvke3jshqQINDng/vO9ys2qA0ex/q5hlLKQTST99dGoM86Ge6F723ReToq -# KnGLN8kiCG7uNapOAIQrpCHZq96CVumiaA5ZvxU9AgMBAAGjggFgMIIBXDATBgNV -# HSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUjuhtD3FD7tk/RKloJFX05cpgLjcw -# UQYDVR0RBEowSKRGMEQxDDAKBgNVBAsTA0FPQzE0MDIGA1UEBRMrMjI5ODAzKzFh -# YmY5ZTVmLWNlZDAtNDJlNi1hNjVkLWQ5MzUwOTU5ZmUwZTAfBgNVHSMEGDAWgBTL -# EejK0rQWWAHJNy4zFha5TJoKHzBWBgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3Js -# Lm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNDb2RTaWdQQ0FfMDgt -# MzEtMjAxMC5jcmwwWgYIKwYBBQUHAQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8v -# d3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY0NvZFNpZ1BDQV8wOC0zMS0y -# MDEwLmNydDANBgkqhkiG9w0BAQUFAAOCAQEAYnG/oHG/xgZYR8NAMHZ/vE9GM0e4 -# 7YdhuTea2uY7pSGwM707wp8Wan0Fa6evK1PWfcd/XNOh2BpEv5o8RmKDoEsG0ECP -# 13Jug7cklfKreBVHQ+Djg43VVFLZpuo7aOAVK6wjlcnpPUtn+SfH9K0aM2FjDKVJ -# FW6XFKXBat5R+Zp6uOxWTxpSeMTeDC5zF6IY6ogR1uzU+9EQoRlAvkwX6po+exEL -# nMLr4++P+fqOxIU+PODIoB8ijClAqwwKvLlMPa3qlrNHt+LweTMu7lvGC/RA18wU -# zzXAeomuZ03blUw+bkOiVgWOk4S0RN7EnW7zjJV8gd/+G2dbToUi1cB/fTCCBbww -# ggOkoAMCAQICCmEzJhoAAAAAADEwDQYJKoZIhvcNAQEFBQAwXzETMBEGCgmSJomT -# 8ixkARkWA2NvbTEZMBcGCgmSJomT8ixkARkWCW1pY3Jvc29mdDEtMCsGA1UEAxMk -# TWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTEwMDgzMTIy -# MTkzMloXDTIwMDgzMTIyMjkzMloweTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh -# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD -# b3Jwb3JhdGlvbjEjMCEGA1UEAxMaTWljcm9zb2Z0IENvZGUgU2lnbmluZyBQQ0Ew -# ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCycllcGTBkvx2aYCAgQpl2 -# U2w+G9ZvzMvx6mv+lxYQ4N86dIMaty+gMuz/3sJCTiPVcgDbNVcKicquIEn08Gis -# TUuNpb15S3GbRwfa/SXfnXWIz6pzRH/XgdvzvfI2pMlcRdyvrT3gKGiXGqelcnNW -# 8ReU5P01lHKg1nZfHndFg4U4FtBzWwW6Z1KNpbJpL9oZC/6SdCnidi9U3RQwWfjS -# jWL9y8lfRjFQuScT5EAwz3IpECgixzdOPaAyPZDNoTgGhVxOVoIoKgUyt0vXT2Pn -# 0i1i8UU956wIAPZGoZ7RW4wmU+h6qkryRs83PDietHdcpReejcsRj1Y8wawJXwPT -# AgMBAAGjggFeMIIBWjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTLEejK0rQW -# WAHJNy4zFha5TJoKHzALBgNVHQ8EBAMCAYYwEgYJKwYBBAGCNxUBBAUCAwEAATAj -# BgkrBgEEAYI3FQIEFgQU/dExTtMmipXhmGA7qDFvpjy82C0wGQYJKwYBBAGCNxQC -# BAweCgBTAHUAYgBDAEEwHwYDVR0jBBgwFoAUDqyCYEBWJ5flJRP8KuEKU5VZ5KQw -# UAYDVR0fBEkwRzBFoEOgQYY/aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9j -# cmwvcHJvZHVjdHMvbWljcm9zb2Z0cm9vdGNlcnQuY3JsMFQGCCsGAQUFBwEBBEgw -# RjBEBggrBgEFBQcwAoY4aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0 -# cy9NaWNyb3NvZnRSb290Q2VydC5jcnQwDQYJKoZIhvcNAQEFBQADggIBAFk5Pn8m -# Rq/rb0CxMrVq6w4vbqhJ9+tfde1MOy3XQ60L/svpLTGjI8x8UJiAIV2sPS9MuqKo -# VpzjcLu4tPh5tUly9z7qQX/K4QwXaculnCAt+gtQxFbNLeNK0rxw56gNogOlVuC4 -# iktX8pVCnPHz7+7jhh80PLhWmvBTI4UqpIIck+KUBx3y4k74jKHK6BOlkU7IG9KP -# cpUqcW2bGvgc8FPWZ8wi/1wdzaKMvSeyeWNWRKJRzfnpo1hW3ZsCRUQvX/TartSC -# Mm78pJUT5Otp56miLL7IKxAOZY6Z2/Wi+hImCWU4lPF6H0q70eFW6NB4lhhcyTUW -# X92THUmOLb6tNEQc7hAVGgBd3TVbIc6YxwnuhQ6MT20OE049fClInHLR82zKwexw -# o1eSV32UjaAbSANa98+jZwp0pTbtLS8XyOZyNxL0b7E8Z4L5UrKNMxZlHg6K3RDe -# ZPRvzkbU0xfpecQEtNP7LN8fip6sCvsTJ0Ct5PnhqX9GuwdgR2VgQE6wQuxO7bN2 -# edgKNAltHIAxH+IOVN3lofvlRxCtZJj/UBYufL8FIXrilUEnacOTj5XJjdibIa4N -# XJzwoq6GaIMMai27dmsAHZat8hZ79haDJLmIz2qoRzEvmtzjcT3XAH5iR9HOiMm4 -# GPoOco3Boz2vAkBq/2mbluIQqBC0N1AI1sM9MIIGBzCCA++gAwIBAgIKYRZoNAAA -# AAAAHDANBgkqhkiG9w0BAQUFADBfMRMwEQYKCZImiZPyLGQBGRYDY29tMRkwFwYK -# CZImiZPyLGQBGRYJbWljcm9zb2Z0MS0wKwYDVQQDEyRNaWNyb3NvZnQgUm9vdCBD -# ZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMDcwNDAzMTI1MzA5WhcNMjEwNDAzMTMw -# MzA5WjB3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSEwHwYD -# VQQDExhNaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EwggEiMA0GCSqGSIb3DQEBAQUA -# A4IBDwAwggEKAoIBAQCfoWyx39tIkip8ay4Z4b3i48WZUSNQrc7dGE4kD+7Rp9FM -# rXQwIBHrB9VUlRVJlBtCkq6YXDAm2gBr6Hu97IkHD/cOBJjwicwfyzMkh53y9Gcc -# LPx754gd6udOo6HBI1PKjfpFzwnQXq/QsEIEovmmbJNn1yjcRlOwhtDlKEYuJ6yG -# T1VSDOQDLPtqkJAwbofzWTCd+n7Wl7PoIZd++NIT8wi3U21StEWQn0gASkdmEScp -# ZqiX5NMGgUqi+YSnEUcUCYKfhO1VeP4Bmh1QCIUAEDBG7bfeI0a7xC1Un68eeEEx -# d8yb3zuDk6FhArUdDbH895uyAc4iS1T/+QXDwiALAgMBAAGjggGrMIIBpzAPBgNV -# HRMBAf8EBTADAQH/MB0GA1UdDgQWBBQjNPjZUkZwCu1A+3b7syuwwzWzDzALBgNV -# HQ8EBAMCAYYwEAYJKwYBBAGCNxUBBAMCAQAwgZgGA1UdIwSBkDCBjYAUDqyCYEBW -# J5flJRP8KuEKU5VZ5KShY6RhMF8xEzARBgoJkiaJk/IsZAEZFgNjb20xGTAXBgoJ -# kiaJk/IsZAEZFgltaWNyb3NvZnQxLTArBgNVBAMTJE1pY3Jvc29mdCBSb290IENl -# cnRpZmljYXRlIEF1dGhvcml0eYIQea0WoUqgpa1Mc1j0BxMuZTBQBgNVHR8ESTBH -# MEWgQ6BBhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0 -# cy9taWNyb3NvZnRyb290Y2VydC5jcmwwVAYIKwYBBQUHAQEESDBGMEQGCCsGAQUF -# BzAChjhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY3Jvc29m -# dFJvb3RDZXJ0LmNydDATBgNVHSUEDDAKBggrBgEFBQcDCDANBgkqhkiG9w0BAQUF -# AAOCAgEAEJeKw1wDRDbd6bStd9vOeVFNAbEudHFbbQwTq86+e4+4LtQSooxtYrhX -# AstOIBNQmd16QOJXu69YmhzhHQGGrLt48ovQ7DsB7uK+jwoFyI1I4vBTFd1Pq5Lk -# 541q1YDB5pTyBi+FA+mRKiQicPv2/OR4mS4N9wficLwYTp2OawpylbihOZxnLcVR -# DupiXD8WmIsgP+IHGjL5zDFKdjE9K3ILyOpwPf+FChPfwgphjvDXuBfrTot/xTUr -# XqO/67x9C0J71FNyIe4wyrt4ZVxbARcKFA7S2hSY9Ty5ZlizLS/n+YWGzFFW6J1w -# lGysOUzU9nm/qhh6YinvopspNAZ3GmLJPR5tH4LwC8csu89Ds+X57H2146SodDW4 -# TsVxIxImdgs8UoxxWkZDFLyzs7BNZ8ifQv+AeSGAnhUwZuhCEl4ayJ4iIdBD6Svp -# u/RIzCzU2DKATCYqSCRfWupW76bemZ3KOm+9gSd0BhHudiG/m4LBJ1S2sWo9iaF2 -# YbRuoROmv6pH8BJv/YoybLL+31HIjCPJZr2dHYcSZAI9La9Zj7jkIeW1sMpjtHhU -# BdRBLlCslLCleKuzoJZ1GtmShxN1Ii8yqAhuoFuMJb+g74TKIdbrHk/Jmu5J4PcB -# ZW+JC33Iacjmbuqnl84xKf8OxVtc2E0bodj6L54/LlUWa8kTo/0xggTIMIIExAIB -# ATCBkDB5MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSMwIQYD -# VQQDExpNaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQQITMwAAAXglWrXNI8ZflQAB -# AAABeDAJBgUrDgMCGgUAoIHhMBkGCSqGSIb3DQEJAzEMBgorBgEEAYI3AgEEMBwG -# CisGAQQBgjcCAQsxDjAMBgorBgEEAYI3AgEVMCMGCSqGSIb3DQEJBDEWBBTlz9AL -# f1sBglUb85Teir2bIYmVvDCBgAYKKwYBBAGCNwIBDDFyMHCgUoBQAEUAbgB0AGkA -# dAB5ACAARgByAGEAbQBlAHcAbwByAGsAIABUAG8AbwBsAHMAIABmAG8AcgAgAFYA -# aQBzAHUAYQBsACAAUwB0AHUAZABpAG+hGoAYaHR0cDovL21zZG4uY29tL2RhdGEv -# ZWYgMA0GCSqGSIb3DQEBAQUABIIBAGeaKWq3ThdTiw0FniJGaIvelS5BghhhNI3x -# ezUDCIPfp6Glc9zffEPt3qMdZORjY3mgsbrRO7hXNm9GR5cb68G5C7/LhrWfp34J -# yWQ1dbnApNi6bp64SEML52vcDVMMHnbKRM3ns0/y/qu/XH2GSUUPuEjD7cd5t0NO -# DUQZ2gHt4JeqZERgvNQWTxdUn83V2BwOz1i6KtHzmGdvEjb8ZrPQTlu1UoHHYXsQ -# jUv8dhEHkaj3o2jLEIhYXp1ait0/OAk9dA5QdPVCBHy4RkDLWI4v58s0j1J0Cw0l -# 2a/7+Agm1vvVLQZHofllOSIgd5Aj4Y1NiMYpLo8Y4z3iBRXgUQKhggIoMIICJAYJ -# KoZIhvcNAQkGMYICFTCCAhECAQEwgY4wdzELMAkGA1UEBhMCVVMxEzARBgNVBAgT -# Cldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m -# dCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENB -# AhMzAAAAv5Fs+3waJOAiAAAAAAC/MAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMx -# CwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNzEwMjMyMDEzNDhaMCMGCSqG -# SIb3DQEJBDEWBBTDiJZ8a7P4Som1wzlUt7g8OiC3qzANBgkqhkiG9w0BAQUFAASC -# AQAmJlbq0GKEk6SUOqA4Ksyj99KUlnPFcFyf1AqvHRdShmQjfEEo/pmR9cWmGNdA -# 8M7wVFFZFRlmkF3oCl//ckniUJ/aDYtXCTskDFd2Tc8xJ/nsJOespt0LSpbiadxI -# Goa9nZNXymAEidosoh0MmqB25gQfq9X+mMU7rVUp9eBUjAcoT3FHv+gkzE1XjvDE -# YFGvQ1PRxjiYKlQKITDhtFhog2MSuGtvWpFV1aeqXDrANONlLyrscHrzKjQkKiwU -# PPJQ+iygds9A3xUri6Jevj7Yjvr0hBTFaxL7xmQtgaafY/TqAtRcbCz2Gu9hkUay -# WYGdtIZc7fAdNGkxqRxddvkD -# SIG # End signature block diff --git a/app/packages/EntityFramework.6.2.0/tools/about_EntityFramework.help.txt b/app/packages/EntityFramework.6.2.0/tools/about_EntityFramework.help.txt deleted file mode 100644 index c2ad2f0..0000000 --- a/app/packages/EntityFramework.6.2.0/tools/about_EntityFramework.help.txt +++ /dev/null @@ -1,48 +0,0 @@ -TOPIC - about_EntityFramework - -SHORT DESCRIPTION - Provides information about Entity Framework commands. - -LONG DESCRIPTION - This topic describes the Entity Framework commands. Entity Framework is - Microsoft's recommended data access technology for new applications. - - The following Entity Framework cmdlets are used with Entity Framework - Migrations. - - Cmdlet Description - ----------------- --------------------------------------------------- - Enable-Migrations Enables Code First Migrations in a project. - - Add-Migration Scaffolds a migration script for any pending model - changes. - - Update-Database Applies any pending migrations to the database. - - Get-Migrations Displays the migrations that have been applied to - the target database. - - The following Entity Framework cmdlets are used by NuGet packages that - install Entity Framework providers. These commands are not usually used as - part of normal application development. - - Cmdlet Description - ------------------------------ --------------------------------------- - Add-EFProvider Adds or updates an Entity Framework - provider entry in the project config - file. - - Add-EFDefaultConnectionFactory Adds or updates an Entity Framework - default connection factory in the - project config file. - - Initialize-EFConfiguration Initializes the Entity Framework - section in the project config file and - sets defaults. - -SEE ALSO - Enable-Migrations - Add-Migration - Update-Database - Get-Migrations diff --git a/app/packages/EntityFramework.6.2.0/tools/init.ps1 b/app/packages/EntityFramework.6.2.0/tools/init.ps1 deleted file mode 100644 index f751ab5..0000000 --- a/app/packages/EntityFramework.6.2.0/tools/init.ps1 +++ /dev/null @@ -1,155 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -if (Get-Module | ?{ $_.Name -eq 'EntityFramework' }) -{ - Remove-Module EntityFramework -} - -Import-Module (Join-Path $toolsPath EntityFramework.psd1) - -# SIG # Begin signature block -# MIIa3gYJKoZIhvcNAQcCoIIazzCCGssCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB -# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR -# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUjXj4E03IfImYfKMB4CA3DfY0 -# KZmgghWAMIIEwjCCA6qgAwIBAgITMwAAAMDeLD0HlORJeQAAAAAAwDANBgkqhkiG -# 9w0BAQUFADB3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4G -# A1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSEw -# HwYDVQQDExhNaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EwHhcNMTYwOTA3MTc1ODUw -# WhcNMTgwOTA3MTc1ODUwWjCBsjELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp -# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw -# b3JhdGlvbjEMMAoGA1UECxMDQU9DMScwJQYDVQQLEx5uQ2lwaGVyIERTRSBFU046 -# N0FCNS0yREYyLURBM0YxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNl -# cnZpY2UwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDoiKVSfklVAB4E -# Oc9+r95kl32muXNITYcTbaRtuJl+MQzEnD0eU2JUXx2mI06ONnTfFW39ZQPF1pvU -# WkHBrS6m8oKy7Em4Ol91RJ5Knwy1VvY2Tawqh+VxwdARRgOeFtFm0S+Pa+BrXtVU -# hTtGl0BGMsKGEQKdDNGJD259Iq47qPLw3CmllE3/YFw1GGoJ9C3ry+I7ntxIjJYB -# LXA122vw93OOD/zWFh1SVq2AejPxcjKtHH2hjoeTKwkFeMNtIekrUSvhbuCGxW5r -# 54KW0Yus4o8392l9Vz8lSEn2j/TgPTqD6EZlzkpw54VSwede/vyqgZIrRbat0bAh -# b8doY8vDAgMBAAGjggEJMIIBBTAdBgNVHQ4EFgQUFf5K2jOJ0xmF1WRZxNxTQRBP -# tzUwHwYDVR0jBBgwFoAUIzT42VJGcArtQPt2+7MrsMM1sw8wVAYDVR0fBE0wSzBJ -# oEegRYZDaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwvcHJvZHVjdHMv -# TWljcm9zb2Z0VGltZVN0YW1wUENBLmNybDBYBggrBgEFBQcBAQRMMEowSAYIKwYB -# BQUHMAKGPGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljcm9z -# b2Z0VGltZVN0YW1wUENBLmNydDATBgNVHSUEDDAKBggrBgEFBQcDCDANBgkqhkiG -# 9w0BAQUFAAOCAQEAGeJAuzJMR+kovMi8RK/LtfrKazWlR5Lx02hM9GFmMk1zWCSc -# pfVY6xqfzWFllCFHBtOaJZqLiV97jfNCLpG0PULz24CWSkG7jJ+mZaCSicZ7ZC3b -# WDh1zpc54llYVyyTkRVYx/mtc9GujqbS8CBZgjaT/JsECnvGAPUcLYuSGt53CU1b -# UuiNwuzAhai4glcYyq3/7qMmmAtbnbCZhR5ySoMy7BwdzN70drLtafCJQncfAHXV -# O5r6SX4U/2J2zvWhA8lqhZu9SRulFGRvf81VTf+k5rJ2TjL6dYtSchooJ5YVvUk6 -# i7bfV0VBN8xpaUhk8jbBnxhDPKIvDvnZlhPuJjCCBOswggPToAMCAQICEzMAAAF4 -# JVq1zSPGX5UAAQAAAXgwDQYJKoZIhvcNAQEFBQAweTELMAkGA1UEBhMCVVMxEzAR -# BgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1p -# Y3Jvc29mdCBDb3Jwb3JhdGlvbjEjMCEGA1UEAxMaTWljcm9zb2Z0IENvZGUgU2ln -# bmluZyBQQ0EwHhcNMTcwODExMjAxMTE1WhcNMTgwODExMjAxMTE1WjCBgjELMAkG -# A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQx -# HjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEMMAoGA1UECxMDQU9DMR4w -# HAYDVQQDExVNaWNyb3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUA -# A4IBDwAwggEKAoIBAQCZbh1TVaudsrIbXUPPB9c8S+E+dKSbskHKYlG6SGTH8jhT -# hpuvGiAO87F2b9GHVN+DvszaMkGy/xQgHaGEJLfpnb3kpakic7E0bjDHdG4KnHRb -# no/wfUkGLfS79o+cw//RY8Ck6yE+0czDBcxp0Gbw5JyGP+KFqvzRR/3Tv3nt/5x0 -# 5ZnEOHYP+eDVikDvn/DH+oxxtiCfX3tkvtm/yX4eOb47YdmYKQjCgz2+Nil/lupY -# vU0QFIjvke3jshqQINDng/vO9ys2qA0ex/q5hlLKQTST99dGoM86Ge6F723ReToq -# KnGLN8kiCG7uNapOAIQrpCHZq96CVumiaA5ZvxU9AgMBAAGjggFgMIIBXDATBgNV -# HSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUjuhtD3FD7tk/RKloJFX05cpgLjcw -# UQYDVR0RBEowSKRGMEQxDDAKBgNVBAsTA0FPQzE0MDIGA1UEBRMrMjI5ODAzKzFh -# YmY5ZTVmLWNlZDAtNDJlNi1hNjVkLWQ5MzUwOTU5ZmUwZTAfBgNVHSMEGDAWgBTL -# EejK0rQWWAHJNy4zFha5TJoKHzBWBgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3Js -# Lm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNDb2RTaWdQQ0FfMDgt -# MzEtMjAxMC5jcmwwWgYIKwYBBQUHAQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8v -# d3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY0NvZFNpZ1BDQV8wOC0zMS0y -# MDEwLmNydDANBgkqhkiG9w0BAQUFAAOCAQEAYnG/oHG/xgZYR8NAMHZ/vE9GM0e4 -# 7YdhuTea2uY7pSGwM707wp8Wan0Fa6evK1PWfcd/XNOh2BpEv5o8RmKDoEsG0ECP -# 13Jug7cklfKreBVHQ+Djg43VVFLZpuo7aOAVK6wjlcnpPUtn+SfH9K0aM2FjDKVJ -# FW6XFKXBat5R+Zp6uOxWTxpSeMTeDC5zF6IY6ogR1uzU+9EQoRlAvkwX6po+exEL -# nMLr4++P+fqOxIU+PODIoB8ijClAqwwKvLlMPa3qlrNHt+LweTMu7lvGC/RA18wU -# zzXAeomuZ03blUw+bkOiVgWOk4S0RN7EnW7zjJV8gd/+G2dbToUi1cB/fTCCBbww -# ggOkoAMCAQICCmEzJhoAAAAAADEwDQYJKoZIhvcNAQEFBQAwXzETMBEGCgmSJomT -# 8ixkARkWA2NvbTEZMBcGCgmSJomT8ixkARkWCW1pY3Jvc29mdDEtMCsGA1UEAxMk -# TWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTEwMDgzMTIy -# MTkzMloXDTIwMDgzMTIyMjkzMloweTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh -# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD -# b3Jwb3JhdGlvbjEjMCEGA1UEAxMaTWljcm9zb2Z0IENvZGUgU2lnbmluZyBQQ0Ew -# ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCycllcGTBkvx2aYCAgQpl2 -# U2w+G9ZvzMvx6mv+lxYQ4N86dIMaty+gMuz/3sJCTiPVcgDbNVcKicquIEn08Gis -# TUuNpb15S3GbRwfa/SXfnXWIz6pzRH/XgdvzvfI2pMlcRdyvrT3gKGiXGqelcnNW -# 8ReU5P01lHKg1nZfHndFg4U4FtBzWwW6Z1KNpbJpL9oZC/6SdCnidi9U3RQwWfjS -# jWL9y8lfRjFQuScT5EAwz3IpECgixzdOPaAyPZDNoTgGhVxOVoIoKgUyt0vXT2Pn -# 0i1i8UU956wIAPZGoZ7RW4wmU+h6qkryRs83PDietHdcpReejcsRj1Y8wawJXwPT -# AgMBAAGjggFeMIIBWjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTLEejK0rQW -# WAHJNy4zFha5TJoKHzALBgNVHQ8EBAMCAYYwEgYJKwYBBAGCNxUBBAUCAwEAATAj -# BgkrBgEEAYI3FQIEFgQU/dExTtMmipXhmGA7qDFvpjy82C0wGQYJKwYBBAGCNxQC -# BAweCgBTAHUAYgBDAEEwHwYDVR0jBBgwFoAUDqyCYEBWJ5flJRP8KuEKU5VZ5KQw -# UAYDVR0fBEkwRzBFoEOgQYY/aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9j -# cmwvcHJvZHVjdHMvbWljcm9zb2Z0cm9vdGNlcnQuY3JsMFQGCCsGAQUFBwEBBEgw -# RjBEBggrBgEFBQcwAoY4aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0 -# cy9NaWNyb3NvZnRSb290Q2VydC5jcnQwDQYJKoZIhvcNAQEFBQADggIBAFk5Pn8m -# Rq/rb0CxMrVq6w4vbqhJ9+tfde1MOy3XQ60L/svpLTGjI8x8UJiAIV2sPS9MuqKo -# VpzjcLu4tPh5tUly9z7qQX/K4QwXaculnCAt+gtQxFbNLeNK0rxw56gNogOlVuC4 -# iktX8pVCnPHz7+7jhh80PLhWmvBTI4UqpIIck+KUBx3y4k74jKHK6BOlkU7IG9KP -# cpUqcW2bGvgc8FPWZ8wi/1wdzaKMvSeyeWNWRKJRzfnpo1hW3ZsCRUQvX/TartSC -# Mm78pJUT5Otp56miLL7IKxAOZY6Z2/Wi+hImCWU4lPF6H0q70eFW6NB4lhhcyTUW -# X92THUmOLb6tNEQc7hAVGgBd3TVbIc6YxwnuhQ6MT20OE049fClInHLR82zKwexw -# o1eSV32UjaAbSANa98+jZwp0pTbtLS8XyOZyNxL0b7E8Z4L5UrKNMxZlHg6K3RDe -# ZPRvzkbU0xfpecQEtNP7LN8fip6sCvsTJ0Ct5PnhqX9GuwdgR2VgQE6wQuxO7bN2 -# edgKNAltHIAxH+IOVN3lofvlRxCtZJj/UBYufL8FIXrilUEnacOTj5XJjdibIa4N -# XJzwoq6GaIMMai27dmsAHZat8hZ79haDJLmIz2qoRzEvmtzjcT3XAH5iR9HOiMm4 -# GPoOco3Boz2vAkBq/2mbluIQqBC0N1AI1sM9MIIGBzCCA++gAwIBAgIKYRZoNAAA -# AAAAHDANBgkqhkiG9w0BAQUFADBfMRMwEQYKCZImiZPyLGQBGRYDY29tMRkwFwYK -# CZImiZPyLGQBGRYJbWljcm9zb2Z0MS0wKwYDVQQDEyRNaWNyb3NvZnQgUm9vdCBD -# ZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMDcwNDAzMTI1MzA5WhcNMjEwNDAzMTMw -# MzA5WjB3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSEwHwYD -# VQQDExhNaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EwggEiMA0GCSqGSIb3DQEBAQUA -# A4IBDwAwggEKAoIBAQCfoWyx39tIkip8ay4Z4b3i48WZUSNQrc7dGE4kD+7Rp9FM -# rXQwIBHrB9VUlRVJlBtCkq6YXDAm2gBr6Hu97IkHD/cOBJjwicwfyzMkh53y9Gcc -# LPx754gd6udOo6HBI1PKjfpFzwnQXq/QsEIEovmmbJNn1yjcRlOwhtDlKEYuJ6yG -# T1VSDOQDLPtqkJAwbofzWTCd+n7Wl7PoIZd++NIT8wi3U21StEWQn0gASkdmEScp -# ZqiX5NMGgUqi+YSnEUcUCYKfhO1VeP4Bmh1QCIUAEDBG7bfeI0a7xC1Un68eeEEx -# d8yb3zuDk6FhArUdDbH895uyAc4iS1T/+QXDwiALAgMBAAGjggGrMIIBpzAPBgNV -# HRMBAf8EBTADAQH/MB0GA1UdDgQWBBQjNPjZUkZwCu1A+3b7syuwwzWzDzALBgNV -# HQ8EBAMCAYYwEAYJKwYBBAGCNxUBBAMCAQAwgZgGA1UdIwSBkDCBjYAUDqyCYEBW -# J5flJRP8KuEKU5VZ5KShY6RhMF8xEzARBgoJkiaJk/IsZAEZFgNjb20xGTAXBgoJ -# kiaJk/IsZAEZFgltaWNyb3NvZnQxLTArBgNVBAMTJE1pY3Jvc29mdCBSb290IENl -# cnRpZmljYXRlIEF1dGhvcml0eYIQea0WoUqgpa1Mc1j0BxMuZTBQBgNVHR8ESTBH -# MEWgQ6BBhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0 -# cy9taWNyb3NvZnRyb290Y2VydC5jcmwwVAYIKwYBBQUHAQEESDBGMEQGCCsGAQUF -# BzAChjhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY3Jvc29m -# dFJvb3RDZXJ0LmNydDATBgNVHSUEDDAKBggrBgEFBQcDCDANBgkqhkiG9w0BAQUF -# AAOCAgEAEJeKw1wDRDbd6bStd9vOeVFNAbEudHFbbQwTq86+e4+4LtQSooxtYrhX -# AstOIBNQmd16QOJXu69YmhzhHQGGrLt48ovQ7DsB7uK+jwoFyI1I4vBTFd1Pq5Lk -# 541q1YDB5pTyBi+FA+mRKiQicPv2/OR4mS4N9wficLwYTp2OawpylbihOZxnLcVR -# DupiXD8WmIsgP+IHGjL5zDFKdjE9K3ILyOpwPf+FChPfwgphjvDXuBfrTot/xTUr -# XqO/67x9C0J71FNyIe4wyrt4ZVxbARcKFA7S2hSY9Ty5ZlizLS/n+YWGzFFW6J1w -# lGysOUzU9nm/qhh6YinvopspNAZ3GmLJPR5tH4LwC8csu89Ds+X57H2146SodDW4 -# TsVxIxImdgs8UoxxWkZDFLyzs7BNZ8ifQv+AeSGAnhUwZuhCEl4ayJ4iIdBD6Svp -# u/RIzCzU2DKATCYqSCRfWupW76bemZ3KOm+9gSd0BhHudiG/m4LBJ1S2sWo9iaF2 -# YbRuoROmv6pH8BJv/YoybLL+31HIjCPJZr2dHYcSZAI9La9Zj7jkIeW1sMpjtHhU -# BdRBLlCslLCleKuzoJZ1GtmShxN1Ii8yqAhuoFuMJb+g74TKIdbrHk/Jmu5J4PcB -# ZW+JC33Iacjmbuqnl84xKf8OxVtc2E0bodj6L54/LlUWa8kTo/0xggTIMIIExAIB -# ATCBkDB5MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSMwIQYD -# VQQDExpNaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQQITMwAAAXglWrXNI8ZflQAB -# AAABeDAJBgUrDgMCGgUAoIHhMBkGCSqGSIb3DQEJAzEMBgorBgEEAYI3AgEEMBwG -# CisGAQQBgjcCAQsxDjAMBgorBgEEAYI3AgEVMCMGCSqGSIb3DQEJBDEWBBTq02RG -# y+pjEYntEMXja7SF8TbmOjCBgAYKKwYBBAGCNwIBDDFyMHCgUoBQAEUAbgB0AGkA -# dAB5ACAARgByAGEAbQBlAHcAbwByAGsAIABUAG8AbwBsAHMAIABmAG8AcgAgAFYA -# aQBzAHUAYQBsACAAUwB0AHUAZABpAG+hGoAYaHR0cDovL21zZG4uY29tL2RhdGEv -# ZWYgMA0GCSqGSIb3DQEBAQUABIIBAHQSKzEL3TItnbRhSBIYMFwe3udOxpA/S2dB -# gUgxV1NkH+j0UbOnslGkt8gDBIlFre+2F+b7U4dnBiOjhizMyeAKSHYGdHqSoDJ0 -# lM4D5tuTSnoJ8FZtem/IjyBgKCmFMv05/ivF2StQ/nBhLj0QYcF4S9NZXj6JKFNa -# WZJjFRaMRbkyvyD+p22Y1FyvcZPetZfoBYXs7GoaDdLvwrvfjKFwv4YGZ40WIGDX -# 566IZCmnpMNJ2bfj8rNZUQBi8SZocFfAPw+9r/FLz51UTrKB0YRCBTXeWMYOJRpt -# 6is5bbSLYJz7Y/BvoLy1Lt+BaqJEntP2lB3RvSsEm+BZOtDCcAahggIoMIICJAYJ -# KoZIhvcNAQkGMYICFTCCAhECAQEwgY4wdzELMAkGA1UEBhMCVVMxEzARBgNVBAgT -# Cldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m -# dCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENB -# AhMzAAAAwN4sPQeU5El5AAAAAADAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMx -# CwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNzEwMjMyMDEzNDVaMCMGCSqG -# SIb3DQEJBDEWBBSn3QkcYO648MmwXthSXKh2NV8R9TANBgkqhkiG9w0BAQUFAASC -# AQCnYTuQPUR6cHCGZStrauV4FQS+OC0dCo7D+mHETHYnDfgRKAloSQFBSqCm4C2+ -# GH20vmak1LgnN48Gc7YBQ4tXyW0HXo8yfCJDBeaF1tYGGLIMPthq3Pqu0+mqrJ2C -# rklJw6+cKsF9+ESo9hoTCf3qztNjbEtaXrsakX+dALcMzJ4ism2oh5bUHd6CxWfF -# Z/xLn4VQxzmZUSPbnhkIAoPwauAswHi1jgqo7Qd0HSIKHGNex7SOGgBfTWD4gCe4 -# IzGJlFFmCT6pFsjvreEnaQLNBv+yOj9P1Pf4MDVrNQn0OLeWSxfpf+XfgECLi0LS -# QMxcy5Q0PezBaxQKzBTp39mT -# SIG # End signature block diff --git a/app/packages/EntityFramework.6.2.0/tools/install.ps1 b/app/packages/EntityFramework.6.2.0/tools/install.ps1 deleted file mode 100644 index 26bb4fc..0000000 --- a/app/packages/EntityFramework.6.2.0/tools/install.ps1 +++ /dev/null @@ -1,154 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -Initialize-EFConfiguration $project -Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' - -Write-Host -Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework commands." - -# SIG # Begin signature block -# MIIa3gYJKoZIhvcNAQcCoIIazzCCGssCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB -# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR -# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUt8mwpdjiFmu2B4KBh+vEeQ+V -# VnSgghWAMIIEwjCCA6qgAwIBAgITMwAAALu2dyRxSiAAIAAAAAAAuzANBgkqhkiG -# 9w0BAQUFADB3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4G -# A1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSEw -# HwYDVQQDExhNaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EwHhcNMTYwOTA3MTc1ODQ3 -# WhcNMTgwOTA3MTc1ODQ3WjCBsjELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp -# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw -# b3JhdGlvbjEMMAoGA1UECxMDQU9DMScwJQYDVQQLEx5uQ2lwaGVyIERTRSBFU046 -# MERFOC0yREM1LTNDQTkxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNl -# cnZpY2UwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC48+U38sLxQNu8 -# OO1wnT9mKeHv+f/jxafTFXzx9VF59IK/n/jLv4HIXt8ucy3KjBTM5Jf6D0nQlI4h -# Sizjrn6lO61q+V8oZiYYhjgR258rg8MDIrPpZMxK6OmD0d1wtksHW1cG21YKg5jg -# idT2hmQBpiL9Cra3ccY5keu0kl6OfZFoj4DF0i0JRVFSy1C9gKP4H950XIjlA2Yo -# TWN0LuHEHYMvwD1mOpAq2dVwPZh6xeNnpV8U/qLneyb9I/SqY/87tsZCn4FH7R3x -# 0TgK2eRwpWXfwGbUb1R/UTLd20aQ+my4NWwSsndeG+0vsYwaF40heB2lo1ThmByr -# OTBmEosTAgMBAAGjggEJMIIBBTAdBgNVHQ4EFgQUj9yNX+4+R8GZ7rcy4MdnJHXO -# KkswHwYDVR0jBBgwFoAUIzT42VJGcArtQPt2+7MrsMM1sw8wVAYDVR0fBE0wSzBJ -# oEegRYZDaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwvcHJvZHVjdHMv -# TWljcm9zb2Z0VGltZVN0YW1wUENBLmNybDBYBggrBgEFBQcBAQRMMEowSAYIKwYB -# BQUHMAKGPGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljcm9z -# b2Z0VGltZVN0YW1wUENBLmNydDATBgNVHSUEDDAKBggrBgEFBQcDCDANBgkqhkiG -# 9w0BAQUFAAOCAQEAcMI8Q0PxQVvxZSD1fjszuD6VF/qPZjKZj9WLTjWjZT2k9lzG -# yvSL7vy9J7lnyMATrbm5ptqAfdonNygLaBm05MnrIvgPJYK89wyTIyS1u71ro7z+ -# EVrGPaKZiD+WvH8SWP+OWZQNf55fEL8tZo+a1oHm3lUARi5rR916OQvb4UnCENyV -# g8IfmupnwpxHcmIBUWZtTKAuKmuX/c8G2z4KJ8WhruYjPDWYQXJrQ5t7PhZa19Ge -# kOOtigge9EKIAWhZUJkw9fnfRm2IFX0gWtOzRXVNhR109ISacbNxd0oUboRYHmlq -# wGrOz64/3SDdOeN7PjvLwFmThuoXIsxrjQD8ODCCBOswggPToAMCAQICEzMAAAF4 -# JVq1zSPGX5UAAQAAAXgwDQYJKoZIhvcNAQEFBQAweTELMAkGA1UEBhMCVVMxEzAR -# BgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1p -# Y3Jvc29mdCBDb3Jwb3JhdGlvbjEjMCEGA1UEAxMaTWljcm9zb2Z0IENvZGUgU2ln -# bmluZyBQQ0EwHhcNMTcwODExMjAxMTE1WhcNMTgwODExMjAxMTE1WjCBgjELMAkG -# A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQx -# HjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEMMAoGA1UECxMDQU9DMR4w -# HAYDVQQDExVNaWNyb3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUA -# A4IBDwAwggEKAoIBAQCZbh1TVaudsrIbXUPPB9c8S+E+dKSbskHKYlG6SGTH8jhT -# hpuvGiAO87F2b9GHVN+DvszaMkGy/xQgHaGEJLfpnb3kpakic7E0bjDHdG4KnHRb -# no/wfUkGLfS79o+cw//RY8Ck6yE+0czDBcxp0Gbw5JyGP+KFqvzRR/3Tv3nt/5x0 -# 5ZnEOHYP+eDVikDvn/DH+oxxtiCfX3tkvtm/yX4eOb47YdmYKQjCgz2+Nil/lupY -# vU0QFIjvke3jshqQINDng/vO9ys2qA0ex/q5hlLKQTST99dGoM86Ge6F723ReToq -# KnGLN8kiCG7uNapOAIQrpCHZq96CVumiaA5ZvxU9AgMBAAGjggFgMIIBXDATBgNV -# HSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUjuhtD3FD7tk/RKloJFX05cpgLjcw -# UQYDVR0RBEowSKRGMEQxDDAKBgNVBAsTA0FPQzE0MDIGA1UEBRMrMjI5ODAzKzFh -# YmY5ZTVmLWNlZDAtNDJlNi1hNjVkLWQ5MzUwOTU5ZmUwZTAfBgNVHSMEGDAWgBTL -# EejK0rQWWAHJNy4zFha5TJoKHzBWBgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3Js -# Lm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNDb2RTaWdQQ0FfMDgt -# MzEtMjAxMC5jcmwwWgYIKwYBBQUHAQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8v -# d3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY0NvZFNpZ1BDQV8wOC0zMS0y -# MDEwLmNydDANBgkqhkiG9w0BAQUFAAOCAQEAYnG/oHG/xgZYR8NAMHZ/vE9GM0e4 -# 7YdhuTea2uY7pSGwM707wp8Wan0Fa6evK1PWfcd/XNOh2BpEv5o8RmKDoEsG0ECP -# 13Jug7cklfKreBVHQ+Djg43VVFLZpuo7aOAVK6wjlcnpPUtn+SfH9K0aM2FjDKVJ -# FW6XFKXBat5R+Zp6uOxWTxpSeMTeDC5zF6IY6ogR1uzU+9EQoRlAvkwX6po+exEL -# nMLr4++P+fqOxIU+PODIoB8ijClAqwwKvLlMPa3qlrNHt+LweTMu7lvGC/RA18wU -# zzXAeomuZ03blUw+bkOiVgWOk4S0RN7EnW7zjJV8gd/+G2dbToUi1cB/fTCCBbww -# ggOkoAMCAQICCmEzJhoAAAAAADEwDQYJKoZIhvcNAQEFBQAwXzETMBEGCgmSJomT -# 8ixkARkWA2NvbTEZMBcGCgmSJomT8ixkARkWCW1pY3Jvc29mdDEtMCsGA1UEAxMk -# TWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTEwMDgzMTIy -# MTkzMloXDTIwMDgzMTIyMjkzMloweTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh -# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD -# b3Jwb3JhdGlvbjEjMCEGA1UEAxMaTWljcm9zb2Z0IENvZGUgU2lnbmluZyBQQ0Ew -# ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCycllcGTBkvx2aYCAgQpl2 -# U2w+G9ZvzMvx6mv+lxYQ4N86dIMaty+gMuz/3sJCTiPVcgDbNVcKicquIEn08Gis -# TUuNpb15S3GbRwfa/SXfnXWIz6pzRH/XgdvzvfI2pMlcRdyvrT3gKGiXGqelcnNW -# 8ReU5P01lHKg1nZfHndFg4U4FtBzWwW6Z1KNpbJpL9oZC/6SdCnidi9U3RQwWfjS -# jWL9y8lfRjFQuScT5EAwz3IpECgixzdOPaAyPZDNoTgGhVxOVoIoKgUyt0vXT2Pn -# 0i1i8UU956wIAPZGoZ7RW4wmU+h6qkryRs83PDietHdcpReejcsRj1Y8wawJXwPT -# AgMBAAGjggFeMIIBWjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTLEejK0rQW -# WAHJNy4zFha5TJoKHzALBgNVHQ8EBAMCAYYwEgYJKwYBBAGCNxUBBAUCAwEAATAj -# BgkrBgEEAYI3FQIEFgQU/dExTtMmipXhmGA7qDFvpjy82C0wGQYJKwYBBAGCNxQC -# BAweCgBTAHUAYgBDAEEwHwYDVR0jBBgwFoAUDqyCYEBWJ5flJRP8KuEKU5VZ5KQw -# UAYDVR0fBEkwRzBFoEOgQYY/aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9j -# cmwvcHJvZHVjdHMvbWljcm9zb2Z0cm9vdGNlcnQuY3JsMFQGCCsGAQUFBwEBBEgw -# RjBEBggrBgEFBQcwAoY4aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0 -# cy9NaWNyb3NvZnRSb290Q2VydC5jcnQwDQYJKoZIhvcNAQEFBQADggIBAFk5Pn8m -# Rq/rb0CxMrVq6w4vbqhJ9+tfde1MOy3XQ60L/svpLTGjI8x8UJiAIV2sPS9MuqKo -# VpzjcLu4tPh5tUly9z7qQX/K4QwXaculnCAt+gtQxFbNLeNK0rxw56gNogOlVuC4 -# iktX8pVCnPHz7+7jhh80PLhWmvBTI4UqpIIck+KUBx3y4k74jKHK6BOlkU7IG9KP -# cpUqcW2bGvgc8FPWZ8wi/1wdzaKMvSeyeWNWRKJRzfnpo1hW3ZsCRUQvX/TartSC -# Mm78pJUT5Otp56miLL7IKxAOZY6Z2/Wi+hImCWU4lPF6H0q70eFW6NB4lhhcyTUW -# X92THUmOLb6tNEQc7hAVGgBd3TVbIc6YxwnuhQ6MT20OE049fClInHLR82zKwexw -# o1eSV32UjaAbSANa98+jZwp0pTbtLS8XyOZyNxL0b7E8Z4L5UrKNMxZlHg6K3RDe -# ZPRvzkbU0xfpecQEtNP7LN8fip6sCvsTJ0Ct5PnhqX9GuwdgR2VgQE6wQuxO7bN2 -# edgKNAltHIAxH+IOVN3lofvlRxCtZJj/UBYufL8FIXrilUEnacOTj5XJjdibIa4N -# XJzwoq6GaIMMai27dmsAHZat8hZ79haDJLmIz2qoRzEvmtzjcT3XAH5iR9HOiMm4 -# GPoOco3Boz2vAkBq/2mbluIQqBC0N1AI1sM9MIIGBzCCA++gAwIBAgIKYRZoNAAA -# AAAAHDANBgkqhkiG9w0BAQUFADBfMRMwEQYKCZImiZPyLGQBGRYDY29tMRkwFwYK -# CZImiZPyLGQBGRYJbWljcm9zb2Z0MS0wKwYDVQQDEyRNaWNyb3NvZnQgUm9vdCBD -# ZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMDcwNDAzMTI1MzA5WhcNMjEwNDAzMTMw -# MzA5WjB3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSEwHwYD -# VQQDExhNaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EwggEiMA0GCSqGSIb3DQEBAQUA -# A4IBDwAwggEKAoIBAQCfoWyx39tIkip8ay4Z4b3i48WZUSNQrc7dGE4kD+7Rp9FM -# rXQwIBHrB9VUlRVJlBtCkq6YXDAm2gBr6Hu97IkHD/cOBJjwicwfyzMkh53y9Gcc -# LPx754gd6udOo6HBI1PKjfpFzwnQXq/QsEIEovmmbJNn1yjcRlOwhtDlKEYuJ6yG -# T1VSDOQDLPtqkJAwbofzWTCd+n7Wl7PoIZd++NIT8wi3U21StEWQn0gASkdmEScp -# ZqiX5NMGgUqi+YSnEUcUCYKfhO1VeP4Bmh1QCIUAEDBG7bfeI0a7xC1Un68eeEEx -# d8yb3zuDk6FhArUdDbH895uyAc4iS1T/+QXDwiALAgMBAAGjggGrMIIBpzAPBgNV -# HRMBAf8EBTADAQH/MB0GA1UdDgQWBBQjNPjZUkZwCu1A+3b7syuwwzWzDzALBgNV -# HQ8EBAMCAYYwEAYJKwYBBAGCNxUBBAMCAQAwgZgGA1UdIwSBkDCBjYAUDqyCYEBW -# J5flJRP8KuEKU5VZ5KShY6RhMF8xEzARBgoJkiaJk/IsZAEZFgNjb20xGTAXBgoJ -# kiaJk/IsZAEZFgltaWNyb3NvZnQxLTArBgNVBAMTJE1pY3Jvc29mdCBSb290IENl -# cnRpZmljYXRlIEF1dGhvcml0eYIQea0WoUqgpa1Mc1j0BxMuZTBQBgNVHR8ESTBH -# MEWgQ6BBhj9odHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0 -# cy9taWNyb3NvZnRyb290Y2VydC5jcmwwVAYIKwYBBQUHAQEESDBGMEQGCCsGAQUF -# BzAChjhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY3Jvc29m -# dFJvb3RDZXJ0LmNydDATBgNVHSUEDDAKBggrBgEFBQcDCDANBgkqhkiG9w0BAQUF -# AAOCAgEAEJeKw1wDRDbd6bStd9vOeVFNAbEudHFbbQwTq86+e4+4LtQSooxtYrhX -# AstOIBNQmd16QOJXu69YmhzhHQGGrLt48ovQ7DsB7uK+jwoFyI1I4vBTFd1Pq5Lk -# 541q1YDB5pTyBi+FA+mRKiQicPv2/OR4mS4N9wficLwYTp2OawpylbihOZxnLcVR -# DupiXD8WmIsgP+IHGjL5zDFKdjE9K3ILyOpwPf+FChPfwgphjvDXuBfrTot/xTUr -# XqO/67x9C0J71FNyIe4wyrt4ZVxbARcKFA7S2hSY9Ty5ZlizLS/n+YWGzFFW6J1w -# lGysOUzU9nm/qhh6YinvopspNAZ3GmLJPR5tH4LwC8csu89Ds+X57H2146SodDW4 -# TsVxIxImdgs8UoxxWkZDFLyzs7BNZ8ifQv+AeSGAnhUwZuhCEl4ayJ4iIdBD6Svp -# u/RIzCzU2DKATCYqSCRfWupW76bemZ3KOm+9gSd0BhHudiG/m4LBJ1S2sWo9iaF2 -# YbRuoROmv6pH8BJv/YoybLL+31HIjCPJZr2dHYcSZAI9La9Zj7jkIeW1sMpjtHhU -# BdRBLlCslLCleKuzoJZ1GtmShxN1Ii8yqAhuoFuMJb+g74TKIdbrHk/Jmu5J4PcB -# ZW+JC33Iacjmbuqnl84xKf8OxVtc2E0bodj6L54/LlUWa8kTo/0xggTIMIIExAIB -# ATCBkDB5MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSMwIQYD -# VQQDExpNaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQQITMwAAAXglWrXNI8ZflQAB -# AAABeDAJBgUrDgMCGgUAoIHhMBkGCSqGSIb3DQEJAzEMBgorBgEEAYI3AgEEMBwG -# CisGAQQBgjcCAQsxDjAMBgorBgEEAYI3AgEVMCMGCSqGSIb3DQEJBDEWBBSYs3+C -# WsAb+LOoocEiqHmU0Q3ALzCBgAYKKwYBBAGCNwIBDDFyMHCgUoBQAEUAbgB0AGkA -# dAB5ACAARgByAGEAbQBlAHcAbwByAGsAIABUAG8AbwBsAHMAIABmAG8AcgAgAFYA -# aQBzAHUAYQBsACAAUwB0AHUAZABpAG+hGoAYaHR0cDovL21zZG4uY29tL2RhdGEv -# ZWYgMA0GCSqGSIb3DQEBAQUABIIBABPzPT3kEODvGlQjfMBKfQudfoZrNqovPz0Y -# cdler/amP+mg1mtJd+v+zn+UQXQi1DbBmqGuxQYj18vdb6eBGBZAlwYag91Lkp95 -# ILAZ926dAn0DXTLoXlZL1AVpRM8+/kqsHFCboI+Q1vO8FTO4/XpwuaCfwlvGAXxH -# AcUVLEnmJeZvBv0npW8NghCkfrAVT3G2nE+4mjP/cRHlukWUDiogHhkcWZOrWYBk -# aEEbojPYO1I+NW16NNp0Fq3VZO1Crr96I2HbrT2ogR2EJOWpPH0IyogZv4b0+E7S -# VXX33Lp5YpzbzgdIPUvsFpKfidoRzLmi4SD0Tc8S46NlgXotFM6hggIoMIICJAYJ -# KoZIhvcNAQkGMYICFTCCAhECAQEwgY4wdzELMAkGA1UEBhMCVVMxEzARBgNVBAgT -# Cldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m -# dCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENB -# AhMzAAAAu7Z3JHFKIAAgAAAAAAC7MAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMx -# CwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNzEwMjMyMDEzMzlaMCMGCSqG -# SIb3DQEJBDEWBBR5eDKlzjbXG+gQhPSdEMDmmjY6BTANBgkqhkiG9w0BAQUFAASC -# AQB777+HNR9jVbg2sXZm72fSrm3jxSLugzhcA4OxhZObW96AnJknlduQvAGqcDV+ -# Lt9CyaYLMt6I89MGkP9PBv8t5xhW0rHuBykna+5tTL8wvYrKd7r4ZvXT7YtHrqxO -# c+WLBPUD8XvSxI2wEsXt6uPCt44sd8PdO7VMiRNWth9aWo7rWaP0kGGAt0qhspI8 -# 6mhsnam+SRGuDCpoLYcMTc1vVVKu1zZ9wgfxNCaf9YVswKmFc7Mj7VNpA3qd6Te0 -# RNAEkgZr84KzCf8CYtWMsSy9k68drBbP0JosTxCLrJ9/zud6fykp5UcljzdKHKdU -# LMT4QBU8ya4StU9IgrUFBBcI -# SIG # End signature block diff --git a/app/packages/EntityFramework.6.2.0/tools/migrate.exe b/app/packages/EntityFramework.6.2.0/tools/migrate.exe deleted file mode 100644 index 6615a0b..0000000 Binary files a/app/packages/EntityFramework.6.2.0/tools/migrate.exe and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/.signature.p7s b/app/packages/EntityFramework.6.4.4/.signature.p7s deleted file mode 100644 index 05a60e1..0000000 Binary files a/app/packages/EntityFramework.6.4.4/.signature.p7s and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/EntityFramework.6.4.4.nupkg b/app/packages/EntityFramework.6.4.4/EntityFramework.6.4.4.nupkg deleted file mode 100644 index 763f990..0000000 Binary files a/app/packages/EntityFramework.6.4.4/EntityFramework.6.4.4.nupkg and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/Icon.png b/app/packages/EntityFramework.6.4.4/Icon.png deleted file mode 100644 index a0f1fdb..0000000 Binary files a/app/packages/EntityFramework.6.4.4/Icon.png and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/buildTransitive/EntityFramework.props b/app/packages/EntityFramework.6.4.4/buildTransitive/EntityFramework.props deleted file mode 100644 index 8e7f640..0000000 --- a/app/packages/EntityFramework.6.4.4/buildTransitive/EntityFramework.props +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/app/packages/EntityFramework.6.4.4/buildTransitive/EntityFramework.targets b/app/packages/EntityFramework.6.4.4/buildTransitive/EntityFramework.targets deleted file mode 100644 index 848a0ce..0000000 --- a/app/packages/EntityFramework.6.4.4/buildTransitive/EntityFramework.targets +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/app/packages/EntityFramework.6.4.4/buildTransitive/netcoreapp3.0/EntityFramework.props b/app/packages/EntityFramework.6.4.4/buildTransitive/netcoreapp3.0/EntityFramework.props deleted file mode 100644 index 70e61e2..0000000 --- a/app/packages/EntityFramework.6.4.4/buildTransitive/netcoreapp3.0/EntityFramework.props +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/app/packages/EntityFramework.6.4.4/buildTransitive/netcoreapp3.0/EntityFramework.targets b/app/packages/EntityFramework.6.4.4/buildTransitive/netcoreapp3.0/EntityFramework.targets deleted file mode 100644 index 1a44251..0000000 --- a/app/packages/EntityFramework.6.4.4/buildTransitive/netcoreapp3.0/EntityFramework.targets +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/app/packages/EntityFramework.6.4.4/content/net40/App.config.install.xdt b/app/packages/EntityFramework.6.4.4/content/net40/App.config.install.xdt deleted file mode 100644 index 8fd1933..0000000 --- a/app/packages/EntityFramework.6.4.4/content/net40/App.config.install.xdt +++ /dev/null @@ -1,11 +0,0 @@ - - -
-
- - - - - - - diff --git a/app/packages/EntityFramework.6.4.4/content/net40/App.config.transform b/app/packages/EntityFramework.6.4.4/content/net40/App.config.transform deleted file mode 100644 index 4fa1b95..0000000 --- a/app/packages/EntityFramework.6.4.4/content/net40/App.config.transform +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/app/packages/EntityFramework.6.4.4/content/net40/Web.config.install.xdt b/app/packages/EntityFramework.6.4.4/content/net40/Web.config.install.xdt deleted file mode 100644 index 8fd1933..0000000 --- a/app/packages/EntityFramework.6.4.4/content/net40/Web.config.install.xdt +++ /dev/null @@ -1,11 +0,0 @@ - - -
-
- - - - - - - diff --git a/app/packages/EntityFramework.6.4.4/content/net40/Web.config.transform b/app/packages/EntityFramework.6.4.4/content/net40/Web.config.transform deleted file mode 100644 index 4fa1b95..0000000 --- a/app/packages/EntityFramework.6.4.4/content/net40/Web.config.transform +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/app/packages/EntityFramework.6.4.4/lib/net40/EntityFramework.SqlServer.dll b/app/packages/EntityFramework.6.4.4/lib/net40/EntityFramework.SqlServer.dll deleted file mode 100644 index e9374ad..0000000 Binary files a/app/packages/EntityFramework.6.4.4/lib/net40/EntityFramework.SqlServer.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/lib/net40/EntityFramework.SqlServer.xml b/app/packages/EntityFramework.6.4.4/lib/net40/EntityFramework.SqlServer.xml deleted file mode 100644 index f35049c..0000000 --- a/app/packages/EntityFramework.6.4.4/lib/net40/EntityFramework.SqlServer.xml +++ /dev/null @@ -1,2022 +0,0 @@ - - - - EntityFramework.SqlServer - - - - - An that retries actions that throw exceptions caused by SQL Azure transient failures. - - - This execution strategy will retry the operation on and - if the contains any of the following error numbers: - 40613, 40501, 40197, 10929, 10928, 10060, 10054, 10053, 233, 64 and 20 - - - - - Creates a new instance of . - - - The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor. - - - - - Creates a new instance of with the specified limits for - number of retries and the delay between retries. - - The maximum number of retry attempts. - The maximum delay in milliseconds between retries. - - - - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Returns the checksum of the values in a collection. Null values are ignored. - The checksum computed from the input collection. - The collection of values over which the checksum is computed. - - - Returns the checksum of the values in a collection. Null values are ignored. - The checksum computed from the input collection. - The collection of values over which the checksum is computed. - - - Returns the ASCII code value of the left-most character of a character expression. - The ASCII code of the first character in the input string. - A valid string. - - - Returns the character that corresponds to the specified integer ASCII value. - The character that corresponds to the specified ASCII value. - An ASCII code. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - - A of value that is the starting position of toFind if it is found in toSearch . - - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns an integer value that indicates the difference between the SOUNDEX values of two character expressions. - The SOUNDEX difference between the two strings. - The first string. - The second string. - - - Returns the Unicode character with the specified integer code, as defined by the Unicode standard. - The character that corresponds to the input character code. - A character code. - - - Returns the starting position of the first occurrence of a pattern in a specified expression, or zeros if the pattern is not found, on all valid text and character data types. - The starting character position where the string pattern was found. - A string pattern to search for. - The string to search. - - - Returns a Unicode string with the delimiters added to make the input string a valid Microsoft SQL Server delimited identifier. - The original string with brackets added. - The expression that quote characters will be added to. - - - Returns a Unicode string with the delimiters added to make the input string a valid Microsoft SQL Server delimited identifier. - The original string with the specified quote characters added. - The expression that quote characters will be added to. - The one-character string to use as the delimiter. It can be a single quotation mark ( ' ), a left or right bracket ( [ ] ), or a double quotation mark ( " ). If quote_character is not specified, brackets are used. - - - Repeats a string value a specified number of times. - The target string, repeated the number of times specified by count . - A valid string. - The value that specifies how many time to repeat target . - - - Converts an alphanumeric string to a four-character (SOUNDEX) code to find similar-sounding words or names. - The SOUNDEX code of the input string. - A valid string. - - - Returns a string of repeated spaces. - A string that consists of the specified number of spaces. - The number of spaces. If negative, a null string is returned. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point. - - - Inserts a string into another string. It deletes a specified length of characters in the target string at the start position and then inserts the second string into the target string at the start position. - A string consisting of the two strings. - The target string. - The character position in stringinput where the replacement string is to be inserted. - The number of characters to delete from stringInput . If length is longer than stringInput , deletion occurs up to the last character in stringReplacement . - The substring to be inserted into stringInput . - - - Returns the integer value, as defined by the Unicode standard, for the first character of the input expression. - The character code for the first character in the input string. - A valid string. - - - A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine. - The angle, in radians, defined by the input cosine value. - The cosine of an angle. - - - A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine. - An angle, measured in radians. - The cosine of an angle. - - - A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine. - An angle, measured in radians. - The sine of an angle. - - - A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine. - An angle, measured in radians. - The sine of an angle. - - - A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent. - An angle, measured in radians. - The tangent of an angle. - - - A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent. - An angle, measured in radians. - The tangent of an angle. - - - Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value. - An angle, measured in radians. - The y-coordinate of a point. - The x-coordinate of a point. - - - Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value. - An angle, measured in radians. - The y-coordinate of a point. - The x-coordinate of a point. - - - Returns the trigonometric cosine of the specified angle, in radians, in the specified expression. - The trigonometric cosine of the specified angle. - An angle, measured in radians. - - - Returns the trigonometric cosine of the specified angle, in radians, in the specified expression. - The trigonometric cosine of the specified angle. - An angle, measured in radians. - - - A mathematical function that returns the trigonometric cotangent of the specified angle, in radians. - The trigonometric cotangent of the specified angle. - An angle, measured in radians. - - - A mathematical function that returns the trigonometric cotangent of the specified angle, in radians. - The trigonometric cotangent of the specified angle. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the exponential value of the specified float expression. - The constant e raised to the power of the input value. - The input value. - - - Returns the exponential value of the specified float expression. - The constant e raised to the power of the input value. - The input value. - - - Returns the natural logarithm of the specified input value. - The natural logarithm of the input value. - A numeric expression. - - - Returns the natural logarithm of the specified input value. - The natural logarithm of the input value. - A numeric expression. - - - Returns the base-10 logarithm of the specified input value. - The base-10 logarithm of the input value. - A numeric expression. - - - Returns the base-10 logarithm of the specified input value. - The base-10 logarithm of the input value. - A numeric expression. - - - Returns the constant value of pi. - The numeric value of pi. - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees. - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees. - - - Returns a pseudo-random float value from 0 through 1, exclusive. - The pseudo-random value. - - - Returns a pseudo-random float value from 0 through 1, exclusive. - The pseudo-random value. - The seed value. If seed is not specified, the SQL Server Database Engine assigns a seed value at random. For a specified seed value, the result returned is always the same. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the trigonometric sine of the specified angle. - The trigonometric sine of the input expression. - An angle, measured in radians. - - - Returns the trigonometric sine of the specified angle. - The trigonometric sine of the input expression. - An angle, measured in radians. - - - Returns the square root of the specified number. - The square root of the input value. - A numeric expression. - - - Returns the square root of the specified number. - The square root of the input value. - A numeric expression. - - - Returns the square of the specified number. - The square of the input value. - A numeric expression. - - - Returns the square of the specified number. - The square of the input value. - A numeric expression. - - - Returns the trigonometric tangent of the input expression. - The tangent of the input angle. - An angle, measured in radians. - - - Returns the trigonometric tangent of the input expression. - The tangent of the input angle. - An angle, measured in radians. - - - Returns a new datetime value based on adding an interval to the specified date. - The new date. - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns a new time span value based on adding an interval to the specified time span. - The new time span. - The part of the date to increment. - The value used to increment a date by a specified amount. - The time span to increment. - - - Returns a new date value based on adding an interval to the specified date. - The new point in time, expressed as a date and time of day, relative to Coordinated Universal Time (UTC). - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns a new datetime value based on adding an interval to the specified date. - - A of value that is the new date. - - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The value specifying the number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two Dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns the current database system timestamp as a datetime value without the database time zone offset. This value is derived from the operating system of the computer on which the instance of SQL Server is running. - The current database timestamp. - - - Returns the current database system timestamp as a datetime value. The database time zone offset is not included. This value represents the current UTC time (Coordinated Universal Time). This value is derived from the operating system of the computer on which the instance of SQL Server is running. - The current database UTC timestamp. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input values. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the current date and time. - The current date and time. - - - Returns the name of the current user. - The name of the current user. - - - Returns the workstation name. - The name of the workstation. - - - Returns a database user name corresponding to a specified identification number. - The user name. - A user ID. - - - Returns a database user name corresponding to a specified identification number. - The user name. - - - Indicates whether the input value is a valid numeric type. - 1 if the input expression is a valid numeric data type; otherwise, 0. - A string expression. - - - Indicates whether the input value is a valid date or time. - 1 if the input expression is a valid date or time value of datetime or smalldatetime data types; otherwise, 0. - The tested value. - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Returns a hierarchyid representing the nth ancestor of this. - A hierarchyid representing the nth ancestor of this. - The hierarchyid value. - n - - - Returns a child node of the parent. - The hierarchyid value. - null or the hierarchyid of a child of the current node. - null or the hierarchyid of a child of the current node. - - Returns one child node that is a descendant of the parent. - If parent is null, returns null. - If parent is not null, and both child1 and child2 are null, returns a child of parent. - If parent and child1 are not null, and child2 is null, returns a child of parent greater than child1. - If parent and child2 are not null and child1 is null, returns a child of parent less than child2. - If parent, child1, and child2 are not null, returns a child of parent greater than child1 and less than child2. - If child1 is not null and not a child of parent, an exception is raised. - If child2 is not null and not a child of parent, an exception is raised. - If child1 >= child2, an exception is raised. - - - - Returns an integer that represents the depth of the node this in the tree. - An integer that represents the depth of the node this in the tree. - The hierarchyid value. - - - Returns the root of the hierarchy tree. - The root of the hierarchy tree. - - - Returns true if this is a descendant of parent. - True if this is a descendant of parent. - The hierarchyid value. - parent - - - Returns a node whose path from the root is the path to newRoot, followed by the path from oldRoot to this. - Hierarchyid value. - The hierarchyid value. - oldRoot - newRoot - - - Converts the canonical string representation of a hierarchyid to a hierarchyid value. - Hierarchyid value. - input - - - - Indicates if the provider supports the parameter optimization described in EntityFramework6 GitHub issue #195. - - True since this provider supports the parameter optimization. - - - - The DbProviderServices implementation for the SqlClient provider for SQL Server. - - - Note that instance of this type also resolve additional provider services for Microsoft SQL Server - when this type is registered as an EF provider either using an entry in the application's config file - or through code-based registration in . - The services resolved are: - Requests for are resolved to a Singleton instance of - to create connections to LocalDB by default. - Requests for for the invariant name "System.Data.SqlClient" - for any server name are resolved to a delegate that returns a - to provide a non-retrying policy for SQL Server. - Requests for for the invariant name "System.Data.SqlClient" are - resolved to instances to provide default Migrations SQL - generation for SQL Server. - Requests for for the invariant name "System.Data.SqlClient" are - resolved to a Singleton instance of to provide default spatial - services for SQL Server. - - - - - This is the well-known string using in configuration files and code-based configuration as - the "provider invariant name" used to specify Microsoft SQL Server for ADO.NET and - Entity Framework provider services. - - - - - The Singleton instance of the SqlProviderServices type. - - - - - Set to the full name of the Microsoft.SqlServer.Types assembly to override the default selection - - - - - Get or sets a value indicating whether parameter values are truncated to - the scale (number of decimal places) defined for their corresponding columns when they are sent - to the database. A value of true indicates that objects - created for columns will have their - properties set, which will cause the parameter values to be truncated. If set to false - then the properties will not be set, avoiding the truncation - behavior of and allowing SQL Server to round values if necessary. - The default value is true to prevent breaking existing applications that depend on this - behavior. - - - - - Gets or sets a value indicating whether to use the SCOPE_IDENTITY() function to retrieve values - generated by the database for numeric columns during an INSERT operation. The default value of - true is recommended and can provide better performance if all numeric values are generated - using IDENTITY columns. If set to false, an OUTPUT clause will be used instead. An OUTPUT - clause makes it possible to retrieve values generated by sequences or other means. - - - - - Gets or sets a value indicating whether the ROW_NUMBER() function is used in sort expression - passed to the ORDER BY clause when OFFSET is present in query. The default value of true - is recommended to obtain query results that are stable for paging operations. The value of - false can be used for compatibility with previous versions of EF and will cause the sort - expression to be passed unmodified to the ORDER BY clause, which can lead to unstable results - if the ordering is ambiguous. - - - This flag only applies to SQL Server 2012 or later. This flag does not affect queries that have - already been translated to SQL and cached, therefore applications that need to set the value to - false for compatibility should do so before executing any queries. - - - - - Registers a handler to process non-error messages coming from the database provider. - - The connection to receive information for. - The handler to process messages. - - - - Create a Command Definition object, given the connection and command tree - - provider manifest that was determined from metadata - command tree for the statement - an executable command definition object - - - - See issue 2390 - cloning the DesignTimeVisible property on the - can cause deadlocks. - So here overriding to provide a method that does not clone DesignTimeVisible. - - the object to clone - a clone of the - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - - Returns provider manifest token for a given connection. - - Connection to find manifest token from. - The provider manifest token for the specified connection. - - - - Returns the provider manifest by using the specified version information. - - The token information associated with the provider manifest. - The provider manifest by using the specified version information. - - - - Gets a spatial data reader for SQL Server. - - The reader where the spatial data came from. - The manifest token associated with the provider manifest. - The spatial data reader. - - - - Gets a spatial data reader for SQL Server. - - The manifest token associated with the provider manifest. - The spatial data reader. - - - - Generates a data definition language (DDL) script that creates schema objects - (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection - parameter and targeted for the version of the database corresponding to the provider manifest token. - - The provider manifest token identifying the target version. - The structure of the database. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter - and targeted for the version of the database corresponding to the provider manifest token. - - - - - Create the database and the database objects. - If initial catalog is not specified, but AttachDBFilename is specified, we generate a random database name based on the AttachDBFilename. - Note: this causes pollution of the db, as when the connection string is later used, the mdf will get attached under a different name. - However if we try to replicate the name under which it would be attached, the following scenario would fail: - The file does not exist, but registered with database. - The user calls: If (DatabaseExists) DeleteDatabase - CreateDatabase - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - - Determines whether the database for the given connection exists. - There are three cases: - 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 then true, - if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise - if the there are no databases corresponding to the given file return false, otherwise throw. - Note: We open the connection to cover the scenario when the mdf exists, but is not attached. - Given that opening the connection would auto-attach it, it would not be appropriate to return false in this case. - Also note that checking for the existence of the file does not work for a remote server. (Dev11 #290487) - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - True if the provider can deduce the database only based on the connection. - - - - Determines whether the database for the given connection exists. - There are three cases: - 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 then true, - if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise - if the there are no databases corresponding to the given file return false, otherwise throw. - Note: We open the connection to cover the scenario when the mdf exists, but is not attached. - Given that opening the connection would auto-attach it, it would not be appropriate to return false in this case. - Also note that checking for the existence of the file does not work for a remote server. (Dev11 #290487) - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - True if the provider can deduce the database only based on the connection. - - - - Delete the database for the given connection. - There are three cases: - 1. If Initial Catalog is specified (X) drop database X - 2. Else if AttachDBFilename is specified (F) drop all the databases corresponding to F - if none throw - 3. If niether the catalog not the file name is specified - throw - Note that directly deleting the files does not work for a remote server. However, even for not attached - databases the current logic would work assuming the user does: if (DatabaseExists) DeleteDatabase - - Connection - Timeout for internal commands. - Item Collection. - - - - Clones the connection. - - The original connection. - The factory to use. - Cloned connection - - - - Provider to convert provider agnostic migration operations into SQL commands - that can be run against a Microsoft SQL Server database. - - - - - Determines if a provider specific exception corresponds to a database-level permission denied error. - - The database exception. - true if the supplied exception corresponds to a database-level permission denied error; otherwise false. - - - - Converts a set of migration operations into Microsoft SQL Server specific SQL. - - The operations to be converted. - Token representing the version of SQL Server being targeted (i.e. "2005", "2008"). - A list of SQL statements to be executed to perform the migration operations. - - - - Generates the SQL body for a stored procedure. - - The command trees representing the commands for an insert, update or delete operation. - The rows affected parameter name. - The provider manifest token. - The SQL body for the stored procedure. - - - - Generates the specified update database operation which represents applying a series of migrations. - The generated script is idempotent, meaning it contains conditional logic to check if individual migrations - have already been applied and only apply the pending ones. - - The update database operation. - - - - Generates SQL for a . - Allows derived providers to handle additional operation types. - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Creates an empty connection for the current provider. - Allows derived providers to use connection other than . - - An empty connection for the current provider. - - - - Generates the specified create procedure operation. - - The create procedure operation. - - - - Generates the specified alter procedure operation. - - The alter procedure operation. - - - - Generates the specified drop procedure operation. - - The drop procedure operation. - - - - Generates SQL for a . This method differs from - in that it will - create the target database schema if it does not already exist. - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Writes CREATE TABLE SQL to the target writer. - - The operation to produce SQL for. - The target writer. - - - - Override this method to generate SQL when the definition of a table or its attributes are changed. - The default implementation of this method does nothing. - - The operation describing changes to the table. - - - - Generates SQL to mark a table as a system table. - Generated SQL should be added using the Statement method. - - The table to mark as a system table. - The to write the generated SQL to. - - - - Generates SQL to create a database schema. - Generated SQL should be added using the Statement method. - - The name of the schema to create. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Call this method to generate SQL that will attempt to drop the default constraint created - when a column is created. This method is usually called by code that overrides the creation or - altering of columns. - - The table to which the constraint applies. - The column to which the constraint applies. - The writer to which generated SQL should be written. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement or StatementBatch methods. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates the specified rename procedure operation. - - The rename procedure operation. - - - - Generates the specified move procedure operation. - - The move procedure operation. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for the given column model. This method is called by other methods that - process columns and can be overridden to change the SQL generated. - - The column for which SQL is being generated. - The writer to which generated SQL should be written. - - - - Returns the column default value to use for store-generated GUID columns when - no default value is explicitly specified in the migration. - Returns newsequentialid() for on-premises SQL Server 2005 and later. - Returns newid() for SQL Azure. - - Either newsequentialid() or newid() as described above. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL to specify a constant byte[] default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant bool default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant DateTime default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant DateTimeOffset default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant Guid default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant string default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant TimeSpan default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant hierarchyid default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant geogrpahy default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant geometry default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify the data type of a column. - This method just generates the actual type, not the SQL to create the column. - - The definition of the column. - SQL representing the data type. - - - - Generates a quoted name. The supplied name may or may not contain the schema. - - The name to be quoted. - The quoted name. - - - - Quotes an identifier for SQL Server. - - The identifier to be quoted. - The quoted identifier. - - - - Adds a new Statement to be executed against the database. - - The statement to be executed. - Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. - The batch terminator for the database provider. - - - - Gets a new that can be used to build SQL. - This is just a helper method to create a writer. Writing to the writer will - not cause SQL to be registered for execution. You must pass the generated - SQL to the Statement method. - - An empty text writer to use for SQL generation. - - - - Adds a new Statement to be executed against the database. - - The writer containing the SQL to be executed. - The batch terminator for the database provider. - - - - Breaks sql string into one or more statements, handling T-SQL utility statements as necessary. - - The SQL to split into one ore more statements to be executed. - Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Constructs a geography instance representing a Point instance from its x and y values and a spatial reference ID (SRID). - The constructed geography instance. - The x-coordinate of the Point being generated. - The y-coordinate of the Point being generated - The SRID of the geography instance. - - - Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance. - The Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance. - The geography value. - - - Returns a geometric object representing the union of all point values whose distance from a geography instance is less than or equal to a specified value, allowing for a specified tolerance. - The union of all point values whose distance from a geography instance is less than or equal to a specified value - The geography value. - The distance. - The specified tolerance. - Specifying whether the tolerance value is relative or absolute. - - - Returns the maximum angle between the point returned by EnvelopeCenter() and a point in the geography instance in degrees. - the maximum angle between the point returned by EnvelopeCenter(). - The geography value. - - - Returns a point that can be used as the center of a bounding circle for the geography instance. - A SqlGeography value that specifies the location of the center of a bounding circle. - The geography value. - - - Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available. - True if a geography instance potentially intersects another SqlGeography instance; otherwise, false. - The geography value. - Another geography instance to compare against the instance on which Filter is invoked. - - - Tests if the SqlGeography instance is the same as the specified type. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - The geography value. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - - - Returns the total number of rings in a Polygon instance. - The total number of rings. - The geography value. - - - Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance. - - Returns . - - The geography value. - The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number. - - - Returns the specified ring of the SqlGeography instance: 1 ≤ n ≤ NumRings(). - A SqlGeography object that represents the ring specified by n. - The geography value. - An int expression between 1 and the number of rings in a polygon instance. - - - Constructs a geometry instance representing a Point instance from its x and y values and a spatial reference ID (SRID). - The constructed geometry instance. - The x-coordinate of the Point being generated. - The y-coordinate of the Point being generated - The SRID of the geography instance. - - - Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance. - The Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geometry instance. - The geometry value. - - - Returns a geometric object representing the union of all point values whose distance from a geometry instance is less than or equal to a specified value, allowing for a specified tolerance. - The union of all point values whose distance from a geometry instance is less than or equal to a specified value - The geometry value. - The distance. - The specified tolerance. - Specifying whether the tolerance value is relative or absolute. - - - Tests if the SqlGeometry instance is the same as the specified type. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - The geometry value. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - - - Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available. - True if a geography instance potentially intersects another SqlGeography instance; otherwise, false. - The geometry value. - Another geography instance to compare against the instance on which Filter is invoked. - - - Converts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium (OGC) type. - The converted geometry instance. - The geometry value. - - - Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance. - - Returns . - - The geometry value. - The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number. - - - - An implementation of to provide support for geospatial types when using - Entity Framework with Microsoft SQL Server. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/packages/EntityFramework.6.4.4/lib/net40/EntityFramework.dll b/app/packages/EntityFramework.6.4.4/lib/net40/EntityFramework.dll deleted file mode 100644 index e567707..0000000 Binary files a/app/packages/EntityFramework.6.4.4/lib/net40/EntityFramework.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/lib/net40/EntityFramework.xml b/app/packages/EntityFramework.6.4.4/lib/net40/EntityFramework.xml deleted file mode 100644 index 1c0d386..0000000 --- a/app/packages/EntityFramework.6.4.4/lib/net40/EntityFramework.xml +++ /dev/null @@ -1,46779 +0,0 @@ - - - - EntityFramework - - - - - An abstract base type for types that implement the IExpressionVisitor interface to derive from. - - - - Implements the visitor pattern for the set clause. - The set clause. - - - Implements the visitor pattern for the modification clause. - The modification clause. - - - Implements the visitor pattern for the collection of modification clauses. - The modification clauses. - - - Implements the visitor pattern for the command tree. - The command tree. - - - Implements the visitor pattern for the delete command tree. - The delete command tree. - - - Implements the visitor pattern for the function command tree. - The function command tree. - - - Implements the visitor pattern for the insert command tree. - The insert command tree. - - - Implements the visitor pattern for the query command tree. - The query command tree. - - - Implements the visitor pattern for the update command tree. - The update command tree. - - - - An abstract base type for types that implement the IExpressionVisitor interface to derive from. - - - - - Convenience method to visit the specified . - - The DbUnaryExpression to visit. - - - is null - - - - - Convenience method to visit the specified . - - The DbBinaryExpression to visit. - - - is null - - - - - Convenience method to visit the specified . - - The DbExpressionBinding to visit. - - - is null - - - - - Convenience method for post-processing after a DbExpressionBinding has been visited. - - The previously visited DbExpressionBinding. - - - - Convenience method to visit the specified . - - The DbGroupExpressionBinding to visit. - - - is null - - - - - Convenience method indicating that the grouping keys of a have been visited and the aggregates are now about to be visited. - - The DbGroupExpressionBinding of the DbGroupByExpression - - - - Convenience method for post-processing after a DbGroupExpressionBinding has been visited. - - The previously visited DbGroupExpressionBinding. - - - - Convenience method indicating that the body of a Lambda is now about to be visited. - - The DbLambda that is about to be visited - - - is null - - - - - Convenience method for post-processing after a DbLambda has been visited. - - The previously visited DbLambda. - - - - Convenience method to visit the specified , if non-null. - - The expression to visit. - - - is null - - - - - Convenience method to visit each in the given list, if the list is non-null. - - The list of expressions to visit. - - - is null - - - - - Convenience method to visit each in the list, if the list is non-null. - - The list of aggregates to visit. - - - is null - - - - - Convenience method to visit the specified . - - The aggregate to visit. - - - is null - - - - - Called when an of an otherwise unrecognized type is encountered. - - The expression - - - is null - - - Always thrown if this method is called, since it indicates that - - is of an unsupported type - - - - - Visitor pattern method for . - - The DbConstantExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNullExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbVariableReferenceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbParameterReferenceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbFunctionExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLambdaExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbPropertyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbComparisonExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLikeExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLimitExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsNullExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbArithmeticExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbAndExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbOrExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbInExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNotExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbDistinctExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbElementExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsEmptyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbUnionAllExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIntersectExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbExceptExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbOfTypeExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbTreatExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCastExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsOfExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCaseExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNewInstanceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRelationshipNavigationExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DeRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRefKeyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbEntityRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbScanExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbFilterExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbProjectExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCrossJoinExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbJoinExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbApplyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbSkipExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbSortExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbQuantifierExpression that is being visited. - - - is null - - - - Implements the basic functionality required by aggregates in a GroupBy clause. - - - - Gets the result type of this . - - - The result type of this . - - - - - Gets the list of expressions that define the arguments to this - - . - - - The list of expressions that define the arguments to this - - . - - - - Represents the logical AND of two Boolean arguments. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by the visitor . - visitor is null. - - - Represents an apply operation, which is the invocation of the specified function for each element in the specified input set. This class cannot be inherited. - - - - Gets the that specifies the function that is invoked for each element in the input set. - - - The that specifies the function that is invoked for each element in the input set. - - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by the visitor . - visitor is null. - - - - Represents an arithmetic operation applied to numeric arguments. - Addition, subtraction, multiplication, division, modulo, and negation are arithmetic operations. - This class cannot be inherited. - - - - - Gets the list of elements that define the current arguments. - - - A fixed-size list of elements. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Implements the basic functionality required by expressions that accept two expression operands. - - - - Gets the that defines the left argument. - - - The that defines the left argument. - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the required type for the left argument. - - - - - Gets the that defines the right argument. - - - The that defines the right argument. - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the required type for the right argument. - - - - - Represents the When, Then, and Else clauses of the - - . This class cannot be inherited. - - - - - Gets the When clauses of this . - - - The When clauses of this . - - - - - Gets the Then clauses of this . - - - The Then clauses of this . - - - - - Gets the Else clause of this . - - - The Else clause of this . - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the result type of the - - . - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the type conversion of a single argument to the specified type. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - An immutable class that implements the basic functionality for the Query, Insert, Update, Delete, and function invocation command tree types. - - - - Gets a value indicating whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. The default value is true. - - For example (operand1 == operand2) will be translated as: - - (operand1 = operand2) - - if UseDatabaseNullSemantics is true, respectively - - (((operand1 = operand2) AND (NOT (operand1 IS NULL OR operand2 IS NULL))) OR ((operand1 IS NULL) AND (operand2 IS NULL))) - - if UseDatabaseNullSemantics is false. - - - true if database null comparison behavior is enabled, otherwise false . - - - - - Gets the name and corresponding type of each parameter that can be referenced within this - - . - - - The name and corresponding type of each parameter that can be referenced within this - - . - - - - - Gets the kind of this command tree. - - - - - Gets the metadata workspace used by this command tree. - - - - - Gets the data space in which metadata used by this command tree must reside. - - - - - Returns a that represents this command. - - - A that represents this command. - - - - - Describes the different "kinds" (classes) of command trees. - - - - - A query to retrieve data - - - - - Update existing data - - - - - Insert new data - - - - - Deleted existing data - - - - - Call a function - - - - Represents a comparison operation applied to two arguments. Equality, greater than, greater than or equal, less than, less than or equal, and inequality are comparison operations. This class cannot be inherited. - - DbComparisonExpression requires that its arguments have a common result type - that is equality comparable (for .Equals and .NotEquals), - order comparable (for .GreaterThan and .LessThan), - or both (for .GreaterThanOrEquals and .LessThanOrEquals). - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents different kinds of constants (literals). This class cannot be inherited. - - - Gets the constant value. - The constant value. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents an unconditional join operation between the given collection arguments. This class cannot be inherited. - - - - Gets a list that provides the input sets to the join. - - - A list that provides the input sets to the join. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents a single row delete operation expressed as a command tree. This class cannot be inherited. - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - A predicate used to determine which members of the target collection should be deleted. - - - - Gets an that specifies the predicate used to determine which members of the target collection should be deleted. - - - The predicate can include only the following elements: - - Equality expression - Constant expression - IsNull expression - Property expression - Reference expression to the target - And expression - Or expression - Not expression - - - - An that specifies the predicate used to determine which members of the target collection should be deleted. - - - - Gets the kind of this command tree. - The kind of this command tree. - - - Represents the an expression that retrieves an entity based on the specified reference. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Removes duplicate elements from the specified set argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the conversion of the specified set argument to a singleton. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents an expression that extracts a reference from the underlying entity instance. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the set subtraction operation between the left and right operands. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the base type for all expressions. - - - Gets the type metadata for the result type of the expression. - The type metadata for the result type of the expression. - - - Gets the kind of the expression, which indicates the operation of this expression. - The kind of the expression, which indicates the operation of this expression. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - The type of the result produced by . - - - An instance of . - - The type of the result produced by visitor. - - - - Determines whether the specified is equal to the current DbExpression instance. - - - True if the specified is equal to the current DbExpression instance; otherwise, false. - - - The object to compare to the current . - - - - Serves as a hash function for the type. - A hash code for the current expression. - - - - Creates a that represents the specified binary value, which may be null - - - A that represents the specified binary value. - - The binary value on which the returned expression should be based. - - - - Enables implicit casting from a byte array. - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Boolean value. - - - A that represents the specified Boolean value. - - The Boolean value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) byte value. - - - A that represents the specified byte value. - - The byte value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified DateTime value. - - The DateTime value on which the returned expression should be based. - - - - Enables implicit casting from . - - The expression to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified DateTimeOffset value. - - The DateTimeOffset value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) decimal value. - - - A that represents the specified decimal value. - - The decimal value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) double value. - - - A that represents the specified double value. - - The double value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified - - value, which may be null. - - - A that represents the specified DbGeography value. - - The DbGeography value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified - - value, which may be null. - - - A that represents the specified DbGeometry value. - - The DbGeometry value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified Guid value. - - The Guid value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int16 value. - - - A that represents the specified Int16 value. - - The Int16 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int32 value. - - - A that represents the specified Int32 value. - - The Int32 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int64 value. - - - A that represents the specified Int64 value. - - The Int64 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Single value. - - - A that represents the specified Single value. - - The Single value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified string value. - - - A that represents the specified string value. - - The string value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Describes a binding for an expression. Conceptually similar to a foreach loop - in C#. The DbExpression property defines the collection being iterated over, - while the Var property provides a means to reference the current element - of the collection during the iteration. DbExpressionBinding is used to describe the set arguments - to relational expressions such as , - and . - - - - - - - Gets the that defines the input set. - - - The that defines the input set. - - The expression is null. - The expression is not associated with the command tree of the binding, or its result type is not equal or promotable to the result type of the current value of the property. - - - Gets the name assigned to the element variable. - The name assigned to the element variable. - - - Gets the type metadata of the element variable. - The type metadata of the element variable. - - - - Gets the that references the element variable. - - The variable reference. - - - - Contains values that each expression class uses to denote the operation it represents. The - - property of an - - can be retrieved to determine which operation that expression represents. - - - - - True for all. - - - - - Logical And. - - - - - True for any. - - - - - Conditional case statement. - - - - - Polymorphic type cast. - - - - - A constant value. - - - - - Cross apply - - - - - Cross join - - - - - Dereference. - - - - - Duplicate removal. - - - - - Division. - - - - - Set to singleton conversion. - - - - - Entity ref value retrieval. - - - - - Equality - - - - - Set subtraction - - - - - Restriction. - - - - - Full outer join - - - - - Invocation of a stand-alone function - - - - - Greater than. - - - - - Greater than or equal. - - - - - Grouping. - - - - - Inner join - - - - - Set intersection. - - - - - Empty set determination. - - - - - Null determination. - - - - - Type comparison (specified Type or Subtype). - - - - - Type comparison (specified Type only). - - - - - Left outer join - - - - - Less than. - - - - - Less than or equal. - - - - - String comparison. - - - - - Result count restriction (TOP n). - - - - - Subtraction. - - - - - Modulo. - - - - - Multiplication. - - - - - Instance, row, and set construction. - - - - - Logical Not. - - - - - Inequality. - - - - - Null. - - - - - Set members by type (or subtype). - - - - - Set members by (exact) type. - - - - - Logical Or. - - - - - Outer apply. - - - - - A reference to a parameter. - - - - - Addition. - - - - - Projection. - - - - - Retrieval of a static or instance property. - - - - - Reference. - - - - - Ref key value retrieval. - - - - - Navigation of a (composition or association) relationship. - - - - - Entity or relationship set scan. - - - - - Skip elements of an ordered collection. - - - - - Sorting. - - - - - Type conversion. - - - - - Negation. - - - - - Set union (with duplicates). - - - - - A reference to a variable. - - - - - Application of a lambda function - - - - - In. - - - - Defines the basic functionality that should be implemented by visitors that do not return a result value. - - - When overridden in a derived class, handles any expression of an unrecognized type. - The expression to be handled. - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - Visitor pattern method for DbInExpression. - - The DbInExpression that is being visited. - - - Defines the basic functionality that should be implemented by visitors that return a result value of a specific type. - The type of the result produced by the visitor. - - - When overridden in a derived class, handles any expression of an unrecognized type. - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern method for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - Typed visitor pattern method for DbInExpression. - - The DbInExpression that is being visited. - An instance of TResultType. - - - Represents a predicate applied to filter an input set. This produces the set of elements that satisfy the predicate. This class cannot be inherited. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets the that specifies the predicate used to filter the input set. - - - The that specifies the predicate used to filter the input set. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a Boolean type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Supports standard aggregate functions, such as MIN, MAX, AVG, SUM, and so on. This class cannot be inherited. - - - Gets a value indicating whether this aggregate is a distinct aggregate. - true if the aggregate is a distinct aggregate; otherwise, false. - - - Gets the method metadata that specifies the aggregate function to invoke. - The method metadata that specifies the aggregate function to invoke. - - - Represents the invocation of a database function. - - - - Constructs a new DbFunctionCommandTree that uses the specified metadata workspace, data space and function metadata - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - The that represents the function that is being invoked. - The expected result type for the function’s first result set. - The function's parameters. - - , or is null - - - does not represent a valid data space or - is a composable function - - - - - Gets the that represents the function that is being invoked. - - - The that represents the function that is being invoked. - - - - Gets the expected result type for the function’s first result set. - The expected result type for the function’s first result set. - - - Gets or sets the command tree kind. - The command tree kind. - - - Represents an invocation of a function. This class cannot be inherited. - - - Gets the metadata for the function to invoke. - The metadata for the function to invoke. - - - - Gets an list that provides the arguments to the function. - - - An list that provides the arguments to the function. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a collection of elements that compose a group. - - - Represents a group by operation. A group by operation is a grouping of the elements in the input set based on the specified key expressions followed by the application of the specified aggregates. This class cannot be inherited. - - - - Gets the that specifies the input set and provides access to the set element and group element variables. - - - The that specifies the input set and provides access to the set element and group element variables. - - - - - Gets a list that provides grouping keys. - - - A list that provides grouping keys. - - - - - Gets a list that provides the aggregates to apply. - - - A list that provides the aggregates to apply. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Defines the binding for the input set to a . - In addition to the properties of , DbGroupExpressionBinding - also provides access to the group element via the variable reference - and to the group aggregate via the property. - - - - - Gets the that defines the input set. - - - The that defines the input set. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the result type of the current value of the property. - - - - Gets the name assigned to the element variable. - The name assigned to the element variable. - - - Gets the type metadata of the element variable. - The type metadata of the element variable. - - - - Gets the that references the element variable. - - A reference to the element variable. - - - Gets the name assigned to the group element variable. - The name assigned to the group element variable. - - - Gets the type metadata of the group element variable. - The type metadata of the group element variable. - - - - Gets the that references the group element variable. - - A reference to the group element variable. - - - - Gets the that represents the collection of elements in the group. - - The elements in the group. - - - - Represents a boolean expression that tests whether a specified item matches any element in a list. - - - - - Gets a DbExpression that specifies the item to be matched. - - - - - Gets the list of DbExpression to test for a match. - - - - - The visitor pattern method for expression visitors that do not produce a result value. - - An instance of DbExpressionVisitor. - - - is null - - - - - The visitor pattern method for expression visitors that produce a result value of a specific type. - - An instance of a typed DbExpressionVisitor that produces a result value of type TResultType. - - The type of the result produced by - - - - is null - - - An instance of . - - - - Represents a single row insert operation expressed as a command tree. This class cannot be inherited. - - Represents a single row insert operation expressed as a canonical command tree. - When the property is set, the command returns a reader; otherwise, - it returns a scalar value indicating the number of rows affected. - - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - The list of insert set clauses that define the insert operation. . - A that specifies a projection of results to be returned, based on the modified rows. - - - Gets the list of insert set clauses that define the insert operation. - The list of insert set clauses that define the insert operation. - - - - Gets an that specifies a projection of results to be returned based on the modified rows. - - - An that specifies a projection of results to be returned based on the modified rows. null indicates that no results should be returned from this command. - - - - Gets the command tree kind. - The command tree kind. - - - Represents the set intersection operation between the left and right operands. This class cannot be inherited. - - DbIntersectExpression requires that its arguments have a common collection result type - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents an empty set determination applied to a single set argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents null determination applied to a single argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the type comparison of a single argument against the specified type. This class cannot be inherited. - - - Gets the type metadata that the type metadata of the argument should be compared to. - The type metadata that the type metadata of the argument should be compared to. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition. - - - - Gets the that provides the left input. - - - The that provides the left input. - - - - - Gets the that provides the right input. - - - The that provides the right input. - - - - Gets the join condition to apply. - The join condition to apply. - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a Boolean type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents a Lambda function that can be invoked to produce a - - . - - - - Gets the body of the lambda expression. - - A that represents the body of the lambda function. - - - - Gets the parameters of the lambda expression. - The list of lambda function parameters represented as DbVariableReferenceExpression objects. - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters - An expression that defines the logic of the Lambda function - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - - - is null or contains null, or - - is null - - - - contains more than one element with the same variable name. - - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters - An expression that defines the logic of the Lambda function - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - - - is null or contains null, or - - is null. - - - - contains more than one element with the same variable name. - - - - - Creates a new with a single argument of the specified type, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and single formal parameter. - - A that defines the EDM type of the argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A that defines the EDM type of the fifteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A that defines the EDM type of the fifteenth argument to the Lambda function - - - A that defines the EDM type of the sixteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Allows the application of a lambda function to arguments represented by - - objects. - - - - - Gets the representing the Lambda function applied by this expression. - - - The representing the Lambda function applied by this expression. - - - - - Gets a list that provides the arguments to which the Lambda function should be applied. - - - The list. - - - - The visitor pattern method for expression visitors that do not produce a result value. - - An instance of . - - visitor is null - - - The visitor pattern method for expression visitors that produce a result value of a specific type. - The type of the result produced by the expression visitor. - - An instance of a typed that produces a result value of type TResultType. - - The type of the result produced by visitor - visitor is null - - - Represents a string comparison against the specified pattern with an optional escape string. This class cannot be inherited. - - - Gets an expression that specifies the string to compare against the given pattern. - An expression that specifies the string to compare against the given pattern. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Gets an expression that specifies the pattern against which the given string should be compared. - An expression that specifies the pattern against which the given string should be compared. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Gets an expression that provides an optional escape string to use for the comparison. - An expression that provides an optional escape string to use for the comparison. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the restriction of the number of elements in the argument collection to the specified limit value. - - - Gets an expression that specifies the input collection. - An expression that specifies the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a collection type. - - - - Gets an expression that specifies the limit on the number of elements returned from the input collection. - An expression that specifies the limit on the number of elements returned from the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - , or is not one of - - or - - , or its result type is not equal or promotable to a 64-bit integer type. - - - - - Gets whether the limit operation will include tied results. Including tied results might produce more results than specified by the - - value. - - true if the limit operation will include tied results; otherwise, false. The default is false. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Specifies a single clause in an insert or update modification operation, see - and - - - An abstract base class allows the possibility of patterns other than - Property = Value in future versions, e.g., - update SomeTable - set ComplexTypeColumn.SomeProperty() - where Id = 2 - - - - Represents a data manipulation language (DML) operation expressed as a command tree. - - - - Gets the that specifies the target table for the data manipulation language (DML) operation. - - - The that specifies the target table for the DML operation. - - - - Represents the construction of a new instance of a given type, including set and record types. This class cannot be inherited. - - - - Gets an list that provides the property/column values or set elements for the new instance. - - - An list that provides the property/column values or set elements for the new instance. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the logical NOT of a single Boolean argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a reference to a typed null literal. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the retrieval of elements of the specified type from the given set argument. This class cannot be inherited. - - - Gets the metadata of the type of elements that should be retrieved from the set argument. - The metadata of the type of elements that should be retrieved from the set argument. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the logical OR of two Boolean arguments. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a reference to a parameter declared on the command tree that contains this expression. This class cannot be inherited. - - - Gets the name of the referenced parameter. - The name of the referenced parameter. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the projection of a given input set over the specified expression. This class cannot be inherited. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets the that defines the projection. - - - The that defines the projection. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the reference type of the current projection. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Provides methods and properties for retrieving an instance property. This class cannot be inherited. - - - Gets the property metadata for the property to retrieve. - The property metadata for the property to retrieve. - - - - Gets a that defines the instance from which the property should be retrieved. - - - A that defines the instance from which the property should be retrieved. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the type that defines the property. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Creates a new key/value pair based on this property expression. - - A new key/value pair with the key and value derived from the - - . - - - - - Enables implicit casting to . - - The expression to be converted. - The converted value. - - - Represents a quantifier operation of the specified kind over the elements of the specified input set. This class cannot be inherited. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - Gets the Boolean predicate that should be evaluated for each element in the input set. - The Boolean predicate that should be evaluated for each element in the input set. - The expression is null. - - The expression is not associated with the command tree for the - - ,or its result type is not a Boolean type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a query operation expressed as a command tree. This class cannot be inherited. - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - A boolean that indicates whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. - A boolean that indicates whether - filter over projection simplification should be used. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - A boolean that indicates whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - - - or - - is null - - - - does not represent a valid data space - - - - - Gets an that defines the logic of the query operation. - - - An that defines the logic of the query operation. - - The expression is null. - The expression is associated with a different command tree. - - - Gets the kind of this command tree. - The kind of this command tree. - - - Represents a strongly typed reference to a specific instance within an entity set. This class cannot be inherited. - - - Gets the metadata for the entity set that contains the instance. - The metadata for the entity set that contains the instance. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents the retrieval of the key value of the specified Reference as a row. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the navigation of a relationship. This class cannot be inherited. - - - Gets the metadata for the relationship over which navigation occurs. - The metadata for the relationship over which navigation occurs. - - - Gets the metadata for the relationship end to navigate from. - The metadata for the relationship end to navigate from. - - - Gets the metadata for the relationship end to navigate to. - The metadata for the relationship end to navigate to. - - - - Gets an that specifies the starting point of the navigation and must be a reference to an entity instance. - - - An that specifies the instance of the source relationship end from which navigation should occur. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the reference type of the - - property. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents a 'scan' of all elements of a given entity set. - - - - Gets the metadata for the referenced entity or relationship set. - The metadata for the referenced entity or relationship set. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Specifies the clause in a modification operation that sets the value of a property. This class cannot be inherited. - - - - Gets an that specifies the property that should be updated. - - - An that specifies the property that should be updated. - - - - - Gets an that specifies the new value with which to update the property. - - - An that specifies the new value with which to update the property. - - - - - Skips a specified number of elements in the input set. - - can only be used after the input collection has been sorted as specified by the sort keys. - - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets a list that defines the sort order. - - - A list that defines the sort order. - - - - Gets an expression that specifies the number of elements to skip from the input collection. - An expression that specifies the number of elements to skip from the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - ; the expression is not either a - - or a - - ; or the result type of the expression is not equal or promotable to a 64-bit integer type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Specifies a sort key that can be used as part of the sort order in a - - . This class cannot be inherited. - - - - Gets a Boolean value indicating whether or not this sort key uses an ascending sort order. - true if this sort key uses an ascending sort order; otherwise, false. - - - Gets a string value that specifies the collation for this sort key. - A string value that specifies the collation for this sort key. - - - - Gets the that provides the value for this sort key. - - - The that provides the value for this sort key. - - - - Represents a sort operation applied to the elements of the specified input set based on the given sort keys. This class cannot be inherited. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets a list that defines the sort order. - - - A list that defines the sort order. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by - visitor - - - visitor - is null. - - - Represents a type conversion operation applied to a polymorphic argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Implements the basic functionality required by expressions that accept a single expression argument. - - - - Gets the that defines the argument. - - - The that defines the argument. - - The expression is null. - - The expression is not associated with the command tree of a - - , or its result type is not equal or promotable to the required type for the argument. - - - - - Represents the set union (without duplicate removal) operation between the left and right operands. - - - DbUnionAllExpression requires that its arguments have a common collection result type - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a single-row update operation expressed as a command tree. This class cannot be inherited. - - Represents a single-row update operation expressed as a canonical command tree. - When the property is set, the command returns a reader; otherwise, - it returns a scalar indicating the number of rows affected. - - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - A predicate used to determine which members of the target collection should be updated. - The list of update set clauses that define the update operation. - A that specifies a projection of results to be returned, based on the modified rows. - - - Gets the list of update set clauses that define the update operation. - The list of update set clauses that define the update operation. - - - - Gets an that specifies a projection of results to be returned, based on the modified rows. - - - An that specifies a projection of results to be returned based, on the modified rows. null indicates that no results should be returned from this command. - - - - - Gets an that specifies the predicate used to determine which members of the target collection should be updated. - - - An that specifies the predicate used to determine which members of the target collection should be updated. - - - - Gets the kind of this command tree. - The kind of this command tree. - - - Represents a reference to a variable that is currently in scope. This class cannot be inherited. - - - Gets the name of the referenced variable. - The name of the referenced variable. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Visits each element of an expression tree from a given root expression. If any element changes, the tree is rebuilt back to the root and the new root expression is returned; otherwise the original root expression is returned. - - - - Initializes a new instance of the - - class. - - - - Replaces an old expression with a new one for the expression visitor. - The old expression. - The new expression. - - - Represents an event when the variable is rebound for the expression visitor. - The location of the variable. - The reference of the variable where it is rebounded. - - - Represents an event when entering the scope for the expression visitor with specified scope variables. - The collection of scope variables. - - - Exits the scope for the expression visitor. - - - Implements the visitor pattern for the expression. - The implemented visitor pattern. - The expression. - - - Implements the visitor pattern for the expression list. - The implemented visitor pattern. - The expression list. - - - Implements the visitor pattern for expression binding. - The implemented visitor pattern. - The expression binding. - - - Implements the visitor pattern for the expression binding list. - The implemented visitor pattern. - The expression binding list. - - - Implements the visitor pattern for the group expression binding. - The implemented visitor pattern. - The binding. - - - Implements the visitor pattern for the sort clause. - The implemented visitor pattern. - The sort clause. - - - Implements the visitor pattern for the sort order. - The implemented visitor pattern. - The sort order. - - - Implements the visitor pattern for the aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the function aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the group aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the Lambda function. - The implemented visitor pattern. - The lambda function. - - - Implements the visitor pattern for the type. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the type usage. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the entity set. - The implemented visitor pattern. - The entity set. - - - Implements the visitor pattern for the function. - The implemented visitor pattern. - The function metadata. - - - Implements the visitor pattern for the basic functionality required by expression types. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the different kinds of constants. - The implemented visitor. - The constant expression. - - - Implements the visitor pattern for a reference to a typed null literal. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a reference to a variable that is currently in scope. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a reference to a parameter declared on the command tree that contains this expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for an invocation of a function. - The implemented visitor. - The function expression. - - - Implements the visitor pattern for the application of a lambda function to arguments represented by DbExpression objects. - The implemented visitor. - The expression. - - - Implements the visitor pattern for retrieving an instance property. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the comparison operation applied to two arguments. - The implemented visitor. - The cast expression. - - - Implements the visitor pattern for a string comparison against the specified pattern with an optional escape string. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the restriction of the number of elements in the argument collection to the specified limit value. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the null determination applied to a single argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the arithmetic operation applied to numeric arguments. - The implemented visitor. - The arithmetic expression. - - - Implements the visitor pattern for the logical AND expression. - The implemented visitor. - The logical AND expression. - - - Implements the visitor pattern for the logical OR of two Boolean arguments. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the DbInExpression. - The implemented visitor. - The DbInExpression that is being visited. - - - Implements the visitor pattern for the logical NOT of a single Boolean argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the removed duplicate elements from the specified set argument. - The implemented visitor. - The distinct expression. - - - Implements the visitor pattern for the conversion of the specified set argument to a singleton the conversion of the specified set argument to a singleton. - The implemented visitor. - The element expression. - - - Implements the visitor pattern for an empty set determination applied to a single set argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set union operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set intersection operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set subtraction operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a type conversion operation applied to a polymorphic argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the type comparison of a single argument against the specified type. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the type conversion of a single argument to the specified type. - The implemented visitor. - The cast expression. - - - Implements the visitor pattern for the When, Then, and Else clauses. - The implemented visitor. - The case expression. - - - Implements the visitor pattern for the retrieval of elements of the specified type from the given set argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the construction of a new instance of a given type, including set and record types. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a strongly typed reference to a specific instance within an entity set. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the navigation of a relationship. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the expression that retrieves an entity based on the specified reference. - The implemented visitor. - The DEREF expression. - - - Implements the visitor pattern for the retrieval of the key value from the underlying reference value. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the expression that extracts a reference from the underlying entity instance. - The implemented visitor. - The entity reference expression. - - - Implements the visitor pattern for a scan over an entity set or relationship set, as indicated by the Target property. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a predicate applied to filter an input set. - The implemented visitor. - The filter expression. - - - Implements the visitor pattern for the projection of a given input set over the specified expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the unconditional join operation between the given collection arguments. - The implemented visitor. - The join expression. - - - Implements the visitor pattern for an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the invocation of the specified function for each element in the specified input set. - The implemented visitor. - The APPLY expression. - - - Implements the visitor pattern for a group by operation. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the skip expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a sort key that can be used as part of the sort order. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a quantifier operation of the specified kind over the elements of the specified input set. - The implemented visitor. - The expression. - - - - Provides an API to construct s and allows that API to be accessed as extension methods on the expression type itself. - - - - Returns the specified arguments as a key/value pair object. - A key/value pair object. - The value in the key/value pair. - The key in the key/value pair. - - - Returns the specified arguments as a key/value pair object. - A key/value pair object. - The value in the key/value pair. - The key in the key/value pair. - - - - Creates a new that uses a generated variable name to bind the given expression. - - A new expression binding with the specified expression and a generated variable name. - The expression to bind. - input is null. - input does not have a collection result. - - - - Creates a new that uses the specified variable name to bind the given expression - - A new expression binding with the specified expression and variable name. - The expression to bind. - The variable name that should be used for the binding. - input or varName is null. - input does not have a collection result. - - - Creates a new group expression binding that uses generated variable and group variable names to bind the given expression. - A new group expression binding with the specified expression and a generated variable name and group variable name. - The expression to bind. - input is null. - input does not have a collection result type. - - - - Creates a new that uses the specified variable name and group variable names to bind the given expression. - - A new group expression binding with the specified expression, variable name and group variable name. - The expression to bind. - The variable name that should be used for the binding. - The variable name that should be used to refer to the group when the new group expression binding is used in a group-by expression. - input, varName or groupVarName is null. - input does not have a collection result type. - - - - Creates a new . - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value false. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new that is applied in a distinct fashion. - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value true. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument is null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new . - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value false. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new that is applied in a distinct fashion. - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value true. - The function that defines the aggregate operation. - The arguments over which the aggregate function should be calculated. - function or argument is null. - function is not an aggregate function, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new over the specified argument - - The argument over which to perform the nest operation - A new group aggregate representing the elements of the group referenced by the given argument. - - - is null - - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new expression that describes an inline Lambda function with the specified body and formal parameters. - An expression that defines the logic of the Lambda function. - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - variables is null or contains null, or body is null. - variables contains more than one element with the same variable name. - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new expression that describes an inline Lambda function with the specified body and formal parameters. - An expression that defines the logic of the Lambda function. - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - variables is null or contains null, or body is null. - variables contains more than one element with the same variable name. - - - - Creates a new with an ascending sort order and default collation. - - A new sort clause with the given sort key and ascending sort order. - The expression that defines the sort key. - key is null. - key does not have an order-comparable result type. - - - - Creates a new with a descending sort order and default collation. - - A new sort clause with the given sort key and descending sort order. - The expression that defines the sort key. - key is null. - key does not have an order-comparable result type. - - - - Creates a new with an ascending sort order and the specified collation. - - A new sort clause with the given sort key and collation, and ascending sort order. - The expression that defines the sort key. - The collation to sort under. - key is null. - collation is empty or contains only space characters. - key does not have an order-comparable result type. - - - - Creates a new with a descending sort order and the specified collation. - - A new sort clause with the given sort key and collation, and descending sort order. - The expression that defines the sort key. - The collation to sort under. - key is null. - collation is empty or contains only space characters. - key does not have an order-comparable result type. - - - - Creates a new that determines whether the given predicate holds for all elements of the input set. - - A new DbQuantifierExpression that represents the All operation. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - predicate does not have a Boolean result type. - - - - Creates a new that determines whether the given predicate holds for any element of the input set. - - A new DbQuantifierExpression that represents the Any operation. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - An that specifies the input set. - - - An that specifies logic to evaluate once for each member of the input set. - - input or apply is null. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set have an apply column value of null. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of OuterApply. - - - An that specifies the input set. - - - An that specifies logic to evaluate once for each member of the input set. - - input or apply is null. - - - - Creates a new that unconditionally joins the sets specified by the list of input expression bindings. - - - A new DbCrossJoinExpression, with an of CrossJoin, that represents the unconditional join of the input sets. - - A list of expression bindings that specifies the input sets. - inputs is null or contains null element. - inputs contains fewer than 2 expression bindings. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using LeftOuterJoin as the - - . - - - A new DbJoinExpression, with an of LeftOuterJoin, that represents the left outer join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using FullOuterJoin as the - - . - - - A new DbJoinExpression, with an of FullOuterJoin, that represents the full outer join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that filters the elements in the given input set using the specified predicate. - - A new DbFilterExpression that produces the filtered set. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - predicate does not have a Boolean result type. - - - - Creates a new that groups the elements of the input set according to the specified group keys and applies the given aggregates. - - A new DbGroupByExpression with the specified input set, grouping keys and aggregates. - - A that specifies the input set. - - A list of string-expression pairs that define the grouping columns. - A list of expressions that specify aggregates to apply. - input, keys or aggregates is null, keys contains a null column key or expression, or aggregates contains a null aggregate column name or aggregate. - Both keys and aggregates are empty, or an invalid or duplicate column name was specified. - - - - Creates a new that projects the specified expression over the given input set. - - A new DbProjectExpression that represents the projection operation. - An expression binding that specifies the input set. - An expression to project over the set. - input or projection is null. - - - - Creates a new that sorts the given input set by the given sort specifications before skipping the specified number of elements. - - A new DbSkipExpression that represents the skip operation. - An expression binding that specifies the input set. - A list of sort specifications that determine how the elements of the input set should be sorted. - An expression the specifies how many elements of the ordered set to skip. - input, sortOrder or count is null, or sortOrder contains null. - - sortOrder is empty, or count is not or - - or has a result type that is not equal or promotable to a 64-bit integer type. - - - - - Creates a new that sorts the given input set by the specified sort specifications. - - A new DbSortExpression that represents the sort operation. - An expression binding that specifies the input set. - A list of sort specifications that determine how the elements of the input set should be sorted. - input or sortOrder is null, or sortOrder contains null. - sortOrder is empty. - - - - Creates a new , which represents a typed null value. - - An instance of DbNullExpression. - The type of the null value. - nullType is null. - - - - Gets a with the Boolean value true. - - - A with the Boolean value true. - - - - - Gets a with the Boolean value false. - - - A with the Boolean value false. - - - - - Creates a new with the given constant value. - - A new DbConstantExpression with the given value. - The constant value to represent. - value is null. - value is not an instance of a valid constant type. - - - - Creates a new of the specified primitive type with the given constant value. - - A new DbConstantExpression with the given value and a result type of constantType. - The type of the constant value. - The constant value to represent. - value or constantType is null. - value is not an instance of a valid constant type, constantType does not represent a primitive type, or value is of a different primitive type than that represented by constantType. - - - - Creates a new that references a parameter with the specified name and type. - - A DbParameterReferenceExpression that represents a reference to a parameter with the specified name and type. The result type of the expression will be the same as type. - The type of the referenced parameter. - The name of the referenced parameter. - - - - Creates a new that references a variable with the specified name and type. - - A DbVariableReferenceExpression that represents a reference to a variable with the specified name and type. The result type of the expression will be the same as type. - The type of the referenced variable. - The name of the referenced variable. - - - - Creates a new that references the specified entity or relationship set. - - A new DbScanExpression based on the specified entity or relationship set. - Metadata for the entity or relationship set to reference. - targetSet is null. - - - - Creates an that performs the logical And of the left and right arguments. - - A new DbAndExpression with the specified arguments. - A Boolean expression that specifies the left argument. - A Boolean expression that specifies the right argument. - left or right is null. - left and right does not have a Boolean result type. - - - - Creates an that performs the logical Or of the left and right arguments. - - A new DbOrExpression with the specified arguments. - A Boolean expression that specifies the left argument. - A Boolean expression that specifies the right argument. - left or right is null. - left or right does not have a Boolean result type. - - - - Creates a that matches the result of the specified - expression with the results of the constant expressions in the specified list. - - A DbExpression to be matched. - A list of DbConstantExpression to test for a match. - - A new DbInExpression with the specified arguments. - - - - or - - is null. - - - The result type of - - is different than the result type of an expression from - . - - - - - Creates a that performs the logical negation of the given argument. - - A new DbNotExpression with the specified argument. - A Boolean expression that specifies the argument. - argument is null. - argument does not have a Boolean result type. - - - - Creates a new that divides the left argument by the right argument. - - A new DbArithmeticExpression representing the division operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left or right. - - - - Creates a new that subtracts the right argument from the left argument. - - A new DbArithmeticExpression representing the subtraction operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that computes the remainder of the left argument divided by the right argument. - - A new DbArithmeticExpression representing the modulo operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that multiplies the left argument by the right argument. - - A new DbArithmeticExpression representing the multiplication operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that adds the left argument to the right argument. - - A new DbArithmeticExpression representing the addition operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that negates the value of the argument. - - A new DbArithmeticExpression representing the negation operation. - An expression that specifies the argument. - argument is null. - No numeric result type exists for argument. - - - - Creates a new that negates the value of the argument. - - A new DbArithmeticExpression representing the negation operation. - An expression that specifies the argument. - argument is null. - No numeric result type exists for argument. - - - - Creates a new that compares the left and right arguments for equality. - - A new DbComparisonExpression representing the equality comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common equality-comparable result type exists between left and right. - - - - Creates a new that compares the left and right arguments for inequality. - - A new DbComparisonExpression representing the inequality comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common equality-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is greater than the right argument. - - A new DbComparisonExpression representing the greater-than comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is less than the right argument. - - A new DbComparisonExpression representing the less-than comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is greater than or equal to the right argument. - - A new DbComparisonExpression representing the greater-than-or-equal-to comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is less than or equal to the right argument. - - A new DbComparisonExpression representing the less-than-or-equal-to comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common result type that is both equality- and order-comparable exists between left and right. - - - - Creates a new that determines whether the specified argument is null. - - A new DbIsNullExpression with the specified argument. - An expression that specifies the argument. - argument is null. - argument has a collection result type. - - - - Creates a new that compares the specified input string to the given pattern. - - A new DbLikeExpression with the specified input, pattern and a null escape. - An expression that specifies the input string. - An expression that specifies the pattern string. - Argument or pattern is null. - Argument or pattern does not have a string result type. - - - - Creates a new that compares the specified input string to the given pattern using the optional escape. - - A new DbLikeExpression with the specified input, pattern and escape. - An expression that specifies the input string. - An expression that specifies the pattern string. - An optional expression that specifies the escape string. - argument, pattern or escape is null. - argument, pattern or escape does not have a string result type. - - - - Creates a new that applies a cast operation to a polymorphic argument. - - A new DbCastExpression with the specified argument and target type. - The argument to which the cast should be applied. - Type metadata that specifies the type to cast to. - Argument or toType is null. - The specified cast is not valid. - - - - Creates a new . - - A new DbTreatExpression with the specified argument and type. - An expression that specifies the instance. - Type metadata for the treat-as type. - argument or treatType is null. - treatType is not in the same type hierarchy as the result type of argument. - - - - Creates a new that produces a set consisting of the elements of the given input set that are of the specified type. - - - A new DbOfTypeExpression with the specified set argument and type, and an ExpressionKind of - - . - - - A that specifies the input set. - - Type metadata for the type that elements of the input set must have to be included in the resulting set. - argument or type is null. - argument does not have a collection result type, or type is not a type in the same type hierarchy as the element type of the collection result type of argument. - - - - Creates a new that produces a set consisting of the elements of the given input set that are of exactly the specified type. - - - A new DbOfTypeExpression with the specified set argument and type, and an ExpressionKind of - - . - - - An that specifies the input set. - - Type metadata for the type that elements of the input set must match exactly to be included in the resulting set. - argument or type is null. - argument does not have a collection result type, or type is not a type in the same type hierarchy as the element type of the collection result type of argument. - - - - Creates a new that determines whether the given argument is of the specified type or a subtype. - - A new DbIsOfExpression with the specified instance and type and DbExpressionKind IsOf. - An expression that specifies the instance. - Type metadata that specifies the type that the instance's result type should be compared to. - argument or type is null. - type is not in the same type hierarchy as the result type of argument. - - - - Creates a new expression that determines whether the given argument is of the specified type, and only that type (not a subtype). - - A new DbIsOfExpression with the specified instance and type and DbExpressionKind IsOfOnly. - An expression that specifies the instance. - Type metadata that specifies the type that the instance's result type should be compared to. - argument or type is null. - type is not in the same type hierarchy as the result type of argument. - - - - Creates a new that retrieves a specific Entity given a reference expression. - - A new DbDerefExpression that retrieves the specified Entity. - - An that provides the reference. This expression must have a reference Type. - - argument is null. - argument does not have a reference result type. - - - - Creates a new that retrieves the ref of the specified entity in structural form. - - A new DbEntityRefExpression that retrieves a reference to the specified entity. - The expression that provides the entity. This expression must have an entity result type. - argument is null. - argument does not have an entity result type. - - - - Creates a new that encodes a reference to a specific entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet is null, or keyValues is null or contains null. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet is null, or keyValues is null or contains null. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity of a given type based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - The specific type of the referenced entity. This must be an entity type from the same hierarchy as the entity set's element type. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet or entityType is null, or keyValues is null or contains null. - entityType is not from the same type hierarchy (a subtype, supertype, or the same type) as entitySet's element type. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity of a given type based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - The specific type of the referenced entity. This must be an entity type from the same hierarchy as the entity set's element type. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet or entityType is null, or keyValues is null or contains null. - entityType is not from the same type hierarchy (a subtype, supertype, or the same type) as entitySet's element type. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific Entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given Entity set. - The Entity set in which the referenced element resides. - - A that constructs a record with columns that match (in number, type, and order) the Key properties of the referenced Entity type. - - entitySet or keyRow is null. - keyRow does not have a record result type that matches the key properties of the referenced entity set's entity type. - - - - Creates a new that encodes a reference to a specific Entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given Entity set. - The Entity set in which the referenced element resides. - - A that constructs a record with columns that match (in number, type, and order) the Key properties of the referenced Entity type. - - The type of the Entity that the reference should refer to. - entitySet, keyRow or entityType is null. - entityType is not in the same type hierarchy as the entity set's entity type, or keyRow does not have a record result type that matches the key properties of the referenced entity set's entity type. - - - - Creates a new that retrieves the key values of the specified reference in structural form. - - A new DbRefKeyExpression that retrieves the key values of the specified reference. - The expression that provides the reference. This expression must have a reference Type with an Entity element type. - argument is null. - argument does not have a reference result type. - - - - Creates a new representing the navigation of a composition or association relationship. - - A new DbRelationshipNavigationExpression representing the navigation of the specified from and to relation ends of the specified relation type from the specified navigation source instance. - An expression that specifies the instance from which navigation should occur. - Metadata for the property that represents the end of the relationship from which navigation should occur. - Metadata for the property that represents the end of the relationship to which navigation should occur. - fromEnd, toEnd or navigateFrom is null. - fromEnd and toEnd are not declared by the same relationship type, or navigateFrom has a result type that is not compatible with the property type of fromEnd. - - - - Creates a new representing the navigation of a composition or association relationship. - - A new DbRelationshipNavigationExpression representing the navigation of the specified from and to relation ends of the specified relation type from the specified navigation source instance. - Metadata for the relation type that represents the relationship. - The name of the property of the relation type that represents the end of the relationship from which navigation should occur. - The name of the property of the relation type that represents the end of the relationship to which navigation should occur. - An expression the specifies the instance from which navigation should occur. - type, fromEndName, toEndName or navigateFrom is null. - type is not associated with this command tree's metadata workspace or navigateFrom is associated with a different command tree, or type does not declare a relation end property with name toEndName or fromEndName, or navigateFrom has a result type that is not compatible with the property type of the relation end property with name fromEndName. - - - - Creates a new that removes duplicates from the given set argument. - - A new DbDistinctExpression that represents the distinct operation applied to the specified set argument. - An expression that defines the set over which to perform the distinct operation. - argument is null. - argument does not have a collection result type. - - - - Creates a new that converts a set into a singleton. - - A DbElementExpression that represents the conversion of the set argument to a singleton. - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that determines whether the specified set argument is an empty set. - - A new DbIsEmptyExpression with the specified argument. - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that computes the subtraction of the right set argument from the left set argument. - - A new DbExceptExpression that represents the difference of the left argument from the right argument. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type exists between left and right. - - - - Creates a new that computes the intersection of the left and right set arguments. - - A new DbIntersectExpression that represents the intersection of the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type exists between left or right. - - - - Creates a new that computes the union of the left and right set arguments and does not remove duplicates. - - A new DbUnionAllExpression that union, including duplicates, of the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type with an equality-comparable element type exists between left and right. - - - - Creates a new that restricts the number of elements in the Argument collection to the specified count Limit value. Tied results are not included in the output. - - A new DbLimitExpression with the specified argument and count limit values that does not include tied results. - An expression that specifies the input collection. - An expression that specifies the limit value. - argument or count is null. - argument does not have a collection result type, or count does not have a result type that is equal or promotable to a 64-bit integer type. - - - - Creates a new . - - A new DbCaseExpression with the specified cases and default result. - A list of expressions that provide the conditional for of each case. - A list of expressions that provide the result of each case. - An expression that defines the result when no case is matched. - whenExpressions or thenExpressions is null or contains null, or elseExpression is null. - whenExpressions or thenExpressions is empty or whenExpressions contains an expression with a non-Boolean result type, or no common result type exists for all expressions in thenExpressions and elseExpression. - - - - Creates a new representing the invocation of the specified function with the given arguments. - - A new DbFunctionExpression representing the function invocation. - Metadata for the function to invoke. - A list of expressions that provide the arguments to the function. - function is null, or arguments is null or contains null. - The count of arguments does not equal the number of parameters declared by function, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding function parameter type. - - - - Creates a new representing the invocation of the specified function with the given arguments. - - A new DbFunctionExpression representing the function invocation. - Metadata for the function to invoke. - Expressions that provide the arguments to the function. - function is null, or arguments is null or contains null. - The count of arguments does not equal the number of parameters declared by function, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding function parameter type. - - - - Creates a new representing the application of the specified Lambda function to the given arguments. - - A new Expression representing the Lambda function application. - - A instance representing the Lambda function to apply. - - A list of expressions that provide the arguments. - lambda or arguments is null. - The count of arguments does not equal the number of variables declared by lambda, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding variable type. - - - - Creates a new representing the application of the specified Lambda function to the given arguments. - - A new expression representing the Lambda function application. - - A instance representing the Lambda function to apply. - - Expressions that provide the arguments. - lambda or arguments is null. - The count of arguments does not equal the number of variables declared by lambda, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding variable type. - - - - Creates a new . If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance. - - A new DbNewInstanceExpression with the specified type and arguments. - The type of the new instance. - Expressions that specify values of the new instances, interpreted according to the instance's type. - instanceType or arguments is null, or arguments contains null. - arguments is empty or the result types of the contained expressions do not match the requirements of instanceType (as explained in the remarks section). - - - - Creates a new . If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance. - - A new DbNewInstanceExpression with the specified type and arguments. - The type of the new instance. - Expressions that specify values of the new instances, interpreted according to the instance's type. - instanceType or arguments is null, or arguments contains null. - arguments is empty or the result types of the contained expressions do not match the requirements of instanceType (as explained in the remarks section). - - - - Creates a new that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown. - - A new DbNewInstanceExpression with the specified collection type and arguments. - A list of expressions that provide the elements of the collection. - elements is null, or contains null. - elements is empty or contains expressions for which no common result type exists. - - - - Creates a new that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown. - - A new DbNewInstanceExpression with the specified collection type and arguments. - A list of expressions that provide the elements of the collection. - elements is null, or contains null.. - elements is empty or contains expressions for which no common result type exists. - - - - Creates a new that constructs an empty collection of the specified collection type. - - A new DbNewInstanceExpression with the specified collection type and an empty Arguments list. - The type metadata for the collection to create - collectionType is null. - collectionType is not a collection type. - - - - Creates a new that produces a row with the specified named columns and the given values, specified as expressions. - - A new DbNewInstanceExpression that represents the construction of the row. - A list of string-DbExpression key-value pairs that defines the structure and values of the row. - columnValues is null or contains an element with a null column name or expression. - columnValues is empty, or contains a duplicate or invalid column name. - - - - Creates a new representing the retrieval of the specified property. - - A new DbPropertyExpression representing the property retrieval. - The instance from which to retrieve the property. May be null if the property is static. - Metadata for the property to retrieve. - propertyMetadata is null or instance is null and the property is not static. - - - - Creates a new representing the retrieval of the specified navigation property. - - A new DbPropertyExpression representing the navigation property retrieval. - The instance from which to retrieve the navigation property. - Metadata for the navigation property to retrieve. - navigationProperty or instance is null. - - - - Creates a new representing the retrieval of the specified relationship end member. - - A new DbPropertyExpression representing the relationship end member retrieval. - The instance from which to retrieve the relationship end member. - Metadata for the relationship end member to retrieve. - relationshipEnd is null or instance is null and the property is not static. - - - - Creates a new representing the retrieval of the instance property with the specified name from the given instance. - - A new DbPropertyExpression that represents the property retrieval. - The instance from which to retrieve the property. - The name of the property to retrieve. - propertyName is null or instance is null and the property is not static. - No property with the specified name is declared by the type of instance. - - - - Creates a new representing setting a property to a value. - - The property to be set. - The value to set the property to. - The newly created set clause. - - - - Creates a new that determines whether the given predicate holds for all elements of the input set. - - A new DbQuantifierExpression that represents the All operation. - An expression that specifies the input set. - A method representing a predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - source does not have a collection result type. - The expression produced by Predicate does not have a Boolean result type. - - - - Creates a new that determines whether the specified set argument is non-empty. - - - A new applied to a new - - with the specified argument. - - An expression that specifies the input set. - source is null. - source does not have a collection result type. - - - - Creates a new that determines whether the specified set argument is non-empty. - - - A new applied to a new - - with the specified argument. - - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that determines whether the given predicate holds for any element of the input set. - - A new DbQuantifierExpression that represents the Any operation. - An expression that specifies the input set. - A method representing the predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - source does not have a collection result type. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that specifies the logic to evaluate once for each member of the input set. - source or apply is null. - source does not have a collection result type. - The result of apply contains a name or expression that is null. - The result of apply contains a name or expression that is not valid in an expression binding. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set have an apply column value of null. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of OuterApply. - - - A that specifies the input set. - - A method that specifies the logic to evaluate once for each member of the input set. - source or apply is null. - Source does not have a collection result type. - The result of apply contains a name or expression that is null. - The result of apply contains a name or expression that is not valid in an expression binding. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using FullOuterJoin as the - - . - - - A new DbJoinExpression, with an of FullOuterJoin, that represents the full outer join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using LeftOuterJoin as the - - . - - - A new DbJoinExpression, with an of LeftOuterJoin, that represents the left outer join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the outer and inner expressions, on an equality condition between the specified outer and inner keys, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under a join condition that compares the outer and inner key values for equality. - - - A that specifies the outer set argument. - - - A that specifies the inner set argument. - - A method that specifies how the outer key value should be derived from an element of the outer set. - A method that specifies how the inner key value should be derived from an element of the inner set. - outer, inner, outerKey or innerKey is null. - outer or inner does not have a collection result type. - The expression produced by outerKey or innerKey is null. - The expressions produced by outerKey and innerKey are not comparable for equality. - - - - Creates a new that projects the specified selector over the sets specified by the outer and inner expressions, joined on an equality condition between the specified outer and inner keys, using InnerJoin as the - - . - - - A new DbProjectExpression with the specified selector as its projection, and a new DbJoinExpression as its input. The input DbJoinExpression is created with an - - of InnerJoin, that represents the inner join operation applied to the left and right input sets under a join condition that compares the outer and inner key values for equality. - - - A that specifies the outer set argument. - - - A that specifies the inner set argument. - - A method that specifies how the outer key value should be derived from an element of the outer set. - A method that specifies how the inner key value should be derived from an element of the inner set. - - A method that specifies how an element of the result set should be derived from elements of the inner and outer sets. This method must produce an instance of a type that is compatible with Join and can be resolved into a - - . Compatibility requirements for TSelector are described in remarks. - - The type of the selector . - outer, inner, outerKey, innerKey or selector is null. - outer or inner does not have a collection result type. - The expression produced by outerKey or innerKey is null. - The result of selector is null after conversion to DbExpression. - The expressions produced by outerKey and innerKey is not comparable for equality. - The result of Selector is not compatible with SelectMany. - - - - Creates a new that sorts the given input set by the specified sort key, with ascending sort order and default collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that sorts the given input set by the specified sort key, with ascending sort order and the specified collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that sorts the given input set by the specified sort key, with descending sort order and default collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that sorts the given input set by the specified sort key, with descending sort order and the specified collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that selects the specified expression over the given input set. - - A new DbProjectExpression that represents the select operation. - An expression that specifies the input set. - - A method that specifies how to derive the projected expression given a member of the input set. This method must produce an instance of a type that is compatible with Select and can be resolved into a - - . Compatibility requirements for TProjection are described in remarks. - - The method result type of projection. - source or projection is null. - The result of projection is null. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. A - - is then created that selects the apply column from each row, producing the overall collection of apply results. - - - An new DbProjectExpression that selects the apply column from a new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that represents the logic to evaluate once for each member of the input set. - source or apply is null. - The expression produced by apply is null. - source does not have a collection result type. - The expression produced by apply does not have a collection type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. A - - is then created that selects the specified selector over each row, producing the overall collection of results. - - - An new DbProjectExpression that selects the result of the given selector from a new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that represents the logic to evaluate once for each member of the input set. - - A method that specifies how an element of the result set should be derived given an element of the input and apply sets. This method must produce an instance of a type that is compatible with SelectMany and can be resolved into a - - . Compatibility requirements for TSelector are described in remarks. - - The method result type of selector. - source, apply or selector is null. - The expression produced by apply is null. - The result of selector is null on conversion to DbExpression. - source does not have a collection result type. - The expression produced by apply does not have a collection type. does not have a collection type. - - - - Creates a new that skips the specified number of elements from the given sorted input set. - - A new DbSkipExpression that represents the skip operation. - - A that specifies the sorted input set. - - An expression the specifies how many elements of the ordered set to skip. - argument or count is null. - - count is not or - - or has a result type that is not equal or promotable to a 64-bit integer type. - - - - - Creates a new that restricts the number of elements in the Argument collection to the specified count Limit value. Tied results are not included in the output. - - A new DbLimitExpression with the specified argument and count limit values that does not include tied results. - An expression that specifies the input collection. - An expression that specifies the limit value. - argument or count is null. - argument does not have a collection result type, count does not have a result type that is equal or promotable to a 64-bit integer type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in ascending sort order and with default collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - sortKey does not have an order-comparable result type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in ascending sort order and with the specified collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in descending sort order and with default collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in descending sort order and with the specified collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that filters the elements in the given input set using the specified predicate. - - A new DbQuantifierExpression that represents the Any operation. - An expression that specifies the input set. - A method representing the predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that computes the union of the left and right set arguments with duplicates removed. - - A new DbExpression that computes the union, without duplicates, of the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type with an equality-comparable element type exists between left and right. - - - - Provides an API to construct s that invoke canonical EDM functions, and allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'Avg' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the average value. - An expression that specifies the collection from which the average value should be computed. - - - - Creates a that invokes the canonical 'Count' function over the specified collection. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that produces the count value. - An expression that specifies the collection over which the count value should be computed. - - - - Creates a that invokes the canonical 'BigCount' function over the specified collection. The result type of the expression is Edm.Int64. - - A new DbFunctionExpression that produces the count value. - An expression that specifies the collection over which the count value should be computed. - - - - Creates a that invokes the canonical 'Max' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the maximum value. - An expression that specifies the collection from which the maximum value should be retrieved - - - - Creates a that invokes the canonical 'Min' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the minimum value. - An expression that specifies the collection from which the minimum value should be retrieved. - - - - Creates a that invokes the canonical 'Sum' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the sum. - An expression that specifies the collection from which the sum should be computed. - - - - Creates a that invokes the canonical 'StDev' function over the non-null members of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the standard deviation value over non-null members of the collection. - An expression that specifies the collection for which the standard deviation should be computed. - - - - Creates a that invokes the canonical 'StDevP' function over the population of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the standard deviation value. - An expression that specifies the collection for which the standard deviation should be computed. - - - - Creates a that invokes the canonical 'Var' function over the non-null members of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the statistical variance value for the non-null members of the collection. - An expression that specifies the collection for which the statistical variance should be computed. - - - - Creates a that invokes the canonical 'VarP' function over the population of the specified collection. The result type of the expression Edm.Double. - - A new DbFunctionExpression that produces the statistical variance value. - An expression that specifies the collection for which the statistical variance should be computed. - - - - Creates a that invokes the canonical 'Concat' function with the specified arguments, which must each have a string result type. The result type of the expression is string. - - A new DbFunctionExpression that produces the concatenated string. - An expression that specifies the string that should appear first in the concatenated result string. - An expression that specifies the string that should appear second in the concatenated result string. - - - - Creates a that invokes the canonical 'Contains' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not searchedForString occurs within searchedString. - An expression that specifies the string to search for any occurrence of searchedForString. - An expression that specifies the string to search for in searchedString. - - - - Creates a that invokes the canonical 'EndsWith' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not stringArgument ends with suffix. - An expression that specifies the string that is searched at the end for string suffix. - An expression that specifies the target string that is searched for at the end of stringArgument. - - - - Creates a that invokes the canonical 'IndexOf' function with the specified arguments, which must each have a string result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the first index of stringToFind in searchString. - An expression that specifies the string to search for stringToFind. - An expression that specifies the string to locate within searchString should be checked. - - - - Creates a that invokes the canonical 'Left' function with the specified arguments, which must have a string and integer numeric result type. The result type of the expression is string. - - A new DbFunctionExpression that returns the leftmost substring of length from stringArgument. - An expression that specifies the string from which to extract the leftmost substring. - An expression that specifies the length of the leftmost substring to extract from stringArgument. - - - - Creates a that invokes the canonical 'Length' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the length of stringArgument. - An expression that specifies the string for which the length should be computed. - - - - Creates a that invokes the canonical 'Replace' function with the specified arguments, which must each have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression than returns a new string based on stringArgument where every occurrence of toReplace is replaced by replacement. - An expression that specifies the string in which to perform the replacement operation. - An expression that specifies the string that is replaced. - An expression that specifies the replacement string. - - - - Creates a that invokes the canonical 'Reverse' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that produces the reversed value of stringArgument. - An expression that specifies the string to reverse. - - - - Creates a that invokes the canonical 'Right' function with the specified arguments, which must have a string and integer numeric result type. The result type of the expression is string. - - A new DbFunctionExpression that returns the rightmost substring of length from stringArgument. - An expression that specifies the string from which to extract the rightmost substring. - An expression that specifies the length of the rightmost substring to extract from stringArgument. - - - - Creates a that invokes the canonical 'StartsWith' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not stringArgument starts with prefix. - An expression that specifies the string that is searched at the start for string prefix. - An expression that specifies the target string that is searched for at the start of stringArgument. - - - - Creates a that invokes the canonical 'Substring' function with the specified arguments, which must have a string and integer numeric result types. The result type of the expression is string. - - A new DbFunctionExpression that returns the substring of length from stringArgument starting at start. - An expression that specifies the string from which to extract the substring. - An expression that specifies the starting index from which the substring should be taken. - An expression that specifies the length of the substring. - - - - Creates a that invokes the canonical 'ToLower' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument converted to lower case. - An expression that specifies the string that should be converted to lower case. - - - - Creates a that invokes the canonical 'ToUpper' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument converted to upper case. - An expression that specifies the string that should be converted to upper case. - - - - Creates a that invokes the canonical 'Trim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with leading and trailing space removed. - An expression that specifies the string from which leading and trailing space should be removed. - - - - Creates a that invokes the canonical 'RTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with trailing space removed. - An expression that specifies the string from which trailing space should be removed. - - - - Creates a that invokes the canonical 'LTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with leading space removed. - An expression that specifies the string from which leading space should be removed. - - - - Creates a that invokes the canonical 'Year' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer year value from dateValue. - An expression that specifies the value from which the year should be retrieved. - - - - Creates a that invokes the canonical 'Month' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer month value from dateValue. - An expression that specifies the value from which the month should be retrieved. - - - - Creates a that invokes the canonical 'Day' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer day value from dateValue. - An expression that specifies the value from which the day should be retrieved. - - - - Creates a that invokes the canonical 'DayOfYear' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer day of year value from dateValue. - An expression that specifies the value from which the day within the year should be retrieved. - - - - Creates a that invokes the canonical 'Hour' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer hour value from timeValue. - An expression that specifies the value from which the hour should be retrieved. - - - - Creates a that invokes the canonical 'Minute' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer minute value from timeValue. - An expression that specifies the value from which the minute should be retrieved. - - - - Creates a that invokes the canonical 'Second' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer second value from timeValue. - An expression that specifies the value from which the second should be retrieved. - - - - Creates a that invokes the canonical 'Millisecond' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer millisecond value from timeValue. - An expression that specifies the value from which the millisecond should be retrieved. - - - - Creates a that invokes the canonical 'GetTotalOffsetMinutes' function with the specified argument, which must have a DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of minutes dateTimeOffsetArgument is offset from GMT. - An expression that specifies the DateTimeOffset value from which the minute offset from GMT should be retrieved. - - - - Creates a that gets local DateTime using CAST expressions from specified argument, which must have a DateTimeOffset result type. The result type of the expression is DateTime. - - A new DbFunctionExpression that casts DATETIMEOFFSET to DATETIME2, discarding offset part - An expression that specifies the DateTimeOffset value. - - - - Creates a that gets UTC DateTime using CAST expressions from specified argument, which must have a DateTimeOffset result type. The result type of the expression is DateTime. - - A new DbFunctionExpression that casts DATETIMEOFFSET to Utc DATETIME2 - An expression that specifies the DateTimeOffset value. - - - - Creates a that invokes the canonical 'CurrentDateTime' function. - - A new DbFunctionExpression that returns the current date and time as an Edm.DateTime instance. - - - - Creates a that invokes the canonical 'CurrentDateTimeOffset' function. - - A new DbFunctionExpression that returns the current date and time as an Edm.DateTimeOffset instance. - - - - Creates a that invokes the canonical 'CurrentUtcDateTime' function. - - A new DbFunctionExpression that returns the current UTC date and time as an Edm.DateTime instance. - - - - Creates a that invokes the canonical 'TruncateTime' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that returns the value of dateValue with time set to zero. - An expression that specifies the value for which the time portion should be truncated. - - - - Creates a that invokes the canonical 'CreateDateTime' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.DateTime. - - A new DbFunctionExpression that returns a new DateTime based on the specified values. - An expression that provides the year value for the new DateTime instance. - An expression that provides the month value for the new DateTime instance. - An expression that provides the day value for the new DateTime instance. - An expression that provides the hour value for the new DateTime instance. - An expression that provides the minute value for the new DateTime instance. - An expression that provides the second value for the new DateTime instance. - - - - Creates a that invokes the canonical 'CreateDateTimeOffset' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.DateTimeOffset. - - A new DbFunctionExpression that returns a new DateTimeOffset based on the specified values. - An expression that provides the year value for the new DateTimeOffset instance. - An expression that provides the month value for the new DateTimeOffset instance. - An expression that provides the day value for the new DateTimeOffset instance. - An expression that provides the hour value for the new DateTimeOffset instance. - An expression that provides the minute value for the new DateTimeOffset instance. - An expression that provides the second value for the new DateTimeOffset instance. - An expression that provides the number of minutes in the time zone offset value for the new DateTimeOffset instance. - - - - Creates a that invokes the canonical 'CreateTime' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.Time. - - A new DbFunctionExpression that returns a new Time based on the specified values. - An expression that provides the hour value for the new DateTime instance. - An expression that provides the minute value for the new DateTime instance. - An expression that provides the second value for the new DateTime instance. - - - - Creates a that invokes the canonical 'AddYears' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of years specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of years to add to dateValue. - - - - Creates a that invokes the canonical 'AddMonths' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of months specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of months to add to dateValue. - - - - Creates a that invokes the canonical 'AddDays' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of days specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of days to add to dateValue. - - - - Creates a that invokes the canonical 'AddHours' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of hours specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of hours to add to timeValue. - - - - Creates a that invokes the canonical 'AddMinutes' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of minutes specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of minutes to add to timeValue. - - - - Creates a that invokes the canonical 'AddSeconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of seconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of seconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddMilliseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of milliseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of milliseconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddMicroseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of microseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of microseconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddNanoseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of nanoseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of nanoseconds to add to timeValue. - - - - Creates a that invokes the canonical 'DiffYears' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of years that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffMonths' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of months that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffDays' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of days that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffHours' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of hours that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMinutes' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of minutes that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffSeconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of seconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMilliseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of milliseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMicroseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of microseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffNanoseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of nanoseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'Round' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that rounds the specified argument to the nearest integer value. - An expression that specifies the numeric value to round. - - - - Creates a that invokes the canonical 'Round' function with the specified arguments, which must have a single, double or decimal, and integer result types. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that rounds the specified argument to the nearest integer value, with precision as specified by digits. - An expression that specifies the numeric value to round. - An expression that specifies the number of digits of precision to use when rounding. - - - - Creates a that invokes the canonical 'Floor' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the largest integer value not greater than value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Ceiling' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the smallest integer value not less than the value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Abs' function with the specified argument, which must each have a numeric result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the absolute value of value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Truncate' function with the specified arguments, which must have a single, double or decimal, and integer result types. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that truncates the specified argument to the nearest integer value, with precision as specified by digits. - An expression that specifies the numeric value to truncate. - An expression that specifies the number of digits of precision to use when truncating. - - - - Creates a that invokes the canonical 'Power' function with the specified arguments, which must have numeric result types. The result type of the expression is the same as the result type of baseArgument. - - A new DbFunctionExpression that returns the value of baseArgument raised to the power specified by exponent. - An expression that specifies the numeric value to raise to the given power. - An expression that specifies the power to which baseArgument should be raised. - - - - Creates a that invokes the canonical 'BitwiseAnd' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise AND of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'BitwiseOr' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise OR of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'BitwiseNot' function with the specified argument, which must have an integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise NOT of value. - An expression that specifies the first operand. - - - - Creates a that invokes the canonical 'BitwiseXor' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise XOR (exclusive OR) of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'NewGuid' function. - - A new DbFunctionExpression that returns a new GUID value. - - - - Provides an API to construct s that invoke hierarchyid realted canonical EDM functions, and, where appropriate, allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'HierarchyIdParse' function with the - specified argument, which must have a string result type. - The result type of the expression is Edm.HierarchyId. - - An expression that provides the canonical representation of the hierarchyid value. - A new DbFunctionExpression that returns a new hierarchyid value based on the specified value. - - - is null. - - - No overload of the canonical 'HierarchyIdParse' function accept an argument with the result type of - - . - - - - - Creates a that invokes the canonical 'HierarchyIdGetRoot' function. - The result type of the expression is Edm.HierarchyId. - - A new DbFunctionExpression that returns a new root hierarchyid value. - - - - Creates a that invokes the canonical 'GetAncestor' function with the - specified argument, which must have an Int32 result type. - The result type of the expression is Edm.HierarchyId. - - An expression that specifies the hierarchyid value. - An expression that provides an integer value. - A new DbFunctionExpression that returns a hierarchyid. - - - or - - is null. - - - No overload of the canonical 'GetAncestor' function accept an argument with the result type of - - . - - - - - Creates a that invokes the canonical 'GetDescendant' function with the - specified argument, which must have a HierarchyId result type. - The result type of the expression is Edm.HierarchyId. - - An expression that specifies the hierarchyid value. - An expression that provides a hierarchyid value. - An expression that provides a hierarchyid value. - A new DbFunctionExpression that returns a hierarchyid. - - - or - - or - - is null. - - - No overload of the canonical 'GetDescendant' function accept an argument with the result type of - - and - - . - - - - - Creates a that invokes the canonical 'GetLevel' function. - The result type of the expression is Int32. - - An expression that specifies the hierarchyid value. - A new DbFunctionExpression that returns the level of the given hierarchyid. - - - is null. - - - - - Creates a that invokes the canonical 'IsDescendantOf' function with the - specified argument, which must have a HierarchyId result type. - The result type of the expression is Int32. - - An expression that specifies the hierarchyid value. - An expression that provides a hierarchyid value. - A new DbFunctionExpression that returns an integer value. - - - or - - is null. - - - No overload of the canonical 'IsDescendantOf' function accept an argument with the result type of - - . - - - - - Creates a that invokes the canonical 'GetReparentedValue' function with the - specified arguments, which must have a HierarchyId result type. - The result type of the expression is Edm.HierarchyId. - - An expression that specifies the hierarchyid value. - An expression that provides a hierarchyid value. - An expression that provides a hierarchyid value. - A new DbFunctionExpression that returns a hierarchyid. - - - or - - or - - is null. - - - No overload of the canonical 'GetReparentedValue' function accept an argument with the result type of - - and - - . - - - - - Provides a constructor-like means of calling - - . - - - - - Initializes a new instance of the class with the specified first column value and optional successive column values. - - A key-value pair that provides the first column in the new row instance. (required) - A key-value pairs that provide any subsequent columns in the new row instance. (optional) - - - - Creates a new that constructs a new row based on the columns contained in this Row instance. - - A new DbNewInstanceExpression that constructs a row with the same column names and DbExpression values as this Row instance. - - - - Converts the given Row instance into an instance of - - The Row instance. - A DbExpression based on the Row instance - - - is null. - - - - - - Provides an API to construct s that invoke spatial realted canonical EDM functions, and, where appropriate, allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'GeometryFromText' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geometry. Its value has the default coordinate system id (SRID) of the underlying provider. - - A new DbFunctionExpression that returns a new geometry value based on the specified value. - An expression that provides the well known text representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromText' function with the specified arguments. wellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the well known text representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPointFromText' function with the specified arguments. pointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry point value based on the specified values. - An expression that provides the well known text representation of the geometry point value. - An expression that provides the coordinate system id (SRID) of the geometry point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryLineFromText' function with the specified arguments. lineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry line value based on the specified values. - An expression that provides the well known text representation of the geometry line value. - An expression that provides the coordinate system id (SRID) of the geometry line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPolygonFromText' function with the specified arguments. polygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry polygon value based on the specified values. - An expression that provides the well known text representation of the geometry polygon value. - An expression that provides the coordinate system id (SRID) of the geometry polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPointFromText' function with the specified arguments. multiPointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-point value based on the specified values. - An expression that provides the well known text representation of the geometry multi-point value. - An expression that provides the coordinate system id (SRID) of the geometry multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiLineFromText' function with the specified arguments. multiLineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-line value based on the specified values. - An expression that provides the well known text representation of the geometry multi-line value. - An expression that provides the coordinate system id (SRID) of the geometry multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPolygonFromText' function with the specified arguments. multiPolygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-polygon value based on the specified values. - An expression that provides the well known text representation of the geometry multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geometry multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryCollectionFromText' function with the specified arguments. geometryCollectionWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry collection value based on the specified values. - An expression that provides the well known text representation of the geometry collection value. - An expression that provides the coordinate system id (SRID) of the geometry collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryFromBinary' function with the specified argument, which must have a binary result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified binary value. - An expression that provides the well known binary representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromBinary' function with the specified arguments. wellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the well known binary representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPointFromBinary' function with the specified arguments. pointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry point value based on the specified values. - An expression that provides the well known binary representation of the geometry point value. - An expression that provides the coordinate system id (SRID) of the geometry point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryLineFromBinary' function with the specified arguments. lineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry line value based on the specified values. - An expression that provides the well known binary representation of the geometry line value. - An expression that provides the coordinate system id (SRID) of the geometry line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPolygonFromBinary' function with the specified arguments. polygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry polygon value based on the specified values. - An expression that provides the well known binary representation of the geometry polygon value. - An expression that provides the coordinate system id (SRID) of the geometry polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPointFromBinary' function with the specified arguments. multiPointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-point value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-point value. - An expression that provides the coordinate system id (SRID) of the geometry multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiLineFromBinary' function with the specified arguments. multiLineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-line value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-line value. - An expression that provides the coordinate system id (SRID) of the geometry multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPolygonFromBinary' function with the specified arguments. multiPolygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-polygon value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geometry multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryCollectionFromBinary' function with the specified arguments. geometryCollectionWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry collection value based on the specified values. - An expression that provides the well known binary representation of the geometry collection value. - An expression that provides the coordinate system id (SRID) of the geometry collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified value with the default coordinate system id (SRID) of the underlying provider. - An expression that provides the Geography Markup Language (GML) representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromGml' function with the specified arguments. geometryMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the Geography Markup Language (GML) representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromText' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography. Its value has the default coordinate system id (SRID) of the underlying provider. - - A new DbFunctionExpression that returns a new geography value based on the specified value. - An expression that provides the well known text representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromText' function with the specified arguments. wellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the well known text representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPointFromText' function with the specified arguments. - - The canonical 'GeographyPointFromText' function. - An expression that provides the well-known text representation of the geography point value. - An expression that provides the coordinate system id (SRID) of the geography point value's coordinate systempointWellKnownTextValue. - - - - Creates a that invokes the canonical 'GeographyLineFromText' function with the specified arguments. lineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography line value based on the specified values. - An expression that provides the well known text representation of the geography line value. - An expression that provides the coordinate system id (SRID) of the geography line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPolygonFromText' function with the specified arguments. polygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography polygon value based on the specified values. - An expression that provides the well known text representation of the geography polygon value. - An expression that provides the coordinate system id (SRID) of the geography polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPointFromText' function with the specified arguments. multiPointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-point value based on the specified values. - An expression that provides the well known text representation of the geography multi-point value. - An expression that provides the coordinate system id (SRID) of the geography multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiLineFromText' function with the specified arguments. multiLineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-line value based on the specified values. - An expression that provides the well known text representation of the geography multi-line value. - An expression that provides the coordinate system id (SRID) of the geography multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPolygonFromText' function with the specified arguments. multiPolygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-polygon value based on the specified values. - An expression that provides the well known text representation of the geography multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geography multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyCollectionFromText' function with the specified arguments. geographyCollectionWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography collection value based on the specified values. - An expression that provides the well known text representation of the geography collection value. - An expression that provides the coordinate system id (SRID) of the geography collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromBinary' function with the specified argument, which must have a binary result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified binary value. - An expression that provides the well known binary representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromBinary' function with the specified arguments. wellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the well known binary representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPointFromBinary' function with the specified arguments. pointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography point value based on the specified values. - An expression that provides the well known binary representation of the geography point value. - An expression that provides the coordinate system id (SRID) of the geography point value's coordinate systempointWellKnownBinaryValue. - - - - Creates a that invokes the canonical 'GeographyLineFromBinary' function with the specified arguments. lineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography line value based on the specified values. - An expression that provides the well known binary representation of the geography line value. - An expression that provides the coordinate system id (SRID) of the geography line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPolygonFromBinary' function with the specified arguments. polygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography polygon value based on the specified values. - An expression that provides the well known binary representation of the geography polygon value. - An expression that provides the coordinate system id (SRID) of the geography polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPointFromBinary' function with the specified arguments. multiPointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-point value based on the specified values. - An expression that provides the well known binary representation of the geography multi-point value. - An expression that provides the coordinate system id (SRID) of the geography multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiLineFromBinary' function with the specified arguments. multiLineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-line value based on the specified values. - An expression that provides the well known binary representation of the geography multi-line value. - An expression that provides the coordinate system id (SRID) of the geography multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPolygonFromBinary' function with the specified arguments. multiPolygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-polygon value based on the specified values. - An expression that provides the well known binary representation of the geography multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geography multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyCollectionFromBinary' function with the specified arguments. geographyCollectionWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography collection value based on the specified values. - An expression that provides the well known binary representation of the geography collection value. - An expression that provides the coordinate system id (SRID) of the geography collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified value with the default coordinate system id (SRID) of the underlying provider. - An expression that provides the Geography Markup Language (GML) representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromGml' function with the specified arguments. geographyMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the Geography Markup Language (GML) representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'CoordinateSystemId' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer SRID value from spatialValue. - An expression that specifies the value from which the coordinate system id (SRID) should be retrieved. - - - - Creates a that invokes the canonical 'SpatialTypeName' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the string Geometry Type name from spatialValue. - An expression that specifies the value from which the Geometry Type name should be retrieved. - - - - Creates a that invokes the canonical 'SpatialDimension' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the Dimension value from spatialValue. - An expression that specifies the value from which the Dimension value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialEnvelope' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the minimum bounding box for geometryValue. - An expression that specifies the value from which the Envelope value should be retrieved. - - - - Creates a that invokes the canonical 'AsBinary' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Binary. - - A new DbFunctionExpression that returns the well known binary representation of spatialValue. - An expression that specifies the spatial value from which the well known binary representation should be produced. - - - - Creates a that invokes the canonical 'AsGml' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the Geography Markup Language (GML) representation of spatialValue. - An expression that specifies the spatial value from which the Geography Markup Language (GML) representation should be produced. - - - - Creates a that invokes the canonical 'AsText' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the well known text representation of spatialValue. - An expression that specifies the spatial value from which the well known text representation should be produced. - - - - Creates a that invokes the canonical 'IsEmptySpatial' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue is empty. - An expression that specifies the spatial value from which the IsEmptySpatial value should be retrieved. - - - - Creates a that invokes the canonical 'IsSimpleGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue is a simple geometry. - The geometry value. - - - - Creates a that invokes the canonical 'SpatialBoundary' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the boundary for geometryValue. - An expression that specifies the geometry value from which the SpatialBoundary value should be retrieved. - - - - Creates a that invokes the canonical 'IsValidGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue is valid. - An expression that specifies the geometry value which should be tested for spatial validity. - - - - Creates a that invokes the canonical 'SpatialEquals' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 are equal. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for equality. - - - - Creates a that invokes the canonical 'SpatialDisjoint' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 are spatially disjoint. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for disjointness. - - - - Creates a that invokes the canonical 'SpatialIntersects' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 intersect. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for intersection. - - - - Creates a that invokes the canonical 'SpatialTouches' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 touches geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialCrosses' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 crosses geometryValue2 intersect. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialWithin' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 is spatially within geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialContains' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 spatially contains geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialOverlaps' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 spatially overlaps geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialRelate' function with the specified arguments, which must have Edm.Geometry and string result types. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 is spatially related to geometryValue2 according to the spatial relationship designated by intersectionPatternMatrix. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - An expression that specifies the text representation of the Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern used to compare geometryValue1 and geometryValue2. - - - - Creates a that invokes the canonical 'SpatialBuffer' function with the specified arguments, which must have a Edm.Geography or Edm.Geometry and Edm.Double result types. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a geometry value representing all points less than or equal to distance from spatialValue. - An expression that specifies the spatial value. - An expression that specifies the buffer distance. - - - - Creates a that invokes the canonical 'Distance' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns the distance between the closest points in spatialValue1 and spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value from which the distance from spatialValue1 should be measured. - - - - Creates a that invokes the canonical 'SpatialConvexHull' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the convex hull for geometryValue. - An expression that specifies the geometry value from which the convex hull value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialIntersection' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the spatial value representing the intersection of spatialValue1 and spatialValue2. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the intersection with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialUnion' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the spatial value representing the union of spatialValue1 and spatialValue2. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the union with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialDifference' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the geometry value representing the difference of spatialValue2 with spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the difference with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialSymmetricDifference' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the geometry value representing the symmetric difference of spatialValue2 with spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the symmetric difference with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialElementCount' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of elements in spatialValue or null if spatialValue is not a collection. - An expression that specifies the geography or geometry collection value from which the number of elements should be retrieved. - - - - Creates a that invokes the canonical 'SpatialElementAt' function with the specified arguments. The first argument must have an Edm.Geography or Edm.Geometry result type. The second argument must have an integer numeric result type. The result type of the expression is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the collection element at position indexValue in spatialValue or null if spatialValue is not a collection. - An expression that specifies the geography or geometry collection value. - An expression that specifies the position of the element to be retrieved from within the geometry or geography collection. - - - - Creates a that invokes the canonical 'XCoordinate' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the X co-ordinate value of geometryValue or null if geometryValue is not a point. - An expression that specifies the geometry point value from which the X co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'YCoordinate' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Y co-ordinate value of geometryValue or null if geometryValue is not a point. - An expression that specifies the geometry point value from which the Y co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'Elevation' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the elevation value of spatialValue or null if spatialValue is not a point. - An expression that specifies the spatial point value from which the elevation (Z co-ordinate) value should be retrieved. - - - - Creates a that invokes the canonical 'Measure' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Measure of spatialValue or null if spatialValue is not a point. - An expression that specifies the spatial point value from which the Measure (M) co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'Latitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Latitude value of geographyValue or null if geographyValue is not a point. - An expression that specifies the geography point value from which the Latitude value should be retrieved. - - - - Creates a that invokes the canonical 'Longitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Longitude value of geographyValue or null if geographyValue is not a point. - An expression that specifies the geography point value from which the Longitude value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialLength' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the length of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the length should be retrieved. - - - - Creates a that invokes the canonical 'StartPoint' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the start point of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the start point should be retrieved. - - - - Creates a that invokes the canonical 'EndPoint' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the end point of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the end point should be retrieved. - - - - Creates a that invokes the canonical 'IsClosedSpatial' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is Edm.Boolean. - - A new DbFunctionExpression that returns either a Boolean value indicating whether spatialValue is closed, or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the IsClosedSpatial value should be retrieved. - - - - Creates a that invokes the canonical 'IsRing' function with the specified argument, which must have an Edm.Geometry result type. The result type is Edm.Boolean. - - A new DbFunctionExpression that returns either a Boolean value indicating whether geometryValue is a ring (both closed and simple), or null if geometryValue is not a curve. - An expression that specifies the geometry curve value from which the IsRing value should be retrieved. - - - - Creates a that invokes the canonical 'PointCount' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of points in spatialValue or null if spatialValue is not a line string. - An expression that specifies the spatial line string value from which the number of points should be retrieved. - - - - Creates a that invokes the canonical 'PointAt' function with the specified arguments. The first argument must have an Edm.Geography or Edm.Geometry result type. The second argument must have an integer numeric result type. The result type of the expression is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the point at position indexValue in spatialValue or null if spatialValue is not a line string. - An expression that specifies the spatial line string value. - An expression that specifies the position of the point to be retrieved from within the line string. - - - - Creates a that invokes the canonical 'Area' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the area of spatialValue or null if spatialValue is not a surface. - An expression that specifies the spatial surface value for which the area should be calculated. - - - - Creates a that invokes the canonical 'Centroid' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the centroid point of geometryValue (which may not be on the surface itself) or null if geometryValue is not a surface. - An expression that specifies the geometry surface value from which the centroid should be retrieved. - - - - Creates a that invokes the canonical 'PointOnSurface' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either a point guaranteed to be on the surface geometryValue or null if geometryValue is not a surface. - An expression that specifies the geometry surface value from which the point should be retrieved. - - - - Creates a that invokes the canonical 'ExteriorRing' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the exterior ring of the polygon geometryValue or null if geometryValue is not a polygon. - The geometry value. - - - - Creates a that invokes the canonical 'InteriorRingCount' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of interior rings in the polygon geometryValue or null if geometryValue is not a polygon. - The geometry value. - - - - Creates a that invokes the canonical 'InteriorRingAt' function with the specified arguments. The first argument must have an Edm.Geometry result type. The second argument must have an integer numeric result types. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the interior ring at position indexValue in geometryValue or null if geometryValue is not a polygon. - The geometry value. - An expression that specifies the position of the interior ring to be retrieved from within the polygon. - - - - Ensures that all metadata in a given expression tree is from the specified metadata workspace, - potentially rebinding and rebuilding the expressions to appropriate replacement metadata where necessary. - - - - Initializes a new instance of the class. - The target workspace. - - - Implements the visitor pattern for the entity set. - The implemented visitor pattern. - The entity set. - - - Implements the visitor pattern for the function. - The implemented visitor pattern. - The function metadata. - - - Implements the visitor pattern for the type. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the type usage. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for retrieving an instance property. - The implemented visitor. - The expression. - - - - DataRecordInfo class providing a simple way to access both the type information and the column information. - - - - - Initializes a new object for a specific type with an enumerable collection of data fields. - - - The metadata for the type represented by this object, supplied by - - . - - - An enumerable collection of objects that represent column information. - - - - - Gets for this - - object. - - - A object. - - - - - Gets type info for this object as a object. - - - A value. - - - - - A prepared command definition, can be cached and reused to avoid - repreparing a command. - - - - - Initializes a new instance of the class using the supplied - - . - - - The supplied . - - method used to clone the - - - - Initializes a new instance of the class. - - - - - Creates and returns a object that can be executed. - - The command for database. - - - - Metadata Interface for all CLR types - - - - - Value to pass to GetInformation to get the StoreSchemaDefinition - - - - - Value to pass to GetInformation to get the StoreSchemaMapping - - - - - Value to pass to GetInformation to get the ConceptualSchemaDefinition - - - - - Value to pass to GetInformation to get the StoreSchemaDefinitionVersion3 - - - - - Value to pass to GetInformation to get the StoreSchemaMappingVersion3 - - - - - Value to pass to GetInformation to get the ConceptualSchemaDefinitionVersion3 - - - - - Name of the MaxLength Facet - - - - - Name of the Unicode Facet - - - - - Name of the FixedLength Facet - - - - - Name of the Precision Facet - - - - - Name of the Scale Facet - - - - - Name of the Nullable Facet - - - - - Name of the DefaultValue Facet - - - - - Name of the Collation Facet - - - - - Name of the SRID Facet - - - - - Name of the IsStrict Facet - - - - Gets the namespace used by this provider manifest. - The namespace used by this provider manifest. - - - When overridden in a derived class, returns the set of primitive types supported by the data source. - The set of types supported by the data source. - - - When overridden in a derived class, returns a collection of EDM functions supported by the provider manifest. - A collection of EDM functions. - - - Returns the FacetDescription objects for a particular type. - The FacetDescription objects for the specified EDM type. - The EDM type to return the facet description for. - - - When overridden in a derived class, this method maps the specified storage type and a set of facets for that type to an EDM type. - - The instance that describes an EDM type and a set of facets for that type. - - The TypeUsage instance that describes a storage type and a set of facets for that type to be mapped to the EDM type. - - - When overridden in a derived class, this method maps the specified EDM type and a set of facets for that type to a storage type. - The TypeUsage instance that describes a storage type and a set of facets for that type. - The TypeUsage instance that describes the EDM type and a set of facets for that type to be mapped to a storage type. - - - When overridden in a derived class, this method returns provider-specific information. - The XmlReader object that represents the mapping to the underlying data store catalog. - The type of the information to return. - - - Gets the provider-specific information. - The provider-specific information. - The type of the information to return. - - - Indicates if the provider supports escaping strings to be used as patterns in a Like expression. - True if this provider supports escaping strings to be used as patterns in a Like expression; otherwise, false. - If the provider supports escaping, the character that would be used as the escape character. - - - - Indicates if the provider supports the parameter optimization described in EntityFramework6 GitHub issue #195. - The default is false. Providers should change this to true only after testing that schema queries (as - used in the Database First flow) work correctly with this flag. - - True only if the provider supports the parameter optimization. - - - Provider writers should override this method to return the argument with the wildcards and the escape character escaped. This method is only used if SupportsEscapingLikeArgument returns true. - The argument with the wildcards and the escape character escaped. - The argument to be escaped. - - - - Returns a boolean that specifies whether the provider can handle expression trees - containing instances of DbInExpression. - The default implementation returns false for backwards compatibility. Derived classes can override this method. - - - false - - - - - Returns a boolean that specifies whether the provider can process expression trees not having DbProjectExpression - nodes directly under both Left and Right sides of DbUnionAllExpression and DbIntersectExpression - - - false - - - - - The factory for building command definitions; use the type of this object - as the argument to the IServiceProvider.GetService method on the provider - factory; - - - - - Constructs an EF provider that will use the obtained from - the app domain Singleton for resolving EF dependencies such - as the instance to use. - - - - - Registers a handler to process non-error messages coming from the database provider. - - The connection to receive information for. - The handler to process messages. - - - - Create a Command Definition object given a command tree. - - command tree for the statement - an executable command definition object - - This method simply delegates to the provider's implementation of CreateDbCommandDefinition. - - - - Creates command definition from specified manifest and command tree. - The created command definition. - The manifest. - The command tree. - - - Creates a command definition object for the specified provider manifest and command tree. - An executable command definition object. - Provider manifest previously retrieved from the store provider. - Command tree for the statement. - - - - Create the default DbCommandDefinition object based on the prototype command - This method is intended for provider writers to build a default command definition - from a command. - Note: This will clone the prototype - - the prototype command - an executable command definition object - - - - See issue 2390 - cloning the DesignTimeVisible property on the - DbCommand can cause deadlocks. So here allow sub-classes to override. - - the object to clone - a clone of the - - - - Clones the connection. - - The original connection. - Cloned connection - - - - Clones the connection. - - The original connection. - The factory to use. - Cloned connection - - - Returns provider manifest token given a connection. - The provider manifest token. - Connection to provider. - - - - Returns provider manifest token for a given connection. - - Connection to find manifest token from. - The provider manifest token for the specified connection. - - - Returns the provider manifest by using the specified version information. - The provider manifest by using the specified version information. - The token information associated with the provider manifest. - - - When overridden in a derived class, returns an instance of a class that derives from the DbProviderManifest. - A DbProviderManifest object that represents the provider manifest. - The token information associated with the provider manifest. - - - - Gets the that will be used to execute methods that use the specified connection. - - The database connection - - A new instance of - - - - - Gets the that will be used to execute methods that use the specified connection. - This overload should be used by the derived classes for compatability with wrapping providers. - - The database connection - The provider invariant name - - A new instance of - - - - - Gets the spatial data reader for the . - - The spatial data reader. - The reader where the spatial data came from. - The manifest token associated with the provider manifest. - - - - Gets the spatial services for the . - - The spatial services. - The token information associated with the provider manifest. - - - Gets the spatial services for the . - The spatial services. - Information about the database that the spatial services will be used for. - - - - Gets the spatial data reader for the . - - The spatial data reader. - The reader where the spatial data came from. - The token information associated with the provider manifest. - - - - Gets the spatial services for the . - - The spatial services. - The token information associated with the provider manifest. - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - Returns providers given a connection. - - The instanced based on the specified connection. - - Connection to provider. - - - Retrieves the DbProviderFactory based on the specified DbConnection. - The retrieved DbProviderFactory. - The connection to use. - - - - Return an XML reader which represents the CSDL description - - The name of the CSDL description. - An XmlReader that represents the CSDL description - - - Generates a data definition language (DDL script that creates schema objects (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token. - - Individual statements should be separated using database-specific DDL command separator. - It is expected that the generated script would be executed in the context of existing database with - sufficient permissions, and it should not include commands to create the database, but it may include - commands to create schemas and other auxiliary objects such as sequences, etc. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token. - The provider manifest token identifying the target version. - The structure of the database. - - - - Generates a data definition language (DDL) script that creates schema objects - (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection - parameter and targeted for the version of the database corresponding to the provider manifest token. - - - Individual statements should be separated using database-specific DDL command separator. - It is expected that the generated script would be executed in the context of existing database with - sufficient permissions, and it should not include commands to create the database, but it may include - commands to create schemas and other auxiliary objects such as sequences, etc. - - The provider manifest token identifying the target version. - The structure of the database. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter - and targeted for the version of the database corresponding to the provider manifest token. - - - - - Creates a database indicated by connection and creates schema objects - (tables, primary keys, foreign keys) based on the contents of storeItemCollection. - - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - Creates a database indicated by connection and creates schema objects (tables, primary keys, foreign keys) based on the contents of a StoreItemCollection. - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - Override this method to avoid creating the store item collection if it is not needed. The default implementation evaluates the Lazy and calls the other overload of this method. - - - Deletes the specified database. - Connection to an existing database that needs to be deleted. - Execution timeout for any commands needed to delete the database. - The collection of all store items from the model. This parameter is no longer used for database deletion. - - - Deletes the specified database. - Connection to an existing database that needs to be deleted. - Execution timeout for any commands needed to delete the database. - The collection of all store items from the model. This parameter is no longer used for database deletion. - - - - Expands |DataDirectory| in the given path if it begins with |DataDirectory| and returns the expanded path, - or returns the given string if it does not start with |DataDirectory|. - - The path to expand. - The expanded path. - - - - Adds an that will be used to resolve additional default provider - services when a derived type is registered as an EF provider either using an entry in the application's - config file or through code-based registration in . - - The resolver to add. - - - - Called to resolve additional default provider services when a derived type is registered as an - EF provider either using an entry in the application's config file or through code-based - registration in . The implementation of this method in this - class uses the resolvers added with the AddDependencyResolver method to resolve - dependencies. - - - Use this method to set, add, or change other provider-related services. Note that this method - will only be called for such services if they are not already explicitly configured in some - other way by the application. This allows providers to set default services while the - application is still able to override and explicitly configure each service if required. - See and for more details. - - The type of the service to be resolved. - An optional key providing additional information for resolving the service. - An instance of the given type, or null if the service could not be resolved. - - - - Called to resolve additional default provider services when a derived type is registered as an - EF provider either using an entry in the application's config file or through code-based - registration in . The implementation of this method in this - class uses the resolvers added with the AddDependencyResolver method to resolve - dependencies. - - The type of the service to be resolved. - An optional key providing additional information for resolving the service. - All registered services that satisfy the given type and key, or an empty enumeration if there are none. - - - - A specialization of the ProviderManifest that accepts an XmlReader - - - - - Initializes a new instance of the class. - - - An object that provides access to the XML data in the provider manifest file. - - - - Gets the namespace name supported by this provider manifest. - The namespace name supported by this provider manifest. - - - Gets the best mapped equivalent Entity Data Model (EDM) type for a specified storage type name. - The best mapped equivalent EDM type for a specified storage type name. - - - Gets the best mapped equivalent storage primitive type for a specified storage type name. - The best mapped equivalent storage primitive type for a specified storage type name. - - - Returns the list of facet descriptions for the specified Entity Data Model (EDM) type. - - A collection of type that contains the list of facet descriptions for the specified EDM type. - - - An for which the facet descriptions are to be retrieved. - - - - Returns the list of primitive types supported by the storage provider. - - A collection of type that contains the list of primitive types supported by the storage provider. - - - - Returns the list of provider-supported functions. - - A collection of type that contains the list of provider-supported functions. - - - - - EntityRecordInfo class providing a simple way to access both the type information and the column information. - - - - - Initializes a new instance of the class of a specific entity type with an enumerable collection of data fields and with specific key and entity set information. - - - The of the entity represented by the - - described by this - - object. - - - An enumerable collection of objects that represent column information. - - The key for the entity. - The entity set to which the entity belongs. - - - - Gets the for the entity. - - The key for the entity. - - - - Public Entity SQL Parser class. - - - - Parse the specified query with the specified parameters. - - The containing - - and information describing inline function definitions if any. - - The EntitySQL query to be parsed. - The optional query parameters. - - - - Parse a specific query with a specific set variables and produce a - - . - - - The containing - - and information describing inline function definitions if any. - - The query to be parsed. - The optional query variables. - - - - Entity SQL query inline function definition, returned as a part of . - - - - Function name. - - - Function body and parameters. - - - Start position of the function definition in the eSQL query text. - - - End position of the function definition in the eSQL query text. - - - - Entity SQL Parser result information. - - - - A command tree produced during parsing. - - - - List of objects describing query inline function definitions. - - - - - FieldMetadata class providing the correlation between the column ordinals and MemberMetadata. - - - - - Initializes a new object with the specified ordinal value and field type. - - An integer specified the location of the metadata. - The field type. - - - - Gets the type of field for this object. - - - The type of field for this object. - - - - - Gets the ordinal for this object. - - An integer representing the ordinal value. - - - - Get the hierarchyid value of a column with the given ordinal - - The ordinal of the column to retrieve the value - The hierarchyid value - - - - Class representing a parameter collection used in EntityCommand - - - - - Gets an Integer that contains the number of elements in the - - . - - - The number of elements in the as an Integer. - - - - - Gets a value that indicates whether the - - has a fixed size. - - - Returns true if the has a fixed size; otherwise false. - - - - - Gets a value that indicates whether the - - is read-only. - - - Returns true if the is read only; otherwise false. - - - - - Gets a value that indicates whether the - - is synchronized. - - - Returns true if the is synchronized; otherwise false. - - - - - Gets an object that can be used to synchronize access to the - - . - - - An object that can be used to synchronize access to the - - . - - - - - Adds the specified object to the . - - - The index of the new object. - - - An . - - - - - Adds an array of values to the end of the - - . - - - The values to add. - - - - - Removes all the objects from the - - . - - - - - Determines whether the specified is in this - - . - - - true if the contains the value; otherwise false. - - - The value. - - - - - Copies all the elements of the current to the specified one-dimensional - - starting at the specified destination index. - - - The one-dimensional that is the destination of the elements copied from the current - - . - - - A 32-bit integer that represents the index in the at which copying starts. - - - - - Returns an enumerator that iterates through the - - . - - - An for the - - . - - - - - - - - - - - Gets the location of the specified with the specified name. - - - The zero-based location of the specified with the specified case-sensitive name. Returns -1 when the object does not exist in the - - . - - - The case-sensitive name of the to find. - - - - - Gets the location of the specified in the collection. - - - The zero-based location of the specified that is a - - in the collection. Returns -1 when the object does not exist in the - - . - - - The to find. - - - - - Inserts an into the - - at the specified index. - - The zero-based index at which value should be inserted. - - An to be inserted in the - - . - - - - Removes the specified parameter from the collection. - - A object to remove from the collection. - - - - - Removes the from the - - at the specified index. - - - The zero-based index of the object to remove. - - - - - Removes the from the - - at the specified parameter name. - - - The name of the to remove. - - - - - - - - - - - Gets the at the specified index. - - - The at the specified index. - - The zero-based index of the parameter to retrieve. - The specified index does not exist. - - - - Gets the with the specified name. - - - The with the specified name. - - The name of the parameter to retrieve. - The specified name does not exist. - - - - Adds the specified object to the - - . - - - A new object. - - - The to add to the collection. - - - The specified in the value parameter is already added to this or another - - . - - - The parameter passed was not a . - - The value parameter is null. - - - - Adds a value to the end of the . - - - A object. - - The name of the parameter. - The value to be added. - - - - Adds a to the - - given the parameter name and the data type. - - - A new object. - - The name of the parameter. - - One of the values. - - - - - Adds a to the - - with the parameter name, the data type, and the column length. - - - A new object. - - The name of the parameter. - - One of the values. - - The column length. - - - - Adds an array of values to the end of the - - . - - - The values to add. - - - - - Determines whether the specified is in this - - . - - - true if the contains the value; otherwise false. - - - The value. - - - - - Copies all the elements of the current to the specified - - starting at the specified destination index. - - - The that is the destination of the elements copied from the current - - . - - - A 32-bit integer that represents the index in the - - at which copying starts. - - - - - Gets the location of the specified in the collection. - - - The zero-based location of the specified that is a - - in the collection. Returns -1 when the object does not exist in the - - . - - - The to find. - - - - - Inserts a object into the - - at the specified index. - - The zero-based index at which value should be inserted. - - A object to be inserted in the - - . - - - - - Removes the specified from the collection. - - - A object to remove from the collection. - - - The parameter is not a . - - The parameter does not exist in the collection. - - - - Class representing a command for the conceptual layer - - - - - Initializes a new instance of the class using the specified values. - - - - - Initializes a new instance of the class with the specified statement. - - The text of the command. - - - - Constructs the EntityCommand object with the given eSQL statement and the connection object to use - - The eSQL command text to execute - The connection object - Resolver used to resolve DbProviderServices - - - - Initializes a new instance of the class with the specified statement and connection. - - The text of the command. - A connection to the data source. - - - - Initializes a new instance of the class with the specified statement, connection and transaction. - - The text of the command. - A connection to the data source. - The transaction in which the command executes. - - - - Gets or sets the used by the - - . - - The connection used by the entity command. - - - - The connection object used for executing the command - - - - Gets or sets an Entity SQL statement that specifies a command or stored procedure to execute. - The Entity SQL statement that specifies a command or stored procedure to execute. - - - Gets or sets the command tree to execute; only one of the command tree or the command text can be set, not both. - The command tree to execute. - - - Gets or sets the amount of time to wait before timing out. - The time in seconds to wait for the command to execute. - - - - Gets or sets a value that indicates how the - - property is to be interpreted. - - - One of the enumeration values. - - - - Gets the parameters of the Entity SQL statement or stored procedure. - The parameters of the Entity SQL statement or stored procedure. - - - - The collection of parameters for this command - - - - - Gets or sets the transaction within which the executes. - - - The transaction within which the executes. - - - - - The transaction that this command executes in - - - - Gets or sets how command results are applied to rows being updated. - - One of the values. - - - - Gets or sets a value that indicates whether the command object should be visible in a Windows Form Designer control. - true if the command object should be visible in a Windows Form Designer control; otherwise, false. - - - Gets or sets a value that indicates whether the query plan caching is enabled. - true if the query plan caching is enabled; otherwise, false. - - - - Cancels the execution of an . - - - - - Creates a new instance of an object. - - - A new instance of an object. - - - - - Create and return a new parameter object representing a parameter in the eSQL statement - - The parameter object. - - - Executes the command and returns a data reader. - - The that contains the results. - - - - - Compiles the into a command tree and passes it to the underlying store provider for execution, then builds an - - out of the produced result set using the specified - - . - - - The that contains the results. - - - One of the values. - - - - - Executes the command and returns a data reader for reading the results - - The behavior to use when executing the command - A DbDataReader object - - - Executes the current command. - The number of rows affected. - - - Executes the command, and returns the first column of the first row in the result set. Additional columns or rows are ignored. - The first column of the first row in the result set, or a null reference (Nothing in Visual Basic) if the result set is empty. - - - Compiles the entity-level command and creates a prepared version of the command. - - - Compiles the entity-level command and returns the store command text. - The store command text. - - - - Class representing a connection for the conceptual layer. An entity connection may only - be initialized once (by opening the connection). It is subsequently not possible to change - the connection string, attach a new store connection, or change the store connection string. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class, based on the connection string. - - The provider-specific connection string. - An invalid connection string keyword has been provided, or a required connection string keyword has not been provided. - - - - Initializes a new instance of the class with a specified - and - . - - - A to be associated with this - . - - - The underlying data source connection for this object. - - The workspace or connection parameter is null. - The conceptual model is missing from the workspace.-or-The mapping file is missing from the workspace.-or-The storage model is missing from the workspace.-or-The connection is not in a closed state. - The connection is not from an ADO.NET Entity Framework-compatible provider. - - - - Constructs the EntityConnection from Metadata loaded in memory - - Workspace containing metadata information. - Store connection. - If set to true the store connection is disposed when the entity connection is disposed, otherwise the caller must dispose the store connection. - - - - Gets or sets the connection string. - - The connection string required to establish the initial connection to a data source. The default value is an empty string. On a closed connection, the currently set value is returned. If no value has been set, an empty string is returned. - - An attempt was made to set the property after the - - ’s was initialized. The - - is initialized either when the instance is constructed through the overload that takes a - - as a parameter, or when the - - instance has been opened. - - An invalid connection string keyword has been provided or a required connection string keyword has not been provided. - - - Gets the number of seconds to wait when attempting to establish a connection before ending the attempt and generating an error. - The time (in seconds) to wait for a connection to open. The default value is the underlying data provider's default time-out. - The value set is less than 0. - - - Gets the name of the current database, or the database that will be used after a connection is opened. - The value of the Database property of the underlying data provider. - The underlying data provider is not known. - - - - Gets the state of the EntityConnection, which is set up to track the state of the underlying - database connection that is wrapped by this EntityConnection. - - - - Gets the name or network address of the data source to connect to. - The name of the data source. The default value is an empty string. - The underlying data provider is not known. - - - Gets a string that contains the version of the data source to which the client is connected. - The version of the data source that is contained in the provider connection string. - The connection is closed. - - - - Gets the provider factory associated with EntityConnection - - - - - Provides access to the underlying data source connection that is used by the - - object. - - - The for the data source connection. - - - - - Returns the associated with this - - . - - - The associated with this - - . - - The inline connection string contains an invalid Metadata keyword value. - - - - Gets the current transaction that this connection is enlisted in. May be null. - - - - Establishes a connection to the data source by calling the underlying data provider's Open method. - An error occurs when you open the connection, or the name of the underlying data provider is not known. - The inline connection string contains an invalid Metadata keyword value. - - - - Creates a new instance of an , with the - - set to this - - . - - - An object. - - The name of the underlying data provider is not known. - - - - Create a new command object that uses this connection object - - The command object. - - - Closes the connection to the database. - An error occurred when closing the connection. - - - Not supported. - Not supported. - When the method is called. - - - Begins a transaction by using the underlying provider. - - A new . The returned - - instance can later be associated with the - - to execute the command under that transaction. - - - The underlying provider is not known.-or-The call to - - was made on an - - that already has a current transaction.-or-The state of the - - is not - - . - - - - Begins a transaction with the specified isolation level by using the underlying provider. - - A new . The returned - - instance can later be associated with the - - to execute the command under that transaction. - - The isolation level of the transaction. - - The underlying provider is not known.-or-The call to - - was made on an - - that already has a current transaction.-or-The state of the - - is not - - . - - - - - Begins a database transaction - - The isolation level of the transaction - An object representing the new transaction - - - - Enlists this in the specified transaction. - - The transaction object to enlist into. - - The state of the is not - - . - - - - - Cleans up this connection object - - true to release both managed and unmanaged resources; false to release only unmanaged resources - - - - Class representing a connection string builder for the entity client provider - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the supplied connection string. - - A provider-specific connection string to the underlying data source. - - - Gets or sets the name of a section as defined in a configuration file. - The name of a section in a configuration file. - - - Gets or sets the name of the underlying .NET Framework data provider in the connection string. - The invariant name of the underlying .NET Framework data provider. - - - Gets or sets the metadata locations in the connection string. - Gets or sets the metadata locations in the connection string. - - - Gets or sets the inner, provider-specific connection string. - The inner, provider-specific connection string. - - - - Gets a value that indicates whether the - - has a fixed size. - - - Returns true in every case, because the - - supplies a fixed-size collection of keyword/value pairs. - - - - - Gets an that contains the keys in the - - . - - - An that contains the keys in the - - . - - - - Gets or sets the value associated with the specified key. In C#, this property is the indexer. - The value associated with the specified key. - The key of the item to get or set. - keyword is a null reference (Nothing in Visual Basic). - Tried to add a key that does not exist in the available keys. - Invalid value in the connection string (specifically, a Boolean or numeric value was expected but not supplied). - - - - Clears the contents of the instance. - - - - - Determines whether the contains a specific key. - - - Returns true if the contains an element that has the specified key; otherwise, false. - - - The key to locate in the . - - - - - Retrieves a value corresponding to the supplied key from this - - . - - Returns true if keyword was found in the connection string; otherwise, false. - The key of the item to retrieve. - The value corresponding to keyword. - keyword contains a null value (Nothing in Visual Basic). - - - - Removes the entry with the specified key from the - - instance. - - Returns true if the key existed in the connection string and was removed; false if the key did not exist. - - The key of the keyword/value pair to be removed from the connection string in this - - . - - keyword is null (Nothing in Visual Basic) - - - - A data reader class for the entity client provider - - - - Gets a value indicating the depth of nesting for the current row. - The depth of nesting for the current row. - - - Gets the number of columns in the current row. - The number of columns in the current row. - - - - Gets a value that indicates whether this contains one or more rows. - - - true if the contains one or more rows; otherwise, false. - - - - - Gets a value indicating whether the is closed. - - - true if the is closed; otherwise, false. - - - - Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. - The number of rows changed, inserted, or deleted. Returns -1 for SELECT statements; 0 if no rows were affected or the statement failed. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The name of the column. - - - - Gets the number of fields in the that are not hidden. - - The number of fields that are not hidden. - - - - Gets for this - - . - - The information of a data record. - - - - Closes the object. - - - - - Releases the resources consumed by this and calls - - . - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the value of the specified column as a Boolean. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a byte. - The value of the specified column. - The zero-based column ordinal. - - - Reads a stream of bytes from the specified column, starting at location indicated by dataIndex , into the buffer, starting at the location indicated by bufferIndex . - The actual number of bytes read. - The zero-based column ordinal. - The index within the row from which to begin the read operation. - The buffer into which to copy the data. - The index with the buffer to which the data will be copied. - The maximum number of characters to read. - - - Gets the value of the specified column as a single character. - The value of the specified column. - The zero-based column ordinal. - - - Reads a stream of characters from the specified column, starting at location indicated by dataIndex , into the buffer, starting at the location indicated by bufferIndex . - The actual number of characters read. - The zero-based column ordinal. - The index within the row from which to begin the read operation. - The buffer into which to copy the data. - The index with the buffer to which the data will be copied. - The maximum number of characters to read. - - - Gets the name of the data type of the specified column. - The name of the data type. - The zero-based column ordinal. - - - - Gets the value of the specified column as a object. - - The value of the specified column. - The zero-based column ordinal. - - - - Returns a object for the requested column ordinal that can be overridden with a provider-specific implementation. - - A data reader. - The zero-based column ordinal. - - - - Gets the value of the specified column as a object. - - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a double-precision floating point number. - The value of the specified column. - The zero-based column ordinal. - - - Gets the data type of the specified column. - The data type of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a single-precision floating point number. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a globally-unique identifier (GUID). - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 16-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 32-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 64-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the name of the column, given the zero-based column ordinal. - The name of the specified column. - The zero-based column ordinal. - - - Gets the column ordinal given the name of the column. - The zero-based column ordinal. - The name of the column. - The name specified is not a valid column name. - - - Returns the provider-specific field type of the specified column. - - The object that describes the data type of the specified column. - - The zero-based column ordinal. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - Gets all provider-specific attribute columns in the collection for the current row. - - The number of instances of in the array. - - - An array of into which to copy the attribute columns. - - - - - Returns a that describes the column metadata of the - - . - - - A that describes the column metadata. - - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - Populates an array of objects with the column values of the current row. - - The number of instances of in the array. - - - An array of into which to copy the attribute columns. - - - - Gets a value that indicates whether the column contains nonexistent or missing values. - - true if the specified column is equivalent to ; otherwise, false. - - The zero-based column ordinal. - - - Advances the reader to the next result when reading the results of a batch of statements. - true if there are more result sets; otherwise, false. - - - Advances the reader to the next record in a result set. - true if there are more rows; otherwise, false. - - - - Returns an that can be used to iterate through the rows in the data reader. - - - An that can be used to iterate through the rows in the data reader. - - - - - Returns a nested . - - The nested data record. - The number of the DbDataRecord to return. - - - - Returns nested readers as objects. - - - The nested readers as objects. - - The ordinal of the column. - - - - Class representing a parameter used in EntityCommand - - - - - Initializes a new instance of the class using the default values. - - - - - Initializes a new instance of the class using the specified parameter name and data type. - - The name of the parameter. - - One of the values. - - - - - Initializes a new instance of the class using the specified parameter name, data type and size. - - The name of the parameter. - - One of the values. - - The size of the parameter. - - - - Initializes a new instance of the class using the specified properties. - - The name of the parameter. - - One of the values. - - The size of the parameter. - The name of the source column. - - - - Initializes a new instance of the class using the specified properties. - - The name of the parameter. - - One of the values. - - The size of the parameter. - - One of the values. - - true to indicate that the parameter accepts null values; otherwise, false. - The number of digits used to represent the value. - The number of decimal places to which value is resolved. - The name of the source column. - - One of the values. - - The value of the parameter. - - - Gets or sets the name of the entity parameter. - The name of the entity parameter. - - - - Gets or sets the of the parameter. - - - One of the values. - - - - Gets or sets the type of the parameter, expressed as an EdmType. - The type of the parameter, expressed as an EdmType. - - - - Gets or sets the number of digits used to represent the - - property. - - The number of digits used to represent the value. - - - - Gets or sets the number of decimal places to which - - is resolved. - - The number of decimal places to which value is resolved. - - - Gets or sets the value of the parameter. - The value of the parameter. - - - Gets or sets the direction of the parameter. - - One of the values. - - - - Gets or sets a value that indicates whether the parameter accepts null values. - true if null values are accepted; otherwise, false. - - - Gets or sets the maximum size of the data within the column. - The maximum size of the data within the column. - - - - Gets or sets the name of the source column mapped to the and used for loading or returning the - - . - - The name of the source column mapped to the dataset and used for loading or returning the value. - - - Gets or sets a value that indicates whether source column is nullable. - true if source column is nullable; otherwise, false. - - - - Gets or sets the to use when loading the value. - - - One of the values. - - - - - Resets the type associated with the . - - - - Returns a string representation of the parameter. - A string representation of the parameter. - - - - Class representing a provider factory for the entity client provider - - - - - A singleton object for the entity client provider factory object. - This remains a public field (not property) because DbProviderFactory expects a field. - - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - This method is currently not supported. - - - - Returns the requested class. - - - A new instance of . The supported types are - - , - - , and - - . Returns null (or Nothing in Visual Basic) for every other type. - - - The to return. - - - - - Class representing a transaction for the conceptual layer - - - - - Gets for this - - . - - - An to the underlying data source. - - - - - The connection object owning this transaction object - - - - - Gets the isolation level of this . - - - An enumeration value that represents the isolation level of the underlying transaction. - - - - - Gets the DbTransaction for the underlying provider transaction. - - - - Commits the underlying transaction. - - - Rolls back the underlying transaction. - - - - Cleans up this transaction object - - true to release both managed and unmanaged resources; false to release only unmanaged resources - - - - Represents a failure while trying to prepare or execute a CommandCompilation - This exception is intended to provide a common exception that people can catch to - hold provider exceptions (SqlException, OracleException) when using the EntityCommand - to execute statements. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The message that describes the error. - - - - Initializes a new instance of . - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents a failure while trying to prepare or execute a CommandExecution - This exception is intended to provide a common exception that people can catch to - hold provider exceptions (SqlException, OracleException) when using the EntityCommand - to execute statements. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The message that describes the error. - - - - Initializes a new instance of . - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Provider exception - Used by the entity client. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - - - Initializes a new instance of the class. - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - An identifier for an entity. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with an entity set name and a generic - - collection. - - - A that is the entity set name qualified by the entity container name. - - - A generic collection.Each key/value pair has a property name as the key and the value of that property as the value. There should be one pair for each property that is part of the - - . The order of the key/value pairs is not important, but each key property should be included. The property names are simple names that are not qualified with an entity type name or the schema name. - - - - - Initializes a new instance of the class with an entity set name and an - - collection of - - objects. - - - A that is the entity set name qualified by the entity container name. - - - An collection of - - objects with which to initialize the key. - - - - - Initializes a new instance of the class with an entity set name and specific entity key pair. - - - A that is the entity set name qualified by the entity container name. - - - A that is the name of the key. - - - An that is the key value. - - - - - Gets a singleton EntityKey by which a read-only entity is identified. - - - - - Gets a singleton EntityKey identifying an entity resulted from a failed TREAT. - - - - Gets or sets the name of the entity set. - - A value that is the name of the entity set for the entity to which the - - belongs. - - - - Gets or sets the name of the entity container. - - A value that is the name of the entity container for the entity to which the - - belongs. - - - - - Gets or sets the key values associated with this . - - - A of key values for this - - . - - - - - Gets a value that indicates whether the is temporary. - - - true if the is temporary; otherwise, false. - - - - Gets the entity set for this entity key from the given metadata workspace. - - The for the entity key. - - The metadata workspace that contains the entity. - The entity set could not be located in the specified metadata workspace. - - - Returns a value that indicates whether this instance is equal to a specified object. - true if this instance and obj have equal values; otherwise, false. - - An to compare with this instance. - - - - - Returns a value that indicates whether this instance is equal to a specified - - . - - true if this instance and other have equal values; otherwise, false. - - An object to compare with this instance. - - - - - Serves as a hash function for the current object. - - is suitable for hashing algorithms and data structures such as a hash table. - - - A hash code for the current . - - - - - Compares two objects. - - true if the key1 and key2 values are equal; otherwise, false. - - A to compare. - - - A to compare. - - - - - Compares two objects. - - true if the key1 and key2 values are not equal; otherwise, false. - - A to compare. - - - A to compare. - - - - - Helper method that is used to deserialize an . - - Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. - - - - Helper method that is used to deserialize an . - - Describes the source and destination of a given serialized stream and provides an additional caller-defined context. - - - - Information about a key that is part of an EntityKey. - A key member contains the key name and value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified entity key pair. - - The name of the key. - The key value. - - - Gets or sets the name of the entity key. - The key name. - - - Gets or sets the value of the entity key. - The key value. - - - Returns a string representation of the entity key. - A string representation of the entity key. - - - - Represents an eSQL Query compilation exception; - The class of exceptional conditions that may cause this exception to be raised are mainly: - 1) Syntax Errors: raised during query text parsing and when a given query does not conform to eSQL formal grammar; - 2) Semantic Errors: raised when semantic rules of eSQL language are not met such as metadata or schema information - not accurate or not present, type validation errors, scoping rule violations, user of undefined variables, etc. - For more information, see eSQL Language Spec. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of the class that uses a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - Gets a description of the error. - A string that describes the error. - - - Gets the approximate context where the error occurred, if available. - A string that describes the approximate context where the error occurred, if available. - - - Gets the approximate line number where the error occurred. - An integer that describes the line number where the error occurred. - - - Gets the approximate column number where the error occurred. - An integer that describes the column number where the error occurred. - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - DataRecord interface supporting structured types and rich metadata information. - - - - - Gets for this - - . - - - A object. - - - - - Gets a object with the specified index. - - - A object. - - The index of the row. - - - - Returns nested readers as objects. - - - Nested readers as objects. - - The ordinal of the column. - - - - Thrown to indicate that a command tree is invalid. - - - - - Initializes a new instance of the class with a default message. - - - - - Initializes a new instance of the class with the specified message. - - The exception message. - - - - Initializes a new instance of the class with the specified message and inner exception. - - The exception message. - - The exception that is the cause of this . - - - - - Mapping exception class. Note that this class has state - so if you change even - its internals, it can be a breaking change - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents the Mapping metadata for an AssociationSet in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for the AssociationSetMapping elements in the - above example. And it is possible to access the AssociationTypeMap underneath it. - There will be only one TypeMap under AssociationSetMap. - - - - - Initializes a new AssociationSetMapping instance. - - The association set to be mapped. - The store entity set to be mapped. - The parent container mapping. - - - - Gets the association set that is mapped. - - - - - Gets the contained association type mapping. - - - - - Gets or sets the corresponding function mapping. Can be null. - - - - - Gets the store entity set that is mapped. - - - - - Gets or sets the source end property mapping. - - - - - Gets or sets the target end property mapping. - - - - - Gets the property mapping conditions. - - - - - Adds a property mapping condition. - - The condition to add. - - - - Removes a property mapping condition. - - The property mapping condition to remove. - - - - Describes modification function mappings for an association set. - - - - - Initializes a new AssociationSetModificationFunctionMapping instance. - - An association set. - A delete function mapping. - An insert function mapping. - - - - Gets the association set. - - - - - Gets the delete function mapping. - - - - - Gets the insert function mapping. - - - - - - - - Represents the Mapping metadata for an association type map in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ComplexTypeMap - --ScalarPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all association Type map elements in the - above example. Users can access the table mapping fragments under the - association type mapping through this class. - - - - - Creates an AssociationTypeMapping instance. - - The AssociationSetMapping that - the contains this AssociationTypeMapping. - - - - Gets the AssociationSetMapping that contains this AssociationTypeMapping. - - - - - Gets the association type being mapped. - - - - - Gets the single mapping fragment. - - - - - Mapping metadata for Complex properties. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the complex property map elements in the - above example. ComplexPropertyMaps contain ComplexTypeMaps which define mapping based - on the type of the ComplexProperty in case of inheritance. - - - - - Construct a new Complex Property mapping object - - The MemberMetadata object that represents this Complex member - - - - Gets a read only collections of type mappings corresponding to the - nested complex types. - - - - - Adds a type mapping corresponding to a nested complex type. - - The complex type mapping to be added. - - - - Removes a type mapping corresponding to a nested complex type. - - The complex type mapping to be removed. - - - - Mapping metadata for Complex Types. - - - - - Creates a ComplexTypeMapping instance. - - The ComplexType being mapped. - - - - Gets the ComplexType being mapped. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Mapping metadata for Conditional property mapping on a type. - Condition Property Mapping specifies a Condition either on the C side property or S side property. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ConditionPropertyMap ( constant value-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ConditionPropertyMap ( constant value-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the condition property map elements in the - above example. - - - - - Gets an EdmProperty that specifies the mapped property. - - - - - Gets an EdmProperty that specifies the mapped column. - - - - - Mapping metadata for End property of an association. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the end property map elements in the - above example. EndPropertyMaps provide mapping for each end of the association. - - - - - Creates an association end property mapping. - - An AssociationEndMember that specifies - the association end to be mapped. - - - - Gets an AssociationEndMember that specifies the mapped association end. - - - - - Gets a ReadOnlyCollection of ScalarPropertyMapping that specifies the children - of this association end property mapping. - - - - - Adds a child property-column mapping. - - A ScalarPropertyMapping that specifies - the property-column mapping to be added. - - - - Removes a child property-column mapping. - - A ScalarPropertyMapping that specifies - the property-column mapping to be removed. - - - - Represents the Mapping metadata for the EntityContainer map in CS space. - Only one EntityContainerMapping element is allowed in the MSL file for CS mapping. - - - For Example if conceptually you could represent the CS MSL file as following - ---Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --AssociationSetMapping - The type represents the metadata for EntityContainerMapping element in the above example. - The EntitySetBaseMapping elements that are children of the EntityContainerMapping element - can be accessed through the properties on this type. - - - We currently assume that an Entity Container on the C side - is mapped to a single Entity Container in the S - space. - - - - - Initializes a new EntityContainerMapping instance. - - The conceptual entity container to be mapped. - The store entity container to be mapped. - The parent mapping item collection. - Flag indicating whether to generate update views. - - - - Gets the parent mapping item collection. - - - - - Gets the type kind for this item - - - - - Gets the conceptual entity container. - - - - - Gets the store entity container. - - - - - Gets the entity set mappings. - - - - - Gets the association set mappings. - - - - - Gets the function import mappings. - - - - - Gets a flag that indicates whether to generate the update views or not. - - - - - Adds an entity set mapping. - - The entity set mapping to add. - - - - Removes an association set mapping. - - The association set mapping to remove. - - - - Adds an association set mapping. - - The association set mapping to add. - - - - Removes an association set mapping. - - The association set mapping to remove. - - - - Adds a function import mapping. - - The function import mapping to add. - - - - Removes a function import mapping. - - The function import mapping to remove. - - - - Represents the Mapping metadata for an Extent in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for all the extent map elements in the - above example namely EntitySetMapping, AssociationSetMapping and CompositionSetMapping. - The EntitySetBaseMapping elements that are children of the EntityContainerMapping element - can be accessed through the properties on this type. - - - - - Gets the parent container mapping. - - - - - Gets or sets the query view associated with this mapping. - - - - - Represents the Mapping metadata for an EntitySet in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for the EntitySetMapping elements in the - above example. And it is possible to access the EntityTypeMaps underneath it. - - - - - Initializes a new EntitySetMapping instance. - - The entity set to be mapped. - The parent container mapping. - - - - Gets the entity set that is mapped. - - - - - Gets the contained entity type mappings. - - - - - Gets the corresponding function mappings. - - - - - Adds a type mapping. - - The type mapping to add. - - - - Removes a type mapping. - - The type mapping to remove. - - - - Adds a function mapping. - - The function mapping to add. - - - - Removes a function mapping. - - The function mapping to remove. - - - - Mapping metadata for Entity type. - If an EntitySet represents entities of more than one type, than we will have - more than one EntityTypeMapping for an EntitySet( For ex : if - PersonSet Entity extent represents entities of types Person and Customer, - than we will have two EntityType Mappings under mapping for PersonSet). - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all entity Type map elements in the - above example. Users can access the table mapping fragments under the - entity type mapping through this class. - - - - - Creates an EntityTypeMapping instance. - - The EntitySetMapping that contains this EntityTypeMapping. - - - - Gets the EntitySetMapping that contains this EntityTypeMapping. - - - - - Gets the single EntityType being mapped. Throws exception in case of hierarchy type mapping. - - - - - Gets a flag that indicates whether this is a type hierarchy mapping. - - - - - Gets a read-only collection of mapping fragments. - - - - - Gets the mapped entity types. - - - - - Gets the mapped base types for a hierarchy mapping. - - - - - Adds an entity type to the mapping. - - The EntityType to be added. - - - - Removes an entity type from the mapping. - - The EntityType to be removed. - - - - Adds an entity type hierarchy to the mapping. - The hierarchy is represented by the specified root entity type. - - The root EntityType of the hierarchy to be added. - - - - Removes an entity type hierarchy from the mapping. - The hierarchy is represented by the specified root entity type. - - The root EntityType of the hierarchy to be removed. - - - - Adds a mapping fragment. - - The mapping fragment to be added. - - - - Removes a mapping fragment. - - The mapping fragment to be removed. - - - - Describes modification function mappings for an entity type within an entity set. - - - - - Initializes a new EntityTypeModificationFunctionMapping instance. - - An entity type. - A delete function mapping. - An insert function mapping. - An updated function mapping. - - - - Gets the entity type. - - - - - Gets the delete function mapping. - - - - - Gets the insert function mapping. - - - - - Gets the update function mapping. - - - - - - - - Base class for the type created at design time to store the generated views. - - - - Returns the key/value pair at the specified index, which contains the view and its key. - The key/value pair at index , which contains the view and its key. - The index of the view. - - - - Gets or sets the name of . - - The container name. - - - - Gets or sets in storage schema. - - Container name. - - - Hash value. - Hash value. - - - Hash value of views. - Hash value. - - - Gets or sets view count. - View count. - - - - Attribute to mark the assemblies that contain the generated views type. - - - - - Initializes a new instance of the class. - - The view type. - - - Gets the T:System.Type of the view. - The T:System.Type of the view. - - - - Represents a complex type mapping for a function import result. - - - - - Initializes a new FunctionImportComplexTypeMapping instance. - - The return type. - The property mappings for the result type of a function import. - - - - Ges the return type. - - - - - Represents a function import entity type mapping. - - - - - Initializes a new FunctionImportEntityTypeMapping instance. - - The entity types at the base of - the type hierarchies to be mapped. - The entity types to be mapped. - The property mappings for the result types of a function import. - The mapping conditions. - - - - Gets the entity types being mapped. - - - - - Gets the entity types at the base of the hierarchies being mapped. - - - - - Gets the mapping conditions. - - - - - Represents a mapping condition for a function import result. - - - - - Gets the name of the column used to evaluate the condition. - - - - - - - - Represents a mapping condition for the result of a function import - evaluated by checking null or not null. - - - - - Initializes a new FunctionImportEntityTypeMappingConditionIsNull instance. - - The name of the column used to evaluate the condition. - Flag that indicates whether a null or not null check is performed. - - - - Gets a flag that indicates whether a null or not null check is performed. - - - - - Represents a mapping condition for the result of a function import, - evaluated by comparison with a specified value. - - - - - Initializes a new FunctionImportEntityTypeMappingConditionValue instance. - - The name of the column used to evaluate the condition. - The value to compare with. - - - - Gets the value used for comparison. - - - - - Represents a mapping from a model function import to a store composable or non-composable function. - - - - - Gets model function (or source of the mapping) - - - - - Gets store function (or target of the mapping) - - - - - Represents a mapping from a model function import to a store composable function. - - - - - Initializes a new FunctionImportMappingComposable instance. - - The model function import. - The store composable function. - The result mapping for the function import. - The parent container mapping. - - - - Gets the result mapping for the function import. - - - - - Represents a mapping from a model function import to a store non-composable function. - - - - - Initializes a new FunctionImportMappingNonComposable instance. - - The model function import. - The store non-composable function. - The function import result mappings. - The parent container mapping. - - - - Gets the function import result mappings. - - - - - Represents a result mapping for a function import. - - - - - Gets the type mappings. - - - - - Adds a type mapping. - - The type mapping to add. - - - - Removes a type mapping. - - The type mapping to remove. - - - - Base class for mapping a property of a function import return type. - - - - - Maps a function import return type property to a table column. - - - - - Initializes a new FunctionImportReturnTypeScalarPropertyMapping instance. - - The mapped property name. - The mapped column name. - - - - Gets the mapped property name. - - - - - Gets the mapped column name. - - - - - Specifies a function import structural type mapping. - - - - - Gets the property mappings for the result type of a function import. - - - - - Specifies a mapping condition evaluated by checking whether the value - of the a property/column is null or not null. - - - - - Creates an IsNullConditionMapping instance. - - An EdmProperty that specifies a property or column. - A boolean that indicates whether to perform a null or a not-null check. - - - - Gets a bool that specifies whether the condition is evaluated by performing a null check - or a not-null check. - - - - - Represents the base item class for all the mapping metadata - - - - - Represents the metadata for mapping fragment. - A set of mapping fragments makes up the Set mappings( EntitySet, AssociationSet or CompositionSet ) - Each MappingFragment provides mapping for those properties of a type that map to a single table. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the mapping fragment elements in the - above example. Users can access all the top level constructs of - MappingFragment element like EntityKey map, Property Maps, Discriminator - property through this mapping fragment class. - - - - - Creates a MappingFragment instance. - - The EntitySet corresponding to the table of view being mapped. - The TypeMapping that contains this MappingFragment. - Flag that indicates whether to include 'DISTINCT' when generating queries. - - - - Gets the EntitySet corresponding to the table or view being mapped. - - - - - Gets the TypeMapping that contains this MappingFragment. - - - - - Gets a flag that indicates whether to include 'DISTINCT' when generating queries. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Base class for items in the mapping space (DataSpace.CSSpace) - - - - - Class for representing a collection of mapping items in Edm space. - - - - - Describes modification function binding for change processing of entities or associations. - - - - - Initializes a new ModificationFunctionMapping instance. - - The entity or association set. - The entity or association type. - The metadata of function to which we should bind. - Bindings for function parameters. - The output parameter producing number of rows affected. - Bindings for the results of function evaluation - - - - Gets output parameter producing number of rows affected. May be null. - - - - - Gets Metadata of function to which we should bind. - - - - - Gets bindings for function parameters. - - - - - Gets bindings for the results of function evaluation. - - - - - - - - Describes the location of a member within an entity or association type structure. - - - - - Initializes a new ModificationFunctionMemberPath instance. - - Gets the members in the path from the leaf (the member being bound) - to the root of the structure. - Gets the association set to which we are navigating - via this member. If the value is null, this is not a navigation member path. - - - - Gets the members in the path from the leaf (the member being bound) - to the Root of the structure. - - - - - Gets the association set to which we are navigating via this member. If the value - is null, this is not a navigation member path. - - - - - - - - Binds a modification function parameter to a member of the entity or association being modified. - - - - - Initializes a new ModificationFunctionParameterBinding instance. - - The parameter taking the value. - The path to the entity or association member defining the value. - A flag indicating whether the current or original member value is being bound. - - - - Gets the parameter taking the value. - - - - - Gets the path to the entity or association member defining the value. - - - - - Gets a flag indicating whether the current or original - member value is being bound. - - - - - - - - Defines a binding from a named result set column to a member taking the value. - - - - - Initializes a new ModificationFunctionResultBinding instance. - - The name of the column to bind from the function result set. - The property to be set on the entity. - - - - Gets the name of the column to bind from the function result set. - - - - - Gets the property to be set on the entity. - - - - - - - - Mapping metadata for all types of property mappings. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all property map elements in the - above example. This includes the scalar property maps, complex property maps - and end property maps. - - - - - Gets an EdmProperty that specifies the mapped property. - - - - - Mapping metadata for scalar properties. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the scalar property map elements in the - above example. - - - - - Creates a mapping between a simple property and a column. - - The property to be mapped. - The column to be mapped. - - - - Gets an EdmProperty that specifies the mapped column. - - - - - Represents a collection of items in Storage Mapping (CS Mapping) space. - - - - Initializes a new instance of the class using the specified , and a collection of string indicating the metadata file paths. - The that this mapping is to use. - The that this mapping is to use. - The file paths that this mapping is to use. - - - Initializes a new instance of the class using the specified , and XML readers. - The that this mapping is to use. - The that this mapping is to use. - The XML readers that this mapping is to use. - - - - Gets or sets a for creating instances - that are used to retrieve pre-generated mapping views. - - - - Gets the version of this represents. - The version of this represents. - - - - Computes a hash value for the container mapping specified by the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - A string that specifies the computed hash value. - - - - Computes a hash value for the single container mapping in the collection. - - A string that specifies the computed hash value. - - - - Creates a dictionary of (extent, generated view) for a container mapping specified by - the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - A list that accumulates potential errors. - - A dictionary of (, ) that specifies the generated views. - - - - - Creates a dictionary of (extent, generated view) for the single container mapping - in the collection. - - A list that accumulates potential errors. - - A dictionary of (, ) that specifies the generated views. - - - - - Factory method that creates a . - - - The edm metadata collection to map. Must not be null. - - - The store metadata collection to map. Must not be null. - - - MSL artifacts to load. Must not be null. - - - Paths to MSL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - - Specifies a structural type mapping. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Represents the Mapping metadata for a type map in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all the Type map elements in the - above example namely EntityTypeMapping, AssociationTypeMapping and CompositionTypeMapping. - The TypeMapping elements contain TableMappingFragments which in turn contain the property maps. - - - - - Specifies a mapping condition evaluated by comparing the value of - a property or column with a given value. - - - - - Creates a ValueConditionMapping instance. - - An EdmProperty that specifies a property or column. - An object that specifies the value to compare with. - - - - Gets an object that specifies the value to check against. - - - - - metadata exception class - - - - - Initializes a new instance of the class with a default message. - - - - - Initializes a new instance of the class with the specified message. - - The exception message. - - - - Initializes a new instance of the class with the specified message and inner exception. - - The exception message. - - The exception that is the cause of this . - - - - - Represents a end of a Association Type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Creates a read-only AssociationEndMember instance. - - The name of the association end member. - The reference type for the end. - The multiplicity of the end. - Flag that indicates the delete behavior of the end. - Metadata properties to be associated with the instance. - The newly created AssociationEndMember instance. - The specified name is null or empty. - The specified reference type is null. - - - - Class for representing an Association set - - - - - Gets the association related to this . - - - An object that represents the association related to this - - . - - - - - Gets the ends of this . - - - A collection of type that contains the ends of this - - . - - - - - Gets the built-in type kind for this . - - - A object that represents built-in type kind for this - - . - - - - - Creates a read-only AssociationSet instance from the specified parameters. - - The name of the association set. - The association type of the elements in the association set. - The entity set for the source association set end. - The entity set for the target association set end. - Metadata properties to be associated with the instance. - The newly created AssociationSet instance. - The specified name is null or empty. - The specified association type is null. - - The entity type of one of the ends of the specified - association type does not match the entity type of the corresponding entity set end. - - - - - Class representing a AssociationSet End - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the parent association set of this . - - - An object that represents the parent association set of this - - . - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - - Gets the End member that this object corresponds to. - - - An object that represents the End member that this - - object corresponds to. - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - - Gets the name of the End for this . - - - The name of the End for this . - - - - - Gets the name of the End role for this . - - - The name of the End role for this . - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - Gets the entity set referenced by this End role. - - An object that represents the entity set referred by this End role. - - - - - Returns the name of the End role for this . - - - The name of the End role for this . - - - - - Describes an association/relationship between two entities in the conceptual model or a foreign key relationship - between two tables in the store model. In the conceptual model the dependant class may or may not define a foreign key property. - If a foreign key is defined the property will be true and the property will contain details of the foreign keys - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of ends for this . - - - A collection of type that contains the list of ends for this - - . - - - - Gets or sets the referential constraint. - The referential constraint. - - - - Gets the list of constraints for this . - - - A collection of type that contains the list of constraints for this - - . - - - - Gets the Boolean property value that specifies whether the column is a foreign key. - A Boolean value that specifies whether the column is a foreign key. If true, the column is a foreign key. If false (default), the column is not a foreign key. - - - - Creates a read-only AssociationType instance from the specified parameters. - - The name of the association type. - The namespace of the association type. - Flag that indicates a foreign key (FK) relationship. - The data space for the association type. - The source association end member. - The target association end member. - A referential constraint. - Metadata properties to be associated with the instance. - The newly created AssociationType instance. - The specified name is null or empty. - The specified namespace is null or empty. - - - - List of all the built in types - - - - - Association Type Kind - - - - - AssociationSetEnd Kind - - - - - AssociationSet Kind - - - - - Association Type Kind - - - - - EntitySetBase Kind - - - - - Entity Type Base Kind - - - - - Collection Type Kind - - - - - Collection Kind - - - - - Complex Type Kind - - - - - Documentation Kind - - - - - DeleteAction Type Kind - - - - - Edm Type Kind - - - - - Entity Container Kind - - - - - Entity Set Kind - - - - - Entity Type Kind - - - - - Enumeration Type Kind - - - - - Enum Member Kind - - - - - Facet Kind - - - - - EdmFunction Kind - - - - - Function Parameter Kind - - - - - Global Item Type Kind - - - - - Metadata Property Kind - - - - - Navigation Property Kind - - - - - Metadata Item Type Kind - - - - - EdmMember Type Kind - - - - - Parameter Mode Kind - - - - - Primitive Type Kind - - - - - Primitive Type Kind Kind - - - - - EdmProperty Type Kind - - - - - ProviderManifest Type Kind - - - - - Referential Constraint Type Kind - - - - - Ref Type Kind - - - - - RelationshipEnd Type Kind - - - - - Relationship Multiplicity Type Kind - - - - - Relationship Set Type Kind - - - - - Relationship Type - - - - - Row Type Kind - - - - - Simple Type Kind - - - - - Structural Type Kind - - - - - Type Information Kind - - - - - Kind of collection (applied to Properties) - - - - - Property is not a Collection - - - - - Collection has Bag semantics( unordered and duplicates ok) - - - - - Collection has List semantics - (Order is deterministic and duplicates ok) - - - - - Represents the Edm Collection Type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the instance of the class that contains the type of the element that this current - - object includes and facets for that type. - - - The instance of the class that contains the type of the element that this current - - object includes and facets for that type. - - - - - Represents the Edm Complex Type. This can be used to configure complex types - from a conceptual-space model-based convention. Complex types are not supported in the store model. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of properties for this . - - - A collection of type that contains the list of properties for this - - . - - - - - Creates a new instance of the type. - - The name of the complex type. - The namespace of the complex type. - The dataspace to which the complex type belongs to. - Members of the complex type. - Metadata properties to be associated with the instance. - Thrown if either name, namespace or members argument is null. - - A new instance a the type. - - - The newly created will be read only. - - - - - The concurrency mode for properties. - - - - - Default concurrency mode: the property is never validated - at write time - - - - - Fixed concurrency mode: the property is always validated at - write time - - - - - Serializes an that conforms to the restrictions of a single - CSDL schema file to an XML writer. The model to be serialized must contain a single - . - - - - - Occurs when an error is encountered serializing the model. - - - - - Serialize the to the XmlWriter. - - - The EdmModel to serialize. - - The XmlWriter to serialize to. - The serialized model's namespace. - true if the model is valid; otherwise, false. - - - - Information about an error that occurred processing an Entity Framework model. - - - - - Gets an optional value indicating which property of the source item caused the event to be raised. - - - - - Gets an optional descriptive message the describes the error that is being raised. - - - - - Gets a value indicating the that caused the event to be raised. - - - - - DataSpace - - - - - OSpace indicates the item in the clr space - - - - - CSpace indicates the item in the CSpace - edm primitive types + - types defined in csdl - - - - - SSpace indicates the item in the SSpace - - - - - Mapping between OSpace and CSpace - - - - - Mapping between CSpace and SSpace - - - - - Extension methods for . - - - - - Gets the conceptual model from the specified DbModel. - - An instance of a class that implements IEdmModelAdapter (ex. DbModel). - An instance of EdmModel that represents the conceptual model. - - - - Gets the store model from the specified DbModel. - - An instance of a class that implements IEdmModelAdapter (ex. DbModel). - An instance of EdmModel that represents the store model. - - - - Class representing the Documentation associated with an item - - - - - Initializes a new Documentation instance. - - A summary string. - A long description string. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the summary for this . - - - The summary for this . - - - - - Gets the long description for this . - - - The long description for this . - - - - - Gets a value indicating whether this object contains only a null or an empty - - and a - - . - - - true if this object contains only a null or an empty - - and a - - ; otherwise, false. - - - - - Returns the summary for this . - - - The summary for this . - - - - - This class encapsulates the error information for a generic EDM error. - - - - Gets the error message. - The error message. - - - - Class for representing a function - - - - - Gets the built-in type kind for this . - - - One of the enumeration values of the enumeration. - - - - Returns the full name (namespace plus name) of this type. - The full name of the type. - - - - Gets the parameters of this . - - - A collection of type that contains the parameters of this - - . - - - - - Adds a parameter to this function. - - The parameter to be added. - - - - Gets the return parameter of this . - - - A object that represents the return parameter of this - - . - - - - - Gets the return parameters of this . - - - A collection of type that represents the return parameters of this - - . - - - - Gets the store function name attribute of this function. - - - Gets the parameter type semantics attribute of this function. - - - Gets the aggregate attribute of this function. - - - - Gets a value indicating whether built in attribute is present on this function. - - - true if the attribute is present; otherwise, false. - - - - - Gets a value indicating whether this instance is from the provider manifest. - - - true if this instance is from the provider manifest; otherwise, false. - - - - - Gets a value indicating whether the is a niladic function (a function that accepts no arguments). - - - true if the function is niladic; otherwise, false. - - - - Gets whether this instance is mapped to a function or to a stored procedure. - true if this instance is mapped to a function; false if this instance is mapped to a stored procedure. - - - Gets a query in the language that is used by the database management system or storage model. - - A string value in the syntax used by the database management system or storage model that contains the query or update statement of the - - . - - - - Gets or sets the schema associated with the function. - The schema associated with the function. - - - - The factory method for constructing the object. - - The name of the function. - The namespace of the function. - The namespace the function belongs to. - Additional function attributes and properties. - Metadata properties that will be added to the function. Can be null. - - A new, read-only instance of the type. - - - - - Contains additional attributes and properties of the - - - Note that objects are short lived and exist only to - make initialization easier. Instance of this type are not - compared to each other and arrays returned by array properties are copied to internal - collections in the ctor. Therefore it is fine to suppress the - Code Analysis messages. - - - - Gets or sets the function schema. - The function schema. - - - Gets or sets the store function name. - The store function name. - - - Gets or sets the command text associated with the function. - The command text associated with the function. - - - Gets or sets the entity sets for the function. - The entity sets for the function. - - - Gets a value that indicates whether this is an aggregate function. - true if this is an aggregate function; otherwise, false. - - - Gets or sets whether this function is a built-in function. - true if this function is a built-in function; otherwise, false. - - - Gets or sets whether the function contains no arguments. - true if the function contains no arguments; otherwise, false. - - - Gets or sets whether this function can be composed. - true if this function can be composed; otherwise, false. - - - Gets or sets whether this function is from a provider manifest. - true if this function is from a provider manifest; otherwise, false. - - - Gets or sets whether this function is a cached store function. - true if this function is a cached store function; otherwise, false. - - - Gets or sets whether this function is a function import. - true if this function is a function import; otherwise, false. - - - Gets or sets the return parameters. - The return parameters. - - - Gets or sets the parameter type semantics. - The parameter type semantics. - - - Gets or sets the function parameters. - The function parameters. - - - - Class for representing a collection of items in Edm space. - - - - - Initializes a new instance of the class by using the collection of the XMLReader objects where the conceptual schema definition language (CSDL) files exist. - - The collection of the XMLReader objects where the conceptual schema definition language (CSDL) files exist. - - - Initializes a new instance of the class. - The entity data model. - - - - Initializes a new instance of the class by using the paths where the conceptual schema definition language (CSDL) files exist. - - The paths where the conceptual schema definition language (CSDL) files exist. - - - Gets the conceptual model version for this collection. - The conceptual model version for this collection. - - - - Returns a collection of the objects. - - - A ReadOnlyCollection object that represents a collection of the - - objects. - - - - - Returns a collection of the objects with the specified conceptual model version. - - - A ReadOnlyCollection object that represents a collection of the - - objects. - - The conceptual model version. - - - - Factory method that creates an . - - - CSDL artifacts to load. Must not be null. - - - Paths to CSDL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - - Represents the edm member class - - - - - Gets or sets the name of the property. Setting this from a store-space model-convention will change the name of the database - column for this property. In the conceptual model, this should align with the corresponding property from the entity class - and should not be changed. - - The name of this member. - - - Gets the type on which this member is declared. - - A object that represents the type on which this member is declared. - - - - - Gets the instance of the class that contains both the type of the member and facets for the type. - - - A object that contains both the type of the member and facets for the type. - - - - Returns the name of this member. - The name of this member. - - - - Tells whether this member is marked as a Computed member in the EDM definition - - - - - Tells whether this member's Store generated pattern is marked as Identity in the EDM definition - - - - - Represents a conceptual or store model. This class can be used to access information about the shape of the model - and the way the that it has been configured. - - - - Gets the built-in type kind for this type. - - A object that represents the built-in type kind for this type. - - - - - Gets the data space associated with the model, which indicates whether - it is a conceptual model (DataSpace.CSpace) or a store model (DataSpace.SSpace). - - - - - Gets the association types in the model. - - - - - Gets the complex types in the model. - - - - - Gets the entity types in the model. - - - - - Gets the enum types in the model. - - - - - Gets the functions in the model. - - - - - Gets the container that stores entity and association sets, and function imports. - - - - Gets the global items associated with the model. - The global items associated with the model. - - - - Adds an association type to the model. - - The AssociationType instance to be added. - - - - Adds a complex type to the model. - - The ComplexType instance to be added. - - - - Adds an entity type to the model. - - The EntityType instance to be added. - - - - Adds an enumeration type to the model. - - The EnumType instance to be added. - - - - Adds a function to the model. - - The EdmFunction instance to be added. - - - - Removes an association type from the model. - - The AssociationType instance to be removed. - - - - Removes a complex type from the model. - - The ComplexType instance to be removed. - - - - Removes an entity type from the model. - - The EntityType instance to be removed. - - - - Removes an enumeration type from the model. - - The EnumType instance to be removed. - - - - Removes a function from the model. - - The EdmFunction instance to be removed. - - - - In conceptual-space, EdmProperty represents a property on an Entity. - In store-space, EdmProperty represents a column in a table. - - - - Creates a new primitive property. - The newly created property. - The name of the property. - The type of the property. - - - Creates a new enum property. - The newly created property. - The name of the property. - The type of the property. - - - Creates a new complex property. - The newly created property. - The name of the property. - The type of the property. - - - - Creates a new instance of EdmProperty type. - - Name of the property. - - Property - - A new instance of EdmProperty type - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets a value indicating whether this can have a null value. - - - Nullability in the conceptual model and store model is a simple indication of whether or not - the property is considered nullable. Nullability in the object model is more complex. - When using convention based mapping (as usually happens with POCO entities), a property in the - object model is considered nullable if and only if the underlying CLR type is nullable and - the property is not part of the primary key. - When using attribute based mapping (usually used with entities that derive from the EntityObject - base class), a property is considered nullable if the IsNullable flag is set to true in the - attribute. This flag can - be set to true even if the underlying type is not nullable, and can be set to false even if the - underlying type is nullable. The latter case happens as part of default code generation when - a non-nullable property in the conceptual model is mapped to a nullable CLR type such as a string. - In such a case, the Entity Framework treats the property as non-nullable even though the CLR would - allow null to be set. - There is no good reason to set a non-nullable CLR type as nullable in the object model and this - should not be done even though the attribute allows it. - - - true if this can have a null value; otherwise, false. - - Thrown if the setter is called when the EdmProperty instance is in ReadOnly state - - - Gets the type name of the property. - The type name of the property. - - - - Gets the default value for this . - - - The default value for this . - - Thrown if the setter is called when the EdmProperty instance is in ReadOnly state - - - Gets whether the property is a collection type property. - true if the property is a collection type property; otherwise, false. - - - Gets whether this property is a complex type property. - true if this property is a complex type property; otherwise, false. - - - Gets whether this property is a primitive type. - true if this property is a primitive type; otherwise, false. - - - Gets whether this property is an enumeration type property. - true if this property is an enumeration type property; otherwise, false. - - - Gets whether this property is an underlying primitive type. - true if this property is an underlying primitive type; otherwise, false. - - - Gets the complex type information for this property. - The complex type information for this property. - - - Gets the primitive type information for this property. - The primitive type information for this property. - - - Gets the enumeration type information for this property. - The enumeration type information for this property. - - - Gets the underlying primitive type information for this property. - The underlying primitive type information for this property. - - - Gets or sets the concurrency mode for the property. - The concurrency mode for the property. - - - Gets or sets the database generation method for the database column associated with this property - The store generated pattern for the property. - - - Gets or sets the kind of collection for this model. - The kind of collection for this model. - - - Gets whether the maximum length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the maximum length of the property. - The maximum length of the property. - - - Gets or sets whether this property uses the maximum length supported by the provider. - true if this property uses the maximum length supported by the provider; otherwise, false. - - - Gets whether the fixed length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets whether the length of this property is fixed. - true if the length of this property is fixed; otherwise, false. - - - Gets whether the Unicode facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets whether this property is a Unicode property. - true if this property is a Unicode property; otherwise, false. - - - Gets whether the precision facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the precision of this property. - The precision of this property. - - - Gets whether the scale facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the scale of this property. - The scale of this property. - - - Sets the metadata properties. - The metadata properties to be set. - - - - This class encapsulates the error information for a schema error that was encountered. - - - - - Constructs a EdmSchemaError object. - - The explanation of the error. - The code associated with this error. - The severity of the error. - - - Returns the error message. - The error message. - - - Gets the error code. - The error code. - - - Gets the severity level of the error. - - One of the values. The default is - - . - - - - Gets the line number where the error occurred. - The line number where the error occurred. - - - Gets the column where the error occurred. - The column where the error occurred. - - - Gets the location of the schema that contains the error. This string also includes the name of the schema at the end. - The location of the schema that contains the error. - - - Gets the name of the schema that contains the error. - The name of the schema that contains the error. - - - Gets a string representation of the stack trace at the time the error occurred. - A string representation of the stack trace at the time the error occurred. - - - - Defines the different severities of errors that can occur when validating an Entity Framework model. - - - - - A warning that does not prevent the model from being used. - - - - - An error that prevents the model from being used. - - - - - Base EdmType class for all the model types - - - - Gets the name of this type. - The name of this type. - - - Gets the namespace of this type. - The namespace of this type. - - - Gets a value indicating whether this type is abstract or not. - true if this type is abstract; otherwise, false. - Thrown if the setter is called on instance that is in ReadOnly state - - - Gets the base type of this type. - The base type of this type. - Thrown if the setter is called on instance that is in ReadOnly state - Thrown if the value passed in for setter will create a loop in the inheritance chain - - - Gets the full name of this type. - The full name of this type. - - - Returns the full name of this type. - The full name of this type. - - - - Returns an instance of the whose element type is this type. - - - The object whose element type is this type. - - - - - Class for representing an entity container - - - - - Creates an entity container with the specified name and data space. - - The entity container name. - The entity container data space. - Thrown if the name argument is null. - Thrown if the name argument is empty string. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets a list of entity sets and association sets that this - - includes. - - - A object that contains a list of entity sets and association sets that this - - includes. - - - - Gets the association sets for this entity container. - The association sets for this entity container . - - - Gets the entity sets for this entity container. - The entity sets for this entity container . - - - - Specifies a collection of elements. Each function contains the details of a stored procedure that exists in the database or equivalent CommandText that is mapped to an entity and its properties. - - - A that contains - - elements. - - - - - Returns an object by using the specified name for the entity set. - - - An object that represents the entity set that has the specified name. - - The name of the entity set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified name for the entity set. - - true if there is an entity set that matches the search criteria; otherwise, false. - The name of the entity set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, contains an object. If there is no entity set, this output parameter contains null. - - - - - Returns a object by using the specified name for the relationship set. - - - An object that represents the relationship set that has the specified name. - - The name of the relationship set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - - - Returns a object by using the specified name for the relationship set. - - true if there is a relationship set that matches the search criteria; otherwise, false. - The name of the relationship set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, contains a object. - - - - - Returns the name of this . - - - The name of this . - - - - - Adds the specified entity set to the container. - - The entity set to add. - - - Removes a specific entity set from the container. - The entity set to remove. - - - - Adds a function import to the container. - - The function import to add. - - - - The factory method for constructing the EntityContainer object. - - The name of the entity container to be created. - DataSpace in which this entity container belongs to. - Entity sets that will be included in the new container. Can be null. - Functions that will be included in the new container. Can be null. - Metadata properties to be associated with the instance. - The EntityContainer object. - Thrown if the name argument is null or empty string. - The newly created EntityContainer will be read only. - - - - Represents a particular usage of a structure defined in EntityType. In the conceptual-model, this represents a set that can - query and persist entities. In the store-model it represents a table. - From a store-space model-convention it can be used to configure - table name with property and table schema with property. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the entity type of this . - - - An object that represents the entity type of this - - . - - - - - The factory method for constructing the EntitySet object. - - The name of the EntitySet. - The db schema. Can be null. - The db table. Can be null. - - The provider specific query that should be used to retrieve data for this EntitySet. Can be null. - - The entity type of the entities that this entity set type contains. - - Metadata properties that will be added to the newly created EntitySet. Can be null. - - The EntitySet object. - Thrown if the name argument is null or empty string. - The newly created EntitySet will be read only. - - - - Class for representing a entity set - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets escaped provider specific SQL describing this entity set. - - - - - Gets or sets the name of the current entity or relationship set. - If this property is changed from store-space, the mapping layer must also be updated to reflect the new name. - To change the table name of a store space use the Table property. - - The name of the current entity or relationship set. - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - Gets the entity container of the current entity or relationship set. - - An object that represents the entity container of the current entity or relationship set. - - Thrown if the setter is called when the EntitySetBase instance or the EntityContainer passed into the setter is in ReadOnly state - - - - Gets the entity type of this . - - - An object that represents the entity type of this - - . - - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - - Gets or sets the database table name for this entity set. - - if value passed into setter is null - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - - Gets or sets the database schema for this entity set. - - if value passed into setter is null - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - Returns the name of the current entity or relationship set. - The name of the current entity or relationship set. - - - - Represents the structure of an . In the conceptual-model this represents the shape and structure - of an entity. In the store model this represents the structure of a table. To change the Schema and Table name use EntitySet. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - Gets the declared navigation properties associated with the entity type. - The declared navigation properties associated with the entity type. - - - - Gets the navigation properties of this . - - - A collection of type that contains the list of navigation properties on this - - . - - - - Gets the list of declared properties for the entity type. - The declared properties for the entity type. - - - Gets the collection of declared members for the entity type. - The collection of declared members for the entity type. - - - - Gets the list of properties for this . - - - A collection of type that contains the list of properties for this - - . - - - - - Returns a object that references this - - . - - - A object that references this - - . - - - - - The factory method for constructing the EntityType object. - - The name of the entity type. - The namespace of the entity type. - The dataspace in which the EntityType belongs to. - Name of key members for the type. - Members of the entity type (primitive and navigation properties). - Metadata properties to be associated with the instance. - The EntityType object. - Thrown if either name, namespace arguments are null. - The newly created EntityType will be read only. - - - - The factory method for constructing the EntityType object. - - The name of the entity type. - The namespace of the entity type. - The dataspace in which the EntityType belongs to. - The base type. - Name of key members for the type. - Members of the entity type (primitive and navigation properties). - Metadata properties to be associated with the instance. - The EntityType object. - Thrown if either name, namespace arguments are null. - The newly created EntityType will be read only. - - - - Adds the specified navigation property to the members of this type. - The navigation property is added regardless of the read-only flag. - - The navigation property to be added. - - - - Represents the Entity Type - - - - Gets the list of all the key members for the current entity or relationship type. - - A object that represents the list of key members for the current entity or relationship type. - - - - Gets the list of all the key properties for this entity type. - The list of all the key properties for this entity type. - - - - Adds the specified property to the list of keys for the current entity. - - The property to add. - if member argument is null - Thrown if the EntityType has a base type of another EntityTypeBase. In this case KeyMembers should be added to the base type - If the EntityType instance is in ReadOnly state - - - Removes the specified key member from the collection. - The key member to remove. - - - - Represents an enumeration member. - - - - Gets the kind of this type. - - - Gets the name of this enumeration member. - - - Gets the value of this enumeration member. - - - Overriding System.Object.ToString to provide better String representation for this type. - The name of this enumeration member. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Represents an enumeration type. - - - - Returns the kind of the type - - - Gets a collection of enumeration members for this enumeration type. - - - Gets a value indicating whether the enum type is defined as flags (i.e. can be treated as a bit field) - - - Gets the underlying type for this enumeration type. - - - - Creates a read-only EnumType instance. - - The name of the enumeration type. - The namespace of the enumeration type. - The underlying type of the enumeration type. - Indicates whether the enumeration type can be treated as a bit field; that is, a set of flags. - The members of the enumeration type. - Metadata properties to be associated with the enumeration type. - The newly created EnumType instance. - underlyingType is null. - - name is null or empty. - -or- - namespaceName is null or empty. - -or- - underlyingType is not a supported underlying type. - -or- - The specified members do not have unique names. - -or- - The value of a specified member is not in the range of the underlying type. - - - - - Class for representing a Facet object - This object is Immutable (not just set to readonly) and - some parts of the system are depending on that behavior - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the description of this . - - - The object that represents the description of this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets the type of this . - - - The object that represents the type of this - - . - - - - - Gets the value of this . - - - The value of this . - - Thrown if the Facet instance is in ReadOnly state - - - Gets a value indicating whether the value of the facet is unbounded. - true if the value of the facet is unbounded; otherwise, false. - - - - Returns the name of this . - - - The name of this . - - - - - Class for representing a FacetDescription object - - - - Gets the name of this facet. - The name of this facet. - - - Gets the type of this facet. - - An object that represents the type of this facet. - - - - Gets the minimum value for this facet. - The minimum value for this facet. - - - Gets the maximum value for this facet. - The maximum value for this facet. - - - Gets the default value of a facet with this facet description. - The default value of a facet with this facet description. - - - Gets a value indicating whether the value of this facet is a constant. - true if this facet is a constant; otherwise, false. - - - Gets a value indicating whether this facet is a required facet. - true if this facet is a required facet; otherwise, false. - - - Returns the name of this facet. - The name of this facet. - - - - Class representing a function parameter - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the mode of this . - - - One of the values. - - Thrown if the FunctionParameter instance is in ReadOnly state - - - - Gets the name of this . - - - The name of this . - - - - - Gets the instance of the class that contains both the type of the parameter and facets for the type. - - - A object that contains both the type of the parameter and facets for the type. - - - - Gets the type name of this parameter. - The type name of this parameter. - - - Gets whether the max length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the maximum length of the parameter. - The maximum length of the parameter. - - - Gets whether the parameter uses the maximum length supported by the database provider. - true if parameter uses the maximum length supported by the database provider; otherwise, false. - - - Gets whether the precision facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the precision value of the parameter. - The precision value of the parameter. - - - Gets whether the scale facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the scale value of the parameter. - The scale value of the parameter. - - - - Gets the on which this parameter is declared. - - - A object that represents the function on which this parameter is declared. - - - - - Returns the name of this . - - - The name of this . - - - - - The factory method for constructing the object. - - The name of the parameter. - The EdmType of the parameter. - - The of the parameter. - - - A new, read-only instance of the type. - - - - - Represents the base item class for all the metadata - - - - - An interface to get the underlying store and conceptual model for a . - - - - - Gets the conceptual model. - - - - - Gets the store model. - - - - - Class for representing a collection of items. - Most of the implementation for actual maintenance of the collection is - done by MetadataCollection - - - - Gets the data model associated with this item collection. - The data model associated with this item collection. - - - - Returns a strongly typed object by using the specified identity. - - The item that is specified by the identity. - The identity of the item. - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity from this item collection. - - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item. - - When this method returns, the output parameter contains a - - object. If there is no global item with the specified identity in the item collection, this output parameter contains null. - - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity from this item collection. - - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, the output parameter contains a - - object. If there is no global item with the specified identity in the item collection, this output parameter contains null. - - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity with either case-sensitive or case-insensitive search. - - The item that is specified by the identity. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - The type returned by the method. - - - Returns all the items of the specified type from this item collection. - - A collection of type that contains all the items of the specified type. - - The type returned by the method. - - - - Returns an object by using the specified type name and the namespace name in this item collection. - - - An object that represents the type that matches the specified type name and the namespace name in this item collection. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - - When this method returns, this output parameter contains an - - object. If there is no type with the specified name and namespace name in this item collection, this output parameter contains null. - - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - - An object that represents the type that matches the specified type name and the namespace name in this item collection. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, this output parameter contains an - - object. If there is no type with the specified name and namespace name in this item collection, this output parameter contains null. - - - - Returns all the overloads of the functions by using the specified name from this item collection. - - A collection of type that contains all the functions that have the specified name. - - The full name of the function. - - - Returns all the overloads of the functions by using the specified name from this item collection. - - A collection of type that contains all the functions that have the specified name. - - The full name of the function. - true to perform the case-insensitive search; otherwise, false. - - - Returns all the overloads of the functions by using the specified name from this item collection. - A collection of type ReadOnlyCollection that contains all the functions that have the specified name. - A dictionary of functions. - The full name of the function. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified entity container name. - - If there is no entity container, this method returns null; otherwise, it returns the first one. - The name of the entity container. - - - - Returns an object by using the specified entity container name. If there is no entity container, the output parameter contains null; otherwise, it contains the first entity container. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - - When this method returns, it contains an object. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - - - - Returns an object by using the specified entity container name. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified entity container name. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, it contains an object. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - - - - Do not perform any extension check - - - - - Check the extension against a specific value - - - - - Check the extension against the set of acceptable extensions - - - - - Represents the base item class for all the metadata - - - Represents the base item class for all the metadata - - - - Gets the built-in type kind for this type. - - A object that represents the built-in type kind for this type. - - - - Gets the list of properties of the current type. - - A collection of type that contains the list of properties of the current type. - - - - - Adds or updates an annotation with the specified name and value. - - - If an annotation with the given name already exists then the value of that annotation - is updated to the given value. If the given value is null then the annotation will be - removed. - - The name of the annotation property. - The value of the annotation property. - - - - Removes an annotation with the specified name. - - The name of the annotation property. - true if an annotation was removed; otherwise, false. - - - Gets or sets the documentation associated with this type. - - A object that represents the documentation on this type. - - - - - Returns a conceptual model built-in type that matches one of the - - values. - - - An object that represents the built-in type in the EDM. - - - One of the values. - - - - Returns the list of the general facet descriptions for a specified type. - - A object that represents the list of the general facet descriptions for a specified type. - - - - - Class representing a metadata attribute for an item - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets the value of this . - - - The value of this . - - Thrown if the MetadataProperty instance is in readonly state - - - - Gets the instance of the class that contains both the type of this - - and facets for the type. - - - A object that contains both the type of this - - and facets for the type. - - Thrown if the MetadataProperty instance is in readonly state - - - - Gets the value of this . - - - The value of this . - - - - - Gets a boolean that indicates whether the metadata property is an annotation. - - - - - The factory method for constructing the MetadataProperty object. - - The name of the metadata property. - The type usage of the metadata property. - The value of the metadata property. - The MetadataProperty object. - - Thrown is null. - - The newly created MetadataProperty will be read only. - - - - Creates a metadata annotation having the specified name and value. - - The annotation name. - The annotation value. - A MetadataProperty instance representing the created annotation. - - - - Runtime Metadata Workspace - - - - - Initializes a new instance of the class. - - - - - Constructs a with loaders for all item collections () - needed by EF except the o/c mapping which will be created automatically based on the given o-space and c-space - loaders. The item collection delegates are executed lazily when a given collection is used for the first - time. It is acceptable to pass a delegate that returns null if the collection will never be used, but this - is rarely done, and any attempt by EF to use the collection in such cases will result in an exception. - - Delegate to return the c-space (CSDL) item collection. - Delegate to return the s-space (SSDL) item collection. - Delegate to return the c/s mapping (MSL) item collection. - Delegate to return the o-space item collection. - - - - Constructs a with loaders for all item collections () - that come from traditional EDMX mapping. Default o-space and o/c mapping collections will be used. - The item collection delegates are executed lazily when a given collection is used for the first - time. It is acceptable to pass a delegate that returns null if the collection will never be used, but this - is rarely done, and any attempt by EF to use the collection in such cases will result in an exception. - - Delegate to return the c-space (CSDL) item collection. - Delegate to return the s-space (SSDL) item collection. - Delegate to return the c/s mapping (MSL) item collection. - - - - Initializes a new instance of the class using the specified paths and assemblies. - - The paths to workspace metadata. - The names of assemblies used to construct workspace. - - - - The Max EDM version thats going to be supported by the runtime. - - - - - Creates an configured to use the - - data space. - - The created parser object. - - - - Creates a new bound to this metadata workspace based on the specified query expression. - - - A new with the specified expression as it's - - property. - - - A that defines the query. - - - If - - is null - - - If - - contains metadata that cannot be resolved in this metadata workspace - - - If - - is not structurally valid because it contains unresolvable variable references - - - - - Gets items. - - - The items. - - - The from which to retrieve items. - - - - Registers the item collection with each associated data model. - The output parameter collection that needs to be filled up. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - The delegate for logging the load messages. - - - Returns an item by using the specified identity and the data model. - The item that matches the given identity in the specified data model. - The identity of the item. - The conceptual model in which the item is searched. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns an item by using the specified identity and the data model. - true if there is an item that matches the search criteria; otherwise, false. - The conceptual model on which the item is searched. - The conceptual model on which the item is searched. - - When this method returns, contains a object. This parameter is passed uninitialized. - - The type returned by the method. - - - Returns an item by using the specified identity and the data model. - The item that matches the given identity in the specified data model. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the item is searched. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns an item by using the specified identity and the data model. - true if there is an item that matches the search criteria; otherwise, false. - The conceptual model on which the item is searched. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the item is searched. - - When this method returns, contains a object. This parameter is passed uninitialized. - - The type returned by the method. - - - Gets all the items in the specified data model. - - A collection of type that contains all the items in the specified data model. - - The conceptual model for which the list of items is needed. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - - An object that represents the type that matches the given type name and the namespace name in the specified data model. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - The conceptual model on which the type is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - The conceptual model on which the type is searched. - - When this method returns, contains an object. This parameter is passed uninitialized. - - - - - Returns an object by using the specified type name, namespace name, and data model. - - - An object. - - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the type is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the type is searched. - - When this method returns, contains an object. This parameter is passed uninitialized. - - - - - Returns an object by using the specified entity container name and the data model. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - The conceptual model on which the entity container is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified entity container name and the data model. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - The conceptual model on which the entity container is searched. - - When this method returns, contains an object. If there is no entity container, this output parameter contains null; otherwise, it returns the first entity container. This parameter is passed uninitialized. - - - - - Returns an object by using the specified entity container name and the data model. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the entity container is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified entity container name and the data model. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the entity container is searched. - - When this method returns, contains an object. If there is no entity container, this output parameter contains null; otherwise, it returns the first entity container. This parameter is passed uninitialized. - - - - Returns all the overloads of the functions by using the specified name, namespace name, and data model. - - A collection of type that contains all the functions that match the specified name in a given namespace and a data model. - - The name of the function. - The namespace of the function. - The conceptual model in which the functions are searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns all the overloads of the functions by using the specified name, namespace name, and data model. - - A collection of type that contains all the functions that match the specified name in a given namespace and a data model. - - The name of the function. - The namespace of the function. - The conceptual model in which the functions are searched. - true to perform the case-insensitive search; otherwise, false. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns the list of primitive types in the specified data model. - - A collection of type that contains all the primitive types in the specified data model. - - The data model for which you need the list of primitive types. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Gets all the items in the specified data model. - - A collection of type that contains all the items in the specified data model. - - The conceptual model for which the list of items is needed. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Tests the retrieval of . - - true if the retrieval was successful; otherwise, false. - - The from which to attempt retrieval of - - . - - When this method returns, contains the item collection. This parameter is passed uninitialized. - - - - Returns a object that represents the object space type that matches the type supplied by the parameter edmSpaceType . - - - A object that represents the Object space type. If there is no matched type, this method returns null. - - - A object that represents the - - . - - - - - Returns a object via the out parameter objectSpaceType that represents the type that matches the - - supplied by the parameter edmSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the - - . - - - When this method returns, contains a object that represents the Object space type. This parameter is passed uninitialized. - - - - - Returns a object that represents the object space type that matches the type supplied by the parameter edmSpaceType . - - - A object that represents the Object space type. If there is no matched type, this method returns null. - - - A object that represents the - - . - - - - - Returns a object via the out parameter objectSpaceType that represents the type that matches the - - supplied by the parameter edmSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the - - . - - - When this method returns, contains a object that represents the Object space type. This parameter is passed uninitialized. - - - - - Returns a object that represents the - - that matches the type supplied by the parameter objectSpaceType . - - - A object that represents the - - . If there is no matched type, this method returns null. - - - A that supplies the type in the object space. - - - - - Returns a object via the out parameter edmSpaceType that represents the - - that matches the type supplied by the parameter objectSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the object space type. - - - When this method returns, contains a object that represents the - - . This parameter is passed uninitialized. - - - - - Returns a object that represents the - - that matches the type supplied by the parameter objectSpaceType . - - - A object that represents the - - . If there is no matched type, this method returns null. - - - A that supplies the type in the object space. - - - - - Returns a object via the out parameter edmSpaceType that represents the - - that matches the type supplied by the parameter objectSpaceType . - - true on success, false on failure. - - A object that represents the object space type. - - - When this method returns, contains a object that represents the - - . This parameter is passed uninitialized. - - - - Clears all the metadata cache entries. - - - Gets original value members from an entity set and entity type. - The original value members from an entity set and entity type. - The entity set from which to retrieve original values. - The entity type of which to retrieve original values. - - - - Returns members of a given / - - for which original values are needed when modifying an entity. - - - The s for which original value is required. - - - An belonging to the C-Space. - - - An that participates in the given - - . - - true if entities may be updated partially; otherwise, false. - - - - Represent the edm navigation property class - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - Gets the relationship type that this navigation property operates on. - The relationship type that this navigation property operates on. - Thrown if the NavigationProperty instance is in ReadOnly state - - - Gets the "to" relationship end member of this navigation. - The "to" relationship end member of this navigation. - Thrown if the NavigationProperty instance is in ReadOnly state - - - Gets the "from" relationship end member in this navigation. - The "from" relationship end member in this navigation. - Thrown if the NavigationProperty instance is in ReadOnly state - - - - Where the given navigation property is on the dependent end of a referential constraint, - returns the foreign key properties. Otherwise, returns an empty set. We will return the members in the order - of the principal end key properties. - - A collection of the foreign key properties. - - - - Creates a NavigationProperty instance from the specified parameters. - - The name of the navigation property. - Specifies the navigation property type and its facets. - The relationship type for the navigation. - The source end member in the navigation. - The target end member in the navigation. - The metadata properties of the navigation property. - The newly created NavigationProperty instance. - - - - Class for representing a collection of items for the object layer. - Most of the implementation for actual maintenance of the collection is - done by ItemCollection - - - - - Initializes a new instance of the class. - - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - The EDM metadata source for the O space metadata. - The delegate to which log messages are sent. - - - Loads metadata from the specified assembly. - The assembly from which the metadata will be loaded. - The EDM metadata source for the O space metadata. - - - Returns a collection of primitive type objects. - A collection of primitive type objects. - - - - Returns the CLR type that corresponds to the supplied by the objectSpaceType parameter. - - The CLR type of the OSpace argument. - - A that represents the object space type. - - - - - Returns a CLR type corresponding to the supplied by the objectSpaceType parameter. - - true if there is a type that matches the search criteria; otherwise, false. - - A that represents the object space type. - - The CLR type. - - - The method returns the underlying CLR type for the specified OSpace type argument. If the DataSpace of the parameter is not OSpace, an ArgumentException is thrown. - The CLR type of the OSpace argument. - The OSpace type to look up. - - - Returns the underlying CLR type for the specified OSpace enum type argument. If the DataSpace of the parameter is not OSpace, the method returns false and sets the out parameter to null. - true on success, false on failure - The OSpace enum type to look up - The CLR enum type of the OSpace argument - - - Returns all the items of the specified type from this item collection. - - A collection of type that contains all items of the specified type. - - The type returned by the method. - - - - Represents the list of possible actions for delete operation - - - - - no action - - - - - Cascade to other ends - - - - - The enumeration defining the mode of a parameter - - - - - In parameter - - - - - Out parameter - - - - - Both in and out parameter - - - - - Return Parameter - - - - - The enumeration defining the type semantics used to resolve function overloads. - These flags are defined in the provider manifest per function definition. - - - - - Allow Implicit Conversion between given and formal argument types (default). - - - - - Allow Type Promotion between given and formal argument types. - - - - - Use strict Equivalence only. - - - - - Class representing a primitive type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets a enumeration value that indicates a primitive type of this - - . - - - A enumeration value that indicates a primitive type of this - - . - - - - - Gets the list of facet descriptions for this . - - - A collection of type that contains the list of facet descriptions for this - - . - - - - - Returns an equivalent common language runtime (CLR) type of this - - . Note that the - - property always returns a non-nullable type value. - - - A object that represents an equivalent common language runtime (CLR) type of this - - . - - - - - Returns the equivalent of this - - . - - - For example if this instance is nvarchar and it's - base type is Edm String then the return type is Edm String. - If the type is actually already a model type then the - return type is "this". - - - An object that is an equivalent of this - - . - - - - Returns the list of primitive types. - - A collection of type that contains the list of primitive types. - - - - - Returns the equivalent of a - - . - - - An object that is an equivalent of a specified - - . - - - A value of type . - - - - - Primitive Types as defined by EDM - - - - - Binary Type Kind - - - - - Boolean Type Kind - - - - - Byte Type Kind - - - - - DateTime Type Kind - - - - - Decimal Type Kind - - - - - Double Type Kind - - - - - Guid Type Kind - - - - - Single Type Kind - - - - - SByte Type Kind - - - - - Int16 Type Kind - - - - - Int32 Type Kind - - - - - Int64 Type Kind - - - - - String Type Kind - - - - - Time Type Kind - - - - - DateTimeOffset Type Kind - - - - - Geometry Type Kind - - - - - Geography Type Kind - - - - - Geometric point type kind - - - - - Geometric linestring type kind - - - - - Geometric polygon type kind - - - - - Geometric multi-point type kind - - - - - Geometric multi-linestring type kind - - - - - Geometric multi-polygon type kind - - - - - Geometric collection type kind - - - - - Geographic point type kind - - - - - Geographic linestring type kind - - - - - Geographic polygon type kind - - - - - Geographic multi-point type kind - - - - - Geographic multi-linestring type kind - - - - - Geographic multi-polygon type kind - - - - - Geographic collection type kind - - - - - HierarchyId type kind - - - - - Specifies the kinds of item attributes in the conceptual model. - - - - - An enumeration member indicating that an item attribute is System - - - - - An enumeration member indicating that an item attribute is Extended. - - - - - Class representing a read-only wrapper around MetadataCollection - - The type of items in this collection - - - - The enumerator for MetadataCollection - - - - Gets the member at the current position. - The member at the current position. - - - - Gets the member at the current position - - - - Disposes of this enumerator. - - - - Moves to the next member in the collection of type - - . - - - true if the enumerator is moved in the collection of type - - ; otherwise, false. - - - - - Positions the enumerator before the first position in the collection of type - - . - - - - Gets a value indicating whether this collection is read-only. - true if this collection is read-only; otherwise, false. - - - Gets an item from this collection by using the specified identity. - An item from this collection. - The identity of the item to be searched for. - - - Retrieves an item from this collection by using the specified identity. - An item from this collection. - The identity of the item to be searched for. - true to perform the case-insensitive search; otherwise, false. - - - Determines whether the collection contains an item with the specified identity. - true if the collection contains the item to be searched for; otherwise, false. The default is false. - The identity of the item. - - - Retrieves an item from this collection by using the specified identity. - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item to be searched for. - true to perform the case-insensitive search; otherwise, false. - When this method returns, this output parameter contains an item from the collection. If there is no matched item, this output parameter contains null. - - - Returns an enumerator that can iterate through this collection. - - A that can be used to iterate through this - - . - - - - Returns the index of the specified value in this collection. - The index of the specified value in this collection. - A value to seek. - - - - This class represents a referential constraint between two entities specifying the "to" and "from" ends of the relationship. - - - - - Constructs a new constraint on the relationship - - role from which the relationship originates - role to which the relationship is linked/targeted to - properties on entity type of to role which take part in the constraint - properties on entity type of from role which take part in the constraint - Argument Null exception if any of the arguments is null - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the "from role" that takes part in this - - . - - - A object that represents the "from role" that takes part in this - - . - - Thrown if value passed into setter is null - Thrown if the ReferentialConstraint instance is in ReadOnly state - - - - Gets the "to role" that takes part in this . - - - A object that represents the "to role" that takes part in this - - . - - Thrown if value passed into setter is null - Thrown if the ReferentialConstraint instance is in ReadOnly state - - - - Gets the list of properties for the "from role" on which this - - is defined. - - - A collection of type that contains the list of properties for "from role" on which this - - is defined. - - - - - Gets the list of properties for the "to role" on which this - - is defined. - - - A collection of type that contains the list of properties for the "to role" on which this - - is defined. - - - - - Returns the combination of the names of the - - and the - - . - - - The combination of the names of the - - and the - - . - - - - - Class representing a ref type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the entity type referenced by this . - - - An object that represents the entity type referenced by this - - . - - - - - - - - - - - Initializes a new instance of the RelationshipEndMember class - - - - Gets the operational behavior of this relationship end member. - - One of the values. The default is - - . - - - - Gets the multiplicity of this relationship end member. - - One of the values. - - - - Access the EntityType of the EndMember in an association. - The EntityType of the EndMember in an association. - - - - Represents the multiplicity information about the end of a relationship type - - - - - Lower Bound is Zero and Upper Bound is One - - - - - Both lower bound and upper bound is one - - - - - Lower bound is zero and upper bound is null - - - - - Class for representing a relationship set - - - - - Gets the relationship type of this . - - - An object that represents the relationship type of this - - . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Represents the Relationship type - - - - Gets the list of ends for this relationship type. - - A collection of type that contains the list of Ends for this relationship type. - - - - - Represents the Edm Row Type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of properties on this . - - - A collection of type that contains the list of properties on this - - . - - - - Gets a collection of the properties defined by the current type. - A collection of the properties defined by the current type. - - - - The factory method for constructing the object. - - Properties of the row type object. - Metadata properties that will be added to the function. Can be null. - - A new, read-only instance of the object. - - - - - Class representing a simple type - - - - - Serializes the storage (database) section of an to XML. - - - - - Occurs when an error is encountered serializing the model. - - - - - Serialize the to the - - The EdmModel to serialize - Provider information on the Schema element - ProviderManifestToken information on the Schema element - The XmlWriter to serialize to - A value indicating whether to serialize Nullable attributes when they are set to the default value. - true if model can be serialized, otherwise false - - - - Serialize the to the - - The EdmModel to serialize - Namespace name on the Schema element - Provider information on the Schema element - ProviderManifestToken information on the Schema element - The XmlWriter to serialize to - A value indicating whether to serialize Nullable attributes when they are set to the default value. - true if model can be serialized, otherwise false - - - - The pattern for Server Generated Properties. - - - - - Not a Server Generated Property. This is the default. - - - - - A value is generated on INSERT, and remains unchanged on update. - - - - - A value is generated on both INSERT and UPDATE. - - - - - Class for representing a collection of items in Store space. - - - - - Initializes a new instance of the class using the specified XMLReader. - - The XMLReader used to create metadata. - - - Initializes a new instances of the class. - The model of the . - - - - Initializes a new instance of the class using the specified file paths. - - The file paths used to create metadata. - - - Gets the provider factory of the StoreItemCollection. - The provider factory of the StoreItemCollection. - - - Gets the provider manifest of the StoreItemCollection. - The provider manifest of the StoreItemCollection. - - - Gets the manifest token of the StoreItemCollection. - The manifest token of the StoreItemCollection. - - - Gets the invariant name of the StoreItemCollection. - The invariant name of the StoreItemCollection. - - - Gets the version of the store schema for this collection. - The version of the store schema for this collection. - - - - Returns a collection of the objects. - - - A object that represents the collection of the - - objects. - - - - - Factory method that creates a . - - - SSDL artifacts to load. Must not be null. - - - Paths to SSDL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - Custom resolver. Currently used to resolve DbProviderServices implementation. If null - the default resolver will be used. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - - Represents the Structural Type - - - - Gets the list of members on this type. - - A collection of type that contains a set of members on this type. - - - - - Adds a member to this type - - The member to add - - - Removes a member from this type. - The member to remove. - - - - Class representing a type information for an item - - - - - Factory method for creating a TypeUsage with specified EdmType and facets - - EdmType for which to create a type usage - facets to be copied into the new TypeUsage - new TypeUsage instance - - - - Creates a object with the specified conceptual model type. - - - A object with the default facet values for the specified - - . - - - A for which the - - object is created. - - - - - Creates a object to describe a string type by using the specified facet values. - - - A object describing a string type by using the specified facet values. - - - A for which the - - object is created. - - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the length of the string type to fixed; otherwise, false. - - - - Creates a object to describe a string type by using the specified facet values and unbounded MaxLength. - - - A object describing a string type by using the specified facet values and unbounded MaxLength. - - - A for which the - - object is created. - - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the length of the string type to fixed; otherwise, false - - - - Creates a object to describe a binary type by using the specified facet values. - - - A object describing a binary type by using the specified facet values. - - - A for which the - - object is created. - - true to set the length of the binary type to fixed; otherwise, false. - The maximum length of the binary type. - - - - Creates a object to describe a binary type by using the specified facet values. - - - A object describing a binary type by using the specified facet values. - - - A for which the - - object is created. - - true to set the length of the binary type to fixed; otherwise, false. - - - - Creates a object of the type that the parameters describe. - - - A object. - - - The simple type that defines the units of measurement of the object. - - - The degree of granularity of the in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object of the type that the parameters describe. - - - A object. - - The simple type that defines the units of measurement of the offset. - - The degree of granularity of the in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object of the type that the parameters describe. - - - A object. - - - The simple type that defines the units of measurement of the object. - - - The degree of granularity of the in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object to describe a decimal type by using the specified facet values. - - - A object describing a decimal type by using the specified facet values. - - - A for which the - - object is created. - - - The precision of the decimal type as type . - - - The scale of the decimal type as type . - - - - - Creates a object to describe a decimal type with unbounded precision and scale facet values. - - - A object describing a decimal type with unbounded precision and scale facet values. - - - A for which the - - object is created. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the type information described by this . - - - An object that represents the type information described by this - - . - - - - - Gets the list of facets for the type that is described by this - - . - - - A collection of type that contains the list of facets for the type that is described by this - - . - - - - - Returns a Model type usage for a provider type - - Model (CSpace) type usage - - - - Checks whether this is a subtype of the specified - - . - - - true if this is a subtype of the specified - - ; otherwise, false. - - - The object to be checked. - - - - - Returns the full name of the type described by this . - - - The full name of the type described by this as string. - - - - - This exception is thrown when a requested object is not found in the store. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of class that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Caches an ELinq query - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg14 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg15 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg14 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - - The values currently assigned to the properties of an entity. - - - - - This is the interface that represent the minimum interface required - to be an entity in ADO.NET. - - - - Notifies the change tracker that a property change is pending on a complex object. - The name of the changing property. - property is null. - - - Notifies the change tracker that a property of a complex object has changed. - The name of the changed property. - property is null. - - - - Attribute for complex properties - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - attribute for complex types - - - - - Attribute identifying the Edm base class - - - - - Attribute indicating an enum type. - - - - - Indicates that the given method is a proxy for an EDM function. - - - Note that this attribute has been replaced by the starting with EF6. - - - - - Creates a new DbFunctionAttribute instance. - - The namespace name of the EDM function represented by the attributed method. - The function name of the EDM function represented by the attributed method. - - - - Base attribute for properties mapped to store elements. - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - Attribute identifying the Ends defined for a RelationshipSet - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - Initializes a new instance of the - - class. - - The namespace name of the relationship property. - The name of the relationship. The relationship name is not namespace qualified. - The role name at the other end of the relationship. - - - The namespace name of the navigation property. - - A that is the namespace name. - - - - Gets the unqualified relationship name. - The relationship name. - - - Gets the role name at the other end of the relationship. - The target role name is specified by the Role attribute of the other End element in the association that defines this relationship in the conceptual model. For more information, see Association (EDM). - - - - Defines a relationship between two entity types based on an association in the conceptual model. - - - - - Creates an instance of the class. - - The name of the namespace for the association in which this entity participates. - The name of a relationship in which this entity participates. - Name of the role for the type at one end of the association. - - A value of that indicates the multiplicity at one end of the association, such as one or many. - - The type of the entity at one end of the association. - Name of the role for the type at the other end of the association. - - A value of that indicates the multiplicity at the other end of the association, such as one or many. - - The type of the entity at the other end of the association. - - - - Initializes a new instance of the - - class. - - The name of the namespace for the association in which this entity participates. - The name of a relationship in which this entity participates. - Name of the role for the type at one end of the association. - - A value of that indicates the multiplicity at one end of the association, such as one or many. - - The type of the entity at one end of the association. - Name of the role for the type at the other end of the association. - - A value of that indicates the multiplicity at the other end of the association, such as one or many. - - The type of the entity at the other end of the association. - A value that indicates whether the relationship is based on the foreign key value. - - - The namespace for the relationship. - - A that is the namespace for the relationship. - - - - Name of the relationship. - - A that is the name of a relationship that is defined by this - - . - - - - Name of the role at one end of the relationship. - - A that is the name of the role. - - - - Multiplicity at one end of the relationship. - - A value that indicates the multiplicity. - - - - Type of the entity at one end of the relationship. - - A that is the type of the object at this end of the association. - - - - Name of the role at the other end of the relationship. - - A that is the name of the role. - - - - Multiplicity at the other end of the relationship. - - A value that indicates the multiplicity. - - - - Type of the entity at the other end of the relationship. - - A that is the type of the object t the other end of the association. - - - - Gets a Boolean value that indicates whether the relationship is based on the foreign key value. - true if the relationship is based on the foreign key value; otherwise false. - - - - Attribute for scalar properties in an IEntity. - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - Gets or sets the value that indicates whether the property can have a null value. - The value that indicates whether the property can have a null value. - - - Gets or sets the value that indicates whether the property is part of the entity key. - The value that indicates whether the property is part of the entity key. - - - - Attribute for static types - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a unique value for each model referenced by the assembly. - - - Setting this parameter to a unique value for each model file in a Visual Basic - assembly will prevent the following error: - "'System.Data.Entity.Core.Objects.DataClasses.EdmSchemaAttribute' cannot be specified more than once in this project, even with identical parameter values." - - A string that is a unique GUID value for the model in the assembly. - - - - Base attribute for schematized types - - - - The name of the type in the conceptual schema that maps to the class to which this attribute is applied. - - A that is the name. - - - - The namespace name of the entity object type or complex type in the conceptual schema that maps to this type. - - A that is the namespace name. - - - - - Collection of entities modeling a particular EDM construct - which can either be all entities of a particular type or - entities participating in a particular relationship. - - The type of entities in this collection. - - - - Initializes a new instance of the class. - - - - Gets the number of objects that are contained in the collection. - - The number of elements that are contained in the - - . - - - - - Gets a value that indicates whether the - - is read-only. - - Always returns false. - - - - IListSource.ContainsListCollection implementation. Always returns false. - This means that the IList we return is the one which contains our actual data, - it is not a list of collections. - - - - - Returns the collection as an used for data binding. - - - An of entity objects. - - - - Loads related objects into the collection, using the specified merge option. - - Specifies how the objects in this collection should be merged with the objects that might have been returned from previous queries against the same - - . - - - - Defines relationships between an object and a collection of related objects in an object context. - - Loads related entities into the local collection. If the collection is already filled - or partially filled, merges existing entities with the given entities. The given - entities are not assumed to be the complete set of related entities. - Owner and all entities passed in must be in Unchanged or Modified state. We allow - deleted elements only when the state manager is already tracking the relationship - instance. - - Collection of objects in the object context that are related to the source object. - entities collection is null. - - The source object or an object in the entities collection is null or is not in an - - or state.-or-The relationship cannot be defined based on the EDM metadata. This can occur when the association in the conceptual schema does not support a relationship between the two types. - - - - Defines a relationship between two attached objects in an object context. - The object being attached. - When the entity is null. - - When the entity cannot be related to the source object. This can occur when the association in the conceptual schema does not support a relationship between the two types.-or-When either object is null or is not in an - - or state. - - - - Adds an object to the collection. - - An object to add to the collection. entity must implement - - . - - entity is null. - - - Removes an object from the collection and marks the relationship for deletion. - true if item was successfully removed; otherwise, false. - The object to remove from the collection. - entity object is null. - The entity object is not attached to the same object context.-or-The entity object does not have a valid relationship manager. - - - Returns an enumerator that is used to iterate through the objects in the collection. - - An that iterates through the set of values cached by - - . - - - - - Returns an enumerator that is used to iterate through the set of values cached by - - . - - - An that iterates through the set of values cached by - - . - - - - Removes all entities from the collection. - - - Determines whether a specific object exists in the collection. - - true if the object is found in the ; otherwise, false. - - - The object to locate in the . - - - - Copies all the contents of the collection to an array, starting at the specified index of the target array. - The array to copy to. - The zero-based index in the array at which copying begins. - - - Used internally to serialize entity objects. - The streaming context. - - - Used internally to deserialize entity objects. - The streaming context. - - - Returns an object query that, when it is executed, returns the same set of objects that exists in the current collection. - - An that represents the entity collection. - - - When the object is in an state - or when the object is in a - state with a - other than - . - - - - - This is the class is the basis for all perscribed EntityObject classes. - - - - Gets the entity state of the object. - - The of this object. - - - - Gets or sets the key for this object. - - The for this object. - - - - - Used by the ObjectStateManager to attach or detach this EntityObject to the cache. - - Reference to the ObjectStateEntry that contains this entity - - - - Returns the container for the lazily created relationship - navigation property objects, collections and refs. - - - - Notifies the change tracker that a property change is pending. - The name of the changing property. - property is null. - - - Notifies the change tracker that a property has changed. - The name of the changed property. - property is null. - - - - Models a relationship end with multiplicity 1. - - - - Returns the key for the related object. - - Returns the EntityKey of the target entity associated with this EntityReference. - Is non-null in the following scenarios: - (a) Entities are tracked by a context and an Unchanged or Added client-side relationships exists for this EntityReference's owner with the - same RelationshipName and source role. This relationship could have been created explicitly by the user (e.g. by setting - the EntityReference.Value, setting this property directly, or by calling EntityCollection.Add) or automatically through span queries. - (b) If the EntityKey was non-null before detaching an entity from the context, it will still be non-null after detaching, until any operation - occurs that would set it to null, as described below. - (c) Entities are detached and the EntityKey is explicitly set to non-null by the user. - (d) Entity graph was created using a NoTracking query with full span - Is null in the following scenarios: - (a) Entities are tracked by a context but there is no Unchanged or Added client-side relationship for this EntityReference's owner with the - same RelationshipName and source role. - (b) Entities are tracked by a context and a relationship exists, but the target entity has a temporary key (i.e. it is Added) or the key - is one of the special keys - (c) Entities are detached and the relationship was explicitly created by the user. - - - An that is the key of the related object. - - - - - Models a relationship end with multiplicity 1. - - The type of the entity being referenced. - - - - Creates a new instance of . - - - The default constructor is required for some serialization scenarios. It should not be used to - create new EntityReferences. Use the GetRelatedReference or GetRelatedEnd methods on the RelationshipManager - class instead. - - - - - Gets or sets the related object returned by this - - . - - - The object returned by this . - - - - - Loads the related object for this with the specified merge option. - - - Specifies how the object should be returned if it already exists in the - - . - - - The source of the is null - or a query returned more than one related end - or a query returned zero related ends, and one related end was expected. - - - - Creates a many-to-one or one-to-one relationship between two objects in the object context. - The object being attached. - When the entity is null. - When the entity cannot be related to the current related end. This can occur when the association in the conceptual schema does not support a relationship between the two types. - - - Creates an equivalent object query that returns the related object. - - An that returns the related object. - - - When the object is in an state - or when the object is in a - state with a - other than . - - - - This method is used internally to serialize related entity objects. - The serialized stream. - - - This method is used internally to serialize related entity objects. - The serialized stream. - - - - This interface is implemented by a change tracker and is used by data classes to report changes - - - - Notifies the change tracker of a pending change to a property of an entity type. - The name of the property that is changing. - - - Notifies the change tracker that a property of an entity type has changed. - The name of the property that has changed. - - - Notifies the change tracker of a pending change to a complex property. - The name of the top-level entity property that is changing. - The complex type that contains the property that is changing. - The name of the property that is changing on complex type. - - - Notifies the change tracker that a property of a complex type has changed. - The name of the complex property of the entity type that has changed. - The complex type that contains the property that changed. - The name of the property that changed on complex type. - - - Gets current state of a tracked object. - - An that is the state of the tracked object.For more information, see Identity Resolution, State Management, and Change Tracking and Tracking Changes in POCO Entities. - - - - - Minimum interface that a data class must implement in order to be managed by a change tracker. - - - - - Gets or sets the used to report changes. - - - The used to report changes. - - - - - Interface that defines an entity containing a key. - - - - - Gets or sets the for instances of entity types that implement this interface. - - - If an object is being managed by a change tracker, it is expected that - IEntityChangeTracker methods EntityMemberChanging and EntityMemberChanged will be - used to report changes on EntityKey. This allows the change tracker to validate the - EntityKey's new value and to verify if the change tracker is in a state where it can - allow updates to the EntityKey. - - - The for instances of entity types that implement this interface. - - - - - Interface that a data class must implement if exposes relationships - - - - Returns the relationship manager that manages relationships for an instance of an entity type. - - Classes that expose relationships must implement this property - by constructing and setting RelationshipManager in their constructor. - The implementation of this property should use the static method RelationshipManager.Create - to create a new RelationshipManager when needed. Once created, it is expected that this - object will be stored on the entity and will be provided through this property. - - - The for this entity. - - - - - Represents one end of a relationship. - - - - - Gets or sets a value indicating whether the entity (for an or all entities - in the collection (for an have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded - and wants to prevent any other entities from being loaded automatically. - Note that explicit loading using will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity is detached the IsLoaded flag is reset to false indicating that not all related entities - are now loaded. - - - True if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise false. - - - - Gets the name of the relationship in which this related end participates. - - The name of the relationship in which this is participating. The relationship name is not namespace qualified. - - - - Gets the role name at the source end of the relationship. - The role name at the source end of the relationship. - - - Gets the role name at the target end of the relationship. - The role name at the target end of the relationship. - - - Returns a reference to the metadata for the related end. - - A object that contains metadata for the end of a relationship. - - - - Loads the related object or objects into this related end with the default merge option. - - - Loads the related object or objects into the related end with the specified merge option. - - The to use when merging objects into an existing - . - - - - Adds an object to the related end. - - An object to add to the collection. entity must implement - - . - - - - Adds an object to the related end. - An object to add to the collection. - - - Removes an object from the collection of objects at the related end. - - true if entity was successfully removed, false if entity was not part of the - - . - - - The object to remove from the collection. entity must implement - - . - - - - Removes an object from the collection of objects at the related end. - - true if entity was successfully removed; false if entity was not part of the - - . - - An object to remove from the collection. - - - Defines a relationship between two attached objects. - - The object being attached. entity must implement - - . - - - - Defines a relationship between two attached objects. - The object being attached. - - - - Returns an that represents the objects that belong to the related end. - - - An that represents the objects that belong to the related end. - - - - - Returns an that iterates through the collection of related objects. - - - An that iterates through the collection of related objects. - - - - - Base class for EntityCollection and EntityReference - - - - Occurs when a change is made to a related end. - - - Gets the name of the relationship in which this related end participates. - - The name of the relationship in which this participates. The relationship name is not namespace qualified. - - - - Gets the role name at the source end of the relationship. - - A that is the role name. - - - - Gets the role name at the target end of the relationship. - - A that is the role name. - - - - - Returns an that represents the objects that belong to the related end. - - - An that represents the objects that belong to the related end. - - - - Gets a reference to the metadata for the related end. - - A object that contains metadata for the end of a relationship. - - - - - - - - Loads the related object or objects into the related end with the default merge option. - - - When the source object was retrieved by using a query - and the is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Loads an object or objects from the related end with the specified merge option. - - - The to use when merging objects into an existing - . - - - When the source object was retrieved by using a query - and the - is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Attaches an entity to the related end. This method works in exactly the same way as Attach(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - The entity to attach to the related end - - Thrown when - - is null. - - Thrown when the entity cannot be related via the current relationship end. - - - - Attaches an entity to the related end. If the related end is already filled - or partially filled, this merges the existing entities with the given entity. The given - entity is not assumed to be the complete set of related entities. - Owner and all entities passed in must be in Unchanged or Modified state. - Deleted elements are allowed only when the state manager is already tracking the relationship - instance. - - The entity to attach to the related end - - Thrown when - - is null. - - Thrown when the entity cannot be related via the current relationship end. - - - - Adds an entity to the related end. This method works in exactly the same way as Add(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - Entity instance to add to the related end - - - - Adds an entity to the related end. If the owner is - attached to a cache then the all the connected ends are - added to the object cache and their corresponding relationships - are also added to the ObjectStateManager. The RelatedEnd of the - relationship is also fixed. - - Entity instance to add to the related end - - - - Removes an entity from the related end. This method works in exactly the same way as Remove(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - Entity instance to remove from the related end - Returns true if the entity was successfully removed, false if the entity was not part of the RelatedEnd. - - - - Removes an entity from the related end. If owner is - attached to a cache, marks relationship for deletion and if - the relationship is composition also marks the entity for deletion. - - Entity instance to remove from the related end - Returns true if the entity was successfully removed, false if the entity was not part of the RelatedEnd. - - - - Returns an that iterates through the collection of related objects. - - - An that iterates through the collection of related objects. - - - - - Used internally to deserialize entity objects along with the - - instances. - - The serialized stream. - - - - Identifies the kind of a relationship - - - - - The relationship is an Association - - - - - Container for the lazily created relationship navigation - property objects (collections and refs). - - - - - Creates a new object. - - - Used by data classes that support relationships. If the change tracker - requests the RelationshipManager property and the data class does not - already have a reference to one of these objects, it calls this method - to create one, then saves a reference to that object. On subsequent accesses - to that property, the data class should return the saved reference. - The reason for using a factory method instead of a public constructor is to - emphasize that this is not something you would normally call outside of a data class. - By requiring that these objects are created via this method, developers should - give more thought to the operation, and will generally only use it when - they explicitly need to get an object of this type. It helps define the intended usage. - - - The requested . - - Reference to the entity that is calling this method. - - - - Returns either an or - - of the correct type for the specified target role in a relationship. - - - representing the - - or - - that was retrieved. - - Name of the relationship in which targetRoleName is defined. The relationship name is not namespace qualified. - Target role to use to retrieve the other end of relationshipName . - relationshipName or targetRoleName is null. - The source type does not match the type of the owner. - targetRoleName is invalid or unable to find the relationship type in the metadata. - - - - Takes an existing EntityReference that was created with the default constructor and initializes it using the provided relationship and target role names. - This method is designed to be used during deserialization only, and will throw an exception if the provided EntityReference has already been initialized, - if the relationship manager already contains a relationship with this name and target role, or if the relationship manager is already attached to a ObjectContext.W - - The relationship name. - The role name of the related end. - - The to initialize. - - - The type of the being initialized. - - - When the provided - is already initialized.-or-When the relationship manager is already attached to an - - or when the relationship manager already contains a relationship with this name and target role. - - - - - Takes an existing EntityCollection that was created with the default constructor and initializes it using the provided relationship and target role names. - This method is designed to be used during deserialization only, and will throw an exception if the provided EntityCollection has already been initialized, - or if the relationship manager is already attached to a ObjectContext. - - The relationship name. - The target role name. - An existing EntityCollection. - Type of the entity represented by targetRoleName - - - - Gets an of related objects with the specified relationship name and target role name. - - - The of related objects. - - Name of the relationship to navigate. The relationship name is not namespace qualified. - Name of the target role for the navigation. Indicates the direction of navigation across the relationship. - - The type of the returned . - - - The specified role returned an instead of an - - . - - - - - Gets the for a related object by using the specified combination of relationship name and target role name. - - - The of a related object. - - Name of the relationship to navigate. The relationship name is not namespace qualified. - Name of the target role for the navigation. Indicates the direction of navigation across the relationship. - - The type of the returned . - - - The specified role returned an instead of an - - . - - - - Returns an enumeration of all the related ends managed by the relationship manager. - - An of objects that implement - - . An empty enumeration is returned when the relationships have not yet been populated. - - - - - Called by Object Services to prepare an for binary serialization with a serialized relationship. - - Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. - - - - Used internally to deserialize entity objects along with the - - instances. - - The serialized stream. - - - - This class contains the common methods need for an date object. - - - - - Public constant name used for change tracking - Providing this definition allows users to use this constant instead of - hard-coding the string. This helps to ensure the property name is correct - and allows faster comparisons in places where we are looking for this specific string. - Users can still use the case-sensitive string directly instead of the constant, - it will just be slightly slower on comparison. - Including the dash (-) character around the name ensures that this will not conflict with - a real data property, because -EntityKey- is not a valid identifier name - - - - - Notification that a property has been changed. - - - The PropertyChanged event can indicate all properties on the - object have changed by using either a null reference - (Nothing in Visual Basic) or String.Empty as the property name - in the PropertyChangedEventArgs. - - - - - Notification that a property is about to be changed. - - - The PropertyChanging event can indicate all properties on the - object are changing by using either a null reference - (Nothing in Visual Basic) or String.Empty as the property name - in the PropertyChangingEventArgs. - - - - - Raises the event. - - The name of the changed property. - - - - Raises the event. - - The name of the property changing. - - - Returns the minimum date time value supported by the data source. - - A value that is the minimum date time that is supported by the data source. - - - - Raises an event that is used to report that a property change is pending. - The name of the changing property. - - - Raises an event that is used to report that a property change has occurred. - The name for the changed property. - - - Returns a complex type for the specified property. - - Unlike most of the other helper methods in this class, this one is not static - because it references the SetValidValue for complex objects, which is also not static - because it needs a reference to this. - - A complex type object for the property. - A complex object that inherits from complex object. - The name of the complex property that is the complex object. - Indicates whether the type supports null values. - Indicates whether the type is initialized. - The type of the complex object being requested. - - - Determines whether the specified byte arrays contain identical values. - true if both arrays are of the same length and contain the same byte values or if both arrays are null; otherwise, false. - The first byte array value to compare. - The second byte array to compare. - - - Returns a copy of the current byte value. - - A copy of the current value. - - The current byte array value. - - - - Makes sure the value being set for a property is valid. - - - The value being validated. - - The value passed into the property setter. - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - If value is null for a non nullable value. - - - - Makes sure the value being set for a property is valid. - - - A value being set. - - The value being set. - Indicates whether the property is nullable. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - The Boolean value. - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - The Boolean value. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - A that is set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value that is set. - - The value that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - A value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - Makes sure the Single value being set for a property is valid. - - The value being set. - - - The value. - - The name of the property that is being validated. - - - Makes sure the Single value being set for a property is valid. - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - Name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - Makes sure the UInt16 value being set for a property is valid. - The nullable UInt16 value being set. - The nullable UInt16 value. - The name of the property that is being validated. - - - Makes sure the UInt16 value being set for a property is valid. - The nullable UInt16 value being set. - The nullable UInt16 value. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - Makes sure the UInt32 value being set for a property is valid. - The nullable UInt32 value being set. - The nullable UInt32 value. - The name of the property that is being validated. - - - Makes sure the UInt32 value being set for a property is valid. - The nullable UInt32 value being set. - The nullable UInt32 value. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - The nullable UInt64 value being set. - The nullable UInt64 value. - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - The nullable UInt64 value being set. - The nullable UInt64 value. - - - Validates that the property is not null, and throws if it is. - The validated property. - The string value to be checked. - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - The string value is null for a non-nullable string. - - - Validates that the property is not null, and throws if it is. - - The validated value. - - The string value to be checked. - Flag indicating if this property is allowed to be null. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - The value to be checked. - - Flag indicating if this property is allowed to be null. - Name of the property that is being validated. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - value to be checked. - - Flag indicating if this property is allowed to be null. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - value to be checked. - - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - The value to be checked. - - Flag indicating if this property is allowed to be null. - The value is null for a non-nullable property. - - - Sets a complex object for the specified property. - A complex type that derives from complex object. - The original complex object for the property, if any. - The complex object is being set. - The complex property that is being set to the complex object. - The type of the object being replaced. - - - Verifies that a complex object is not null. - The complex object being validated. - The complex object that is being validated. - The complex property on the parent object that is associated with complexObject . - The type of the complex object being verified. - - - - Provides access to the original values of object data. The DbUpdatableDataRecord implements methods that allow updates to the original values of an object. - - - - Gets the number of fields in the record. - An integer value that is the field count. - - - Returns a value that has the given field ordinal. - The value that has the given field ordinal. - The ordinal of the field. - - - Gets a value that has the given field name. - The field value. - The name of the field. - - - Retrieves the field value as a Boolean. - The field value as a Boolean. - The ordinal of the field. - - - Retrieves the field value as a byte. - The field value as a byte. - The ordinal of the field. - - - Retrieves the field value as a byte array. - The number of bytes copied. - The ordinal of the field. - The index at which to start copying data. - The destination buffer where data is copied. - The index in the destination buffer where copying will begin. - The number of bytes to copy. - - - Retrieves the field value as a char. - The field value as a char. - The ordinal of the field. - - - Retrieves the field value as a char array. - The number of characters copied. - The ordinal of the field. - The index at which to start copying data. - The destination buffer where data is copied. - The index in the destination buffer where copying will begin. - The number of characters to copy. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as a - - - The field value as a . - - The ordinal of the field. - - - Retrieves the name of the field data type. - The name of the field data type. - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - Retrieves the field value as a decimal. - The field value as a decimal. - The ordinal of the field. - - - Retrieves the field value as a double. - The field value as a double. - The ordinal of the field. - - - Retrieves the type of a field. - The field type. - The ordinal of the field. - - - Retrieves the field value as a float. - The field value as a float. - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - Retrieves the name of a field. - The name of the field. - The ordinal of the field. - - - Retrieves the ordinal of a field by using the name of the field. - The ordinal of the field. - The name of the field. - - - Retrieves the field value as a string. - The field value. - The ordinal of the field. - - - Retrieves the value of a field. - The field value. - The ordinal of the field. - - - Retrieves the value of a field. - The field value. - The ordinal of the field. - - - Populates an array of objects with the field values of the current record. - The number of field values returned. - An array of objects to store the field values. - - - - Returns whether the specified field is set to . - - - true if the field is set to ; otherwise false. - - The ordinal of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets field values in a record. - The number of the fields that were set. - The values of the field. - - - - Sets a field to the value. - - The ordinal of the field. - - - Gets data record information. - - A object. - - - - - Retrieves a field value as a . - - - A field value as a . - - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - - List of type pairs that constructor call new XXXX(YYY yyy) could be translated to SQL CAST(yyy AS XXXXX) call - - - - - Provides common language runtime (CLR) methods that expose EDM canonical functions - for use in or LINQ to Entities queries. - - - Note that these functions have been moved to the class starting with EF6. - The functions are retained here only to help in the migration of older EF apps to EF6. - - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Left EDM function to return a given - number of the leftmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the left of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Right EDM function to return a given - number of the rightmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the right of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Reverse EDM function to return a given - string with the order of the characters reversed. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The input string with the order of the characters reversed. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to - return the number of minutes that the given date/time is offset from UTC. This is generally between +780 - and -780 (+ or - 13 hrs). - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The offset of the input from UTC. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTimeOffset EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The time zone offset part of the new date. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of hours between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of minutes between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of seconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of milliseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of microseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of nanoseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - The string to escape special characters with, must only be a single character. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a Unicode string. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a non-Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a non-Unicode string. - - - - Options for query execution. - - - - - Creates a new instance of . - - Merge option to use for entity results. - - - - Creates a new instance of . - - Merge option to use for entity results. - Whether the query is streaming or buffering. - - - - Merge option to use for entity results. - - - - - Whether the query is streaming or buffering. - - - - Determines whether the specified objects are equal. - true if the two objects are equal; otherwise, false. - The left object to compare. - The right object to compare. - - - - Determines whether the specified objects are not equal. - - The left object to compare. - The right object to compare. - true if the two objects are not equal; otherwise, false. - - - - - - - - - - Defines behavior for implementations of IQueryable that allow modifications to the membership of the resulting set. - - Type of entities returned from the queryable. - - - Notifies the set that an object that represents a new entity must be added to the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The new object to add to the set. - - - Notifies the set that an object that represents an existing entity must be added to the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The existing object to add to the set. - - - Notifies the set that an object that represents an existing entity must be deleted from the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The existing object to delete from the set. - - - Notifies the set that an object that represents an existing entity must be detached from the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The object to detach from the set. - - - - The different ways that new objects loaded from the database can be merged with existing objects already in memory. - - - - - Will only append new (top level-unique) rows. This is the default behavior. - - - - - Same behavior as LoadOption.OverwriteChanges. - - - - - Same behavior as LoadOption.PreserveChanges. - - - - - Will not modify cache. - - - - - ObjectContext is the top-level object that encapsulates a connection between the CLR and the database, - serving as a gateway for Create, Read, Update, and Delete operations. - - - - - Initializes a new instance of the class with the given connection. During construction, the metadata workspace is extracted from the - - object. - - - An that contains references to the model and to the data source connection. - - The connection is null. - The connection is invalid or the metadata workspace is invalid. - - - - Creates an ObjectContext with the given connection and metadata workspace. - - connection to the store - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - Initializes a new instance of the class with the given connection string and default entity container name. - - The connection string, which also provides access to the metadata information. - The connectionString is null. - The connectionString is invalid or the metadata workspace is not valid. - - - - Initializes a new instance of the class with a given connection string and entity container name. - - The connection string, which also provides access to the metadata information. - The name of the default entity container. When the defaultContainerName is set through this method, the property becomes read-only. - The connectionString is null. - The connectionString , defaultContainerName , or metadata workspace is not valid. - - - - Initializes a new instance of the class with a given connection and entity container name. - - - An that contains references to the model and to the data source connection. - - The name of the default entity container. When the defaultContainerName is set through this method, the property becomes read-only. - The connection is null. - The connection , defaultContainerName , or metadata workspace is not valid. - - - Gets the connection used by the object context. - - A object that is the connection. - - - When the instance has been disposed. - - - - Gets or sets the default container name. - - A that is the default container name. - - - - Gets the metadata workspace used by the object context. - - The object associated with this - - . - - - - Gets the object state manager used by the object context to track object changes. - - The used by this - - . - - - - Gets or sets the timeout value, in seconds, for all object context operations. A null value indicates that the default value of the underlying provider will be used. - - An value that is the timeout value, in seconds. - - The timeout value is less than 0. - - - Gets the LINQ query provider associated with this object context. - - The instance used by this object context. - - - - - Gets the instance that contains options that affect the behavior of the - - . - - - The instance that contains options that affect the behavior of the - - . - - - - - Returns itself. ObjectContext implements to provide a common - interface for and ObjectContext both of which will return the underlying - ObjectContext. - - - - - Gets the transaction handler in use by this context. May be null if no transaction have been started. - - - The transaction handler. - - - - - Returns the being used for this context. - - - - Occurs when changes are saved to the data source. - - - Occurs when a new entity object is created from data in the data source as part of a query or load operation. - - - Accepts all changes made to objects in the object context. - - - Adds an object to the object context. - Represents the entity set name, which may optionally be qualified by the entity container name. - - The to add. - - The entity parameter is null or the entitySetName does not qualify. - - - Explicitly loads an object related to the supplied object by the specified navigation property and using the default merge option. - The entity for which related objects are to be loaded. - The name of the navigation property that returns the related objects to be loaded. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified navigation property and using the specified merge option. - The entity for which related objects are to be loaded. - The name of the navigation property that returns the related objects to be loaded. - - The value to use when you load the related objects. - - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified LINQ query and by using the default merge option. - The type of the entity. - The source object for which related objects are to be loaded. - A LINQ expression that defines the related objects to be loaded. - selector does not supply a valid input parameter. - selector is null. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified LINQ query and by using the specified merge option. - The type of the entity. - The source object for which related objects are to be loaded. - A LINQ expression that defines the related objects to be loaded. - - The value to use when you load the related objects. - - selector does not supply a valid input parameter. - selector is null. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Applies property changes from a detached object to an object already attached to the object context. - The name of the entity set to which the object belongs. - The detached object that has property updates to apply to the original object. - When entitySetName is null or an empty string or when changed is null. - - When the from entitySetName does not match the - - of the object - - or when the entity is in a state other than - - or - - or the original object is not attached to the context. - - When the type of the changed object is not the same type as the original object. - - - - Copies the scalar values from the supplied object into the object in the - - that has the same key. - - The updated object. - The name of the entity set to which the object belongs. - - The detached object that has property updates to apply to the original object. The entity key of currentEntity must match the - - property of an entry in the - - . - - The entity type of the object. - entitySetName or current is null. - - The from entitySetName does not match the - - of the object - - or the object is not in the - - or it is in a - - state or the entity key of the supplied object is invalid. - - entitySetName is an empty string. - - - - Copies the scalar values from the supplied object into set of original values for the object in the - - that has the same key. - - The updated object. - The name of the entity set to which the object belongs. - - The detached object that has original values to apply to the object. The entity key of originalEntity must match the - - property of an entry in the - - . - - The type of the entity object. - entitySetName or original is null. - - The from entitySetName does not match the - - of the object - - or an - - for the object cannot be found in the - - or the object is in an - - or a - - state or the entity key of the supplied object is invalid or has property changes. - - entitySetName is an empty string. - - - Attaches an object or object graph to the object context in a specific entity set. - Represents the entity set name, which may optionally be qualified by the entity container name. - - The to attach. - - The entity is null. - - Invalid entity set or the object has a temporary key or the object has an - - and the - - does not match with the entity set passed in as an argument of the method or the object does not have an - - and no entity set is provided or any object from the object graph has a temporary - - or any object from the object graph has an invalid - - (for example, values in the key do not match values in the object) or the entity set could not be found from a given entitySetName name and entity container name or any object from the object graph already exists in another state manager. - - - - Attaches an object or object graph to the object context when the object has an entity key. - The object to attach. - The entity is null. - Invalid entity key. - - - Creates the entity key for a specific object, or returns the entity key if it already exists. - - The of the object. - - The fully qualified name of the entity set to which the entity object belongs. - The object for which the entity key is being retrieved. - When either parameter is null. - When entitySetName is empty or when the type of the entity object does not exist in the entity set or when the entitySetName is not fully qualified. - When the entity key cannot be constructed successfully based on the supplied parameters. - - - - Creates a new instance that is used to query, add, modify, and delete objects of the specified entity type. - - - The new instance. - - - Entity type of the requested . - - - The property is not set on the - - or the specified type belongs to more than one entity set. - - - - - Creates a new instance that is used to query, add, modify, and delete objects of the specified type and with the specified entity set name. - - - The new instance. - - - Name of the entity set for the returned . The string must be qualified by the default container name if the - - property is not set on the - - . - - - Entity type of the requested . - - - The from entitySetName does not match the - - of the object - - or the - - property is not set on the - - and the name is not qualified as part of the entitySetName parameter or the specified type belongs to more than one entity set. - - - - - Creates an in the current object context by using the specified query string. - - - An of the specified type. - - The query string to be executed. - Parameters to pass to the query. - - The entity type of the returned . - - The queryString or parameters parameter is null. - - - Marks an object for deletion. - - An object that specifies the entity to delete. The object can be in any state except - - . - - - - Removes the object from the object context. - - Object to be detached. Only the entity is removed; if there are any related objects that are being tracked by the same - - , those will not be detached automatically. - - The entity is null. - - The entity is not associated with this (for example, was newly created and not associated with any context yet, or was obtained through some other context, or was already detached). - - - - - Finalizes an instance of the class. - - - - Releases the resources used by the object context. - - - - Releases the resources used by the object context. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Returns an object that has the specified entity key. - - An that is an instance of an entity type. - - The key of the object to be found. - The key parameter is null. - - The object is not found in either the or the data source. - - - - Updates a collection of objects in the object context with data from the database. - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - - An collection of objects to refresh. - - collection is null. - refreshMode is not valid. - collection is empty or an object is not attached to the context. - - - Updates an object in the object context with data from the database. - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - The object to be refreshed. - entity is null. - refreshMode is not valid. - entity is not attached to the context. - - - Persists all updates to the database and resets change tracking in the object context. - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Persists all updates to the database and optionally resets change tracking in the object context. - - This parameter is needed for client-side transaction support. If true, the change tracking on all objects is reset after - - finishes. If false, you must call the - method after . - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Persists all updates to the database and optionally resets change tracking in the object context. - - A value that determines the behavior of the operation. - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - - Ensures that changes are synchronized with changes in all objects that are tracked by the - - . - - - - Returns an object that has the specified entity key. - true if the object was retrieved successfully. false if the key is temporary, the connection is null, or the value is null. - The key of the object to be found. - When this method returns, contains the object. - Incompatible metadata for key . - key is null. - - - - Executes a stored procedure or function that is defined in the data source and mapped in the conceptual model, with the specified parameters. Returns a typed - - . - - - An for the data that is returned by the stored procedure. - - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - The entity type of the returned when the function is executed against the data source. This type must implement - - . - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - - Executes the given stored procedure or function that is defined in the data source and expressed in the conceptual model, with the specified parameters, and merge option. Returns a typed - - . - - - An for the data that is returned by the stored procedure. - - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - The to use when executing the query. - - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - The entity type of the returned when the function is executed against the data source. This type must implement - - . - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - - Executes the given function on the default container. - - Element type for function results. - - Name of function. May include container (e.g. ContainerName.FunctionName) or just function name when DefaultContainerName is known. - - The options for executing this function. - - The parameter values to use for the function. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - An object representing the result of executing this function. - If function is null or empty - - If function is invalid (syntax, - does not exist, refers to a function with return type incompatible with T) - - - - Executes a stored procedure or function that is defined in the data source and expressed in the conceptual model; discards any results returned from the function; and returns the number of rows affected by the execution. - The number of rows affected. - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - Generates an equivalent type that can be used with the Entity Framework for each type in the supplied enumeration. - - An enumeration of objects that represent custom data classes that map to the conceptual model. - - - - Returns all the existing proxy types. - - An of all the existing proxy types. - - - - Returns the entity type of the POCO entity associated with a proxy object of a specified type. - - The of the associated POCO entity. - - - The of the proxy object. - - - - Creates and returns an instance of the requested type . - An instance of the requested type T , or an instance of a derived type that enables T to be used with the Entity Framework. The returned object is either an instance of the requested type or an instance of a derived type that enables the requested type to be used with the Entity Framework. - Type of object to be returned. - - - - Executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command specified in the server's native query language. - The parameter values to use for the query. - The number of rows affected. - - - - Executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - Controls the creation of a transaction for this command. - The command specified in the server's native query language. - The parameter values to use for the query. - The number of rows affected. - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior of - DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - - The to use when executing the query. The default is - . - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Translates a that contains rows of entity data to objects of the requested entity type. - - The entity type. - An enumeration of objects of type TResult . - - The that contains entity data to translate into entity objects. - - When reader is null. - - - - Translates a that contains rows of entity data to objects of the requested entity type, in a specific entity set, and with the specified merge option. - - The entity type. - An enumeration of objects of type TResult . - - The that contains entity data to translate into entity objects. - - The entity set of the TResult type. - - The to use when translated objects are added to the object context. The default is - - . - - When reader is null. - - When the supplied mergeOption is not a valid value. - - When the supplied entitySetName is not a valid entity set for the TResult type. - - - - Creates the database by using the current data source connection and the metadata in the - - . - - - - Deletes the database that is specified as the database in the current data source connection. - - - - Checks if the database that is specified as the database in the current store connection exists on the store. Most of the actual work - is done by the DbProviderServices implementation for the current store connection. - - true if the database exists; otherwise, false. - - - - Generates a data definition language (DDL) script that creates schema objects (tables, primary keys, foreign keys) for the metadata in the - - . The - - loads metadata from store schema definition language (SSDL) files. - - - A DDL script that creates schema objects for the metadata in the - - . - - - - - Defines options that affect the behavior of the ObjectContext. - - - - - Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction. - - - This flag determines whether a new transaction will be started when methods such as - and are executed outside of a transaction. - Note that this does not change the behavior of . - - - The default transactional behavior. - - - - Gets or sets a Boolean value that determines whether related objects are loaded automatically when a navigation property is accessed. - true if lazy loading is enabled; otherwise, false. - - - Gets or sets a Boolean value that determines whether proxy instances are created for custom data classes that are persistence ignorant. - true if proxies are created; otherwise, false. The default value is true. - - - Gets or sets a Boolean value that determines whether to use the legacy PreserveChanges behavior. - true if the legacy PreserveChanges behavior should be used; otherwise, false. - - - Gets or sets a Boolean value that determines whether to use the consistent NullReference behavior. - - If this flag is set to false then setting the Value property of the for an - FK relationship to null when it is already null will have no effect. When this flag is set to true, then - setting the value to null will always cause the FK to be nulled and the relationship to be deleted - even if the value is currently null. The default value is false when using ObjectContext and true - when using DbContext. - - true if the consistent NullReference behavior should be used; otherwise, false. - - - Gets or sets a Boolean value that determines whether to use the C# NullComparison behavior. - - This flag determines whether C# behavior should be exhibited when comparing null values in LinqToEntities. - If this flag is set, then any equality comparison between two operands, both of which are potentially - nullable, will be rewritten to show C# null comparison semantics. As an example: - (operand1 = operand2) will be rewritten as - (((operand1 = operand2) AND NOT (operand1 IS NULL OR operand2 IS NULL)) || (operand1 IS NULL && operand2 IS NULL)) - The default value is false when using . - - true if the C# NullComparison behavior should be used; otherwise, false. - - - - EventArgs for the ObjectMaterialized event. - - - - - Constructs new arguments for the ObjectMaterialized event. - - The object that has been materialized. - - - Gets the entity object that was created. - The entity object that was created. - - - - Delegate for the ObjectMaterialized event. - - The ObjectContext responsable for materializing the object. - EventArgs containing a reference to the materialized object. - - - - This class represents a query parameter at the object layer, which consists - of a Name, a Type and a Value. - - - - - Initializes a new instance of the class with the specified name and type. - - The parameter name. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. The first character of the expression must be a letter. Any successive characters in the expression must be either letters, numbers, or an underscore (_) character. - The common language runtime (CLR) type of the parameter. - If the value of either argument is null. - If the value of the name argument is invalid. Parameter names must start with a letter and can only contain letters, numbers, and underscores. - - - - Initializes a new instance of the class with the specified name and value. - - The parameter name. This name should not include the "@" parameter marker that is used in Entity SQL statements, only the actual name. The first character of the expression must be a letter. Any successive characters in the expression must be either letters, numbers, or an underscore (_) character. - The initial value (and inherently, the type) of the parameter. - If the value of either argument is null. - If the value of the name argument is not valid. Parameter names must start with a letter and can only contain letters, numbers, and underscores. - - - Gets the parameter name, which can only be set through a constructor. - The parameter name, which can only be set through a constructor. - - - Gets the parameter type. - - The of the parameter. - - - - Gets or sets the parameter value. - The parameter value. - - - - This class represents a collection of query parameters at the object layer. - - - - Gets the number of parameters currently in the collection. - - The number of objects that are currently in the collection. - - - - - This collection is read-write - parameters may be added, removed - and [somewhat] modified at will (value only) - provided that the - implementation the collection belongs to has not locked its parameters - because it's command definition has been prepared. - - - - Provides an indexer that allows callers to retrieve parameters by name. - - The instance. - - The name of the parameter to find. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. - No parameter with the specified name is found in the collection. - - - - Adds the specified to the collection. - - The parameter to add to the collection. - The parameter argument is null. - - The parameter argument already exists in the collection. This behavior differs from that of most collections that allow duplicate entries. -or-Another parameter with the same name as the parameter argument already exists in the collection. Note that the lookup is case-insensitive. This behavior differs from that of most collections, and is more like that of a - - . - - The type of the parameter is not valid. - - - - Deletes all instances from the collection. - - - - - Checks for the existence of a specified in the collection by reference. - - Returns true if the parameter object was found in the collection; otherwise, false. - - The to find in the collection. - - The parameter argument is null. - - - - Determines whether an with the specified name is in the collection. - - Returns true if a parameter with the specified name was found in the collection; otherwise, false. - The name of the parameter to look for in the collection. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. - The name parameter is null. - - - Allows the parameters in the collection to be copied into a supplied array, starting with the object at the specified index. - The array into which to copy the parameters. - The index in the array at which to start copying the parameters. - - - - Removes an instance of an from the collection by reference if it exists in the collection. - - Returns true if the parameter object was found and removed from the collection; otherwise, false. - An object to remove from the collection. - The parameter argument is null. - - - - These methods return enumerator instances, which allow the collection to - be iterated through and traversed. - - An object that can be used to iterate through the collection. - - - Returns an untyped enumerator over the collection. - - An instance. - - - - - This class implements untyped queries at the object-layer. - - - - Returns the command text for the query. - A string value. - - - Gets the object context associated with this object query. - - The associated with this - - instance. - - - - Gets or sets how objects returned from a query are added to the object context. - - The query . - - - - - Whether the query is streaming or buffering - - - - Gets the parameter collection for this object query. - - The parameter collection for this . - - - - Gets or sets a value that indicates whether the query plan should be cached. - A value that indicates whether the query plan should be cached. - - - Returns the commands to execute against the data source. - A string that represents the commands that the query executes against the data source. - - - Returns information about the result type of the query. - - A value that contains information about the result type of the query. - - - - Executes the untyped object query with the specified merge option. - - The to use when executing the query. - The default is . - - - An that contains a collection of entity objects returned by the query. - - - - - Returns the collection as an used for data binding. - - - An of entity objects. - - - - - Gets the result element type for this query instance. - - - - - Gets the expression describing this query. For queries built using - LINQ builder patterns, returns a full LINQ expression tree; otherwise, - returns a constant expression wrapping this query. Note that the - default expression is not cached. This allows us to differentiate - between LINQ and Entity-SQL queries. - - - - - Gets the associated with this query instance. - - - - Returns an enumerator that iterates through a collection. - - An that can be used to iterate through the collection. - - - - - ObjectQuery implements strongly-typed queries at the object-layer. - Queries are specified using Entity-SQL strings and may be created by calling - the Entity-SQL-based query builder methods declared by ObjectQuery. - - The result type of this ObjectQuery - - - - Creates a new instance using the specified Entity SQL command as the initial query. - - The Entity SQL query. - - The on which to execute the query. - - - - - Creates a new instance using the specified Entity SQL command as the initial query and the specified merge option. - - The Entity SQL query. - - The on which to execute the query. - - - Specifies how the entities that are retrieved through this query should be merged with the entities that have been returned from previous queries against the same - - . - - - - Gets or sets the name of this object query. - - A string value that is the name of this . - - The value specified on set is not valid. - - - Executes the object query with the specified merge option. - - The to use when executing the query. - The default is . - - - An that contains a collection of entity objects returned by the query. - - - - Specifies the related objects to include in the query results. - - A new with the defined query path. - - Dot-separated list of related objects to return in the query results. - path is null. - path is empty. - - - Limits the query to unique results. - - A new instance that is equivalent to the original instance with SELECT DISTINCT applied. - - - - - This query-builder method creates a new query whose results are all of - the results of this query, except those that are also part of the other - query specified. - - A query representing the results to exclude. - a new ObjectQuery instance. - If the query parameter is null. - - - Groups the query results by the specified criteria. - - A new instance of type - - that is equivalent to the original instance with GROUP BY applied. - - The key columns by which to group the results. - The list of selected properties that defines the projection. - Zero or more parameters that are used in this method. - The query parameter is null or an empty string - or the projection parameter is null or an empty string. - - - - This query-builder method creates a new query whose results are those that - are both in this query and the other query specified. - - A query representing the results to intersect with. - a new ObjectQuery instance. - If the query parameter is null. - - - Limits the query to only results of a specific type. - - A new instance that is equivalent to the original instance with OFTYPE applied. - - - The type of the returned when the query is executed with the applied filter. - - The type specified is not valid. - - - Orders the query results by the specified criteria. - - A new instance that is equivalent to the original instance with ORDER BY applied. - - The key columns by which to order the results. - Zero or more parameters that are used in this method. - The keys or parameters parameter is null. - The key is an empty string. - - - Limits the query results to only the properties that are defined in the specified projection. - - A new instance of type - - that is equivalent to the original instance with SELECT applied. - - The list of selected properties that defines the projection. - Zero or more parameters that are used in this method. - projection is null or parameters is null. - The projection is an empty string. - - - Limits the query results to only the property specified in the projection. - - A new instance of a type compatible with the specific projection. The returned - - is equivalent to the original instance with SELECT VALUE applied. - - The projection list. - An optional set of query parameters that should be in scope when parsing. - - The type of the returned by the - - method. - - projection is null or parameters is null. - The projection is an empty string. - - - Orders the query results by the specified criteria and skips a specified number of results. - - A new instance that is equivalent to the original instance with both ORDER BY and SKIP applied. - - The key columns by which to order the results. - The number of results to skip. This must be either a constant or a parameter reference. - An optional set of query parameters that should be in scope when parsing. - Any argument is null. - keys is an empty string or count is an empty string. - - - Limits the query results to a specified number of items. - - A new instance that is equivalent to the original instance with TOP applied. - - The number of items in the results as a string. - An optional set of query parameters that should be in scope when parsing. - count is null. - count is an empty string. - - - - This query-builder method creates a new query whose results are all of - the results of this query, plus all of the results of the other query, - without duplicates (i.e., results are unique). - - A query representing the results to add. - a new ObjectQuery instance. - If the query parameter is null. - - - - This query-builder method creates a new query whose results are all of - the results of this query, plus all of the results of the other query, - including any duplicates (i.e., results are not necessarily unique). - - A query representing the results to add. - a new ObjectQuery instance. - If the query parameter is null. - - - Limits the query to results that match specified filtering criteria. - - A new instance that is equivalent to the original instance with WHERE applied. - - The filter predicate. - Zero or more parameters that are used in this method. - predicate is null or parameters is null. - The predicate is an empty string. - - - - Returns an which when enumerated will execute the given SQL query against the database. - - The query results. - - - - This class implements IEnumerable and IDisposable. Instance of this class - is returned from ObjectQuery.Execute method. - - - - - This constructor is intended only for use when creating test doubles that will override members - with mocked or faked behavior. Use of this constructor for other purposes may result in unexpected - behavior including but not limited to throwing . - - - - Returns an enumerator that iterates through the query results. - An enumerator that iterates through the query results. - - - - IListSource.ContainsListCollection implementation. Always returns false. - - - - Returns the results in a format useful for data binding. - - An of entity objects. - - - - - When overridden in a derived class, gets the type of the generic - - . - - - The type of the generic . - - - - Performs tasks associated with freeing, releasing, or resetting resources. - - - Releases the resources used by the object result. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the next result set of a stored procedure. - An ObjectResult that enumerates the values of the next result set. Null, if there are no more, or if the ObjectResult is not the result of a stored procedure call. - The type of the element. - - - - This class represents the result of the method. - - The type of the result. - - - - This constructor is intended only for use when creating test doubles that will override members - with mocked or faked behavior. Use of this constructor for other purposes may result in unexpected - behavior including but not limited to throwing . - - - - Returns an enumerator that iterates through the query results. - An enumerator that iterates through the query results. - - - Releases the unmanaged resources used by the and optionally releases the managed resources. - true to release managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the type of the . - - - A that is the type of the . - - - - - Represents a typed entity set that is used to perform create, read, update, and delete operations. - - The type of the entity. - - - - Gets the metadata of the entity set represented by this instance. - - - An object. - - - - Adds an object to the object context in the current entity set. - The object to add. - - - Attaches an object or object graph to the object context in the current entity set. - The object to attach. - - - Marks an object for deletion. - - An object that represents the entity to delete. The object can be in any state except - - . - - - - Removes the object from the object context. - - Object to be detached. Only the entity is removed; if there are any related objects that are being tracked by the same - - , those will not be detached automatically. - - - - - Copies the scalar values from the supplied object into the object in the - - that has the same key. - - The updated object. - - The detached object that has property updates to apply to the original object. The entity key of currentEntity must match the - - property of an entry in the - - . - - - - - Sets the property of an - - to match the property values of a supplied object. - - The updated object. - - The detached object that has property updates to apply to the original object. The entity key of originalEntity must match the - - property of an entry in the - - . - - - - Creates a new entity type object. - The new entity type object, or an instance of a proxy type that corresponds to the entity type. - - - Creates an instance of the specified type. - An instance of the requested type T , or an instance of a proxy type that corresponds to the type T . - Type of object to be returned. - - - - Represents either a entity, entity stub or relationship - - - - - Gets the for the - - . - - - The for the - - . - - - - - Gets the for the object or relationship. - - - The for the object or relationship. - - - - - Gets the state of the . - - - The state of the . - - - - Gets the entity object. - The entity object. - - - Gets the entity key. - The entity key. - - - - Gets a value that indicates whether the represents a relationship. - - - true if the represents a relationship; otherwise, false. - - - - Gets the read-only version of original values of the object or relationship. - The read-only version of original values of the relationship set entry or entity. - - - - Gets the updatable version of original values of the object associated with this - - . - - The updatable original values of object data. - - - - Gets the current property values of the object or relationship associated with this - - . - - - A that contains the current values of the object or relationship associated with this - - . - - - - Accepts the current values as original values. - - - Marks an entity as deleted. - - - - Returns the names of an object’s properties that have changed since the last time - - was called. - - - An collection of names as string. - - - - Sets the state of the object or relationship to modify. - If State is not Modified or Unchanged - - - Marks the specified property as modified. - The name of the property. - If State is not Modified or Unchanged - - - Rejects any changes made to the property with the given name since the property was last loaded, attached, saved, or changes were accepted. The original value of the property is stored and the property will no longer be marked as modified. - The name of the property to change. - - - Uses DetectChanges to determine whether or not the current value of the property with the given name is different from its original value. Note that this may be different from the property being marked as modified since a property which has not changed can still be marked as modified. - - Note that this property always returns the same result as the modified state of the property for change tracking - proxies and entities that derive from the EntityObject base class. This is because original values are not tracked - for these entity types and hence there is no way to know if the current value is really different from the - original value. - - true if the property has changed; otherwise, false. - The name of the property. - - - - Gets the instance for the object represented by entry. - - - The object. - - The entry is a stub or represents a relationship - - - - Changes state of the entry to the specified value. - - - The value to set for the - - property of the entry. - - - - Sets the current values of the entry to match the property values of a supplied object. - The detached object that has updated values to apply to the object. currentEntity can also be the object’s entity key. - - - Sets the original values of the entry to match the property values of a supplied object. - The detached object that has original values to apply to the object. originalEntity can also be the object’s entity key. - - - - Used to report that a scalar entity property is about to change - The current value of the specified property is cached when this method is called. - - The name of the entity property that is changing - - - - Used to report that a scalar entity property has been changed - The property value that was cached during EntityMemberChanging is now - added to OriginalValues - - The name of the entity property that has changing - - - - Used to report that a complex property is about to change - The current value of the specified property is cached when this method is called. - - The name of the top-level entity property that is changing - The complex object that contains the property that is changing - The name of the property that is changing on complexObject - - - - Used to report that a complex property has been changed - The property value that was cached during EntityMemberChanging is now added to OriginalValues - - The name of the top-level entity property that has changed - The complex object that contains the property that changed - The name of the property that changed on complexObject - - - - Returns the EntityState from the ObjectStateEntry - - - - - Maintains object state and identity management for entity type instances and relationship instances. - - - - - Initializes a new instance of the class. - - - The , which supplies mapping and metadata information. - - - - - Gets the associated with this state manager. - - - The associated with this - - . - - - - Occurs when entities are added to or removed from the state manager. - - - - Returns a collection of objects for objects or relationships with the given state. - - - A collection of objects in the given - - . - - - An used to filter the returned - - objects. - - - When state is . - - - - - Changes state of the for a specific object to the specified entityState . - - - The for the supplied entity . - - The object for which the state must be changed. - The new state of the object. - When entity is null. - - When the object is not detached and does not have an entry in the state manager - or when you try to change the state to - from any other - or when state is not a valid value. - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and the name of the navigation property. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - The name of the navigation property on source that returns the specified target . - - The requested of the specified relationship. - - When source or target is null. - - When trying to change the state of the relationship to a state other than - or - when either source or target is in a state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an state - or when state is not a valid value - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and a LINQ expression that defines the navigation property. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - A LINQ expression that selects the navigation property on source that returns the specified target . - - The requested of the specified relationship. - - The entity type of the source object. - When source , target , or selector is null. - selector is malformed or cannot return a navigation property. - - When you try to change the state of the relationship to a state other than - or - when either source or target is in a - state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an state - or when state is not a valid value. - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and the properties of the relationship. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - The name of the relationship. - The role name at the target end of the relationship. - - The requested of the specified relationship. - - When source or target is null. - - When you try to change the state of the relationship to a state other than - or - when either source or target is in a state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an - state - or when state is not a valid value. - - - - - Returns an for the object or relationship entry with the specified key. - - - The corresponding for the given - - . - - - The . - - When key is null. - When the specified key cannot be found in the state manager. - - No entity with the specified exists in the - - . - - - - - Returns an for the specified object. - - - The corresponding for the given - - . - - - The to which the retrieved - - belongs. - - - No entity for the specified exists in the - - . - - - - - Tries to retrieve the corresponding for the specified - - . - - - A Boolean value that is true if there is a corresponding - - for the given object; otherwise, false. - - - The to which the retrieved - - belongs. - - - When this method returns, contains the for the given - - This parameter is passed uninitialized. - - - - - Tries to retrieve the corresponding for the object or relationship with the specified - - . - - - A Boolean value that is true if there is a corresponding - - for the given - - ; otherwise, false. - - - The given . - - - When this method returns, contains an for the given - - This parameter is passed uninitialized. - - A null (Nothing in Visual Basic) value is provided for key . - - - - Returns the that is used by the specified object. - - - The for the specified object. - - - The object for which to return the . - - - The entity does not implement IEntityWithRelationships and is not tracked by this ObjectStateManager - - - - - Returns the that is used by the specified object. - - - true if a instance was returned for the supplied entity ; otherwise false. - - - The object for which to return the . - - - When this method returns, contains the - - for the entity . - - - - - The original values of the properties of an entity when it was retrieved from the database. - - - - - A DataContractResolver that knows how to resolve proxy types created for persistent - ignorant classes to their base types. This is used with the DataContractSerializer. - - - - During deserialization, maps any xsi:type information to the actual type of the persistence-ignorant object. - Returns the type that the xsi:type is mapped to. Returns null if no known type was found that matches the xsi:type. - The xsi:type information to map. - The namespace of the xsi:type. - The declared type. - - An instance of . - - - - During serialization, maps actual types to xsi:type information. - true if the type was resolved; otherwise, false. - The actual type of the persistence-ignorant object. - The declared type. - - An instance of . - - When this method returns, contains a list of xsi:type declarations. - When this method returns, contains a list of namespaces used. - - - - Defines the different ways to handle modified properties when refreshing in-memory data from the database. - - - - - For unmodified client objects, same behavior as StoreWins. For modified client - objects, Refresh original values with store value, keeping all values on client - object. The next time an update happens, all the client change units will be - considered modified and require updating. - - - - - Discard all changes on the client and refresh values with store values. - Client original values is updated to match the store. - - - - - Flags used to modify behavior of ObjectContext.SaveChanges() - - - - - Changes are saved without the DetectChanges or the AcceptAllChangesAfterSave methods being called. - - - - - After changes are saved, the AcceptAllChangesAfterSave method is called, which resets change tracking in the ObjectStateManager. - - - - - Before changes are saved, the DetectChanges method is called to synchronize the property values of objects that are attached to the object context with data in the ObjectStateManager. - - - - - This exception is thrown when a update operation violates the concurrency constraint. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of that uses a specified error message, a reference to the inner exception, and an enumerable collection of - - objects. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - The enumerable collection of objects. - - - - - Property constraint exception class. Note that this class has state - so if you change even - its internals, it can be a breaking change - - - - - Initializes a new instance of the class with default message. - - - - - Initializes a new instance of the class with supplied message. - - A localized error message. - - - - Initializes a new instance of the class with supplied message and inner exception. - - A localized error message. - The inner exception. - - - - Initializes a new instance of the class. - - A localized error message. - The name of the property. - - - - Initializes a new instance of the class. - - A localized error message. - The name of the property. - The inner exception. - - - Gets the name of the property that violated the constraint. - The name of the property that violated the constraint. - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - This exception is thrown when the store provider exhibits a behavior incompatible with the entity client provider - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Used for conversion between different representations of bit array. - Returns (n+(div-1))/div, rearranged to avoid arithmetic overflow. - For example, in the bit to int case, the straightforward calc would - be (n+31)/32, but that would cause overflow. So instead it's - rearranged to ((n-1)/32) + 1, with special casing for 0. - - Usage: - GetArrayLength(77, BitsPerInt32): returns how many ints must be - allocated to store 77 bits. - - length of array - use a conversion constant, e.g. BytesPerInt32 to get - how many ints are required to store n bytes - length of the array - - - - Is this tree uses user-defined functions - Simplifying query with UDFs could caused to suboptimal plans - - Current subtree to process - Mapped variables - - - - - Exception during save changes to store - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of the class that uses a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class that uses a specified error message, a reference to the inner exception, and an enumerable collection of - - objects. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - The collection of objects. - - - - - Gets the objects for this - - . - - - A collection of objects comprised of either a single entity and 0 or more relationships, or 0 entities and 1 or more relationships. - - - - - Initializes a new instance of with serialized data. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - An implementation of IDatabaseInitializer that will recreate and optionally re-seed the - database only if the database does not exist. - To seed the database, create a derived class and override the Seed method. - - The type of the context. - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - An instance of this class is obtained from an object and can be used - to manage the actual database backing a DbContext or connection. - This includes creating, deleting, and checking for the existence of a database. - Note that deletion and checking for existence of a database can be performed using just a - connection (i.e. without a full context) by using the static methods of this class. - - - - - Gets the transaction the underlying store connection is enlisted in. May be null. - - - - - Enables the user to pass in a database transaction created outside of the object - if you want the Entity Framework to execute commands within that external transaction. - Alternatively, pass in null to clear the framework's knowledge of that transaction. - - the external transaction - Thrown if the transaction is already completed - - Thrown if the connection associated with the object is already enlisted in a - - transaction - - - Thrown if the connection associated with the object is already participating in a transaction - - Thrown if the connection associated with the transaction does not match the Entity Framework's connection - - - - Begins a transaction on the underlying store connection - - - a object wrapping access to the underlying store's transaction object - - - - - Begins a transaction on the underlying store connection using the specified isolation level - - The database isolation level with which the underlying store transaction will be created - - a object wrapping access to the underlying store's transaction object - - - - - Returns the connection being used by this context. This may cause the - connection to be created if it does not already exist. - - Thrown if the context has been disposed. - - - - Sets the database initializer to use for the given context type. The database initializer is called when a - the given type is used to access a database for the first time. - The default strategy for Code First contexts is an instance of . - - The type of the context. - The initializer to use, or null to disable initialization for the given context type. - - - - Runs the registered on this context. - If "force" is set to true, then the initializer is run regardless of whether or not it - has been run before. This can be useful if a database is deleted while an app is running - and needs to be reinitialized. - If "force" is set to false, then the initializer is only run if it has not already been - run for this context, model, and connection in this app domain. This method is typically - used when it is necessary to ensure that the database has been created and seeded - before starting some operation where doing so lazily will cause issues, such as when the - operation is part of a transaction. - - - If set to true the initializer is run even if it has already been run. - - - - - Checks whether or not the database is compatible with the current Code First model. - - - Model compatibility currently uses the following rules. - If the context was created using either the Model First or Database First approach then the - model is assumed to be compatible with the database and this method returns true. - For Code First the model is considered compatible if the model is stored in the database - in the Migrations history table and that model has no differences from the current model as - determined by Migrations model differ. - If the model is not stored in the database but an EF 4.1/4.2 model hash is found instead, - then this is used to check for compatibility. - - - If set to true then an exception will be thrown if no model metadata is found in the database. If set to false then this method will return true if metadata is not found. - - True if the model hash in the context and the database match; false otherwise. - - - - Creates a new database on the database server for the model defined in the backing context. - Note that calling this method before the database initialization strategy has run will disable - executing that strategy. - - - - - Creates a new database on the database server for the model defined in the backing context, but only - if a database with the same name does not already exist on the server. - - True if the database did not exist and was created; false otherwise. - - - - Checks whether or not the database exists on the server. - - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - Calling this method from outside of an initializer will mark the database as having - not been initialized. This means that if an attempt is made to use the database again - after it has been deleted, then any initializer set will run again and, usually, will - try to create the database again automatically. - - True if the database did exist and was deleted; false otherwise. - - - - Checks whether or not the database exists on the server. - The connection to the database is created using the given database name or connection string - in the same way as is described in the documentation for the class. - - The database name or a connection string to the database. - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - The connection to the database is created using the given database name or connection string - in the same way as is described in the documentation for the class. - - The database name or a connection string to the database. - True if the database did exist and was deleted; false otherwise. - - - - Checks whether or not the database exists on the server. - - An existing connection to the database. - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - - An existing connection to the database. - True if the database did exist and was deleted; false otherwise. - - - - The connection factory to use when creating a from just - a database name or a connection string. - - - This is used when just a database name or connection string is given to or when - the no database name or connection is given to DbContext in which case the name of - the context class is passed to this factory in order to generate a DbConnection. - By default, the instance to use is read from the application's .config - file from the "EntityFramework DefaultConnectionFactory" entry in appSettings. If no entry is found in - the config file then is used. Setting this property in code - always overrides whatever value is found in the config file. - - - - - Creates a raw SQL query that will return elements of the given generic type. - The type can be any type that has properties that match the names of the columns returned - from the query, or can be a simple primitive type. The type does not have to be an - entity type. The results of this query are never tracked by the context even if the - type of object returned is an entity type. Use the - method to return entities that are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The type of object returned by the query. - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values will - not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - Creates a raw SQL query that will return elements of the given type. - The type can be any type that has properties that match the names of the columns returned - from the query, or can be a simple primitive type. The type does not have to be an - entity type. The results of this query are never tracked by the context even if the - type of object returned is an entity type. Use the - method to return entities that are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The type of object returned by the query. - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - Executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - If there isn't an existing local or ambient transaction a new transaction will be used - to execute the command. - - The command string. - The parameters to apply to the command string. - The result returned by the database after executing the command. - - - - Executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - Controls the creation of a transaction for this command. - The command string. - The parameters to apply to the command string. - The result returned by the database after executing the command. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets or sets the timeout value, in seconds, for all context operations. - The default value is null, where null indicates that the default value of the underlying - provider will be used. - - - The timeout, in seconds, or null to use the provider default. - - - - - Set this property to log the SQL generated by the to the given - delegate. For example, to log to the console, set this property to . - - - The format of the log text can be changed by creating a new formatter that derives from - and setting it with . - For more low-level control over logging/interception see and - . - - - - - A class derived from this class can be placed in the same assembly as a class derived from - to define Entity Framework configuration for an application. - Configuration is set by calling protected methods and setting protected properties of this - class in the constructor of your derived type. - The type to use can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Any class derived from must have a public parameterless constructor - and that constructor should call this constructor. - - - - - The Singleton instance of for this app domain. This can be - set at application start before any Entity Framework features have been used and afterwards - should be treated as read-only. - - The instance of . - - - - Attempts to discover and load the associated with the given - type. This method is intended to be used by tooling to ensure that - the correct configuration is loaded into the app domain. Tooling should use this method - before accessing the property. - - A type to use for configuration discovery. - - - - Attempts to discover and load the from the given assembly. - This method is intended to be used by tooling to ensure that the correct configuration is loaded into - the app domain. Tooling should use this method before accessing the - property. If the tooling knows the type being used, then the - method should be used since it gives a greater chance that - the correct configuration will be found. - - An to use for configuration discovery. - - - - Occurs during EF initialization after the DbConfiguration has been constructed but just before - it is locked ready for use. Use this event to inspect and/or override services that have been - registered before the configuration is locked. Note that this event should be used carefully - since it may prevent tooling from discovering the same configuration that is used at runtime. - - - Handlers can only be added before EF starts to use the configuration and so handlers should - generally be added as part of application initialization. Do not access the DbConfiguration - static methods inside the handler; instead use the members of - to get current services and/or add overrides. - - - - - Call this method from the constructor of a class derived from to - add a instance to the Chain of Responsibility of resolvers that - are used to resolve dependencies needed by the Entity Framework. - - - Resolvers are asked to resolve dependencies in reverse order from which they are added. This means - that a resolver can be added to override resolution of a dependency that would already have been - resolved in a different way. - The exceptions to this is that any dependency registered in the application's config file - will always be used in preference to using a dependency resolver added here. - - The resolver to add. - - - - Call this method from the constructor of a class derived from to - add a instance to the Chain of Responsibility of resolvers that - are used to resolve dependencies needed by the Entity Framework. Unlike the AddDependencyResolver - method, this method puts the resolver at the bottom of the Chain of Responsibility such that it will only - be used to resolve a dependency that could not be resolved by any of the other resolvers. - - - A implementation is automatically registered as a default resolver - when it is added with a call to . This allows EF providers to act as - resolvers for other services that may need to be overridden by the provider. - - The resolver to add. - - - - Gets the that is being used to resolve service - dependencies in the Entity Framework. - - - - - Call this method from the constructor of a class derived from to register - an Entity Framework provider. - - - Note that the provider is both registered as a service itself and also registered as a default resolver with - a call to AddDefaultResolver. This allows EF providers to act as resolvers for other services that - may need to be overridden by the provider. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - and also using AddDefaultResolver to add the provider as a default - resolver. This means that, if desired, the same functionality can be achieved using a custom resolver or a - resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The provider instance. - - - - Call this method from the constructor of a class derived from to register - an ADO.NET provider. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolvers for - and . This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The provider instance. - - - - Call this method from the constructor of a class derived from to register an - for use with the provider represented by the given invariant name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - A function that returns a new instance of an execution strategy. - - - - Call this method from the constructor of a class derived from to register an - for use with the provider represented by the given invariant name and - for a given server name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - A function that returns a new instance of an execution strategy. - A string that will be matched against the server name in the connection string. - - - - Call this method from the constructor of a class derived from to register a - . - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - A function that returns a new instance of a transaction handler. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this transaction handler will be used. - - A function that returns a new instance of a transaction handler. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name and - for a given server name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this transaction handler will be used. - - A function that returns a new instance of a transaction handler. - A string that will be matched against the server name in the connection string. - - - - Sets the that is used to create connections by convention if no other - connection string or connection is given to or can be discovered by . - Note that a default connection factory is set in the app.config or web.config file whenever the - EntityFramework NuGet package is installed. As for all config file settings, the default connection factory - set in the config file will take precedence over any setting made with this method. Therefore the setting - must be removed from the config file before calling this method will have any effect. - Call this method from the constructor of a class derived from to change - the default connection factory being used. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The connection factory. - - - - Call this method from the constructor of a class derived from to - set the pluralization service. - - The pluralization service to use. - - - - Call this method from the constructor of a class derived from to - set the database initializer to use for the given context type. The database initializer is called when a - the given type is used to access a database for the first time. - The default strategy for Code First contexts is an instance of . - - - Calling this method is equivalent to calling . - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The type of the context. - The initializer to use, or null to disable initialization for the given context type. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name. - - - This method is typically used by providers to register an associated SQL generator for Code First Migrations. - It is different from setting the generator in the because it allows - EF to use the Migrations pipeline to create a database even when there is no Migrations configuration in the project - and/or Migrations are not being explicitly used. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The invariant name of the ADO.NET provider for which this generator should be used. - A delegate that returns a new instance of the SQL generator each time it is called. - - - - Call this method from the constructor of a class derived from to set - an implementation of which allows provider manifest tokens to - be obtained from connections without necessarily opening the connection. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The manifest token resolver. - - - - Call this method from the constructor of a class derived from to set - a factory for implementations of which allows custom annotations - represented by instances to be serialized to and from the EDMX XML. - - - Note that an is not needed if the annotation uses a simple string value. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The name of custom annotation that will be handled by this serializer. - A delegate that will be used to create serializer instances. - - - - Call this method from the constructor of a class derived from to set - an implementation of which allows a - to be obtained from a in cases where the default implementation is not - sufficient. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The provider factory service. - - - - Call this method from the constructor of a class derived from to set - a as the model cache key factory which allows the key - used to cache the model behind a to be changed. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can - be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - The key factory. - - - - Call this method from the constructor of a class derived from to set - a delegate which can be used for - creation of the default for a any - . This default factory will only be used if no factory is - set explicitly in the and if no factory has been registered - for the provider in use using the - - method. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality - can be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - - A factory for creating instances for a given and - representing the default schema. - - - - - Call this method from the constructor of a class derived from to set - a delegate which allows for creation of a customized - for the given provider for any - that does not have an explicit factory set. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality - can be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - The invariant name of the ADO.NET provider for which this generator should be used. - - A factory for creating instances for a given and - representing the default schema. - - - - - Call this method from the constructor of a class derived from to set - the global instance of which will be used whenever a spatial provider is - required and a provider-specific spatial provider cannot be found. Normally, a provider-specific spatial provider - is obtained from the a implementation which is in turn returned by resolving - a service for passing the provider invariant name as a key. However, this - cannot work for stand-alone instances of and since - it is impossible to know the spatial provider to use. Therefore, when creating stand-alone instances - of and the global spatial provider is always used. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - an implementation of to use for a specific provider and provider - manifest token. - - - Use - to register spatial services for use only when a specific manifest token is returned by the provider. - Use to register global - spatial services to be used when provider information is not available or no provider-specific - spatial services are found. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The indicating the type of ADO.NET connection for which this spatial provider will be used. - - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - an implementation of to use for a specific provider with any - manifest token. - - - Use - to register spatial services for use when any manifest token is returned by the provider. - Use to register global - spatial services to be used when provider information is not available or no provider-specific - spatial services are found. - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this spatial provider will be used. - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - a factory for the type of to use with . - - - Note that setting the type of formatter to use with this method does change the way command are - logged when is used. It is still necessary to set a - instance onto before any commands will be logged. - For more low-level control over logging/interception see and - . - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - A delegate that will create formatter instances. - - - - Call this method from the constructor of a class derived from to - register an at application startup. Note that interceptors can also - be added and removed at any time using . - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The interceptor to register. - - - - Call this method from the constructor of a class derived from to set - a factory to allow to create instances of a context that does not have a public, - parameterless constructor. - - - This is typically needed to allow design-time tools like Migrations or scaffolding code to use contexts that - do not have public, parameterless constructors. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - with the context as the key. This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The context type for which the factory should be used. - The delegate to use to create context instances. - - - - Call this method from the constructor of a class derived from to set - a factory to allow to create instances of a context that does not have a public, - parameterless constructor. - - - This is typically needed to allow design-time tools like Migrations or scaffolding code to use contexts that - do not have public, parameterless constructors. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - with the context as the key. This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The context type for which the factory should be used. - The delegate to use to create context instances. - - - - Sets a singleton model store implementation (persisted model cache). - - The model store implementation. - - - - Call this method from the constructor of a class derived from to register - a database table existence checker for a given provider. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - and also using AddDefaultResolver to add the provider as a default - resolver. This means that, if desired, the same functionality can be achieved using a custom resolver or a - resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The table existence checker to use. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - This attribute can be placed on a subclass of to indicate that the subclass of - representing the code-based configuration for the application is in a different - assembly than the context type. - - - Normally a subclass of should be placed in the same assembly as - the subclass of used by the application. It will then be discovered automatically. - However, if this is not possible or if the application contains multiple context types in different - assemblies, then this attribute can be used to direct DbConfiguration discovery to the appropriate type. - An alternative to using this attribute is to specify the DbConfiguration type to use in the application's - config file. See http://go.microsoft.com/fwlink/?LinkId=260883 for more information. - - - - - Indicates that the given subclass of should be used for code-based configuration - for this application. - - - The type to use. - - - - - Indicates that the subclass of represented by the given assembly-qualified - name should be used for code-based configuration for this application. - - - The type to use. - - - - - Gets the subclass of that should be used for code-based configuration - for this application. - - - - - A DbContext instance represents a combination of the Unit Of Work and Repository patterns such that - it can be used to query from a database and group together changes that will then be written - back to the store as a unit. - DbContext is conceptually similar to ObjectContext. - - - DbContext is usually used with a derived type that contains properties for - the root entities of the model. These sets are automatically initialized when the - instance of the derived class is created. This behavior can be modified by applying the - attribute to either the entire derived context - class, or to individual properties on the class. - The Entity Data Model backing the context can be specified in several ways. When using the Code First - approach, the properties on the derived context are used to build a model - by convention. The protected OnModelCreating method can be overridden to tweak this model. More - control over the model used for the Model First approach can be obtained by creating a - explicitly from a and passing this model to one of the DbContext constructors. - When using the Database First or Model First approach the Entity Data Model can be created using the - Entity Designer (or manually through creation of an EDMX file) and then this model can be specified using - entity connection string or an object. - The connection to the database (including the name of the database) can be specified in several ways. - If the parameterless DbContext constructor is called from a derived context, then the name of the derived context - is used to find a connection string in the app.config or web.config file. If no connection string is found, then - the name is passed to the DefaultConnectionFactory registered on the class. The connection - factory then uses the context name as the database name in a default connection string. (This default connection - string points to (localdb)\MSSQLLocalDB unless a different DefaultConnectionFactory is registered.) - Instead of using the derived context name, the connection/database name can also be specified explicitly by - passing the name to one of the DbContext constructors that takes a string. The name can also be passed in - the form "name=myname", in which case the name must be found in the config file or an exception will be thrown. - Note that the connection found in the app.config or web.config file can be a normal database connection - string (not a special Entity Framework connection string) in which case the DbContext will use Code First. - However, if the connection found in the config file is a special Entity Framework connection string, then the - DbContext will use Database/Model First and the model specified in the connection string will be used. - An existing or explicitly created DbConnection can also be used instead of the database/connection name. - A can be applied to a class derived from DbContext to set the - version of conventions used by the context when it creates a model. If no attribute is applied then the - latest version of conventions will be used. - - - - - Constructs a new context instance using conventions to create the name of the database to - which a connection will be made. The by-convention name is the full name (namespace + class name) - of the derived context class. - See the class remarks for how this is used to create a connection. - - - - - Constructs a new context instance using conventions to create the name of the database to - which a connection will be made, and initializes it from the given model. - The by-convention name is the full name (namespace + class name) of the derived context class. - See the class remarks for how this is used to create a connection. - - The model that will back this context. - - - - Constructs a new context instance using the given string as the name or connection string for the - database to which a connection will be made. - See the class remarks for how this is used to create a connection. - - Either the database name or a connection string. - - - - Constructs a new context instance using the given string as the name or connection string for the - database to which a connection will be made, and initializes it from the given model. - See the class remarks for how this is used to create a connection. - - Either the database name or a connection string. - The model that will back this context. - - - - Constructs a new context instance using the existing connection to connect to a database. - The connection will not be disposed when the context is disposed if - is false. - - An existing connection to use for the new context. - - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - - Constructs a new context instance using the existing connection to connect to a database, - and initializes it from the given model. - The connection will not be disposed when the context is disposed if - is false. - - An existing connection to use for the new context. - The model that will back this context. - - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - - Constructs a new context instance around an existing ObjectContext. - - An existing ObjectContext to wrap with the new context. - - If set to true the ObjectContext is disposed when the DbContext is disposed, otherwise the caller must dispose the connection. - - - - - This method is called when the model for a derived context has been initialized, but - before the model has been locked down and used to initialize the context. The default - implementation of this method does nothing, but it can be overridden in a derived class - such that the model can be further configured before it is locked down. - - - Typically, this method is called only once when the first instance of a derived context - is created. The model for that context is then cached and is for all further instances of - the context in the app domain. This caching can be disabled by setting the ModelCaching - property on the given ModelBuilder, but note that this can seriously degrade performance. - More control over caching is provided through use of the DbModelBuilder and DbContextFactory - classes directly. - - The builder that defines the model for the context being created. - - - - Creates a Database instance for this context that allows for creation/deletion/existence checks - for the underlying database. - - - - - Returns a instance for access to entities of the given type in the context - and the underlying store. - - - Note that Entity Framework requires that this method return the same instance each time that it is called - for a given context instance and entity type. Also, the non-generic returned by the - method must wrap the same underlying query and set of entities. These invariants must - be maintained if this method is overridden for anything other than creating test doubles for unit testing. - See the class for more details. - - The type entity for which a set should be returned. - A set for the given entity type. - - - - Returns a non-generic instance for access to entities of the given type in the context - and the underlying store. - - The type of entity for which a set should be returned. - A set for the given entity type. - - Note that Entity Framework requires that this method return the same instance each time that it is called - for a given context instance and entity type. Also, the generic returned by the - method must wrap the same underlying query and set of entities. These invariants must - be maintained if this method is overridden for anything other than creating test doubles for unit testing. - See the class for more details. - - - - - Saves all changes made in this context to the underlying database. - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An error occurred sending updates to the database. - - A database command did not affect the expected number of rows. This usually indicates an optimistic - concurrency violation; that is, a row has been changed in the database since it was queried. - - - The save was aborted because validation of entity property values failed. - - - An attempt was made to use unsupported behavior such as executing multiple asynchronous commands concurrently - on the same context instance. - The context or connection have been disposed. - - Some error occurred attempting to process entities in the context either before or after sending commands - to the database. - - - - - Returns the Entity Framework ObjectContext that is underlying this context. - - Thrown if the context has been disposed. - - - - Validates tracked entities and returns a Collection of containing validation results. - - Collection of validation results for invalid entities. The collection is never null and must not contain null values or results for valid entities. - - 1. This method calls DetectChanges() to determine states of the tracked entities unless - DbContextConfiguration.AutoDetectChangesEnabled is set to false. - 2. By default only Added on Modified entities are validated. The user is able to change this behavior - by overriding ShouldValidateEntity method. - - - - - Extension point allowing the user to override the default behavior of validating only - added and modified entities. - - DbEntityEntry instance that is supposed to be validated. - true to proceed with validation; false otherwise. - - - - Extension point allowing the user to customize validation of an entity or filter out validation results. - Called by . - - DbEntityEntry instance to be validated. - - User-defined dictionary containing additional info for custom validation. It will be passed to - - and will be exposed as - - . This parameter is optional and can be null. - - Entity validation result. Possibly null when overridden. - - - - Gets a object for the given entity providing access to - information about the entity and the ability to perform actions on the entity. - - The type of the entity. - The entity. - An entry for the entity. - - - - Gets a object for the given entity providing access to - information about the entity and the ability to perform actions on the entity. - - The entity. - An entry for the entity. - - - - Provides access to features of the context that deal with change tracking of entities. - - An object used to access features that deal with change tracking. - - - - Provides access to configuration options for the context. - - An object used to access configuration options. - - - - Calls the protected Dispose method. - - - - - Disposes the context. The underlying is also disposed if it was created - is by this context or ownership was passed to this context when this context was created. - The connection to the database ( object) is also disposed if it was created - is by this context or ownership was passed to this context when this context was created. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - - - - - - - - - - - - - Wraps access to the transaction object on the underlying store connection and ensures that the - Entity Framework executes commands on the database within the context of that transaction. - An instance of this class is retrieved by calling BeginTransaction() on the - - object. - - - - - Gets the database (store) transaction that is underlying this context transaction. - - - - - Commits the underlying store transaction - - - - - Rolls back the underlying store transaction - - - - - Cleans up this transaction object and ensures the Entity Framework - is no longer using that transaction. - - - - - Releases the resources used by this transaction object - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - - - - - - - - - - - - - Indicates that the given method is a proxy for an EDM function. - - - Note that this class was called EdmFunctionAttribute in some previous versions of Entity Framework. - - - - - Initializes a new instance of the class. - - The namespace of the mapped-to function. - The name of the mapped-to function. - - - The namespace of the mapped-to function. - The namespace of the mapped-to function. - - - The name of the mapped-to function. - The name of the mapped-to function. - - - - Provides common language runtime (CLR) methods that expose EDM canonical functions - for use in or LINQ to Entities queries. - - - Note that this class was called EntityFunctions in some previous versions of Entity Framework. - - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Left EDM function to return a given - number of the leftmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the left of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Right EDM function to return a given - number of the rightmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the right of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Reverse EDM function to return a given - string with the order of the characters reversed. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The input string with the order of the characters reversed. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to - return the number of minutes that the given date/time is offset from UTC. This is generally between +780 - and -780 (+ or - 13 hrs). - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The offset of the input from UTC. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTimeOffset EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The time zone offset part of the new date. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of hours between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of minutes between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of seconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of milliseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of microseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of nanoseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - The string to escape special characters with, must only be a single character. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a Unicode string. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a non-Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a non-Unicode string. - - - - DbModelBuilder is used to map CLR classes to a database schema. - This code centric approach to building an Entity Data Model (EDM) model is known as 'Code First'. - - - DbModelBuilder is typically used to configure a model by overriding - DbContext.OnModelCreating(DbModelBuilder) - . - You can also use DbModelBuilder independently of DbContext to build a model and then construct a - or . - The recommended approach, however, is to use OnModelCreating in as - the workflow is more intuitive and takes care of common tasks, such as caching the created model. - Types that form your model are registered with DbModelBuilder and optional configuration can be - performed by applying data annotations to your classes and/or using the fluent style DbModelBuilder - API. - When the Build method is called a set of conventions are run to discover the initial model. - These conventions will automatically discover aspects of the model, such as primary keys, and - will also process any data annotations that were specified on your classes. Finally - any configuration that was performed using the DbModelBuilder API is applied. - Configuration done via the DbModelBuilder API takes precedence over data annotations which - in turn take precedence over the default conventions. - - - - - Initializes a new instance of the class. - The process of discovering the initial model will use the set of conventions included - in the most recent version of the Entity Framework installed on your machine. - - - Upgrading to newer versions of the Entity Framework may cause breaking changes - in your application because new conventions may cause the initial model to be - configured differently. There is an alternate constructor that allows a specific - version of conventions to be specified. - - - - - Initializes a new instance of the class that will use - a specific set of conventions to discover the initial model. - - The version of conventions to be used. - - - - Excludes a type from the model. This is used to remove types from the model that were added - by convention during initial model discovery. - - The type to be excluded. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Configures the default database schema name. This default database schema name is used - for database objects that do not have an explicitly configured schema name. - - The name of the default database schema. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Excludes the specified type(s) from the model. This is used to remove types from the model that were added - by convention during initial model discovery. - - The types to be excluded from the model. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Registers an entity type as part of the model and returns an object that can be used to - configure the entity. This method can be called multiple times for the same entity to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified entity type. - - - - Registers an entity type as part of the model. - - The type to be registered. - - This method is provided as a convenience to allow entity types to be registered dynamically - without the need to use MakeGenericMethod in order to call the normal generic Entity method. - This method does not allow further configuration of the entity type using the fluent APIs since - these APIs make extensive use of generic type parameters. - - - - - Registers a type as a complex type in the model and returns an object that can be used to - configure the complex type. This method can be called multiple times for the same type to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified complex type. - - - - Begins configuration of a lightweight convention that applies to all entities and complex types in - the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all entities and complex types - in the model that inherit from or implement the type specified by the generic argument. - This method does not register types as part of the model. - - The type of the entities or complex types that this convention will apply to. - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all properties - in the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all primitive - properties of the specified type in the model. - - The type of the properties that the convention will apply to. - A configuration object for the convention. - - The convention will apply to both nullable and non-nullable properties of the - specified type. - - - - - Provides access to the settings of this DbModelBuilder that deal with conventions. - - - - - Gets the for this DbModelBuilder. - The registrar allows derived entity and complex type configurations to be registered with this builder. - - - - - Creates a based on the configuration performed using this builder. - The connection is used to determine the database provider being used as this - affects the database layer of the generated model. - - Connection to use to determine provider information. - The model that was built. - - - - Creates a based on the configuration performed using this builder. - Provider information must be specified because this affects the database layer of the generated model. - For SqlClient the invariant name is 'System.Data.SqlClient' and the manifest token is the version year (i.e. '2005', '2008' etc.) - - The database provider that the model will be used with. - The model that was built. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - A value from this enumeration can be provided directly to the - class or can be used in the applied to - a class derived from . The value used defines which version of - the DbContext and DbModelBuilder conventions should be used when building a model from - code--also known as "Code First". - - - Using DbModelBuilderVersion.Latest ensures that all the latest functionality is available - when upgrading to a new release of the Entity Framework. However, it may result in an - application behaving differently with the new release than it did with a previous release. - This can be avoided by using a specific version of the conventions, but if a version - other than the latest is set then not all the latest functionality will be available. - - - - - Indicates that the latest version of the and - conventions should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v4.1 - should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v5.0 - when targeting .Net Framework 4 should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v5.0 - should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v6.0 - should be used. - - - - - This attribute can be applied to a class derived from to set which - version of the DbContext and conventions should be used when building - a model from code--also known as "Code First". See the - enumeration for details about DbModelBuilder versions. - - - If the attribute is missing from DbContextthen DbContext will always use the latest - version of the conventions. This is equivalent to using DbModelBuilderVersion.Latest. - - - - - Initializes a new instance of the class. - - - The conventions version to use. - - - - - Gets the conventions version. - - - The conventions version. - - - - - A non-generic version of which can be used when the type of entity - is not known at build time. - - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for DbSets. Methods and properties that will be used by the - test double must be implemented by the test double except AsNoTracking, AsStreaming, an Include where - the default implementation is a no-op. - - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Adds the given collection of entities into context underlying the set with each entity being put into - the Added state such that it will be inserted into the database when SaveChanges is called. - - The collection of entities to add. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before adding any entities and will not be called - again. This means that in some situations AddRange may perform significantly better than calling - Add multiple times would do. - Note that entities that are already in the context in some other state will have their state set to - Added. AddRange is a no-op for entities that are already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Removes the given collection of entities from the context underlying the set with each entity being put into - the Deleted state such that it will be deleted from the database when SaveChanges is called. - - The collection of entities to delete. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before delete any entities and will not be called - again. This means that in some situations RemoveRange may perform significantly better than calling - Remove multiple times would do. - Note that if any entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Returns the equivalent generic object. - - The type of entity for which the set was created. - The generic set object. - - - - Creates a raw SQL query that will return entities in this set. By default, the - entities returned are tracked by the context; this can be changed by calling - AsNoTracking on the returned. - Note that the entities returned are always of the type for this set and never of - a derived type. If the table or tables queried may contain data for other entity - types, then the SQL query must be written appropriately to ensure that only entities of - the correct type are returned. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - - - - - - - - - - A DbSet represents the collection of all entities in the context, or that can be queried from the - database, of a given type. DbSet objects are created from a DbContext using the DbContext.Set method. - - - Note that DbSet does not support MEST (Multiple Entity Sets per Type) meaning that there is always a - one-to-one correlation between a type and a set. - - The type that defines the set. - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for DbSets. Methods and properties that will be used by the - test double must be implemented by the test double except AsNoTracking, AsStreaming, an Include where - the default implementation is a no-op. - - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - - - - - - - - - - Adds the given collection of entities into context underlying the set with each entity being put into - the Added state such that it will be inserted into the database when SaveChanges is called. - - The collection of entities to add. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before adding any entities and will not be called - again. This means that in some situations AddRange may perform significantly better than calling - Add multiple times would do. - Note that entities that are already in the context in some other state will have their state set to - Added. AddRange is a no-op for entities that are already in the context in the Added state. - - - - - - - - Removes the given collection of entities from the context underlying the set with each entity being put into - the Deleted state such that it will be deleted from the database when SaveChanges is called. - - The collection of entities to delete. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before delete any entities and will not be called - again. This means that in some situations RemoveRange may perform significantly better than calling - Remove multiple times would do. - Note that if any entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - - - - - - - Returns the equivalent non-generic object. - - The generic set object. - The non-generic set object. - - - - Creates a raw SQL query that will return entities in this set. By default, the - entities returned are tracked by the context; this can be changed by calling - AsNoTracking on the returned. - Note that the entities returned are always of the type for this set and never of - a derived type. If the table or tables queried may contain data for other entity - types, then the SQL query must be written appropriately to ensure that only entities of - the correct type are returned. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values will - not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - - - - - - - - - - An implementation of IDatabaseInitializer that will always recreate and optionally re-seed the - database the first time that a context is used in the app domain. - To seed the database, create a derived class and override the Seed method. - - The type of the context. - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - is - null - . - - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - An implementation of IDatabaseInitializer that will DELETE, recreate, and optionally re-seed the - database only if the model has changed since the database was created. - - The type of the context. - - Whether or not the model has changed is determined by the - method. - To seed the database create a derived class and override the Seed method. - - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - is - null - . - - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - Describes the state of an entity. - - - - - The entity is not being tracked by the context. - An entity is in this state immediately after it has been created with the new operator - or with one of the Create methods. - - - - - The entity is being tracked by the context and exists in the database, and its property - values have not changed from the values in the database. - - - - - The entity is being tracked by the context but does not yet exist in the database. - - - - - The entity is being tracked by the context and exists in the database, but has been marked - for deletion from the database the next time SaveChanges is called. - - - - - The entity is being tracked by the context and exists in the database, and some or all of its - property values have been modified. - - - - - A provider-independent service API for HierarchyId type support. - - - - - Returns a hierarchyid representing the nth ancestor of this. - - A hierarchyid representing the nth ancestor of this. - n - - - - Returns a child node of the parent. - - null or the hierarchyid of a child of the current node. - null or the hierarchyid of a child of the current node. - - Returns one child node that is a descendant of the parent. - If parent is null, returns null. - If parent is not null, and both child1 and child2 are null, returns a child of parent. - If parent and child1 are not null, and child2 is null, returns a child of parent greater than child1. - If parent and child2 are not null and child1 is null, returns a child of parent less than child2. - If parent, child1, and child2 are not null, returns a child of parent greater than child1 and less than child2. - If child1 is not null and not a child of parent, an exception is raised. - If child2 is not null and not a child of parent, an exception is raised. - If child1 >= child2, an exception is raised. - - - - - Returns an integer that represents the depth of the node this in the tree. - - An integer that represents the depth of the node this in the tree. - - - - Returns the root of the hierarchy tree. - - The root of the hierarchy tree. - - - - Returns true if this is a descendant of parent. - - True if this is a descendant of parent. - parent - - - - Returns a node whose path from the root is the path to newRoot, followed by the path from oldRoot to this. - - Hierarchyid value. - oldRoot - newRoot - - - - Converts the canonical string representation of a hierarchyid to a hierarchyid value. - - Hierarchyid value. - input - - - - Represents hierarchical data. - - - - - The Path separator character - - - - - Constructs an HierarchyId. - - - - - Constructs an HierarchyId with the given canonical string representation value. - - Hierarchyid value. - Canonical string representation - - - - Returns a hierarchyid representing the nth ancestor of this. - - A hierarchyid representing the nth ancestor of this. - n - - - - Returns a child node of the parent. - - null or the hierarchyid of a child of the current node. - null or the hierarchyid of a child of the current node. - - Returns one child node that is a descendant of the parent. - If parent is null, returns null. - If parent is not null, and both child1 and child2 are null, returns a child of parent. - If parent and child1 are not null, and child2 is null, returns a child of parent greater than child1. - If parent and child2 are not null and child1 is null, returns a child of parent less than child2. - If parent, child1, and child2 are not null, returns a child of parent greater than child1 and less than child2. - If child1 is not null and not a child of parent, an exception is raised. - If child2 is not null and not a child of parent, an exception is raised. - If child1 >= child2, an exception is raised. - - - - - Returns an integer that represents the depth of the node this in the tree. - - An integer that represents the depth of the node this in the tree. - - - - Returns the root of the hierarchy tree. - - The root of the hierarchy tree. - - - - Returns true if this is a descendant of parent. - - True if this is a descendant of parent. - parent - - - - Returns a node whose path from the root is the path to newRoot, followed by the path from oldRoot to this. - - Hierarchyid value. - oldRoot - newRoot - - - - Converts the canonical string representation of a hierarchyid to a hierarchyid value. - - Hierarchyid value. - input - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - A 32-bit signed integer that indicates the lexical relationship between the two comparands. - Value Condition Less than zero: hid1 is less than hid2. - Zero: hid1 equals hid2. - Greater than zero: hid1 is greater than hid2. - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - true if the first parameter is less than the second parameter, false otherwise - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - true if the first parameter is greater than the second parameter, false otherwise - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - true if the first parameter is less or equal than the second parameter, false otherwise - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - true if the first parameter is greater or equal than the second parameter, false otherwise - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - true if the two HierarchyIds are equal, false otherwise - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - true if the two HierarchyIds are not equal, false otherwise - - - - Compares this instance to a given HierarchyId by their values. - - the HierarchyId to compare against this instance - true if this instance is equal to the given HierarchyId, and false otherwise - - - - Returns a value-based hash code, to allow HierarchyId to be used in hash tables. - - the hash value of this HierarchyId - - - - Compares this instance to a given HierarchyId by their values. - - the HierarchyId to compare against this instance - true if this instance is equal to the given HierarchyId, and false otherwise - - - - Returns a string representation of the hierarchyid value. - - A string representation of the hierarchyid value. - - - - Implementation of IComparable.CompareTo() - - The object to compare to - 0 if the HierarchyIds are "equal" (i.e., have the same _hierarchyId value) - - - - An implementation of this interface is used to initialize the underlying database when - an instance of a derived class is used for the first time. - This initialization can conditionally create the database and/or seed it with data. - The strategy used is set using the static InitializationStrategy property of the - class. - The following implementations are provided: , - , . - - The type of the context. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - An represents the collection of all entities in the context, or that - can be queried from the database, of a given type. is a concrete - implementation of IDbSet. - - - was originally intended to allow creation of test doubles (mocks or - fakes) for . However, this approach has issues in that adding new members - to an interface breaks existing code that already implements the interface without the new members. - Therefore, starting with EF6, no new members will be added to this interface and it is recommended - that be used as the base class for test doubles. - - The type that defines the set. - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Inherit from this class to create a service that allows for code generation of custom annotations as part of - scaffolding Migrations. The derived class should be set onto the . - - - Note that an is not needed if the annotation uses a simple string value, - or if calling ToString on the annotation object is sufficient for use in the scaffolded Migration. - - - - - Override this method to return additional namespaces that should be included in the code generated for the - scaffolded migration. The default implementation returns an empty enumeration. - - The names of the annotations that are being included in the generated code. - A list of additional namespaces to include. - - - - Implement this method to generate code for the given annotation value. - - The name of the annotation for which a value is being generated. - The annotation value. - The writer to which generated code should be written. - - - - Represents a pair of annotation values in a scaffolded or hand-coded . - - - Code First allows for custom annotations to be associated with columns and tables in the - generated model. This class represents a pair of annotation values in a migration such - that when the Code First model changes the old annotation value and the new annotation - value can be provided to the migration and used in SQL generation. - - - - - Creates a new pair of annotation values. - - The old value of the annotation, which may be null if the annotation has just been created. - The new value of the annotation, which may be null if the annotation has been deleted. - - - - Gets the old value of the annotation, which may be null if the annotation has just been created. - - - - - Gets the new value of the annotation, which may be null if the annotation has been deleted. - - - - - - - - - - - Returns true if both annotation pairs contain the same values, otherwise false. - - A pair of annotation values. - A pair of annotation values. - True if both pairs contain the same values. - - - - Returns true if the two annotation pairs contain different values, otherwise false. - - A pair of annotation values. - A pair of annotation values. - True if the pairs contain different values. - - - - Returned by and related methods to indicate whether or - not one object does not conflict with another such that the two can be combined into one. - - - If the two objects are not compatible then information about why they are not compatible is contained - in the property. - - - - - Creates a new instance. - - Indicates whether or not the two tested objects are compatible. - - An error message indicating how the objects are not compatible. Expected to be null if isCompatible is true. - - - - - True if the two tested objects are compatible; otherwise false. - - - - - If is true, then returns an error message indicating how the two tested objects - are incompatible. - - - - - Implicit conversion to a bool to allow the result object to be used directly in checks. - - The object to convert. - True if the result is compatible; false otherwise. - - - - Types used as custom annotations can implement this interface to indicate that an attempt to use - multiple annotations with the same name on a given table or column may be possible by merging - the multiple annotations into one. - - - Normally there can only be one custom annotation with a given name on a given table or - column. If a table or column ends up with multiple annotations, for example, because - multiple CLR properties map to the same column, then an exception will be thrown. - However, if the annotation type implements this interface, then the two annotations will be - checked for compatibility using the method and, if compatible, - will be merged into one using the method. - - - - - Returns true if this annotation does not conflict with the given annotation such that - the two can be combined together using the method. - - The annotation to compare. - A CompatibilityResult indicating whether or not this annotation is compatible with the other. - - - - Merges this annotation with the given annotation and returns a new merged annotation. This method is - only expected to succeed if returns true. - - The annotation to merge with this one. - A new merged annotation. - - - - Instances of this class are used as custom annotations for representing database indexes in an - Entity Framework model. - - - An index annotation is added to a Code First model when an is placed on - a mapped property of that model. This is used by Entity Framework Migrations to create indexes on - mapped database columns. Note that multiple index attributes on a property will be merged into a - single annotation for the column. Similarly, index attributes on multiple properties that map to the - same column will be merged into a single annotation for the column. This means that one index - annotation can represent multiple indexes. Within an annotation there can be only one index with any - given name. - - - - - The name used when this annotation is stored in Entity Framework metadata or serialized into - an SSDL/EDMX file. - - - - - Creates a new annotation for the given index. - - An index attributes representing an index. - - - - Creates a new annotation for the given collection of indexes. - - Index attributes representing one or more indexes. - - - - Gets the indexes represented by this annotation. - - - - - Returns true if this annotation does not conflict with the given annotation such that - the two can be combined together using the method. - - - Each index annotation contains at most one with a given name. - Two annotations are considered compatible if each IndexAttribute with a given name is only - contained in one annotation or the other, or if both annotations contain an IndexAttribute - with the given name. - - The annotation to compare. - A CompatibilityResult indicating whether or not this annotation is compatible with the other. - - - - Merges this annotation with the given annotation and returns a new annotation containing the merged indexes. - - - Each index annotation contains at most one with a given name. - The merged annotation will contain IndexAttributes from both this and the other annotation. - If both annotations contain an IndexAttribute with the same name, then the merged annotation - will contain one IndexAttribute with that name. - - The annotation to merge with this one. - A new annotation with indexes from both annotations merged. - - The other annotation contains indexes that are not compatible with indexes in this annotation. - - - - - - - - This class is used to serialize and deserialize objects so that they - can be stored in the EDMX form of the Entity Framework model. - - - An example of the serialized format is: - { Name: 'MyIndex', Order: 7, IsClustered: True, IsUnique: False } { } { Name: 'MyOtherIndex' }. - Note that properties that have not been explicitly set in an index attribute will be excluded from - the serialized output. So, in the example above, the first index has all properties specified, - the second has none, and the third has just the name set. - - - - - Serializes the given into a string for storage in the EDMX XML. - - The name of the annotation that is being serialized. - The value to serialize which must be an IndexAnnotation object. - The serialized value. - - - - Deserializes the given string back into an object. - - The name of the annotation that is being deserialized. - The string to deserialize. - The deserialized annotation value. - If there is an error reading the serialized value. - - - - Returned by the ChangeTracker method of to provide access to features of - the context that are related to change tracking of entities. - - - - - Gets objects for all the entities tracked by this context. - - The entries. - - - - Gets objects for all the entities of the given type - tracked by this context. - - The type of the entity. - The entries. - - - - Checks if the is tracking any new, deleted, or changed entities or - relationships that will be sent to the database if is called. - - - Functionally, calling this method is equivalent to checking if there are any entities or - relationships in the Added, Updated, or Deleted state. - Note that this method calls unless - has been set to false. - - - True if underlying have changes, else false. - - - - - Detects changes made to the properties and relationships of POCO entities. Note that some types of - entity (such as change tracking proxies and entities that derive from - ) - report changes automatically and a call to DetectChanges is not normally needed for these types of entities. - Also note that normally DetectChanges is called automatically by many of the methods of - and its related classes such that it is rare that this method will need to be called explicitly. - However, it may be desirable, usually for performance reasons, to turn off this automatic calling of - DetectChanges using the AutoDetectChangesEnabled flag from . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - A non-generic version of the class. - - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - - - Gets or sets a value indicating whether all entities of this collection have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities of this collection from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded into this collection - and wants to prevent any other entities from being loaded automatically. - Note that explict loading using one of the Load methods will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity in the collection is detached the IsLoaded flag is reset to false indicating that the - not all related entities are now loaded. - - - true if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - Returns the query that would be used to load this collection from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database, such - as counting the number of entities in the collection in the database without actually loading them. - - A query for the collection. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the collection element. - The equivalent generic object. - - - - Instances of this class are returned from the Collection method of - and allow operations such as loading to - be performed on the an entity's collection navigation properties. - - The type of the entity to which this property belongs. - The type of the element in the collection of entities. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - - - Gets or sets a value indicating whether all entities of this collection have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities of this collection from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded into this collection - and wants to prevent any other entities from being loaded automatically. - Note that explict loading using one of the Load methods will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity in the collection is detached the IsLoaded flag is reset to false indicating that the - not all related entities are now loaded. - - - true if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - Returns the query that would be used to load this collection from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database, such - as counting the number of entities in the collection in the database without actually loading them. - - A query for the collection. - - - - Returns a new instance of the non-generic class for - the navigation property represented by this object. - - The object representing the navigation property. - A non-generic version. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - An immutable representation of an Entity Data Model (EDM) model that can be used to create an - or can be passed to the constructor of a . - For increased performance, instances of this type should be cached and re-used to construct contexts. - - - - - Creates an instance of ObjectContext or class derived from ObjectContext. Note that an instance - of DbContext can be created instead by using the appropriate DbContext constructor. - If a derived ObjectContext is used, then it must have a public constructor with a single - EntityConnection parameter. - The connection passed is used by the ObjectContext created, but is not owned by the context. The caller - must dispose of the connection once the context has been disposed. - - The type of context to create. - An existing connection to a database for use by the context. - The context. - - - - A non-generic version of the class. - - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The name of the nested property. - An object representing the nested property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the complex property. - The equivalent generic object. - - - - Instances of this class are returned from the ComplexProperty method of - and allow access to the state of a complex property. - - The type of the entity to which this property belongs. - The type of the property. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The type of the nested property. - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The type of the nested property. - An expression representing the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The type of the nested property. - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The type of the nested property. - An expression representing the nested property. - An object representing the nested property. - - - - Represents information about a database connection. - - - - - Creates a new instance of DbConnectionInfo representing a connection that is specified in the application configuration file. - - The name of the connection string in the application configuration. - - - - Creates a new instance of DbConnectionInfo based on a connection string. - - The connection string to use for the connection. - The name of the provider to use for the connection. Use 'System.Data.SqlClient' for SQL Server. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Describes the origin of the database connection string associated with a . - - - - - The connection string was created by convention. - - - - - The connection string was read from external configuration. - - - - - The connection string was explicitly specified at runtime. - - - - - The connection string was overridden by connection information supplied to DbContextInfo. - - - - - Returned by the Configuration method of to provide access to configuration - options for the context. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction. - - - This flag determines whether a new transaction will be started when methods such as - are executed outside of a transaction. - Note that this does not change the behavior of . - - - The default transactional behavior. - - - - - Gets or sets a value indicating whether lazy loading of relationships exposed as - navigation properties is enabled. Lazy loading is enabled by default. - - - true if lazy loading is enabled; otherwise, false . - - - - - Gets or sets a value indicating whether or not the framework will create instances of - dynamically generated proxy classes whenever it creates an instance of an entity type. - Note that even if proxy creation is enabled with this flag, proxy instances will only - be created for entity types that meet the requirements for being proxied. - Proxy creation is enabled by default. - - - true if proxy creation is enabled; otherwise, false . - - - - - Gets or sets a value indicating whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. The default value is false. - - For example (operand1 == operand2) will be translated as: - - (operand1 = operand2) - - if UseDatabaseNullSemantics is true, respectively - - (((operand1 = operand2) AND (NOT (operand1 IS NULL OR operand2 IS NULL))) OR ((operand1 IS NULL) AND (operand2 IS NULL))) - - if UseDatabaseNullSemantics is false. - - - true if database null comparison behavior is enabled, otherwise false . - - - - - By default expression like - .Select(x => NewProperty = func(x.Property)).Where(x => x.NewProperty == ...) - are simplified to avoid nested SELECT - In some cases, simplifying query with UDFs could caused to suboptimal plans due to calling UDF twice. - Also some SQL functions aren't allow in WHERE clause. - Disabling that behavior - - - - - Gets or sets a value indicating whether the - method is called automatically by methods of and related classes. - The default value is true. - - - true if should be called automatically; otherwise, false. - - - - - Gets or sets a value indicating whether tracked entities should be validated automatically when - is invoked. - The default value is true. - - - - - Provides runtime information about a given type. - - - - - Creates a new instance representing a given type. - - - The type deriving from . - - - - - Creates a new instance representing a given targeting a specific database. - - - The type deriving from . - - Connection information for the database to be used. - - - - Creates a new instance representing a given type. An external list of - connection strings can be supplied and will be used during connection string resolution in place - of any connection strings specified in external configuration files. - - - It is preferable to use the constructor that accepts the entire config document instead of using this - constructor. Providing the entire config document allows DefaultConnectionFactroy entries in the config - to be found in addition to explicitly specified connection strings. - - - The type deriving from . - - A collection of connection strings. - - - - Creates a new instance representing a given type. An external config - object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - - - The type deriving from . - - An object representing the config file. - - - - Creates a new instance representing a given , targeting a specific database. - An external config object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - - - The type deriving from . - - An object representing the config file. - Connection information for the database to be used. - - - - Creates a new instance representing a given type. A - can be supplied in order to override the default determined provider used when constructing - the underlying EDM model. - - - The type deriving from . - - - A specifying the underlying ADO.NET provider to target. - - - - - Creates a new instance representing a given type. An external config - object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - A can be supplied in order to override the default determined - provider used when constructing the underlying EDM model. This can be useful to prevent EF from - connecting to discover a manifest token. - - - The type deriving from . - - An object representing the config file. - - A specifying the underlying ADO.NET provider to target. - - - - - The concrete type. - - - - - Whether or not instances of the underlying type can be created. - - - - - The connection string used by the underlying type. - - - - - The connection string name used by the underlying type. - - - - - The ADO.NET provider name of the connection used by the underlying type. - - - - - The origin of the connection string used by the underlying type. - - - - - An action to be run on the DbModelBuilder after OnModelCreating has been run on the context. - - - - - If instances of the underlying type can be created, returns - a new instance; otherwise returns null. - - - A instance. - - - - - A non-generic version of the class. - - - - - Gets the entity. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - - The original values. - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - The store values. - - - - Reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The name of the property. - An object representing the property. - - - - Gets an object that represents a complex property of this entity. - - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The name of the member. - An object representing the member. - - - - Returns a new instance of the generic class for the given - generic type for the tracked entity represented by this object. - Note that the type of the tracked entity must be compatible with the generic type or - an exception will be thrown. - - The type of the entity. - A generic version. - - - - Validates this instance and returns validation result. - - - Entity validation result. Possibly null if - DbContext.ValidateEntity(DbEntityEntry, IDictionary{object,object}) - method is overridden. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Returns a hash code for this instance. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Instances of this class provide access to information about and control of entities that - are being tracked by the . Use the Entity or Entities methods of - the context to obtain objects of this type. - - The type of the entity. - - - - Gets the entity. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - - The original values. - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - The store values. - - - - Reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The type of the property. - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The type of the property. - An expression representing the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The type of elements in the collection. - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The type of elements in the collection. - An expression representing the navigation property. - An object representing the navigation property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The name of the property. - An object representing the property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The type of the property. - The name of the property. - An object representing the property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The type of the property. - An expression representing the property. - An object representing the property. - - - - Gets an object that represents a complex property of this entity. - - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a complex property of this entity. - - The type of the complex property. - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a complex property of this entity. - - The type of the complex property. - An expression representing the complex property. - An object representing the complex property. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The name of the member. - An object representing the member. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The type of the member. - The name of the member. - An object representing the member. - - - - Returns a new instance of the non-generic class for - the tracked entity represented by this object. - - The object representing the tracked entity. - A non-generic version. - - - - Validates this instance and returns validation result. - - - Entity validation result. Possibly null if - DbContext.ValidateEntity(DbEntityEntry, IDictionary{object, object}) - method is overridden. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Returns a hash code for this instance. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Provides the base implementation of the retry mechanism for unreliable operations and transient conditions that uses - exponentially increasing delays between retries. - - - A new instance will be created each time an operation is executed. - The following formula is used to calculate the delay after retryCount number of attempts: - min(random(1, 1.1) * (2 ^ retryCount - 1), maxDelay) - The retryCount starts at 0. - The random factor distributes uniformly the retry attempts from multiple simultaneous operations failing simultaneously. - - - - - Creates a new instance of . - - - The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor. - - - - - Creates a new instance of with the specified limits for number of retries and the delay between retries. - - The maximum number of retry attempts. - The maximum delay in milliseconds between retries. - - - - Returns true to indicate that might retry the execution after a failure. - - - - - Indicates whether the strategy is suspended. The strategy is typically suspending while executing to avoid - recursive execution from nested operations. - - - - - Repetitively executes the specified operation while it satisfies the current retry policy. - - A delegate representing an executable operation that doesn't return any results. - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Repetitively executes the specified operation while it satisfies the current retry policy. - - The type of result expected from the executable operation. - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Determines whether the operation should be retried and the delay before the next attempt. - - The exception thrown during the last execution attempt. - - Returns the delay indicating how long to wait for before the next execution attempt if the operation should be retried; - null otherwise - - - - - Recursively gets InnerException from as long as it's an - , or - and passes it to - - The type of the unwrapped exception. - The exception to be unwrapped. - A delegate that will be called with the unwrapped exception. - - The result from . - - - - - Determines whether the specified exception represents a transient failure that can be compensated by a retry. - - The exception object to be verified. - - true if the specified exception is considered as transient, otherwise false. - - - - - This is an abstract base class use to represent a scalar or complex property, or a navigation property - of an entity. Scalar and complex properties use the derived class , - reference navigation properties use the derived class , and collection - navigation properties use the derived class . - - - - - Gets the name of the property. - - The property name. - - - - Gets or sets the current value of this property. - - The current value. - - - - The to which this member belongs. - - An entry for the entity that owns this member. - - - - Validates this property. - - - Collection of objects. Never null. If the entity is valid the collection will be empty. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - This is an abstract base class use to represent a scalar or complex property, or a navigation property - of an entity. Scalar and complex properties use the derived class , - reference navigation properties use the derived class , and collection - navigation properties use the derived class . - - The type of the entity to which this property belongs. - The type of the property. - - - Gets the name of the property. - The name of the property. - - - - Gets or sets the current value of this property. - - The current value. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - The to which this member belongs. - - An entry for the entity that owns this member. - - - - Validates this property. - - - Collection of objects. Never null. If the entity is valid the collection will be empty. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents an Entity Data Model (EDM) created by the . - The Compile method can be used to go from this EDM representation to a - which is a compiled snapshot of the model suitable for caching and creation of - or instances. - - - - - Gets the provider information. - - - - - Gets the provider manifest. - - - - - Gets the conceptual model. - - - - - Gets the store model. - - - - - Gets the mapping model. - - - - - Creates a for this mode which is a compiled snapshot - suitable for caching and creation of instances. - - The compiled model. - - - - Base class for persisted model cache. - - - - - Loads a model from the store. - - The type of context representing the model. - The loaded metadata model. - - - - Retrieves an edmx XDocument version of the model from the store. - - The type of context representing the model. - The loaded XDocument edmx. - - - - Saves a model to the store. - - The type of context representing the model. - The metadata model to save. - - - - Gets the default database schema used by a model. - - The type of context representing the model. - The default database schema. - - - - A non-generic version of the class. - - - - - Gets the property name. - - The property name. - - - - Gets or sets the original value of this property. - - The original value. - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets or sets a value indicating whether the value of this property has been modified since - it was loaded from the database. - - - Setting this value to false for a modified property will revert the change by setting the - current value to the original value. If the result is that no properties of the entity are - marked as modified, then the entity will be marked as Unchanged. - Setting this value to false for properties of Added, Unchanged, or Deleted entities - is a no-op. - - - true if this instance is modified; otherwise, false . - - - - - The to which this property belongs. - - An entry for the entity that owns this property. - - - - The of the property for which this is a nested property. - This method will only return a non-null entry for properties of complex objects; it will - return null for properties of the entity itself. - - An entry for the parent complex property, or null if this is an entity property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Instances of this class are returned from the Property method of - and allow access to the state of the scalar - or complex property. - - The type of the entity to which this property belongs. - The type of the property. - - - - Gets the property name. - - The property name. - - - - Gets or sets the original value of this property. - - The original value. - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets or sets a value indicating whether the value of this property has been modified since - it was loaded from the database. - - - true if this instance is modified; otherwise, false . - - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - The to which this property belongs. - - An entry for the entity that owns this property. - - - - The of the property for which this is a nested property. - This method will only return a non-null entry for properties of complex objects; it will - return null for properties of the entity itself. - - An entry for the parent complex property, or null if this is an entity property. - - - - A collection of all the properties for an underlying entity or complex object. - - - An instance of this class can be converted to an instance of the generic class - using the Cast method. - Complex properties in the underlying entity or complex object are represented in - the property values as nested instances of this class. - - - - - Creates an object of the underlying type for this dictionary and hydrates it with property - values from this dictionary. - - The properties of this dictionary copied into a new object. - - - - Sets the values of this dictionary by reading values out of the given object. - The given object can be of any type. Any property on the object with a name that - matches a property name in the dictionary and can be read will be read. Other - properties will be ignored. This allows, for example, copying of properties from - simple Data Transfer Objects (DTOs). - - The object to read values from. - - - - Creates a new dictionary containing copies of all the properties in this dictionary. - Changes made to the new dictionary will not be reflected in this dictionary and vice versa. - - A clone of this dictionary. - - - - Sets the values of this dictionary by reading values from another dictionary. - The other dictionary must be based on the same type as this dictionary, or a type derived - from the type for this dictionary. - - The dictionary to read values from. - - - - Gets the set of names of all properties in this dictionary as a read-only set. - - The property names. - - - - Gets or sets the value of the property with the specified property name. - The value may be a nested instance of this class. - - The property name. - The value of the property. - - - - Gets the value of the property just like using the indexed property getter but - typed to the type of the generic parameter. This is useful especially with - nested dictionaries to avoid writing expressions with lots of casts. - - The type of the property. - Name of the property. - The value of the property. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Groups a pair of strings that identify a provider and server version together into a single object. - - - Instances of this class act as the key for resolving a for a specific - provider from a . This is typically used when registering spatial services - in or when the spatial services specific to a provider is - resolved by an implementation of . - - - - - Creates a new object for a given provider invariant name and manifest token. - - - A string that identifies that provider. For example, the SQL Server - provider uses the string "System.Data.SqlCient". - - - A string that identifies that version of the database server being used. For example, the SQL Server - provider uses the string "2008" for SQL Server 2008. This cannot be null but may be empty. - The manifest token is sometimes referred to as a version hint. - - - - - A string that identifies that provider. For example, the SQL Server - provider uses the string "System.Data.SqlCient". - - - - - A string that identifies that version of the database server being used. For example, the SQL Server - provider uses the string "2008" for SQL Server 2008. This cannot be null but may be empty. - - - - - - - - - - - Represents a non-generic LINQ to Entities query against a DbContext. - - - - - Returns false. - - - false . - - - - - Throws an exception indicating that binding directly to a store query is not supported. - Instead populate a DbSet with data, for example by using the Load extension method, and - then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to - DbSet.Local.ToBindingList(). - - Never returns; always throws. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - The IQueryable element type. - - - - - The IQueryable LINQ Expression. - - - - - The IQueryable provider. - - - - - Specifies the related objects to include in the query results. - - - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the DbQuery<T>. Other instances of DbQuery<T> and the object context itself are not affected. - Because the Include method returns the query object, you can call this method multiple times on an DbQuery<T> to - specify multiple paths for the query. - - The dot-separated list of related objects to return in the query results. - - A new DbQuery<T> with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns the equivalent generic object. - - The type of element for which the query was created. - The generic set object. - - - - Returns a representation of the underlying query. - - The query string. - - - - Gets a representation of the underlying query. - - - - - - - - - - - - - - Represents a LINQ to Entities query against a DbContext. - - The type of entity to query for. - - - - Specifies the related objects to include in the query results. - - - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the DbQuery<T>. Other instances of DbQuery<T> and the object context itself are not affected. - Because the Include method returns the query object, you can call this method multiple times on an DbQuery<T> to - specify multiple paths for the query. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns false. - - - false . - - - - - Throws an exception indicating that binding directly to a store query is not supported. - Instead populate a DbSet with data, for example by using the Load extension method, and - then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to - DbSet.Local.ToBindingList(). - - Never returns; always throws. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - The IQueryable element type. - - - - - The IQueryable LINQ Expression. - - - - - The IQueryable provider. - - - - - Returns a representation of the underlying query. - - The query string. - - - - Gets a representation of the underlying query. - - - - - Returns a new instance of the non-generic class for this query. - - The query. - A non-generic version. - - - - - - - - - - - - - Represents a SQL query for non-entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance. - The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for entities are created using . - See for a generic version of this class. - - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Returns false. - - - false . - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - Never returns; always throws. - - - - - - - - - - - - - Represents a SQL query for non-entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance. - The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for entities are created using . - See for a non-generic version of this class. - - The type of elements returned by the query. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Returns false. - - - false . - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - Never returns; always throws. - - - - - - - - - - - - - A non-generic version of the class. - - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - - - Gets or sets a value indicating whether the entity has been loaded from the database. - - - Loading the related entity from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entity from being lazy-loaded. - Note that explict loading using one of the Load methods will load the related entity from the database - regardless of whether or not IsLoaded is true. - When a related entity is detached the IsLoaded flag is reset to false indicating that the related entity is - no longer loaded. - - - true if the entity is loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - Returns the query that would be used to load this entity from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database. - - A query for the entity. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Instances of this class are returned from the Reference method of - and allow operations such as loading to - be performed on the an entity's reference navigation properties. - - The type of the entity to which this property belongs. - The type of the property. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - - - Gets or sets a value indicating whether the entity has been loaded from the database. - - - Loading the related entity from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entity from being lazy-loaded. - Note that explict loading using one of the Load methods will load the related entity from the database - regardless of whether or not IsLoaded is true. - When a related entity is detached the IsLoaded flag is reset to false indicating that the related entity is - no longer loaded. - - - true if the entity is loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - Returns the query that would be used to load this entity from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database. - - A query for the entity. - - - - Returns a new instance of the non-generic class for - the navigation property represented by this object. - - The object representing the navigation property. - A non-generic version. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Represents a SQL query for entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance for the - entity type. The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for non-entities are created using . - See for a generic version of this class. - - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for . Methods and properties - that will be used by the test double must be implemented by the test double except AsNoTracking - and AsStreaming where the default implementation is a no-op. - - - - - Returns a new query where the results of the query will not be tracked by the associated - . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - - - - - - - - - - - - - Represents a SQL query for entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance for the - entity type. The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for non-entities are created using . - See for a non-generic version of this class. - - The type of entities returned by the query. - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for . Methods and properties - that will be used by the test double must be implemented by the test double except AsNoTracking and - AsStreaming where the default implementation is a no-op. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - - - - - - - - - - - - - Exception thrown by when it was expected that SaveChanges for an entity would - result in a database update but in fact no rows in the database were affected. This usually indicates - that the database has been concurrently updated such that a concurrency token that was expected to match - did not actually match. - Note that state entries referenced by this exception are not serialized due to security and accesses to - the state entries after serialization will return null. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the DbUpdateConcurrencyException class with the specified serialization information and context. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - Exception thrown by when the saving of changes to the database fails. - Note that state entries referenced by this exception are not serialized due to security and accesses to the - state entries after serialization will return null. - - - - - Gets objects that represents the entities that could not - be saved to the database. - - The entries representing the entities that could not be saved. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the DbUpdateException class with the specified serialization information and context. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - Loads or saves models from/into .edmx files at a specified location. - - - - - Initializes a new DefaultDbModelStore instance. - - The parent directory for the .edmx files. - - - - Gets the location of the .edmx files. - - - - - Loads a model from the store. - - The type of context representing the model. - The loaded metadata model. - - - - Retrieves an edmx XDocument version of the model from the store. - - The type of context representing the model. - The loaded XDocument edmx. - - - - Saves a model to the store. - - The type of context representing the model. - The metadata model to save. - - - - Gets the path of the .edmx file corresponding to the specified context type. - - A context type. - The .edmx file path. - - - - Validates the model store is valid. - The default implementation verifies that the .edmx file was last - written after the context assembly was last written. - - The type of context representing the model. - The path of the stored model. - Whether the edmx file should be invalidated. - - - - An that doesn't retry operations if they fail. - - - - - Returns false to indicate that will not retry the execution after a failure. - - - - - Executes the specified operation once. - - A delegate representing an executable operation that doesn't return any results. - - - - Executes the specified operation once and returns the result. - - - The return type of . - - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - - - - A default implementation of that uses the - underlying provider to get the manifest token. - Note that to avoid multiple queries, this implementation using caching based on the actual type of - instance, the property, - and the property. - - - - - - - - Event arguments passed to event handlers. - - - - - Returns a snapshot of the that is about to be locked. - Use the GetService methods on this object to get services that have been registered. - - - - - Call this method to add a instance to the Chain of - Responsibility of resolvers that are used to resolve dependencies needed by the Entity Framework. - - - Resolvers are asked to resolve dependencies in reverse order from which they are added. This means - that a resolver can be added to override resolution of a dependency that would already have been - resolved in a different way. - The only exception to this is that any dependency registered in the application's config file - will always be used in preference to using a dependency resolver added here, unless the - overrideConfigFile is set to true in which case the resolver added here will also override config - file settings. - - The resolver to add. - If true, then the resolver added will take precedence over settings in the config file. - - - - Call this method to add a instance to the Chain of Responsibility - of resolvers that are used to resolve dependencies needed by the Entity Framework. Unlike the AddDependencyResolver - method, this method puts the resolver at the bottom of the Chain of Responsibility such that it will only - be used to resolve a dependency that could not be resolved by any of the other resolvers. - - The resolver to add. - - - - Adds a wrapping resolver to the configuration that is about to be locked. A wrapping - resolver is a resolver that incepts a service would have been returned by the resolver - chain and wraps or replaces it with another service of the same type. - - The type of service to wrap or replace. - A delegate that takes the unwrapped service and key and returns the wrapped or replaced service. - - - - - - - - - - - - - - - - An implementation used for resolving - factories. - - - This class can be used by to aid in the resolving - of factories as a default service for the provider. - - The type of execution strategy that is resolved. - - - - Initializes a new instance of - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - - A string that will be matched against the server name in the connection string. null will match anything. - - A function that returns a new instance of an execution strategy. - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return null. When the given type is - Func{IExecutionStrategy}, then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An , or null. - - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return an empty enumeration. When the given type is - Func{IExecutionStrategy}, then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An enumerable of , or an empty enumeration. - - - - - This interface is implemented by any object that can resolve a dependency, either directly - or through use of an external container. - - - The public services currently resolved using IDbDependencyResolver are documented here: - http://msdn.microsoft.com/en-us/data/jj680697 - - - - - Attempts to resolve a dependency for a given contract type and optionally a given key. - If the resolver cannot resolve the dependency then it must return null and not throw. This - allows resolvers to be used in a Chain of Responsibility pattern such that multiple resolvers - can be asked to resolve a dependency until one finally does. - - The interface or abstract base class that defines the dependency to be resolved. The returned object is expected to be an instance of this type. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - The resolved dependency, which must be an instance of the given contract type, or null if the dependency could not be resolved. - - - - Attempts to resolve a dependencies for a given contract type and optionally a given key. - If the resolver cannot resolve the dependency then it must return an empty enumeration and - not throw. This method differs from in that it returns all registered - services for the given type and key combination. - - The interface or abstract base class that defines the dependency to be resolved. Every returned object is expected to be an instance of this type. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - All services that resolve the dependency, which must be instances of the given contract type, or an empty enumeration if the dependency could not be resolved. - - - - Extension methods to call the method using - a generic type parameter and/or no name. - - - - - Calls passing the generic type of the method and the given - name as arguments. - - The contract type to resolve. - The resolver to use. - The key of the dependency to resolve. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the generic type of the method as - the type argument and null for the name argument. - - The contract type to resolve. - The resolver to use. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the given type argument and using - null for the name argument. - - The resolver to use. - The contract type to resolve. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the generic type of the method and the given - name as arguments. - - The contract type to resolve. - The resolver to use. - The key of the dependency to resolve. - All resolved dependencies, or an if no services are resolved. - - - - Calls passing the generic type of the method as - the type argument and null for the name argument. - - The contract type to resolve. - The resolver to use. - All resolved dependencies, or an if no services are resolved. - - - - Calls passing the given type argument and using - null for the name argument. - - The resolver to use. - The contract type to resolve. - All resolved dependencies, or an if no services are resolved. - - - - Implements to resolve a dependency such that it always returns - the same instance. - - The type that defines the contract for the dependency that will be resolved. - - This class is immutable such that instances can be accessed by multiple threads at the same time. - - - - - Constructs a new resolver that will return the given instance for the contract type - regardless of the key passed to the Get method. - - The instance to return. - - - - Constructs a new resolver that will return the given instance for the contract type - if the given key matches exactly the key passed to the Get method. - - The instance to return. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - - - - Constructs a new resolver that will return the given instance for the contract type - if the given key matches the key passed to the Get method based on the given predicate. - - The instance to return. - A predicate that takes the key object and returns true if and only if it matches. - - - - - - - - - - An implementation used for resolving - factories. - - - - - Initializes a new instance of - - A function that returns a new instance of a transaction handler. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which the transaction handler will be used. - null will match anything. - - - A string that will be matched against the server name in the connection string. null will match anything. - - - - - If the given type is , then this method will attempt - to return the service to use, otherwise it will return null. When the given type is - , then the key is expected to be a . - - The service type to resolve. - A key used to make a determination of the service to return. - - An , or null. - - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return an empty enumeration. When the given type is - , then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An enumerable of , or an empty enumeration. - - - - - - - - - - - Provides utility methods for reading from an App.config or Web.config file. - - - - - Initializes a new instance of . - - The configuration to read from. - - - - Gets the specified provider services from the configuration. - - The invariant name of the provider services. - The provider services type name, or null if not found. - - - - Used for design-time scenarios where the user's code needs to be executed inside - of an isolated, runtime-like . - - Instances of this class should be created inside of the guest domain. - Handlers should be created inside of the host domain. To invoke operations, - create instances of the nested classes inside - - - - - Initializes a new instance of the class. Do this inside of the guest - domain. - - The path for the assembly containing the user's code. - The parameter is not used. - - - - Used to get the assembly-qualified name of the DbProviderServices type for the - specified provider invariant name. - - - - - Represents an operation. - - - - - Initializes a new instance of the class. - - An object to handle callbacks during the operation. - - - - Executes an action passing exceptions to the handler. - - The action to execute. - - - - Executes an action passing the result or exceptions to the handler. - - The result type. - The action to execute. - - - - Executes an action passing results or exceptions to the handler. - - The type of results. - The action to execute. - - - - Base handler type. Handlers aren't required to use this exact type. Only the - namespace, name, and member signatures need to be the same. This also applies to - handler contracts types - - - - - Indicates whether the specified contract is implemented by this handler. - - The full name of the contract interface. - True if the contract is implemented, otherwise false. - - - - Used to handle reported design-time activity. - - - - - Invoked when an error is reported. - - The message. - - - - Invoked when a warning is reported. - - The message. - - - - Invoked when information is reported. - - The message. - - - - Invoked when verbose information is reported. - - The message. - - - - A contract handlers can use to accept a single result. - - - - - - Sets the result. - - The result. - - - - Invoked when an error occurs. - - The exception type. - The error message. - The stack trace. - true if the error was handled; otherwise, false. - - - - Used to handle reported design-time activity. - - - - - Initializes a new instance of the class. - - A callback for . - A callback for . - A callback for . - A callback for . - - - - Invoked when an error is reported. - - The message. - - - - Invoked when a warning is reported. - - The message. - - - - Invoked when information is reported. - - The message. - - - - Invoked when verbose information is reported. - - The message. - - - - Used with to handle operation results. - - - - - Gets a value indicating whether a result is available. - - A value indicating whether a result is available. - - - - Gets the result. - - The result. - - - - Gets the type of the exception if any. - - The exception type. - - - - Gets the error message if any. - - The error message. - - - - Get the error stack trace if any. - - The stack trace. - - - - Invoked when a result is available. - - The result. - - - - Invoked when an error occurs. - - The exception type. - The error message. - The stack trace. - - - - Represents an entity used to store metadata about an EDM in the database. - - - - - Gets or sets the ID of the metadata entity, which is currently always 1. - - The id. - - - - Gets or sets the model hash which is used to check whether the model has - changed since the database was created from it. - - The model hash. - - - - Attempts to get the model hash calculated by Code First for the given context. - This method will return null if the context is not being used in Code First mode. - - The context. - The hash string. - - - - Utility class for reading a metadata model from .edmx. - - - - - Reads a metadata model from .edmx. - - XML reader for the .edmx - Default database schema used by the model. - The loaded metadata model. - - - - Contains methods used to access the Entity Data Model created by Code First in the EDMX form. - These methods are typically used for debugging when there is a need to look at the model that - Code First creates internally. - - - - - Uses Code First with the given context and writes the resulting Entity Data Model to the given - writer in EDMX form. This method can only be used with context instances that use Code First - and create the model internally. The method cannot be used for contexts created using Database - First or Model First, for contexts created using a pre-existing , or - for contexts created using a pre-existing . - - The context. - The writer. - - - - Writes the Entity Data Model represented by the given to the - given writer in EDMX form. - - An object representing the EDM. - The writer. - - - - A key used for resolving . It consists of the ADO.NET provider invariant name - and the database server name as specified in the connection string. - - - - - Initializes a new instance of - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - A string that will be matched against the server name in the connection string. - - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - - - - A string that will be matched against the server name in the connection string. - - - - - - - - - - - Implementations of this interface are used to create DbConnection objects for - a type of database server based on a given database name. - An Instance is set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use a certain type of database server by default. - Two implementations of this interface are provided: - is used to create connections to Microsoft SQL Server, including EXPRESS editions. - is used to create connections to Microsoft SQL - Server Compact Editions. - Other implementations for other database servers can be added as needed. - Note that implementations should be thread safe or immutable since they may - be accessed by multiple threads at the same time. - - - - - Creates a connection based on the given database name or connection string. - - The database name or connection string. - An initialized DbConnection. - - - - A factory for creating derived instances. Implement this - interface to enable design-time services for context types that do not have a - public default constructor. - At design-time, derived instances can be created in order to enable specific - design-time experiences such as model rendering, DDL generation etc. To enable design-time instantiation - for derived types that do not have a public, default constructor, implement - this interface. Design-time services will auto-discover implementations of this interface that are in the - same assembly as the derived type. - - The type of the context. - - - - Creates a new instance of a derived type. - - An instance of TContext - - - - A strategy that is used to execute a command or query against the database, possibly with logic to retry when a failure occurs. - - - - - Indicates whether this might retry the execution after a failure. - - - - - Executes the specified operation. - - A delegate representing an executable operation that doesn't return any results. - - - - Executes the specified operation and returns the result. - - - The return type of . - - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - - - - Represents a key value that uniquely identifies an Entity Framework model that has been loaded into memory. - - - - Determines whether the current cached model key is equal to the specified cached model key. - true if the current cached model key is equal to the specified cached model key; otherwise, false. - The cached model key to compare to the current cached model key. - - - Returns the hash function for this cached model key. - The hash function for this cached model key. - - - - Implement this interface on your context to use custom logic to calculate the key used to lookup an already created model in the cache. - This interface allows you to have a single context type that can be used with different models in the same AppDomain, - or multiple context types that use the same model. - - - - Gets the cached key associated with the provider. - The cached key associated with the provider. - - - - A service for obtaining the correct from a given - . - - - On .NET 4.5 the provider is publicly accessible from the connection. On .NET 4 the - default implementation of this service uses some heuristics to find the matching - provider. If these fail then a new implementation of this service can be registered - on to provide an appropriate resolution. - - - - - Returns the for the given connection. - - The connection. - The provider factory for the connection. - - - - A service for getting a provider manifest token given a connection. - The class is used by default and makes use of the - underlying provider to get the token which often involves opening the connection. - A different implementation can be used instead by adding an - to that may use any information in the connection to return - the token. For example, if the connection is known to point to a SQL Server 2008 database then - "2008" can be returned without opening the connection. - - - - - Returns the manifest token to use for the given connection. - - The connection for which a manifest token is required. - The manifest token to use. - - - - Implement this interface to allow custom annotations represented by instances to be - serialized to and from the EDMX XML. Usually a serializer instance is set using the - method. - - - - - Serializes the given annotation value into a string for storage in the EDMX XML. - - The name of the annotation that is being serialized. - The value to serialize. - The serialized value. - - - - Deserializes the given string back into the expected annotation value. - - The name of the annotation that is being deserialized. - The string to deserialize. - The deserialized annotation value. - - - - This convention causes DbModelBuilder to include metadata about the model - when it builds the model. When creates a model by convention it will - add this convention to the list of those used by the DbModelBuilder. This will then result in - model metadata being written to the database if the DbContext is used to create the database. - This can then be used as a quick check to see if the model has changed since the last time it was - used against the database. - This convention can be removed from the conventions by overriding - the OnModelCreating method on a derived DbContext class. - - - - - Represents contextual information associated with calls to - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - The that will be used or has been used to start a transaction. - - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The isolation level to associate. - A new interception context associated with the given isolation level. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - This is the default log formatter used when some is set onto the - property. A different formatter can be used by creating a class that inherits from this class and overrides - some or all methods to change behavior. - - - To set the new formatter create a code-based configuration for EF using and then - set the formatter class to use with . - Note that setting the type of formatter to use with this method does change the way command are - logged when is used. It is still necessary to set a - onto before any commands will be logged. - For more low-level control over logging/interception see and - . - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Creates a formatter that will not filter by any and will instead log every command - from any context and also commands that do not originate from a context. - - - This constructor is not used when a delegate is set on . Instead it can be - used by setting the formatter directly using . - - The delegate to which output will be sent. - - - - Creates a formatter that will only log commands the come from the given instance. - - - This constructor must be called by a class that inherits from this class to override the behavior - of . - - - The context for which commands should be logged. Pass null to log every command - from any context and also commands that do not originate from a context. - - The delegate to which output will be sent. - - - - The context for which commands are being logged, or null if commands from all contexts are - being logged. - - - - - Writes the given string to the underlying write delegate. - - The string to write. - - - - This property is obsolete. Using it can result in logging incorrect execution times. Call - instead. - - - - - The stopwatch used to time executions. This stopwatch is started at the end of - , , and - methods and is stopped at the beginning of the , , - and methods. If these methods are overridden and the stopwatch is being used - then the overrides should either call the base method or start/stop the stopwatch themselves. - - The interception context for which the stopwatch will be obtained. - The stopwatch. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - Called whenever a command is about to be executed. The default implementation of this method - filters by set into , if any, and then calls - . This method would typically only be overridden to change the - context filtering behavior. - - The type of the operation's results. - The command that will be executed. - Contextual information associated with the command. - - - - Called whenever a command has completed executing. The default implementation of this method - filters by set into , if any, and then calls - . This method would typically only be overridden to change the context - filtering behavior. - - The type of the operation's results. - The command that was executed. - Contextual information associated with the command. - - - - Called to log a command that is about to be executed. Override this method to change how the - command is logged to . - - The type of the operation's results. - The command to be logged. - Contextual information associated with the command. - - - - Called by to log each parameter. This method can be called from an overridden - implementation of to log parameters, and/or can be overridden to - change the way that parameters are logged to . - - The type of the operation's results. - The command being logged. - Contextual information associated with the command. - The parameter to log. - - - - Called to log the result of executing a command. Override this method to change how results are - logged to . - - The type of the operation's results. - The command being logged. - Contextual information associated with the command. - - - - Does not write to log unless overridden. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - Called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that began the transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection being opened. - Contextual information associated with the call. - - - - Called after or its async counterpart is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that was opened. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection being closed. - Contextual information associated with the call. - - - - Called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that was closed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Called before is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection being disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection that was disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction being committed. - Contextual information associated with the call. - - - - This method is called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction that was committed. - Contextual information associated with the call. - - - - This method is called before is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction being disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction that was disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction being rolled back. - Contextual information associated with the call. - - - - This method is called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - - - - - - - - - - - - A simple logger for logging SQL and other database operations to the console or a file. - A logger can be registered in code or in the application's web.config /app.config file. - - - - - Creates a new logger that will send log output to the console. - - - - - Creates a new logger that will send log output to a file. If the file already exists then - it is overwritten. - - A path to the file to which log output will be written. - - - - Creates a new logger that will send log output to a file. - - A path to the file to which log output will be written. - True to append data to the file if it exists; false to overwrite the file. - - - - Stops logging and closes the underlying file if output is being written to a file. - - - - - Stops logging and closes the underlying file if output is being written to a file. - - - True to release both managed and unmanaged resources; False to release only unmanaged resources. - - - - - Starts logging. This method is a no-op if logging is already started. - - - - - Stops logging. This method is a no-op if logging is not started. - - - - - Called to start logging during Entity Framework initialization when this logger is registered. - as an . - - Arguments to the event that this interceptor mirrors. - Contextual information about the event. - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the fluent API. - - - This class is used internally by Entity Framework when executing commands. It is provided publicly so that - code that runs outside of the core EF assemblies can opt-in to command interception/tracing. This is - typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls into - implementations. - - - An instance of this class is passed to the dispatch methods of - and does not contain mutable information such as the result of the operation. This mutable information - is obtained from the that is passed to the interceptors. - Instances of this class are publicly immutable. To add contextual information use one of the - With... or As... methods to create a new interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - The that will be used or has been used to execute the command with a - . This property is only used for - and its async counterparts. - - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The command behavior to associate. - A new interception context associated with the given command behavior. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - Represents contextual information associated with calls into - implementations including the result of the operation. - - The type of the operation's results. - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - If execution of the operation completes without throwing, then this property will contain - the result of the operation. If the operation was suppressed or did not fail, then this property - will always contain the default value for the generic type. - - - When an operation completes without throwing both this property and the - property are set. However, the property can be set or changed by interceptors, - while this property will always represent the actual result returned by the operation, if any. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set result will be returned instead. Otherwise, if the operation succeeds, then - this property will be set to the returned result. In either case, interceptors that run - after the operation can change this property to change the result that will be returned. - - - When an operation completes without throwing both this property and the - property are set. However, this property can be set or changed by interceptors, while the - property will always represent the actual result returned by the - operation, if any. - - - - - When true, this flag indicates that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - , by setting an to be thrown, or - by setting the operation result using . - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The command behavior to associate. - A new interception context associated with the given command behavior. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Base class that implements . This class is a convenience for - use when only one or two methods of the interface actually need to have any implementation. - - - - - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls into - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - The original tree created by Entity Framework. Interceptors can change the - property to change the tree that will be used, but the - will always be the tree created by Entity Framework. - - - - - The command tree that will be used by Entity Framework. This starts as the tree contained in the - the property but can be set by interceptors to change - the tree that will be used by Entity Framework. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - Represents contextual information associated with calls into - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - - - - Creates a new that contains all the contextual information in - this interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in - this interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in - this interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the fluent API. - - - This class is used internally by Entity Framework when interacting with . - It is provided publicly so that code that runs outside of the core EF assemblies can opt-in to command - interception/tracing. This is typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - setting . - - The connection on which the operation will be executed. - Information about the context of the call being made, including the value to be set. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls to that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to property setters of type on a . - - The type of the target property. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the given property value. - - The value that will be assigned to the target property. - A new interception context associated with the given property value. - - - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Provides access to all dispatchers through the fluent API. - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - This is the registration point for interceptors. Interceptors - receive notifications when EF performs certain operations such as executing commands against - the database. For example, see . - - - - - Registers a new to receive notifications. Note that the interceptor - must implement some interface that extends from to be useful. - - The interceptor to add. - - - - Removes a registered so that it will no longer receive notifications. - If the given interceptor is not registered, then this is a no-op. - - The interceptor to remove. - - - - This is the entry point for dispatching to interceptors. This is usually only used internally by - Entity Framework but it is provided publicly so that other code can make sure that registered - interceptors are called when operations are performed on behalf of EF. For example, EF providers - a may make use of this when executing commands. - - - - - Represents contextual information associated with calls into - implementations. - - - Note that specific types/operations that can be intercepted may use a more specific - interception context derived from this class. For example, if SQL is being executed by - a , then the DbContext will be contained in the - instance that is passed to the methods - of . - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. See - - The context from which to copy state. - - - - Gets all the instances associated with this interception context. - - - This list usually contains zero or one items. However, it can contain more than one item if - a single has been used to construct multiple - instances. - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Gets all the instances associated with this interception context. - - - This list usually contains zero or one items. However, it can contain more than one item when - EF has created a new for use in database creation and initialization, or - if a single is used with multiple . - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - True if the operation is being executed asynchronously, otherwise false. - - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - Call this method when creating a copy of an interception context in order to add new state - to it. Using this method instead of calling the constructor directly ensures virtual dispatch - so that the new type will have the same type (and any specialized state) as the context that - is being cloned. - - A new context with all state copied. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the fluent API. - - - This class is used internally by Entity Framework when interacting with . - It is provided publicly so that code that runs outside of the core EF assemblies can opt-in to command - interception/tracing. This is typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls to that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - The connection on which the transaction was started - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The connection on which the transaction was started. - A new interception context that also contains the connection on which the transaction was started. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - The that will be used or has been used to enlist a connection. - - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The transaction to be used in the invocation. - A new interception context associated with the given isolation level. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework executes commands. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework creates command trees. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - This method is called after a new has been created. - The tree that is used after interception can be changed by setting - while intercepting. - - - Command trees are created for both queries and insert/update/delete commands. However, query - command trees are cached by model which means that command tree creation only happens the - first time a query is executed and this notification will only happen at that time - - Contextual information associated with the call. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework loads the application's . - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Occurs during EF initialization after the has been constructed but just before - it is locked ready for use. Use this event to inspect and/or override services that have been - registered before the configuration is locked. Note that an interceptor of this type should be used carefully - since it may prevent tooling from discovering the same configuration that is used at runtime. - - - Handlers can only be added before EF starts to use the configuration and so handlers should - generally be added as part of application initialization. Do not access the DbConfiguration - static methods inside the handler; instead use the members of - to get current services and/or add overrides. - - Arguments to the event that this interceptor mirrors. - Contextual information about the event. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework performs operations on a . - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Called before is invoked. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - Called after is invoked. - The transaction used by Entity Framework can be changed by setting - . - - The connection that began the transaction. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection being closed. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection that was closed. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is set. - - The connection. - Contextual information associated with the call. - - - - Called after is set. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection being disposed. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection that was disposed. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection. - Contextual information associated with the call. - - - - Called before or its async counterpart is invoked. - - The connection being opened. - Contextual information associated with the call. - - - - Called after or its async counterpart is invoked. - - The connection that was opened. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - This is the base interface for all interfaces that provide interception points for various - different types and operations. For example, see . - Interceptors are registered on the class. - - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework commits or rollbacks a transaction. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Called before is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called after is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called before is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called after is retrieved. - - The transaction. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being committed. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was committed. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being disposed. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was disposed. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being rolled back. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - Represents contextual information associated with calls that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - When true, this flag indicates that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - or by setting an to be thrown - - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Represents contextual information associated with calls with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - If execution of the operation completes without throwing, then this property will contain - the result of the operation. If the operation was suppressed or did not fail, then this property - will always contain the default value for the generic type. - - - When an operation completes without throwing both this property and the - property are set. However, the property can be set or changed by interceptors, - while this property will always represent the actual result returned by the operation, if any. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set result will be returned instead. Otherwise, if the operation succeeds, then - this property will be set to the returned result. In either case, interceptors that run - after the operation can change this property to change the result that will be returned. - - - When an operation completes without throwing both this property and the - property are set. However, this property can be set or changed by interceptors, while the - property will always represent the actual result returned by the - operation, if any. - - - - - When true, this flag indicates that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - , by setting an to be thrown, or - by setting the operation result using . - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Represents contextual information associated with calls to property setters of type . - - - An instance of this class is passed to the dispatch methods and does not contain mutable information such as - the result of the operation. This mutable information is obtained from the - that is passed to the interceptors. Instances of this class are publicly immutable. To add contextual information - use one of the With... or As... methods to create a new interception context containing the new information. - - The type of the target property. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - The value that will be assigned to the target property. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given property value. - - The value that will be assigned to the target property. - A new interception context associated with the given property value. - - - - - - - When true, this flag indicates that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - or by setting an to be thrown - - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Interface implemented by objects that can provide an instance. - The class implements this interface to provide access to the underlying - ObjectContext. - - - - - Gets the object context. - - The object context. - - - - Used by and when resolving - a provider invariant name from a . - - - - Gets the name of the provider. - The name of the provider. - - - - Instances of this class are used to create DbConnection objects for - SQL Server LocalDb based on a given database name or connection string. - - - An instance of this class can be set on the class or in the - app.config/web.config for the application to cause all DbContexts created with no - connection information or just a database name to use SQL Server LocalDb by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance of the connection factory for the given version of LocalDb. - For SQL Server 2012 LocalDb use "v11.0". - For SQL Server 2014 and later LocalDb use "mssqllocaldb". - - The LocalDb version to use. - - - - Creates a new instance of the connection factory for the given version of LocalDb. - For SQL Server 2012 LocalDb use "v11.0". - For SQL Server 2014 and later LocalDb use "mssqllocaldb". - - The LocalDb version to use. - The connection string to use for options to the database other than the 'Initial Catalog', 'Data Source', and 'AttachDbFilename'. The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the database name when CreateConnection is called. The 'Data Source' will be set based on the LocalDbVersion argument. - - - - The connection string to use for options to the database other than the 'Initial Catalog', - 'Data Source', and 'AttachDbFilename'. - The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the - database name when CreateConnection is called. - The 'Data Source' will be set based on the LocalDbVersion argument. - The default is 'Integrated Security=True;'. - - - - - Creates a connection for SQL Server LocalDb based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - Represents a mapping view. - - - - - Creates a instance having the specified entity SQL. - - A string that specifies the entity SQL. - - - - Gets the entity SQL. - - - - - Base abstract class for mapping view cache implementations. - Derived classes must have a parameterless constructor if used with . - - - - - Gets a hash value computed over the mapping closure. - - - - - Gets a view corresponding to the specified extent. - - An that specifies the extent. - A that specifies the mapping view, - or null if the extent is not associated with a mapping view. - - - - Specifies the means to create concrete instances. - - - - - Creates a generated view cache instance for the container mapping specified by - the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - - A that specifies the generated view cache. - - - - - Defines a custom attribute that specifies the mapping view cache type (subclass of ) - associated with a context type (subclass of or ). - The cache type is instantiated at runtime and used to retrieve pre-generated views in the - corresponding context. - - - - - Creates a instance that associates a context type - with a mapping view cache type. - - - A subclass of or . - - - A subclass of . - - - - - Creates a instance that associates a context type - with a mapping view cache type. - - - A subclass of or . - - The assembly qualified full name of the cache type. - - - - This convention uses the name of the derived - class as the container for the conceptual model built by - Code First. - - - - - Applies the convention to the given model. - - The container to apply the convention to. - The model. - - - - This convention uses the namespace of the derived - class as the namespace of the conceptual model built by - Code First. - - - - - Compares objects using reference equality. - - - - - Gets the default instance. - - - - - Represents a custom pluralization term to be used by the - - - - - Get the singular. - - - - - Get the plural. - - - - - Create a new instance - - A non null or empty string representing the singular. - A non null or empty string representing the plural. - - - - Default pluralization service implementation to be used by Entity Framework. This pluralization - service is based on English locale. - - - - - Constructs a new instance of default pluralization service - used in Entity Framework. - - - - - Constructs a new instance of default pluralization service - used in Entity Framework. - - - A collection of user dictionary entries to be used by this service.These inputs - can customize the service according the user needs. - - - - Returns the plural form of the specified word. - The plural form of the input parameter. - The word to be made plural. - - - Returns the singular form of the specified word. - The singular form of the input parameter. - The word to be made singular. - - - - Pluralization services to be used by the EF runtime implement this interface. - By default the is used, but the pluralization service to use - can be set in a class derived from . - - - - - Pluralize a word using the service. - - The word to pluralize. - The pluralized word - - - - Singularize a word using the service. - - The word to singularize. - The singularized word. - - - - Instances of this class are used internally to create constant expressions for - that are inserted into the expression tree to replace references to - and . - - The type of the element. - - - - The public property expected in the LINQ expression tree. - - The query. - - - - The exception that is thrown when the action failed again after being retried the configured number of times. - - - - - Initializes a new instance of the class with no error message. - - - - - Initializes a new instance of the class with a specified error message. - - The message that describes the error. - - - - Initializes a new instance of the class. - - The message that describes the error. - The exception that is the cause of the current exception. - - - - Instances of this class are used to create DbConnection objects for - SQL Server Compact Edition based on a given database name or connection string. - - - It is necessary to provide the provider invariant name of the SQL Server Compact - Edition to use when creating an instance of this class. This is because different - versions of SQL Server Compact Editions use different invariant names. - An instance of this class can be set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use SQL Server Compact Edition by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Creates a new connection factory with empty (default) DatabaseDirectory and BaseConnectionString - properties. - - The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. - - - - Creates a new connection factory with the given DatabaseDirectory and BaseConnectionString properties. - - The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. - The path to prepend to the database name that will form the file name used by SQL Server Compact Edition when it creates or reads the database file. An empty string means that SQL Server Compact Edition will use its default for the database file location. - The connection string to use for options to the database other than the 'Data Source'. The Data Source will be prepended to this string based on the database name when CreateConnection is called. - - - - The path to prepend to the database name that will form the file name used by - SQL Server Compact Edition when it creates or reads the database file. - The default value is "|DataDirectory|", which means the file will be placed - in the designated data directory. - - - - - The connection string to use for options to the database other than the 'Data Source'. - The Data Source will be prepended to this string based on the database name when - CreateConnection is called. - The default is the empty string, which means no other options will be used. - - - - - The provider invariant name that specifies the version of SQL Server Compact Edition - that should be used. - - - - - Creates a connection for SQL Server Compact Edition based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - Instances of this class are used to create DbConnection objects for - SQL Server based on a given database name or connection string. By default, the connection is - made to '.\SQLEXPRESS'. This can be changed by changing the base connection - string when constructing a factory instance. - - - An instance of this class can be set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use SQL Server by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Creates a new connection factory with a default BaseConnectionString property of - 'Data Source=.\SQLEXPRESS; Integrated Security=True; MultipleActiveResultSets=True;'. - - - - - Creates a new connection factory with the given BaseConnectionString property. - - The connection string to use for options to the database other than the 'Initial Catalog'. The 'Initial Catalog' will be prepended to this string based on the database name when CreateConnection is called. - - - - The connection string to use for options to the database other than the 'Initial Catalog'. - The 'Initial Catalog' will be prepended to this string based on the database name when - CreateConnection is called. - The default is 'Data Source=.\SQLEXPRESS; Integrated Security=True;'. - - - - - Creates a connection for SQL Server based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - This attribute can be applied to either an entire derived class or to - individual or properties on that class. When applied - any discovered or properties will still be included - in the model but will not be automatically initialized. - - - - - Implemented by Entity Framework providers and used to check whether or not tables exist - in a given database. This is used by database initializers when determining whether or not to - treat an existing database as empty such that tables should be created. - - - - - When overridden in a derived class checks where the given tables exist in the database - for the given connection. - - - The context for which table checking is being performed, usually used to obtain an appropriate - . - - - A connection to the database. May be open or closed; should be closed again if opened. Do not - dispose. - - The tables to check for existence. - The name of the EdmMetadata table to check for existence. - True if any of the model tables or EdmMetadata table exists. - - - - Helper method to get the table name for the given s-space . - - The s-space entity set for the table. - The table name. - - - - Thrown when an error occurs committing a . - - - - - Initializes a new instance of - - - - - Initializes a new instance of - - The exception message. - - - - Initializes a new instance of - - The exception message. - The inner exception. - - - - Initializes a new instance of the class. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - A transaction handler that allows to gracefully recover from connection failures - during transaction commit by storing transaction tracing information in the database. - It needs to be registered by using . - - - This transaction handler uses to store the transaction information - the schema used can be configured by creating a class derived from - that overrides and passing it to the constructor of this class. - - - - - Initializes a new instance of the class using the default . - - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Initializes a new instance of the class. - - The transaction context factory. - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Gets the transaction context. - - - The transaction context. - - - - - The map between the store transactions and the transaction tracking objects - - - - - Creates a new instance of an to use for quering the transaction log. - If null the default will be used. - - An instance or null. - - - - - - - - - - Gets the number of transactions to be executed on the context before the transaction log will be cleaned. - The default value is 20. - - - - - - - - - - - Stores the tracking information for the new transaction to the database in the same transaction. - - The connection that began the transaction. - Contextual information associated with the call. - - - - - If there was an exception thrown checks the database for this transaction and rethrows it if not found. - Otherwise marks the commit as succeeded and queues the transaction information to be deleted. - - The transaction that was committed. - Contextual information associated with the call. - - - - - Stops tracking the transaction that was rolled back. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - Stops tracking the transaction that was disposed. - - The transaction that was disposed. - Contextual information associated with the call. - - - - - Removes all the transaction history. - - - This method should only be invoked when there are no active transactions to remove any leftover history - that was not deleted due to catastrophic failures - - - - - Adds the specified transaction to the list of transactions that can be removed from the database - - The transaction to be removed from the database. - - - - Removes the transactions marked for deletion. - - - - - Removes the transactions marked for deletion if their number exceeds . - - - if set to true will remove all the old transactions even if their number does not exceed . - - - if set to true the operation will be executed using the associated execution strategy - - - - - Gets the associated with the if there is one; - otherwise returns null. - - The context - The associated . - - - - Gets the associated with the if there is one; - otherwise returns null. - - The context - The associated . - - - - This class is used by to write and read transaction tracing information - from the database. - To customize the definition of the transaction table you can derive from - this class and override . Derived classes can be registered - using . - - - By default EF will poll the resolved to check wether the database schema is compatible and - will try to modify it accordingly if it's not. To disable this check call - Database.SetInitializer<TTransactionContext>(null) where TTransactionContext is the type of the resolved context. - - - - - Initializes a new instance of the class. - - The connection used by the context for which the transactions will be recorded. - - - - Gets or sets a that can be used to read and write instances. - - - - - - - - The base class for interceptors that handle the transaction operations. Derived classes can be registered using - or - . - - - - - Initializes a new instance of the class. - - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Initializes this instance using the specified context. - - The context for which transaction operations will be handled. - - - - Initializes this instance using the specified context. - - The context for which transaction operations will be handled. - The connection to use for the initialization. - - This method is called by migrations. It is important that no action is performed on the - specified context that causes it to be initialized. - - - - - Gets the context. - - - The for which the transaction operations will be handled. - - - - - Gets the context. - - - The for which the transaction operations will be handled, could be null. - - - - - Gets the connection. - - - The for which the transaction operations will be handled. - - - This connection object is only used to determine whether a particular operation needs to be handled - in cases where a context is not available. - - - - - - - - Gets or sets a value indicating whether this transaction handler is disposed. - - - true if disposed; otherwise, false. - - - - - Releases the resources used by this transaction handler. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - Checks whether the supplied interception context contains the target context - or the supplied connection is the same as the one used by the target context. - - A connection. - An interception context. - - true if the supplied interception context contains the target context or - the supplied connection is the same as the one used by the target context if - the supplied interception context doesn't contain any contexts; false otherwise. - - - Note that calling this method will trigger initialization of any DbContext referenced from the - - - - - When implemented in a derived class returns the script to prepare the database - for this transaction handler. - - A script to change the database schema for this transaction handler. - - - - Can be implemented in a derived class. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that began the transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being closed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that was closed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being disposed. - Contextual information associated with the call. - - - - Can be implemented in a derived class. - - The connection that was disposed. - Contextual information associated with the call. - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being opened. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that was opened. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being committed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was committed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being disposed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was disposed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being rolled back. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - Rrepresents a transaction - - - - - A unique id assigned to a transaction object. - - - - - The local time when the transaction was started. - - - - - - - - - - - Thrown when a context is generated from the templates in Database First or Model - First mode and is then used in Code First mode. - - - Code generated using the T4 templates provided for Database First and Model First use may not work - correctly if used in Code First mode. To use these classes with Code First please add any additional - configuration using attributes or the DbModelBuilder API and then remove the code that throws this - exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The object that holds the serialized object data. - The contextual information about the source or destination. - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Allows configuration to be performed for an complex type in a model. - A ComplexTypeConfiguration can be obtained via the ComplexType method on - or a custom type derived from ComplexTypeConfiguration - can be registered via the Configurations property on . - - The complex type to be configured. - - - - Initializes a new instance of ComplexTypeConfiguration - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The same ComplexTypeConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Allows derived configuration classes for entities and complex types to be registered with a - . - - - Derived configuration classes are created by deriving from - or and using a type to be included in the model as the generic - parameter. - Configuration can be performed without creating derived configuration classes via the Entity and ComplexType - methods on . - - - - - Discovers all types that inherit from or - in the given assembly and adds an instance - of each discovered type to this registrar. - - - Note that only types that are abstract or generic type definitions are skipped. Every - type that is discovered and added must provide a parameterless constructor. - - The assembly containing model configurations to add. - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - Adds an to the . - Only one can be added for each type in a model. - - The entity type being configured. - The entity type configuration to be added. - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - Adds an to the . - Only one can be added for each type in a model. - - The complex type being configured. - The complex type configuration to be added - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows the conventions used by a instance to be customized. - The default conventions can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. - - - - - Discover all conventions in the given assembly and add them to the . - - - This method add all conventions ordered by type name. The order in which conventions are added - can have an impact on how they behave because it governs the order in which they are run. - All conventions found must have a parameterless public constructor. - - The assembly containing conventions to be added. - - - - Enables one or more conventions for the . - - The conventions to be enabled. - - - - Enables a convention for the . - - The type of the convention to be enabled. - - - - Enables a convention for the . This convention - will run after the one specified. - - The type of the convention after which the enabled one will run. - The convention to enable. - - - - Enables a configuration convention for the . This convention - will run before the one specified. - - The type of the convention before which the enabled one will run. - The convention to enable. - - - - Disables one or more conventions for the . - - The conventions to be disabled. - - - - Disables a convention for the . - The default conventions that are available for removal can be found in the - System.Data.Entity.ModelConfiguration.Conventions namespace. - - The type of the convention to be disabled. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the properties in a model. - - - - - Filters the properties that this convention applies to based on a predicate. - - A function to test each property for a condition. - - A instance so that multiple calls can be chained. - - - - - Filters the properties that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each property. If the value is null, the - property will be filtered out. - - - A instance so that multiple calls can be chained. - - - - - Allows configuration of the properties that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the properties of entity types in a model and a captured value. - - The type of the captured value. - - - - Allows configuration of the properties that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model. - - - - - Filters the entity types that this convention applies to based on a - predicate. - - A function to test each entity type for a condition. - - An instance so that multiple calls can be chained. - - - - - Filters the entity types that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each entity type. If the value is null, the - entity type will be filtered out. - - - An instance so that multiple calls can be chained. - - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model that inherit from a common, specified type. - - The common type of the entity types that this convention applies to. - - - - Filters the entity types that this convention applies to based on a - predicate. - - A function to test each entity type for a condition. - - An instance so that multiple calls can be chained. - - - - - Filters the entity types that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each entity type. If the value is null, the - entity type will be filtered out. - - - An instance so that multiple calls can be chained. - - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model and a captured value. - - Type of the captured value. - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model that inherit from a common, specified type and a - captured value. - - The common type of the entity types that this convention applies to. - Type of the captured value. - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a stored procedure that is used to modify a relationship. - - The type of the entity that the relationship is being configured from. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - The type of the property. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - The type of the property. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - - Creates a convention that configures stored procedures to be used to delete entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - - - - - - - - - - - - - - Creates a convention that configures stored procedures to be used to insert entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the result for. - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The property to configure the result for. - The name of the result column. - - - - - - - - - - - - - - - - Creates a convention that configures stored procedures to be used to modify entities in the database. - - - - - Creates a convention that configures stored procedures to be used to modify entities in the database. - - - - Configures stored procedure used to insert entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to update entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a convention that configures stored procedures to be used to update entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The current value parameter name. - The original value parameter name. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the result for. - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The property to configure the result for. - The name of the result column. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to delete entities. - - The type of the entity that the stored procedure can be used to delete. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to insert entities. - - The type of the entity that the stored procedure can be used to insert. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to modify a many to many relationship. - - The type of the entity that the relationship is being configured from. - The type of the entity that the other end of the relationship targets. - - - - Sets the name of the stored procedure. - - Name of the procedure. - The same configuration instance so that multiple calls can be chained. - - - - Sets the name of the stored procedure. - - Name of the procedure. - Name of the schema. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to modify a many to many relationship. - - The type of the entity that the relationship is being configured from. - The type of the entity that the other end of the relationship targets. - - - Configures stored procedure used to insert relationships. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete relationships. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Performs configuration of a stored procedure uses to modify an entity in the database. - - - - - Allows configuration to be performed for a stored procedure that is used to modify entities. - - The type of the entity that the stored procedure can be used to modify. - - - Configures stored procedure used to insert entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to update entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a stored procedure that is used to update entities. - - The type of the entity that the stored procedure can be used to update. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Configures the table and column mapping for an entity type or a sub-set of properties from an entity type. - This configuration functionality is available via the Code First Fluent API, see . - - The entity type to be mapped. - - - Initializes a new instance of the class. - - - - Configures the properties that will be included in this mapping fragment. - If this method is not called then all properties that have not yet been - included in a mapping fragment will be configured. - - An anonymous type including the properties to be mapped. - A lambda expression to an anonymous type that contains the properties to be mapped. C#: t => new { t.Id, t.Property1, t.Property2 } VB.Net: Function(t) New With { p.Id, t.Property1, t.Property2 } - - - - Configures a property that is included in this mapping fragment. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Re-maps all properties inherited from base types. - When configuring a derived type to be mapped to a separate table this will cause all properties to - be included in the table rather than just the non-inherited properties. This is known as - Table per Concrete Type (TPC) mapping. - - The same configuration instance so that multiple calls can be chained. - - - - Configures the table name to be mapped to. - - Name of the table. - The same configuration instance so that multiple calls can be chained. - - - - Configures the table name and schema to be mapped to. - - Name of the table. - Schema of the table. - The same configuration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the discriminator column used to differentiate between types in an inheritance hierarchy. - - The name of the discriminator column. - A configuration object to further configure the discriminator column and values. - - - - Configures the discriminator condition used to differentiate between types in an inheritance hierarchy. - - The type of the property being used to discriminate between types. - A lambda expression representing the property being used to discriminate between types. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object to further configure the discriminator condition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a column with length facets for an entity type or complex type. This configuration functionality is exposed by the Code First Fluent API, see . - - - - Configures the column to allow the maximum length supported by the database provider. - The same instance so that multiple calls can be chained. - - - Configures the column to have the specified maximum length. - The same instance so that multiple calls can be chained. - The maximum length for the column. Setting the value to null will remove any maximum length restriction from the column and a default length will be used for the database column. - - - Configures the column to be fixed length. - The same instance so that multiple calls can be chained. - - - Configures the column to be variable length. - The same instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Configures a condition used to discriminate between types in an inheritance hierarchy based on the values assigned to a property. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the condition to require a value in the property. - Rows that do not have a value assigned to column that this property is stored in are - assumed to be of the base type of this entity type. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a primitive column from an entity type. - - - - Configures the primitive column to be optional. - The same instance so that multiple calls can be chained. - - - Configures the primitive column to be required. - The same instance so that multiple calls can be chained. - - - Configures the data type of the primitive column used to store the property. - The same instance so that multiple calls can be chained. - The name of the database provider specific data type. - - - Configures the order of the primitive column used to store the property. This method is also used to specify key ordering when an entity type has a composite key. - The same instance so that multiple calls can be chained. - The order that this column should appear in the database table. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a database column used to store a string values. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the column to allow the maximum length supported by the database provider. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - - The maximum length for the property. Setting 'null' will result in a default length being used for the column. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be variable length. - Columns are variable length by default. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be optional. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be required. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column. - - Name of the database provider specific data type. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column. - - The order that this column should appear in the database table. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to support Unicode string content. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the column supports Unicode string content. - - Value indicating if the column supports Unicode string content or not. Specifying 'null' will remove the Unicode facet from the column. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Configures a discriminator column used to differentiate between types in an inheritance hierarchy. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - Type of the discriminator value. - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - Type of the discriminator value. - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an index. - - - - - Configures the index to be unique. - - The same IndexConfiguration instance so that multiple calls can be chained. - - - - Configures whether the index will be unique. - - Value indicating if the index should be unique or not. - The same IndexConfiguration instance so that multiple calls can be chained. - - - - Configures the index to be clustered. - - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures whether or not the index will be clustered. - - Value indicating if the index should be clustered or not. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures the index to have a specific name. - - Value indicating what the index name should be. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures a primary key index. - - - - - Configures the index to be clustered. - - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures whether or not the index will be clustered. - - Value indicating if the index should be clustered or not. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures the index to have a specific name. - - Value indicating what the index name should be. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures a many relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be many:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:required with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:required without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:optional with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:optional without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an optional relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be optional:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:required with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:required without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional with a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional without a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional with a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A lambda expression representing the navigation property on the other end of the relationship. - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional without a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an required relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be required:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:optional with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:optional without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required with a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required without a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required with a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required without a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Base class for performing configuration of a relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures a relationship that can support cascade on delete functionality. - - - - - Configures cascade delete to be on for the relationship. - - - - - Configures whether or not cascade delete is on for the relationship. - - Value indicating if cascade delete is on or not. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a relationship that can support foreign key properties that are exposed in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - The dependent entity type. - - - - Configures the relationship to use foreign key property(s) that are exposed in the object model. - If the foreign key property(s) are not exposed in the object model then use the Map method. - - The type of the key. - A lambda expression representing the property to be used as the foreign key. If the foreign key is made up of multiple properties then specify an anonymous type including the properties. When using multiple foreign key properties, the properties must be specified in the same order that the primary key properties were configured for the principal entity type. - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Configures the table and column mapping of a relationship that does not expose foreign key properties in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the name of the column(s) for the foreign key. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the primary key properties were configured for the target entity type. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for a database column that has been configured with . - The annotation value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The name of the column that was configured with the HasKey method. - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that the foreign key column(s) reside in. - The table that is specified must already be mapped for the entity type. - If you want the foreign key(s) to reside in their own table then use the Map method - on to perform - entity splitting to create the table with just the primary key property. Foreign keys can - then be added to the table via this method. - - Name of the table. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table name and schema that the foreign key column(s) reside in. - The table that is specified must already be mapped for the entity type. - If you want the foreign key(s) to reside in their own table then use the Map method - on to perform - entity splitting to create the table with just the primary key property. Foreign keys can - then be added to the table via this method. - - Name of the table. - Schema of the table. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - - - - Configures a relationship that can only support foreign key properties that are not exposed in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the relationship to use foreign key property(s) that are not exposed in the object model. - The column(s) and table can be customized by specifying a configuration action. - If an empty configuration action is specified then column name(s) will be generated by convention. - If foreign key properties are exposed in the object model then use the HasForeignKey method. - Not all relationships support exposing foreign key properties in the object model. - - Action that configures the foreign key column(s) and table. - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Configures the table and column mapping of a many:many relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the join table name for the relationship. - - Name of the table. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the join table name and schema for the relationship. - - Name of the table. - Schema of the table. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the join table. The annotation value can later be used when - processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the name of the column(s) for the left foreign key. - The left foreign key points to the parent entity of the navigation property specified in the HasMany call. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the primary key properties were configured for the target entity type. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the column(s) for the right foreign key. - The right foreign key points to the parent entity of the navigation property specified in the WithMany call. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the primary key properties were configured for the target entity type. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - - - Determines whether the specified object is equal to the current object. - true if the specified object is equal to the current object; otherwise, false. - The object to compare with the current object. - - - - - - - - - - - - - Configures a many:many relationship. - This configuration functionality is available via the Code First Fluent API, see . - - The type of the parent entity of the navigation property specified in the HasMany call. - The type of the parent entity of the navigation property specified in the WithMany call. - - - - Configures the foreign key column(s) and table used to store the relationship. - - Action that configures the foreign key column(s) and table. - The same instance so that multiple calls can be chained. - - - - Configures stored procedures to be used for modifying this relationship. - The default conventions for procedure and parameter names will be used. - - The same instance so that multiple calls can be chained. - - - - Configures stored procedures to be used for modifying this relationship. - - - Configuration to override the default conventions for procedure and parameter names. - - The same instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to allow the maximum length supported by the database provider. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - properties are variable length by default. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - properties are optional by default. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be a row version in the database. - The actual data type will vary depending on the database provider being used. - Setting the property to be a row version will automatically configure it to be an - optimistic concurrency token. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - properties are required by default. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the precision of the property. - If the database provider does not support precision for the data type of the column then the value is ignored. - - Precision of the property. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - properties are required by default. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the precision and scale of the property. - - The precision of the property. - The scale of the property. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property with length facets for an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to allow the maximum length supported by the database provider. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property and a default length will be used for the database column. - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - Properties are variable length by default. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a primitive property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the parameter used in stored procedures for this property. - - Name of the parameter. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a property in a mapping fragment. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the name of the database column used to store the property, in a mapping fragment. - - The name of the column. - The same PropertyMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same PropertyMappingConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to allow the maximum length supported by the database provider. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property and a default length will be used for the database column.. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - properties are variable length by default. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - properties are optional by default. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to support Unicode string content. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property supports Unicode string content. - - Value indicating if the property supports Unicode string content or not. Specifying 'null' will remove the Unicode facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a primitive property of an entity type or complex type. - This configuration functionality is available via lightweight conventions. - - - - - Gets the for this property. - - - - - Configures the name of the database column used to store the property. - - The name of the column. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the name of the parameter used in stored procedures for this property. - - Name of the parameter. - - The same instance so that multiple calls can be chained. - - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be used as an optimistic concurrency token. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures how values for the property are generated by the database. - - The pattern used to generate values for the property in the database. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to support Unicode string content. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures whether or not the property supports Unicode string content. - - Value indicating if the property supports Unicode string content or not. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to be variable length. - Properties are variable length by default. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to allow the maximum length supported by the database provider. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the precision of the property. - If the database provider does not support precision for the data type of the column then the value is ignored. - - Precision of the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method will throw if the property is not a . - - - - - Configures the precision and scale of the property. - - The precision of the property. - The scale of the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method will throw if the property is not a . - - - - - Configures the property to be a row version in the database. - The actual data type will vary depending on the database provider being used. - Setting the property to be a row version will automatically configure it to be an - optimistic concurrency token. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures this property to be part of the entity type's primary key. - - - The same instance so that - multiple calls can be chained. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for an entity type in a model. - This configuration functionality is available via lightweight conventions. - - - - - Gets the of this entity type. - - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Excludes this entity type from the model so that it will not be mapped to the database. - - - The same instance so that multiple calls can be chained. - - - - - Changes this entity type to a complex type. - - - The same instance so that multiple calls can be chained. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The name of the property to be configured. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect if the property does not exist. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The property to be configured. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect if the property does not exist. - - - - - Configures a property that is defined on this type. - - The name of the property being configured. - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - The property being configured. - A configuration object that can be used to configure the property. - - - - Configures the primary key property for this entity type. - - The name of the property to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property for this entity type. - - The property to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property(s) for this entity type. - - The names of the properties to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property(s) for this entity type. - - The properties to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured or if any - property does not exist. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for an entity type in a model. - This configuration functionality is available via lightweight conventions. - - A type inherited by the entity type. - - - - Gets the of this entity type. - - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Excludes this entity type from the model so that it will not be mapped to the database. - - - The same instance so that multiple calls can be chained. - - - - - Changes this entity type to a complex type. - - - The same instance so that multiple calls can be chained. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - - The same instance so that multiple calls can be chained. - - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a type in a model. - - The type to be configured. - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - A general purpose class for Code First conventions that read attributes from .NET properties - and generate column annotations based on those attributes. - - The type of attribute to discover. - The type of annotation that will be created. - - - - Constructs a convention that will create column annotations with the given name and - using the given factory delegate. - - The name of the annotations to create. - A factory for creating the annotation on each column. - - - - A general purpose class for Code First conventions that read attributes from .NET types - and generate table annotations based on those attributes. - - The type of attribute to discover. - The type of annotation that will be created. - - - - Constructs a convention that will create table annotations with the given name and - using the given factory delegate. - - The name of the annotations to create. - A factory for creating the annotation on each table. - - - - Convention to process instances of found on properties in the model - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on foreign key properties in the model. - - - - - - - - A convention for discovering attributes on properties and generating - column annotations in the model. - - - - - Constructs a new instance of the convention. - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Base class for conventions that process CLR attributes found on primitive properties in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a property that has an attribute of type TAttribute applied. - - The configuration for the property that has the attribute. - The attribute. - - - - Base class for conventions that process CLR attributes found on properties of types in the model. - - - Note that the derived convention will be applied for any non-static property on the mapped type that has - the specified attribute, even if it wasn't included in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a property that has an attribute of type TAttribute applied. - - The member info for the property that has the attribute. - The configuration for the class that contains the property. - The attribute. - - - - Convention to process instances of found on navigation properties in the model. - - - - - Convention to process instances of found on primitive properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Base class for conventions that process CLR attributes found in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a class that has an attribute of type TAttribute applied. - - The configuration for the class that contains the property. - The attribute. - - - - A convention that doesn't override configuration. - - - - - The derived class can use the default constructor to apply a set rule of that change the model configuration. - - - - - Begins configuration of a lightweight convention that applies to all mapped types in - the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all mapped types in - the model that derive from or implement the specified type. - - The type of the entities that this convention will apply to. - A configuration object for the convention. - This method does not add new types to the model. - - - - Begins configuration of a lightweight convention that applies to all properties - in the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all primitive - properties of the specified type in the model. - - The type of the properties that the convention will apply to. - A configuration object for the convention. - - The convention will apply to both nullable and non-nullable properties of the - specified type. - - - - - Convention to detect navigation properties to be inverses of each other when only one pair - of navigation properties exists between the related types. - - - - - - - - Convention to configure a type as a complex type if it has no primary key, no mapped base type and no navigation properties. - - - - - - - - Convention to apply column ordering specified via - - or the API. - - - - - - - - Validates the ordering configuration supplied for columns. - This base implementation is a no-op. - - The name of the table that the columns belong to. - The definition of the table. - - - - Convention to apply column ordering specified via - - or the API. This convention throws if a duplicate configured column order - is detected. - - - - - Validates the ordering configuration supplied for columns to ensure - that the same ordinal was not supplied for two columns. - - The name of the table that the columns belong to. - The definition of the table. - - - - Convention to introduce indexes for foreign keys. - - - - - - - - Convention to add a cascade delete to the join table from both tables involved in a many to many relationship. - - - - - Convention to ensure an invalid/unsupported mapping is not created when mapping inherited properties - - - - - Convention to set the table name to be a pluralized version of the entity type name. - - - - - - - - Convention to set precision to 18 and scale to 2 for decimal properties. - - - - - Initializes a new instance of with the default precision and scale. - - - - - Initializes a new instance of with the specified precision and scale. - - Precision - Scale - - - - - - - Convention to move primary key properties to appear first. - - - - - - - - Convention to distinguish between optional and required relationships based on CLR nullability of the foreign key property. - - - - - - - - Base class for conventions that discover foreign key properties. - - - - - Returns true if the convention supports pairs of entity types that have multiple associations defined between them. - - - - - When overridden returns true if should be part of the foreign key. - - The association type being configured. - The dependent end. - The candidate property on the dependent end. - The principal end entity type. - A key property on the principal end that is a candidate target for the foreign key. - true if dependentProperty should be a part of the foreign key; otherwise, false. - - - - - - - Convention to process instances of found on navigation properties in the model. - - - - - - - - Convention to detect primary key properties. - Recognized naming patterns in order of precedence are: - 1. 'Id' - 2. [type name]Id - Primary key detection is case insensitive. - - - - - - - - Base class for conventions that discover primary key properties. - - - - - - - - When overridden returns the subset of properties that will be part of the primary key. - - The entity type. - The primitive types of the entities - The properties that should be part of the primary key. - - - - Convention to discover foreign key properties whose names are a combination - of the dependent navigation property name and the principal type primary key property name(s). - - - - - - - - - - - Convention to enable cascade delete for any required relationships. - - - - - - - - Convention to configure the primary key(s) of the dependent entity type as foreign key(s) in a one:one relationship. - - - - - - - - Convention to set the entity set name to be a pluralized version of the entity type name. - - - - - - - - Convention to discover foreign key properties whose names match the principal type primary key property name(s). - - - - - - - - Convention to set a maximum length for properties whose type supports length facets. The default value is 128. - - - - - Initializes a new instance of with the default length. - - - - - Initializes a new instance of with the specified length. - - The maximum length of properties. - - - - - - - - - - - - - Convention to set a default maximum length of 4000 for properties whose type supports length facets when SqlCe is the provider. - - - - - Initializes a new instance of with the default length. - - - - - Initializes a new instance of with the specified length. - - The default maximum length for properties. - - - - - - - - - - Convention to configure integer primary keys to be identity. - - - - - - - - Convention to discover foreign key properties whose names are a combination - of the principal type name and the principal type primary key property name(s). - - - - - - - - A convention that operates on the conceptual section of the model after the model is created. - - The type of metadata item that this convention operates on. - - - - Applies this convention to an item in the model. - - The item to apply the convention to. - The model. - - - - Identifies conventions that can be added to or removed from a instance. - - - Note that implementations of this interface must be immutable. - - - - - A convention that operates on the database section of the model after the model is created. - - The type of metadata item that this convention operates on. - - - - Applies this convention to an item in the model. - - The item to apply the convention to. - The model. - - - - Allows configuration to be performed for an entity type in a model. - An EntityTypeConfiguration can be obtained via the Entity method on - or a custom type derived from EntityTypeConfiguration - can be registered via the Configurations property on . - - The entity type being configured. - - - - Initializes a new instance of EntityTypeConfiguration - - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - A builder to configure the key. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures index property(s) for this entity type. - - The type of the index. - A lambda expression representing the property to apply an index to. C#: t => t.Id VB.Net: Function(t) t.Id If the index is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The IndexConfiguration instance so that the index can be further configured. - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - Allows advanced configuration related to how this entity type is mapped to the database schema. - By default, any configuration will also apply to any type derived from this entity type. - Derived types can be configured via the overload of Map that configures a derived type or - by using an EntityTypeConfiguration for the derived type. - The properties of an entity can be split between multiple tables using multiple Map calls. - Calls to Map are additive, subsequent calls will not override configuration already preformed via Map. - - - An action that performs configuration against an - - . - - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Allows advanced configuration related to how a derived entity type is mapped to the database schema. - Calls to Map are additive, subsequent calls will not override configuration already preformed via Map. - - The derived entity type to be configured. - - An action that performs configuration against an - - . - - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures an optional relationship from this entity type. - Instances of the entity type will be able to be saved to the database without this relationship being specified. - The foreign key in the database will be nullable. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures a required relationship from this entity type. - Instances of the entity type will not be able to be saved to the database unless this relationship is specified. - The foreign key in the database will be non-nullable. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures a many relationship from this entity type. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Exception thrown by during model creation when an invalid model is generated. - - - - - Initializes a new instance of ModelValidationException - - - - - Initializes a new instance of ModelValidationException - - The exception message. - - - - Initializes a new instance of ModelValidationException - - The exception message. - The inner exception. - - - Initializes a new instance of class serialization info and streaming context. - The serialization info. - The streaming context. - - - - By default expression like - .Select(x => NewProperty = func(x.Property)).Where(x => x.NewProperty == ...) - are simplified to avoid nested SELECT - In some cases, simplifying query with UDFs could caused to suboptimal plans due to calling UDF twice. - Also some SQL functions aren't allow in WHERE clause. - Disabling that behavior - - - - - An implementation of that will use Code First Migrations - to update the database to the latest version. - - The type of the context. - The type of the migrations configuration to use during initialization. - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class that will use - the connection information from a context constructed using the default constructor - or registered factory if applicable - - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class specifying whether to - use the connection information from the context that triggered initialization to perform the migration. - - - If set to true the initializer is run using the connection information from the context that - triggered initialization. Otherwise, the connection information will be taken from a context constructed - using the default constructor or registered factory if applicable. - - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class specifying whether to - use the connection information from the context that triggered initialization to perform the migration. - Also allows specifying migrations configuration to use during initialization. - - - If set to true the initializer is run using the connection information from the context that - triggered initialization. Otherwise, the connection information will be taken from a context constructed - using the default constructor or registered factory if applicable. - - Migrations configuration to use during initialization. - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class that will - use a specific connection string from the configuration file to connect to - the database to perform the migration. - - The name of the connection string to use for migration. - - - - - - - Helper class that is used to configure a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a new column definition to store Binary data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The maximum allowable length of the array data. - Value indicating whether or not all data should be padded to the maximum length. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - Value indicating whether or not this column should be configured as a timestamp. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Boolean data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Byte data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store DateTime data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Decimal data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The numeric precision of the column. - The numeric scale of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Value indicating whether or not the database will generate values for this column during insert. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Double data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store GUID data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Single data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Short data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Integer data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Long data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store String data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The maximum allowable length of the string data. - Value indicating whether or not all data should be padded to the maximum length. - Value indicating whether or not the column supports Unicode content. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Time data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store DateTimeOffset data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store hierarchyid data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store geography data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store geometry data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Helper class that is used to configure a parameter. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a new parameter definition to pass Binary data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The maximum allowable length of the array data. - Value indicating whether or not all data should be padded to the maximum length. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Boolean data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Byte data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass DateTime data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Decimal data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The numeric precision of the parameter. - The numeric scale of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Double data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass GUID data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Single data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Short data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Integer data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Long data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass String data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The maximum allowable length of the string data. - Value indicating whether or not all data should be padded to the maximum length. - Value indicating whether or not the parameter supports Unicode content. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Time data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass DateTimeOffset data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass geography data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass geometry data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Helper class that is used to further configure a table being created from a CreateTable call on - - . - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The type that represents the table's columns. - - - - Initializes a new instance of the TableBuilder class. - - The table creation operation to be further configured. - The migration the table is created in. - - - - Specifies a primary key for the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The name of the primary key. If null is supplied, a default name will be generated. - A value indicating whether or not this is a clustered primary key. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - Specifies an index to be created on the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A lambda expression representing the property to be indexed. C#: t => t.PropertyOne VB.Net: Function(t) t.PropertyOne If multiple properties are to be indexed then specify an anonymous type including the properties. C#: t => new { t.PropertyOne, t.PropertyTwo } VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo } - The name of the index. - A value indicating whether or not this is a unique index. - A value indicating whether or not this is a clustered index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - Specifies a foreign key constraint to be created on the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table that the foreign key constraint targets. - A lambda expression representing the properties of the foreign key. C#: t => t.PropertyOne VB.Net: Function(t) t.PropertyOne If multiple properties make up the foreign key then specify an anonymous type including the properties. C#: t => new { t.PropertyOne, t.PropertyTwo } VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo } - A value indicating whether or not cascade delete should be configured on the foreign key constraint. - The name of this foreign key constraint. If no name is supplied, a default name will be calculated. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Base class for code-based migrations. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Operations to be performed during the upgrade process. - - - - - Operations to be performed during the downgrade process. - - - - - Adds an operation to create a new stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The action that specifies the parameters of the stored procedure. - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - The parameters in this create stored procedure operation. You do not need to specify this - type, it will be inferred from the parameter you supply. - - - - - Adds an operation to alter a stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to alter a stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The parameters in this alter stored procedure operation. You do not need to specify this - type, it will be inferred from the parameter you supply. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The action that specifies the parameters of the stored procedure. - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing stored procedure with the specified name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the procedure to drop. Schema name is optional, if no schema is specified then dbo is - assumed. - - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this create table operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - An object that allows further configuration of the table creation operation. - - - - Adds an operation to create a new table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this create table operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - Custom annotations that exist on the table to be created. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - An object that allows further configuration of the table creation operation. - - - - Adds an operation to handle changes in the annotations defined on tables. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - The custom annotations on the table that have changed. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new foreign key constraint. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - The column this foreign key references. If no value is supplied the primary key of the - principal table will be referenced. - - - A value indicating if cascade delete should be configured for the foreign key - relationship. If no value is supplied, cascade delete will be off. - - - The name of the foreign key constraint in the database. If no value is supplied a unique name will - be generated. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new foreign key constraint. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key columns. - - The table that contains the columns this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - The columns this foreign key references. If no value is supplied the primary key of the - principal table will be referenced. - - - A value indicating if cascade delete should be configured for the foreign key - relationship. If no value is supplied, cascade delete will be off. - - - The name of the foreign key constraint in the database. If no value is supplied a unique name will - be generated. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on its name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The name of the foreign key constraint in the database. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the column it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the column it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. - Schema name is optional, if no schema is specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. - Schema name is optional, if no schema is specified then dbo is assumed. - - The columns this foreign key references. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the columns it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key columns. - - The table that contains the columns this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to move a table to a new schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be moved. Schema name is optional, if no schema is specified then dbo is - assumed. - - The schema the table is to be moved to. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to move a stored procedure to a new schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure to be moved. Schema name is optional, if no schema is specified - then dbo is assumed. - - The schema the stored procedure is to be moved to. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a table. To change the schema of a table use MoveTable. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be renamed. Schema name is optional, if no schema is specified then dbo is - assumed. - - - The new name for the table. Schema name is optional, if no schema is specified then dbo is - assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a stored procedure. To change the schema of a stored procedure use MoveStoredProcedure - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure to be renamed. Schema name is optional, if no schema is specified - then dbo is assumed. - - - The new name for the stored procedure. Schema name is optional, if no schema is specified then - dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table that contains the column to be renamed. Schema name is optional, if no - schema is specified then dbo is assumed. - - The name of the column to be renamed. - The new name for the column. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to add a column to an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to add the column to. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be added. - - An action that specifies the column to be added. i.e. c => c.Int(nullable: false, - defaultValue: 3) - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the column from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the column from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to alter the definition of an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table the column exists in. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be changed. - - An action that specifies the new definition for the column. i.e. c => c.String(nullable: - false, defaultValue: "none") - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - The primary key column. - - The name of the primary key in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered primary key. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new primary key based on multiple columns. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The primary key columns. - - The name of the primary key in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered primary key. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing primary key that does not have the default name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the primary key to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing primary key that was created with the default name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create an index on a single column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to create the index on. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to create the index on. - - A value indicating if this is a unique index. If no value is supplied a non-unique index will be - created. - - - The name to use for the index in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create an index on multiple columns. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to create the index on. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the columns to create the index on. - - A value indicating if this is a unique index. If no value is supplied a non-unique index will be - created. - - - The name to use for the index in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an index based on its name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the index from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the index to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an index based on the columns it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the index from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column(s) the index targets. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename an index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table that contains the index to be renamed. Schema name is optional, if no - schema is specified then dbo is assumed. - - The name of the index to be renamed. - The new name for the index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL command or set of SQL commands. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The SQL to be executed. - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL file. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The SQL file to be executed. Relative paths are assumed to be relative to the current AppDomain's BaseDirectory. - - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL resource file. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The manifest resource name of the SQL resource file to be executed. - - The assembly containing the resource file. The calling assembly is assumed if not provided. - - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - - - - - - - - - - - - - - - - - - - Configuration relating to the use of migrations for a given model. - You will typically create a configuration class that derives - from rather than - using this class. - - - - - The default directory that migrations are stored in. - - - - - Initializes a new instance of the DbMigrationsConfiguration class. - - - - - Gets or sets a value indicating if automatic migrations can be used when migrating the database. - - - - - Gets or sets the string used to distinguish migrations belonging to this configuration - from migrations belonging to other configurations using the same database. - This property enables migrations from multiple different models to be applied to a single database. - - - - - Gets or sets a value indicating if data loss is acceptable during automatic migration. - If set to false an exception will be thrown if data loss may occur as part of an automatic migration. - - - - - Adds a new SQL generator to be used for a given database provider. - - Name of the database provider to set the SQL generator for. - The SQL generator to be used. - - - - Gets the SQL generator that is set to be used with a given database provider. - - Name of the database provider to get the SQL generator for. - The SQL generator that is set for the database provider. - - - - Adds a new factory for creating instances to be used for a given database provider. - - Name of the database provider to set the SQL generator for. - - A factory for creating instances for a given and - representing the default schema. - - - - - Gets the history context factory that is set to be used with a given database provider. - - Name of the database provider to get thefactory for. - The history context factory that is set for the database provider. - - - - Gets or sets the derived DbContext representing the model to be migrated. - - - - - Gets or sets the namespace used for code-based migrations. - - - - - Gets or sets the sub-directory that code-based migrations are stored in. - Note that this property must be set to a relative path for a sub-directory under the - Visual Studio project root; it cannot be set to an absolute path. - - - - - Gets or sets the code generator to be used when scaffolding migrations. - - - - - Gets or sets the assembly containing code-based migrations. - - - - - Gets or sets a value to override the connection of the database to be migrated. - - - - - Gets or sets the timeout value used for the individual commands within a - migration. - - - The time in seconds to wait for the command to execute. A null value indicates - that the default value of the underlying provider will be used. - - - - - Configuration relating to the use of migrations for a given model. - - The context representing the model that this configuration applies to. - - - - Initializes a new instance of the DbMigrationsConfiguration class. - - - - - Runs after upgrading to the latest migration to allow seed data to be updated. - - - Note that the database may already contain seed data when this method runs. This means that - implementations of this method must check whether or not seed data is present and/or up-to-date - and then only make changes if necessary and in a non-destructive way. The - - can be used to help with this, but for seeding large amounts of data it may be necessary to do less - granular checks if performance is an issue. - If the database - initializer is being used, then this method will be called each time that the initializer runs. - If one of the , , - or initializers is being used, then this method will not be - called and the Seed method defined in the initializer should be used instead. - - Context to be used for updating seed data. - - - - - - - - - - - - - - - - - - - DbMigrator is used to apply existing migrations to a database. - DbMigrator can be used to upgrade and downgrade to any given migration. - To scaffold migrations based on changes to your model use - - - - - Migration Id representing the state of the database before any migrations are applied. - - - - - Initializes a new instance of the DbMigrator class. - - Configuration to be used for the migration process. - - - - Initializes a new instance of the DbMigrator class using the supplied context. - Use this constructor when applying migrations from code to avoid having migrations attempt - to create a context/connection for you. - - Configuration to be used for the migration process. - The to use. - - - - Gets the configuration that is being used for the migration process. - - - - - Gets all migrations that are defined in the configured migrations assembly. - - The list of migrations. - - - - Gets all migrations that have been applied to the target database. - - The list of migrations. - - - - Gets all migrations that are defined in the assembly but haven't been applied to the target database. - - The list of migrations. - - - - Updates the target database to a given migration. - - The migration to upgrade/downgrade to. - - - - A set of extension methods for - - - - - Adds or updates entities by key when SaveChanges is called. Equivalent to an "upsert" operation - from database terminology. - This method can be useful when seeding data using Migrations. - - The type of entities to add or update. - The set to which the entities belong. - The entities to add or update. - - When the parameter is a custom or fake IDbSet implementation, this method will - attempt to locate and invoke a public, instance method with the same signature as this extension method. - - - - - Adds or updates entities by a custom identification expression when SaveChanges is called. - Equivalent to an "upsert" operation from database terminology. - This method can useful when seeding data using Migrations. - - The type of entities to add or update. - The set to which the entities belong. - An expression specifying the properties that should be used when determining whether an Add or Update operation should be performed. - The entities to add or update. - - When the parameter is a custom or fake IDbSet implementation, this method will - attempt to locate and invoke a public, instance method with the same signature as this extension method. - - - - - Generates C# code for a code-based migration. - - - - - - - - Generates the primary code file that the user can view and edit. - - Operations to be performed by the migration. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates the code behind file with migration metadata. - - Unique identifier of the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates a property to return the source or target model in the code behind file. - - Name of the property. - Value to be returned. - Text writer to add the generated code to. - - - - Generates class attributes. - - Text writer to add the generated code to. - A value indicating if this class is being generated for a code-behind file. - - - - Generates a namespace, using statements and class definition. - - Namespace that code should be generated in. - Name of the class that should be generated. - Text writer to add the generated code to. - Base class for the generated class. - A value indicating if this class is being generated for a code-behind file. - Namespaces for which using directives will be added. If null, then the namespaces returned from GetDefaultNamespaces will be used. - - - - Generates the closing code for a class that was started with WriteClassStart. - - Namespace that code should be generated in. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for the given annotation value, which may be null. The default behavior is to use an - if one is registered, otherwise call ToString on the annotation value. - - - Note that a can be registered to generate code for custom annotations - without the need to override the entire code generator. - - The name of the annotation for which code is needed. - The annotation value to generate. - The writer to which generated code should be written. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to specify the definition for a . - The parameter definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for an . - - The operation for which code should be generated. - The writer to which generated code should be written. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify a set of column names using a lambda expression. - - The columns to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify the definition for a . - - The column definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column of unknown data type. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Removes any invalid characters from the name of an database artifact. - - The name to be scrubbed. - The scrubbed name. - - - - Gets the type name to use for a column of the given data type. - - The data type to translate. - The type name to use in the generated migration. - - - - Quotes an identifier using appropriate escaping to allow it to be stored in a string. - - The identifier to be quoted. - The quoted identifier. - - - - Base class for providers that generate code for code-based migrations. - - - - - Generates the code that should be added to the users project. - - Unique identifier of the migration. - Operations to be performed by the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Gets the namespaces that must be output as "using" or "Imports" directives to handle - the code generated by the given operations. - - The operations for which code is going to be generated. - An ordered list of namespace names. - - - - Gets the default namespaces that must be output as "using" or "Imports" directives for - any code generated. - - A value indicating if this class is being generated for a code-behind file. - An ordered list of namespace names. - - - - Gets the instances that are being used. - - - - - Scaffolds code-based migrations to apply pending model changes to the database. - - - - - Initializes a new instance of the MigrationScaffolder class. - - Configuration to be used for scaffolding. - - - - Gets or sets the namespace used in the migration's generated code. - By default, this is the same as MigrationsNamespace on the migrations - configuration object passed into the constructor. For VB.NET projects, this - will need to be updated to take into account the project's root namespace. - - - - - Scaffolds a code based migration to apply any pending model changes to the database. - - The name to use for the scaffolded migration. - The scaffolded migration. - - - - Scaffolds a code based migration to apply any pending model changes to the database. - - The name to use for the scaffolded migration. - Whether or not to include model changes. - The scaffolded migration. - - - - Scaffolds the initial code-based migration corresponding to a previously run database initializer. - - The scaffolded migration. - - - - Represents a code-based migration that has been scaffolded and is ready to be written to a file. - - - - - Gets or sets the unique identifier for this migration. - Typically used for the file name of the generated code. - - - - - Gets or sets the scaffolded migration code that the user can edit. - - - - - Gets or sets the scaffolded migration code that should be stored in a code behind file. - - - - - Gets or sets the programming language used for this migration. - Typically used for the file extension of the generated code. - - - - - Gets or sets the subdirectory in the user's project that this migration should be saved in. - - - - - Gets a dictionary of string resources to add to the migration resource file. - - - - - Gets or sets whether the migration was re-scaffolded. - - - - - Represents an exception that occurred while running an operation in another AppDomain in the - . - - - - - Initializes a new instance of the ToolingException class. - - - - - Initializes a new instance of the class with a specified error message. - - The message that describes the error. - - - - Initializes a new instance of the ToolingException class. - - Error that explains the reason for the exception. - The type of the exception that was thrown. - The stack trace of the exception that was thrown. - - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the type of the exception that was thrown. - - - - - Gets the stack trace of the exception that was thrown. - - - - - Helper class that is used by design time tools to run migrations related - commands that need to interact with an application that is being edited - in Visual Studio. - Because the application is being edited the assemblies need to - be loaded in a separate AppDomain to ensure the latest version - is always loaded. - The App/Web.config file from the startup project is also copied - to ensure that any configuration is applied. - - - - - Gets or sets an action to be run to log information. - - - - - Gets or sets an action to be run to log warnings. - - - - - Gets or sets an action to be run to log verbose information. - - - - - Initializes a new instance of the ToolingFacade class. - - The name of the assembly that contains the migrations configuration to be used. - The name of the assembly that contains the DbContext to be used. - The namespace qualified name of migrations configuration to be used. - The working directory containing the compiled assemblies. - The path of the config file from the startup project. - The path of the application data directory from the startup project. Typically the App_Data directory for web applications or the working directory for executables. - The connection to the database to be migrated. If null is supplied, the default connection for the context will be used. - - - - Releases all unmanaged resources used by the facade. - - - - - Gets the fully qualified name of all types deriving from . - - All context types found. - - - - Gets the fully qualified name of a type deriving from . - - The name of the context type. If null, the single context type found in the assembly will be returned. - The context type found. - - - - Gets a list of all migrations that have been applied to the database. - - Ids of applied migrations. - - - - Gets a list of all migrations that have not been applied to the database. - - Ids of pending migrations. - - - - Updates the database to the specified migration. - - The Id of the migration to migrate to. If null is supplied, the database will be updated to the latest migration. - Value indicating if data loss during automatic migration is acceptable. - - - - Generates a SQL script to migrate between two migrations. - - The migration to update from. If null is supplied, a script to update the current database will be produced. - The migration to update to. If null is supplied, a script to update to the latest migration will be produced. - Value indicating if data loss during automatic migration is acceptable. - The generated SQL script. - - - - Scaffolds a code-based migration to apply any pending model changes. - - The name for the generated migration. - The programming language of the generated migration. - The root namespace of the project the migration will be added to. - Whether or not to include model changes. - The scaffolded migration. - - - - Scaffolds the initial code-based migration corresponding to a previously run database initializer. - - The programming language of the generated migration. - The root namespace of the project the migration will be added to. - The scaffolded migration. - - - - - - - Releases all resources used by the facade. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - Generates VB.Net code for a code-based migration. - - - - - - - - Generates the primary code file that the user can view and edit. - - Operations to be performed by the migration. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates the code behind file with migration metadata. - - Unique identifier of the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates a property to return the source or target model in the code behind file. - - Name of the property. - Value to be returned. - Text writer to add the generated code to. - - - - Generates class attributes. - - Text writer to add the generated code to. - A value indicating if this class is being generated for a code-behind file. - - - - Generates a namespace, using statements and class definition. - - Namespace that code should be generated in. - Name of the class that should be generated. - Text writer to add the generated code to. - Base class for the generated class. - A value indicating if this class is being generated for a code-behind file. - Namespaces for which Imports directives will be added. If null, then the namespaces returned from GetDefaultNamespaces will be used. - - - - Generates the closing code for a class that was started with WriteClassStart. - - Namespace that code should be generated in. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for the given annotation value, which may be null. The default behavior is to use an - if one is registered, otherwise call ToString on the annotation value. - - - Note that a can be registered to generate code for custom annotations - without the need to override the entire code generator. - - The name of the annotation for which code is needed. - The annotation value to generate. - The writer to which generated code should be written. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The parameter model definition to generate code for. - Text writer to add the generated code to. - true to include the column name in the definition; otherwise, false. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for an . - - The operation for which code should be generated. - The writer to which generated code should be written. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify a set of column names using a lambda expression. - - The columns to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify the definition for a . - - The column definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column of unknown data type. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Removes any invalid characters from the name of an database artifact. - - The name to be scrubbed. - The scrubbed name. - - - - Gets the type name to use for a column of the given data type. - - The data type to translate. - The type name to use in the generated migration. - - - - Quotes an identifier using appropriate escaping to allow it to be stored in a string. - - The identifier to be quoted. - The quoted identifier. - - - - This class is used by Code First Migrations to read and write migration history - from the database. - To customize the definition of the migrations history table you can derive from - this class and override OnModelCreating. Derived instances can either be registered - on a per migrations configuration basis using , - or globally using . - - - - - The default name used for the migrations history table. - - - - - Initializes a new instance of the HistoryContext class. - If you are creating a derived history context you will generally expose a constructor - that accepts these same parameters and passes them to this base constructor. - - - An existing connection to use for the new context. - - - The default schema of the model being migrated. - This schema will be used for the migrations history table unless a different schema is configured in OnModelCreating. - - - - - Gets the key used to locate a model that was previously built for this context. This is used - to avoid processing OnModelCreating and calculating the model every time a new context instance is created. - By default this property returns the default schema. - In most cases you will not need to override this property. However, if your implementation of OnModelCreating - contains conditional logic that results in a different model being built for the same database provider and - default schema you should override this property and calculate an appropriate key. - - - - - Gets the default schema of the model being migrated. - This schema will be used for the migrations history table unless a different schema is configured in OnModelCreating. - - - - - Gets or sets a that can be used to read and write instances. - - - - - Applies the default configuration for the migrations history table. If you override - this method it is recommended that you call this base implementation before applying your - custom configuration. - - The builder that defines the model for the context being created. - - - - This class is used by Code First Migrations to read and write migration history - from the database. - - - - - Gets or sets the Id of the migration this row represents. - - - - - Gets or sets a key representing to which context the row applies. - - - - - Gets or sets the state of the model after this migration was applied. - - - - - Gets or sets the version of Entity Framework that created this entry. - - - - - Represents an error that occurs when an automatic migration would result in data loss. - - - - - Initializes a new instance of the AutomaticDataLossException class. - - - - - Initializes a new instance of the AutomaticDataLossException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents an error that occurs when there are pending model changes after applying the last migration and automatic migration is disabled. - - - - - Initializes a new instance of the AutomaticMigrationsDisabledException class. - - - - - Initializes a new instance of the AutomaticMigrationsDisabledException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Explicitly implemented by to prevent certain members from showing up - in the IntelliSense of scaffolded migrations. - - - - - Adds a custom to the migration. - Custom operation implementors are encouraged to create extension methods on - that provide a fluent-style API for adding new operations. - - The operation to add. - - - - Provides additional metadata about a code-based migration. - - - - - Gets the unique identifier for the migration. - - - - - Gets the state of the model before this migration is run. - - - - - Gets the state of the model after this migration is run. - - - - - Represents errors that occur inside the Code First Migrations pipeline. - - - - - Initializes a new instance of the MigrationsException class. - - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the MigrationsException class with serialized data. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - Base class for loggers that can be used for the migrations process. - - - - - Logs an informational message. - - The message to be logged. - - - - Logs a warning that the user should be made aware of. - - The message to be logged. - - - - Logs some additional information that should only be presented to the user if they request verbose output. - - The message to be logged. - - - - Thrown when an operation can't be performed because there are existing migrations that have not been applied to the database. - - - - - Initializes a new instance of the MigrationsPendingException class. - - - - - Initializes a new instance of the MigrationsPendingException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsPendingException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Base class for decorators that wrap the core - - - - - Initializes a new instance of the MigratorBase class. - - The migrator that this decorator is wrapping. - - - - Gets a list of the pending migrations that have not been applied to the database. - - List of migration Ids - - - - Gets the configuration being used for the migrations process. - - - - - Updates the target database to the latest migration. - - - - - Updates the target database to a given migration. - - The migration to upgrade/downgrade to. - - - - Gets a list of the migrations that are defined in the assembly. - - List of migration Ids - - - - Gets a list of the migrations that have been applied to the database. - - List of migration Ids - - - - Decorator to provide logging during migrations operations.. - - - - - Initializes a new instance of the MigratorLoggingDecorator class. - - The migrator that this decorator is wrapping. - The logger to write messages to. - - - - Decorator to produce a SQL script instead of applying changes to the database. - Using this decorator to wrap will prevent - from applying any changes to the target database. - - - - - Initializes a new instance of the MigratorScriptingDecorator class. - - The migrator that this decorator is wrapping. - - - - Produces a script to update the database. - - - The migration to update from. If null is supplied, a script to update the - current database will be produced. - - - The migration to update to. If null is supplied, - a script to update to the latest migration will be produced. - - The generated SQL script. - - - - Represents a column being added to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be added to. - Details of the column being added. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column should be added to. - - - - - Gets the details of the column being added. - - - - - Gets an operation that represents dropping the added column. - - - - - - - - Represents a foreign key constraint being added to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddForeignKeyOperation class. - The PrincipalTable, PrincipalColumns, DependentTable and DependentColumns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - The names of the column(s) that the foreign key constraint should target. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating if cascade delete should be configured on the foreign key constraint. - - - - - Gets an operation to create an index on the foreign key column(s). - - An operation to add the index. - - - - Gets an operation to drop the foreign key constraint. - - - - - - - - Represents adding a primary key to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddPrimaryKeyOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the primary key. - - - - - Represents altering an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AlterColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table that the column belongs to. - Details of what the column should be altered to. - Value indicating if this change will result in data loss. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the AlterColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table that the column belongs to. - Details of what the column should be altered to. - Value indicating if this change will result in data loss. - An operation to revert this alteration of the column. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table that the column belongs to. - - - - - Gets the new definition for the column. - - - - - Gets an operation that represents reverting the alteration. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents altering an existing stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation that will revert this operation. - Always returns a . - - - - - Represents changes made to custom annotations on a table. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AlterTableOperation class. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table on which annotations have changed. - The custom annotations on the table that have changed. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table on which annotations have changed. - - - - - Gets the columns to be included in the table for which annotations have changed. - - - - - Gets the custom annotations that have changed on the table. - - - - - Gets an operation that is the inverse of this one such that annotations will be changed back to how - they were before this operation was applied. - - - - - - - - Represents information about a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ColumnModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this column. - - - - Initializes a new instance of the ColumnModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this column. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets the CLR type corresponding to the database type of this column. - - - - - Gets the default value for the CLR type corresponding to the database type of this column. - - - - - Gets or sets a value indicating if this column can store null values. - - - - - Gets or sets a value indicating if values for this column will be generated by the database using the identity pattern. - - - - - Gets or sets a value indicating if this property model should be configured as a timestamp. - - - - - Gets or sets the custom annotations that have changed on the column. - - - - - Determines if this column is a narrower data type than another column. - Used to determine if altering the supplied column definition to this definition will result in data loss. - - The column to compare to. - Details of the database provider being used. - True if this column is of a narrower data type. - - - - Represents creating a database index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the CreateIndexOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets a value indicating if this is a unique index. - - - - - Gets an operation to drop this index. - - - - - - - - Gets or sets whether this is a clustered index. - - - - - A migration operation to add a new stored procedure to the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the stored procedure. - - - - - Represents creating a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the CreateTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be created. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the CreateTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be created. - Custom annotations that exist on the table to be created. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be created. - - - - - Gets the columns to be included in the new table. - - - - - Gets or sets the primary key for the new table. - - - - - Gets custom annotations that exist on the table to be created. - - - - - Gets an operation to drop the table. - - - - - - - - Represents a column being dropped from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - The operation that represents reverting the drop operation. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - The operation that represents reverting the drop operation. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column should be dropped from. - - - - - Gets the name of the column to be dropped. - - - - - Gets custom annotations that exist on the column that is being dropped. - - - - - Gets an operation that represents reverting dropping the column. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents a foreign key constraint being dropped from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropForeignKeyOperation class. - The PrincipalTable, DependentTable and DependentColumns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropForeignKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc.. - - The operation that represents reverting dropping the foreign key constraint. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the associated index on the foreign key column(s). - - An operation to drop the index. - - - - Gets an operation that represents reverting dropping the foreign key constraint. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents dropping an existing index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The operation that represents reverting dropping the index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation that represents reverting dropping the index. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents dropping a primary key from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropPrimaryKeyOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to add the primary key. - - - - - Used when altering the migrations history table so that the table can be rebuilt rather than just dropping and adding the primary key. - - - The create table operation for the migrations history table. - - - - - Drops a stored procedure from the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to drop. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to drop. - - - The name of the stored procedure to drop. - - - - - Gets an operation that will revert this operation. - Always returns a . - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents dropping an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - An operation that represents reverting dropping the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - An operation that represents reverting dropping the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be dropped. - - - - - Gets custom annotations that exist on the table that is being dropped. - - - - - Gets custom annotations that exist on columns of the table that is being dropped. - - - - - Gets an operation that represents reverting dropping the table. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Base class for changes that affect foreign key constraints. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ForeignKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets the name of the table that the foreign key constraint targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the name of the table that the foreign key columns exist in. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - The names of the foreign key column(s). - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this foreign key constraint. - - - - - Gets or sets the name of this foreign key constraint. - If no name is supplied, a default name will be calculated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Operation representing DML changes to the migrations history table. - The migrations history table is used to store a log of the migrations that have been applied to the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the HistoryOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A sequence of command trees representing the operations being applied to the history table. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - A sequence of commands representing the operations being applied to the history table. - - - - - - - - Common base class for operations affecting indexes. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a default index name based on the supplied column names. - - The column names used to create a default index name. - A default index name. - - - - Initializes a new instance of the IndexOperation class. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets or sets the table the index belongs to. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets the columns that are indexed. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this index. - - - - - Gets or sets the name of this index. - If no name is supplied, a default name will be calculated. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Represents an operation to modify a database schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the MigrationOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" - }'. - - - - - Gets additional arguments that may be processed by providers. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. - - - - - Represents moving a stored procedure to a new schema in the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to move. - The new schema for the stored procedure. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to move. - - - The name of the stored procedure to move. - - - - - Gets the new schema for the stored procedure. - - - The new schema for the stored procedure. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents moving a table from one schema to another. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the MoveTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be moved. - Name of the schema to move the table to. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be moved. - - - - - Gets the name of the schema to move the table to. - - - - - Gets an operation that moves the table back to its original schema. - - - - - - - - Used when altering the migrations history table so that data can be moved to the new table. - - - The context key for the model. - - - - - Gets a value that indicates whether this is a system table. - - - true if the table is a system table; otherwise, false. - - - - - Used when altering the migrations history table so that the table can be rebuilt rather than just dropping and adding the primary key. - - - The create table operation for the migrations history table. - - - - - Represents a migration operation that can not be performed, possibly because it is not supported by the targeted database provider. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents information about a parameter. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ParameterModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this parameter. - - - - Initializes a new instance of the ParameterModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this parameter. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets or sets a value indicating whether this instance is out parameter. - - - true if this instance is out parameter; otherwise, false. - - - - - Common base class to represent operations affecting primary keys. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Returns the default name for the primary key. - - The target table name. - The default primary key name. - - - - Initializes a new instance of the PrimaryKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets the name of the table that contains the primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets the column(s) that make up the primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this primary key. - - - - - Gets or sets the name of this primary key. - If no name is supplied, a default name will be calculated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - - - - Gets or sets whether this is a clustered primary key. - - - - - A migration operation that affects stored procedures. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure. - - - The name of the stored procedure. - - - - - Gets the body of the stored procedure expressed in SQL. - - - The body of the stored procedure expressed in SQL. - - - - - Gets the parameters of the stored procedure. - - - The parameters of the stored procedure. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents information about a property of an entity. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the PropertyModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this property model. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets the data type for this property model. - - - - - Gets additional details about the data type of this property model. - This includes details such as maximum length, nullability etc. - - - - - Gets or sets the name of the property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a provider specific data type to use for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the maximum length for this property model. - Only valid for array data types. - - - - - Gets or sets the precision for this property model. - Only valid for decimal data types. - - - - - Gets or sets the scale for this property model. - Only valid for decimal data types. - - - - - Gets or sets a constant value to use as the default value for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a SQL expression used as the default value for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating if this property model is fixed length. - Only valid for array data types. - - - - - Gets or sets a value indicating if this property model supports Unicode characters. - Only valid for textual data types. - - - - - Represents renaming an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table the column belongs to. - Name of the column to be renamed. - New name for the column. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column belongs to. - - - - - Gets the name of the column to be renamed. - - - - - Gets the new name for the column. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents renaming an existing index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table the index belongs to. - Name of the index to be renamed. - New name for the index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the index belongs to. - - - - - Gets the name of the index to be renamed. - - - - - Gets the new name for the index. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents renaming a stored procedure in the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to rename. - The new name for the stored procedure. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to rename. - - - The name of the stored procedure to rename. - - - - - Gets the new name for the stored procedure. - - - The new name for the stored procedure. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents renaming an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be renamed. - New name for the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be renamed. - - - - - Gets the new name for the table. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents a provider specific SQL statement to be executed directly against the target database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the SqlOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The SQL to be executed. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the SQL to be executed. - - - - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - - - - Used when scripting an update database operation to store the operations that would have been performed against the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Represents a migration to be applied to the database. - - - - - Gets the id of the migration. - - - The id of the migration. - - - - - Gets the individual operations applied by this migration. - - - The individual operations applied by this migration. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The queries used to determine if this migration needs to be applied to the database. - This is used to generate an idempotent SQL script that can be run against a database at any version. - - - - - The queries used to determine if this migration needs to be applied to the database. - This is used to generate an idempotent SQL script that can be run against a database at any version. - - - - - Gets the migrations applied during the update database operation. - - - The migrations applied during the update database operation. - - - - - Adds a migration to this update database operation. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The id of the migration. - The individual operations applied by the migration. - - - - Gets a value indicating if any of the operations may result in data loss. - - - - - Common base class for providers that convert provider agnostic migration - operations into database provider specific SQL commands. - - - - - Gets or sets the provider manifest. - - - The provider manifest. - - - - - Converts a set of migration operations into database provider specific SQL. - - The operations to be converted. - Token representing the version of the database being targeted. - A list of SQL statements to be executed to perform the migration operations. - - - - Generates the SQL body for a stored procedure. - - The command trees representing the commands for an insert, update or delete operation. - The rows affected parameter name. - The provider manifest token. - The SQL body for the stored procedure. - - - - Determines if a provider specific exception corresponds to a database-level permission denied error. - - The database exception. - true if the supplied exception corresponds to a database-level permission denied error; otherwise false. - - - - Builds the store type usage for the specified using the facets from the specified . - - Name of the store type. - The target property. - A store-specific TypeUsage - - - - Represents a migration operation that has been translated into a SQL statement. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the SQL to be executed to perform this migration operation. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - Gets or sets the batch terminator for the database provider. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The batch terminator for the database provider. - - - - - The same as but works in partial trust and adds explicit caching of - generated indentation string and also recognizes writing a string that contains just \r\n or \n as a write-line to ensure - we indent the next line properly. - - - - - Specifies the default tab string. This field is constant. - - - - - Specifies the culture what will be used by the underlying TextWriter. This static property is read-only. - Note that any writer passed to one of the constructors of must use this - same culture. The culture is . - - - - - Gets the encoding for the text writer to use. - - - An that indicates the encoding for the text writer to use. - - - - - Gets or sets the new line character to use. - - The new line character to use. - - - - Gets or sets the number of spaces to indent. - - The number of spaces to indent. - - - - Gets the to use. - - - The to use. - - - - - Initializes a new instance of the IndentedTextWriter class using the specified text writer and default tab string. - Note that the writer passed to this constructor must use the specified by the - property. - - - The to use for output. - - - - - Initializes a new instance of the IndentedTextWriter class using the specified text writer and tab string. - Note that the writer passed to this constructor must use the specified by the - property. - - - The to use for output. - - The tab string to use for indentation. - - - - Closes the document being written to. - - - - - Flushes the stream. - - - - - Outputs the tab string once for each level of indentation according to the - - property. - - - - - Builds a string representing the current indentation level for a new line. - - - Does NOT check if tabs are currently pending, just returns a string that would be - useful in replacing embedded newline characters. - - An empty string, or a string that contains .Indent level's worth of specified tab-string. - - - - Writes the specified string to the text stream. - - The string to write. - - - - Writes the text representation of a Boolean value to the text stream. - - The Boolean value to write. - - - - Writes a character to the text stream. - - The character to write. - - - - Writes a character array to the text stream. - - The character array to write. - - - - Writes a subarray of characters to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes the text representation of a Double to the text stream. - - The double to write. - - - - Writes the text representation of a Single to the text stream. - - The single to write. - - - - Writes the text representation of an integer to the text stream. - - The integer to write. - - - - Writes the text representation of an 8-byte integer to the text stream. - - The 8-byte integer to write. - - - - Writes the text representation of an object to the text stream. - - The object to write. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string. - The object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string to use. - The first object to write into the formatted string. - The second object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string to use. - The argument array to output. - - - - Writes the specified string to a line without tabs. - - The string to write. - - - - Writes the specified string, followed by a line terminator, to the text stream. - - The string to write. - - - - Writes a line terminator. - - - - - Writes the text representation of a Boolean, followed by a line terminator, to the text stream. - - The Boolean to write. - - - - Writes a character, followed by a line terminator, to the text stream. - - The character to write. - - - - Writes a character array, followed by a line terminator, to the text stream. - - The character array to write. - - - - Writes a subarray of characters, followed by a line terminator, to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes the text representation of a Double, followed by a line terminator, to the text stream. - - The double to write. - - - - Writes the text representation of a Single, followed by a line terminator, to the text stream. - - The single to write. - - - - Writes the text representation of an integer, followed by a line terminator, to the text stream. - - The integer to write. - - - - Writes the text representation of an 8-byte integer, followed by a line terminator, to the text stream. - - The 8-byte integer to write. - - - - Writes the text representation of an object, followed by a line terminator, to the text stream. - - The object to write. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string. - The object to write into the formatted string. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string to use. - The first object to write into the formatted string. - The second object to write into the formatted string. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string to use. - The argument array to output. - - - - Writes the text representation of a UInt32, followed by a line terminator, to the text stream. - - A UInt32 to output. - - - - An implementation of that does nothing. Using this - initializer disables database initialization for the given context type. Passing an instance - of this class to is equivalent to passing null. - When is being used to resolve initializers an instance of - this class must be used to disable initialization. - - The type of the context. - - - - - - - Extension methods for . - - - - - Returns an implementation that stays in sync with the given - . - - The element type. - The collection that the binding list will stay in sync with. - The binding list. - - - - Useful extension methods for use with Entity Framework LINQ queries. - - - - - Specifies the related objects to include in the query results. - - - This extension method calls the Include(String) method of the source object, - if such a method exists. If the source does not have a matching method, - then this method does nothing. The , , - and types all have an appropriate Include method to call. - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the . Other instances of - and the object context itself are not affected. Because the Include method returns the query object, - you can call this method multiple times on an to specify multiple paths for the query. - - The type of entity being queried. - - The source on which to call Include. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Specifies the related objects to include in the query results. - - - This extension method calls the Include(String) method of the source object, - if such a method exists. If the source does not have a matching method, - then this method does nothing. The , , - and types all have an appropriate Include method to call. - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the . Other instances of - and the object context itself are not affected. Because the Include method returns the query object, - you can call this method multiple times on an to specify multiple paths for the query. - - - The source on which to call Include. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Specifies the related objects to include in the query results. - - - The path expression must be composed of simple property access expressions together with calls to Select for - composing additional includes after including a collection proprty. Examples of possible include paths are: - To include a single reference: query.Include(e => e.Level1Reference) - To include a single collection: query.Include(e => e.Level1Collection) - To include a reference and then a reference one level down: query.Include(e => e.Level1Reference.Level2Reference) - To include a reference and then a collection one level down: query.Include(e => e.Level1Reference.Level2Collection) - To include a collection and then a reference one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference)) - To include a collection and then a collection one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection)) - To include a collection and then a reference one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference)) - To include a collection and then a collection one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection)) - To include a collection, a reference, and a reference two levels down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference.Level3Reference)) - To include a collection, a collection, and a reference two levels down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection.Select(l2 => l2.Level3Reference))) - This extension method calls the Include(String) method of the source IQueryable object, if such a method exists. - If the source IQueryable does not have a matching method, then this method does nothing. - The Entity Framework ObjectQuery, ObjectSet, DbQuery, and DbSet types all have an appropriate Include method to call. - When you call the Include method, the query path is only valid on the returned instance of the IQueryable<T>. Other - instances of IQueryable<T> and the object context itself are not affected. Because the Include method returns the - query object, you can call this method multiple times on an IQueryable<T> to specify multiple paths for the query. - - The type of entity being queried. - The type of navigation property being included. - The source IQueryable on which to call Include. - A lambda expression representing the path to include. - - A new IQueryable<T> with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the - or . This method works by calling the AsNoTracking method of the - underlying query object. If the underlying query object does not have an AsNoTracking method, - then calling this method will have no affect. - - The element type. - The source query. - A new query with NoTracking applied, or the source query if NoTracking is not supported. - - - - Returns a new query where the entities returned will not be cached in the - or . This method works by calling the AsNoTracking method of the - underlying query object. If the underlying query object does not have an AsNoTracking method, - then calling this method will have no affect. - - The source query. - A new query with NoTracking applied, or the source query if NoTracking is not supported. - - - - Returns a new query that will stream the results instead of buffering. This method works by calling - the AsStreaming method of the underlying query object. If the underlying query object does not have - an AsStreaming method, then calling this method will have no affect. - - - The type of the elements of . - - - An to apply AsStreaming to. - - A new query with AsStreaming applied, or the source query if AsStreaming is not supported. - - - - Returns a new query that will stream the results instead of buffering. This method works by calling - the AsStreaming method of the underlying query object. If the underlying query object does not have - an AsStreaming method, then calling this method will have no affect. - - - An to apply AsStreaming to. - - A new query with AsStreaming applied, or the source query if AsStreaming is not supported. - - - - Enumerates the query such that for server queries such as those of , - - , - , and others the results of the query will be loaded into the associated - - , - or other cache on the client. - This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. - - The source query. - - - - Bypasses a specified number of elements in a sequence and then returns the remaining elements. - - The type of the elements of source. - A sequence to return elements from. - An expression that evaluates to the number of elements to skip. - A sequence that contains elements that occur after the specified index in the - input sequence. - - - - Returns a specified number of contiguous elements from the start of a sequence. - - The type of the elements of source. - The sequence to return elements from. - An expression that evaluates to the number of elements - to return. - A sequence that contains the specified number of elements from the - start of the input sequence. - - - - Represents data in a geodetic (round earth) coordinate system. - - - - Gets the default coordinate system id (SRID) for geography values (WGS 84) - The default coordinate system id (SRID) for geography values (WGS 84) - - - Gets a representation of this DbGeography value that is specific to the underlying provider that constructed it. - A representation of this DbGeography value. - - - - Gets the spatial provider that will be used for operations on this spatial type. - - - - Gets or sets a data contract serializable well known representation of this DbGeography value. - A data contract serializable well known representation of this DbGeography value. - - - - Creates a new value based on the specified well known binary value. - - - A new DbGeography value as defined by the well known binary value with the default geography coordinate system identifier (SRID)( - - ). - - A byte array that contains a well known binary representation of the geography value. - - - - Creates a new value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new line value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new point value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new polygon value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Returns the multiline value from a binary value. - The multiline value from a binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multipoint value from a well-known binary value. - The multipoint value from a well-known binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multi polygon value from a well-known binary value. - The multi polygon well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new DbGeography value as defined by the GML value with the default geography coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geography value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the GML value with the specified coordinate system identifier. - A string that contains a Geography Markup Language (GML) representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new value based on the specified well known text value. - - - A new DbGeography value as defined by the well known text value with the default geography coordinate system identifier (SRID) ( - - ). - - A string that contains a well known text representation of the geography value. - - - - Creates a new value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new line value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new point value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new polygon value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Returns the multiline value from a well-known text value. - The multiline value from a well-known text value. - The well-known text. - The coordinate system identifier. - - - Returns the multipoint value from a well-known text value. - The multipoint value from a well-known text value. - The well-known text value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known text value. - The multi polygon value from a well-known text value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Gets the identifier associated with the coordinate system. - The identifier associated with the coordinate system. - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of the given value. - - - - Gets the spatial type name of the DBGeography. - The spatial type name of the DBGeography. - - - Gets a nullable Boolean value indicating whether this DbGeography value is empty. - True if this DbGeography value is empty; otherwise, false. - - - Generates the well known text representation of this DbGeography value. Includes only Longitude and Latitude for points. - A string containing the well known text representation of this DbGeography value. - - - Generates the well known binary representation of this DbGeography value. - The well-known binary representation of this DbGeography value. - - - Generates the Geography Markup Language (GML) representation of this DbGeography value. - A string containing the GML representation of this DbGeography value. - - - Determines whether this DbGeography is spatially equal to the specified DbGeography argument. - true if other is spatially equal to this geography value; otherwise false. - The geography value that should be compared with this geography value for equality. - - - Determines whether this DbGeography is spatially disjoint from the specified DbGeography argument. - true if other is disjoint from this geography value; otherwise false. - The geography value that should be compared with this geography value for disjointness. - - - Determines whether this DbGeography value spatially intersects the specified DbGeography argument. - true if other intersects this geography value; otherwise false. - The geography value that should be compared with this geography value for intersection. - - - Returns a geography object that represents the union of all points whose distance from a geography instance is less than or equal to a specified value. - A geography object that represents the union of all points - The distance. - - - Computes the distance between the closest points in this DbGeography value and another DbGeography value. - A double value that specifies the distance between the two closest points in this geography value and other. - The geography value for which the distance from this value should be computed. - - - Computes the intersection of this DbGeography value and another DbGeography value. - A new DbGeography value representing the intersection between this geography value and other. - The geography value for which the intersection with this value should be computed. - - - Computes the union of this DbGeography value and another DbGeography value. - A new DbGeography value representing the union between this geography value and other. - The geography value for which the union with this value should be computed. - - - Computes the difference of this DbGeography value and another DbGeography value. - A new DbGeography value representing the difference between this geography value and other. - The geography value for which the difference with this value should be computed. - - - Computes the symmetric difference of this DbGeography value and another DbGeography value. - A new DbGeography value representing the symmetric difference between this geography value and other. - The geography value for which the symmetric difference with this value should be computed. - - - Gets the number of elements in this DbGeography value, if it represents a geography collection. <returns>The number of elements in this geography value, if it represents a collection of other geography values; otherwise null.</returns> - The number of elements in this DbGeography value. - - - Returns an element of this DbGeography value from a specific position, if it represents a geography collection. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a collection of other geography values; otherwise null.</returns> - An element of this DbGeography value from a specific position - The index. - - - Gets the Latitude coordinate of this DbGeography value, if it represents a point. <returns>The Latitude coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The Latitude coordinate of this DbGeography value. - - - Gets the Longitude coordinate of this DbGeography value, if it represents a point. <returns>The Longitude coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The Longitude coordinate of this DbGeography value. - - - Gets the elevation (Z coordinate) of this DbGeography value, if it represents a point. <returns>The elevation (Z coordinate) value of this geography value, if it represents a point; otherwise null.</returns> - The elevation (Z coordinate) of this DbGeography value. - - - Gets the M (Measure) coordinate of this DbGeography value, if it represents a point. <returns>The M (Measure) coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The M (Measure) coordinate of this DbGeography value. - - - Gets a nullable double value that indicates the length of this DbGeography value, which may be null if this value does not represent a curve. - A nullable double value that indicates the length of this DbGeography value. - - - Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve. - A DbGeography value representing the start point of this value. - - - Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve. - A DbGeography value representing the start point of this value. - - - Gets a nullable Boolean value indicating whether this DbGeography value is closed, which may be null if this value does not represent a curve. - True if this DbGeography value is closed; otherwise, false. - - - Gets the number of points in this DbGeography value, if it represents a linestring or linear ring. <returns>The number of elements in this geography value, if it represents a linestring or linear ring; otherwise null.</returns> - The number of points in this DbGeography value. - - - Returns an element of this DbGeography value from a specific position, if it represents a linestring or linear ring. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a linestring or linear ring; otherwise null.</returns> - An element of this DbGeography value from a specific position - The index. - - - Gets a nullable double value that indicates the area of this DbGeography value, which may be null if this value does not represent a surface. - A nullable double value that indicates the area of this DbGeography value. - - - Returns a string representation of the geography value. - A string representation of the geography value. - - - - A data contract serializable representation of a value. - - - - Gets or sets the coordinate system identifier (SRID) of this value. - - - Gets or sets the well known text representation of this value. - - - Gets or sets the well known binary representation of this value. - - - - Represents geometric shapes. - - - - Gets the default coordinate system id (SRID) for geometry values. - The default coordinate system id (SRID) for geometry values. - - - Gets a representation of this DbGeometry value that is specific to the underlying provider that constructed it. - A representation of this DbGeometry value. - - - - Gets the spatial provider that will be used for operations on this spatial type. - - - - Gets or sets a data contract serializable well known representation of this DbGeometry value. - A data contract serializable well known representation of this DbGeometry value. - - - - Creates a new value based on the specified well known binary value. - - - A new DbGeometry value as defined by the well known binary value with the default geometry coordinate system identifier ( - - ). - - A byte array that contains a well known binary representation of the geometry value. - wellKnownBinary - - - - Creates a new value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - wellKnownBinary - coordinateSystemId - - - - Creates a new line value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - lineWellKnownBinary - coordinateSystemId - - - - Creates a new point value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - pointWellKnownBinary - coordinateSystemId - - - - Creates a new polygon value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - polygonWellKnownBinary - coordinateSystemId - - - Returns the multiline value from a binary value. - The multiline value from a binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multipoint value from a well-known binary value. - The multipoint value from a well-known binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multipoint value from a well-known text value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryCollectionWellKnownBinary - coordinateSystemId - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new DbGeometry value as defined by the GML value with the default geometry coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - geometryMarkup - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the GML value with the specified coordinate system identifier. - A string that contains a Geography Markup Language (GML) representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryMarkup - coordinateSystemId - - - - Creates a new value based on the specified well known text value. - - - A new DbGeometry value as defined by the well known text value with the default geometry coordinate system identifier (SRID) ( - - ). - - A string that contains a well known text representation of the geometry value. - wellKnownText - - - - Creates a new value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - wellKnownText - coordinateSystemId - - - - Creates a new line value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - lineWellKnownText - coordinateSystemId - - - - Creates a new point value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - pointWellKnownText - coordinateSystemId - - - - Creates a new polygon value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - polygonWellKnownText - coordinateSystemId - - - Returns the multiline value from a well-known text value. - The multiline value from a well-known text value. - The well-known text. - The coordinate system identifier. - - - Returns the multipoint value from a well-known text value. - The multipoint value from a well-known text value. - The well-known text value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multi polygon value from a well-known binary value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryCollectionWellKnownText - coordinateSystemId - - - Gets the coordinate system identifier of the DbGeometry object. - The coordinate system identifier of the DbGeometry object. - - - Gets the boundary of the DbGeometry objects. - The boundary of the DbGeometry objects. - - - - Gets the dimension of the given value or, if the value is a collection, the dimension of its largest element. - - - The dimension of the given value. - - - - Gets the envelope (minimum bounding box) of this DbGeometry value, as a geometry value. - The envelope (minimum bounding box) of this DbGeometry value. - - - Gets a spatial type name representation of this DbGeometry value. - A spatial type name representation of this DbGeometry value. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is empty, which may be null if this value does not represent a curve. - True if this DbGeometry value is empty; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is simple. - True if this DbGeometry value is simple; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is valid. - True if this DbGeometry value is valid; otherwise, false. - - - Generates the well known text representation of this DbGeometry value. Includes only X and Y coordinates for points. - A string containing the well known text representation of this DbGeometry value. - - - Generates the well known binary representation of this DbGeometry value. - The well-known binary representation of this DbGeometry value. - - - Generates the Geography Markup Language (GML) representation of this DbGeometry value. - A string containing the GML representation of this DbGeometry value. - - - Determines whether this DbGeometry is spatially equal to the specified DbGeometry argument. - true if other is spatially equal to this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for equality. - other - - - Determines whether this DbGeometry is spatially disjoint from the specified DbGeometry argument. - true if other is disjoint from this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for disjointness. - other - - - Determines whether this DbGeometry value spatially intersects the specified DbGeometry argument. - true if other intersects this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for intersection. - other - - - Determines whether this DbGeometry value spatially touches the specified DbGeometry argument. - true if other touches this geometry value; otherwise false. - The geometry value that should be compared with this geometry value. - other - - - Determines whether this DbGeometry value spatially crosses the specified DbGeometry argument. - true if other crosses this geometry value; otherwise false. - The geometry value that should be compared with this geometry value. - other - - - Determines whether this DbGeometry value is spatially within the specified DbGeometry argument. - true if this geometry value is within other; otherwise false. - The geometry value that should be compared with this geometry value for containment. - other - - - Determines whether this DbGeometry value spatially contains the specified DbGeometry argument. - true if this geometry value contains other; otherwise false. - The geometry value that should be compared with this geometry value for containment. - other - - - Determines whether this DbGeometry value spatially overlaps the specified DbGeometry argument. - true if this geometry value overlaps other; otherwise false. - The geometry value that should be compared with this geometry value for overlap. - other - - - Determines whether this DbGeometry value spatially relates to the specified DbGeometry argument according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern. - true if this geometry value relates to other according to the specified intersection pattern matrix; otherwise false. - The geometry value that should be compared with this geometry value for relation. - A string that contains the text representation of the (DE-9IM) intersection pattern that defines the relation. - other - matrix - - - Returns a geometry object that represents the union of all points whose distance from a geometry instance is less than or equal to a specified value. - A geometry object that represents the union of all points. - The distance. - - - Computes the distance between the closest points in this DbGeometry value and another DbGeometry value. - A double value that specifies the distance between the two closest points in this geometry value and other. - The geometry value for which the distance from this value should be computed. - other - - - Gets the convex hull of this DbGeometry value as another DbGeometry value. - The convex hull of this DbGeometry value as another DbGeometry value. - - - Computes the intersection of this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the intersection between this geometry value and other. - The geometry value for which the intersection with this value should be computed. - other - - - Computes the union of this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the union between this geometry value and other. - The geometry value for which the union with this value should be computed. - other - - - Computes the difference between this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the difference between this geometry value and other. - The geometry value for which the difference with this value should be computed. - other - - - Computes the symmetric difference between this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the symmetric difference between this geometry value and other. - The geometry value for which the symmetric difference with this value should be computed. - other - - - Gets the number of elements in this DbGeometry value, if it represents a geometry collection. <returns>The number of elements in this geometry value, if it represents a collection of other geometry values; otherwise null.</returns> - The number of elements in this DbGeometry value. - - - Returns an element of this DbGeometry value from a specific position, if it represents a geometry collection. <param name="index">The position within this geometry value from which the element should be taken.</param><returns>The element in this geometry value at the specified position, if it represents a collection of other geometry values; otherwise null.</returns> - An element of this DbGeometry value from a specific position. - The index. - - - Gets the X coordinate of this DbGeometry value, if it represents a point. <returns>The X coordinate value of this geometry value, if it represents a point; otherwise null.</returns> - The X coordinate of this DbGeometry value. - - - Gets the Y coordinate of this DbGeometry value, if it represents a point. <returns>The Y coordinate value of this geometry value, if it represents a point; otherwise null.</returns> - The Y coordinate of this DbGeometry value. - - - Gets the elevation (Z coordinate) of this DbGeometry value, if it represents a point. <returns>The elevation (Z coordinate) of this geometry value, if it represents a point; otherwise null.</returns> - The elevation (Z coordinate) of this DbGeometry value. - - - Gets the Measure (M coordinate) of this DbGeometry value, if it represents a point. <returns>The Measure (M coordinate) value of this geometry value, if it represents a point; otherwise null.</returns> - The Measure (M coordinate) of this DbGeometry value. - - - Gets a nullable double value that indicates the length of this DbGeometry value, which may be null if this value does not represent a curve. - The length of this DbGeometry value. - - - Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve. - A DbGeometry value representing the start point of this value. - - - Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve. - A DbGeometry value representing the start point of this value. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is closed, which may be null if this value does not represent a curve. - True if this DbGeometry value is closed; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is a ring, which may be null if this value does not represent a curve. - True if this DbGeometry value is a ring; otherwise, false. - - - Gets the number of points in this DbGeometry value, if it represents a linestring or linear ring. <returns>The number of elements in this geometry value, if it represents a linestring or linear ring; otherwise null.</returns> - The number of points in this DbGeometry value. - - - Returns an element of this DbGeometry value from a specific position, if it represents a linestring or linear ring. <param name="index">The position within this geometry value from which the element should be taken.</param><returns>The element in this geometry value at the specified position, if it represents a linestring or linear ring; otherwise null.</returns> - An element of this DbGeometry value from a specific position. - The index. - - - Gets a nullable double value that indicates the area of this DbGeometry value, which may be null if this value does not represent a surface. - A nullable double value that indicates the area of this DbGeometry value. - - - Gets the DbGeometry value that represents the centroid of this DbGeometry value, which may be null if this value does not represent a surface. - The DbGeometry value that represents the centroid of this DbGeometry value. - - - Gets a point on the surface of this DbGeometry value, which may be null if this value does not represent a surface. - A point on the surface of this DbGeometry value. - - - Gets the DbGeometry value that represents the exterior ring of this DbGeometry value, which may be null if this value does not represent a polygon. - The DbGeometry value that represents the exterior ring of this DbGeometry value. - - - Gets the number of interior rings in this DbGeometry value, if it represents a polygon. <returns>The number of elements in this geometry value, if it represents a polygon; otherwise null.</returns> - The number of interior rings in this DbGeometry value. - - - Returns an interior ring from this DbGeometry value at a specific position, if it represents a polygon. <param name="index">The position within this geometry value from which the interior ring should be taken.</param><returns>The interior ring in this geometry value at the specified position, if it represents a polygon; otherwise null.</returns> - An interior ring from this DbGeometry value at a specific position. - The index. - - - Returns a string representation of the geometry value. - A string representation of the geometry value. - - - - A data contract serializable representation of a value. - - - - Gets or sets the coordinate system identifier (SRID) of this value. - - - Gets or sets the well known text representation of this value. - - - Gets or sets the well known binary representation of this value. - - - - A provider-independent service API for geospatial (Geometry/Geography) type support. - - - - - When implemented in derived types, reads an instance of from the column at the specified column ordinal. - - The instance of DbGeography at the specified column value - The ordinal of the column that contains the geography value - - - - When implemented in derived types, reads an instance of from the column at the specified column ordinal. - - The instance of DbGeometry at the specified column value - The ordinal of the data record column that contains the provider-specific geometry data - - - - Returns whether the column at the specified column ordinal is of geography type - - The column ordinal. - - true if the column at the specified column ordinal is of geography type; - false otherwise. - - - - - Returns whether the column at the specified column ordinal is of geometry type - - The column ordinal. - - true if the column at the specified column ordinal is of geometry type; - false otherwise. - - - - - A provider-independent service API for geospatial (Geometry/Geography) type support. - - - - - Gets the default services for the . - - The default services. - - - - Override this property to allow the spatial provider to fail fast when native types or other - resources needed for the spatial provider to function correctly are not available. - The default value is true which means that EF will continue with the assumption - that the provider has the necessary types/resources rather than failing fast. - - - - - This method is intended for use by derived implementations of - - after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation. - - - A new instance that contains the specified providerValue and uses the specified spatialServices as its spatial implementation. - - - The spatial services instance that the returned value will depend on for its implementation of spatial functionality. - - The provider value. - - - - Creates a new value based on a provider-specific value that is compatible with this spatial services implementation. - - - A new value backed by this spatial services implementation and the specified provider value. - - A provider-specific value that this spatial services implementation is capable of interpreting as a geography value. - A new DbGeography value backed by this spatial services implementation and the specified provider value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known - - representation. - - A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation. - - An instance of that contains the well-known representation of a geography value. - - - - - Creates an instance of that represents the specified - - value using one or both of the standard well-known spatial formats. - - - The well-known representation of geographyValue, as a new - - . - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on the specified well-known binary value. - - - A new value as defined by the well-known binary value with the default - - coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - - - Creates a new value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known binary value and coordinate system identifier. - - - The new multiline value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known binary value and coordinate system identifier. - - - A new multipoint value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known binary value and coordinate system identifier. - - - A new multi polygon value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified well-known text value. - - - A new value as defined by the well-known text value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - - - Creates a new value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known text value and coordinate system identifier. - - - A new multiline value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known text value and coordinate system identifier. - - - A new multipoint value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known text value and coordinate system identifier. - - - A new multi polygon value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new value as defined by the GML value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a Geometry Markup Language (GML) representation of the geography value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - - A new value as defined by the GML value with the specified coordinate system identifier (SRID). - - A string that contains a Geometry Markup Language (GML) representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Returns the coordinate system identifier of the given value. - - - The coordinate system identifier of the given value. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of geographyValue, or the largest element dimension if - - is a collection. - - The geography value for which the dimension value should be retrieved. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that indicates the spatial type name of the given - - value. - - - The spatial type name of the given value. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is empty. - - - True if the given value is empty; otherwise, false. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known text representation of the given value. This value should include only the Longitude and Latitude of points. - - A string containing the well-known text representation of geographyValue. - The geography value for which the well-known text should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a text representation of with elevation and measure. - - - A text representation of . - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known binary representation of the given value. - - - The well-known binary representation of the given value. - - The geography value for which the well-known binary should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Generates the Geography Markup Language (GML) representation of this - - value. - - A string containing the GML representation of this DbGeography value. - The geography value for which the GML should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially equal. - - true if geographyValue is spatially equal to otherGeography; otherwise false. - The first geography value to compare for equality. - The second geography value to compare for equality. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially disjoint. - - true if geographyValue is disjoint from otherGeography; otherwise false. - The first geography value to compare for disjointness. - The second geography value to compare for disjointness. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially intersect. - - true if geographyValue intersects otherGeography; otherwise false. - The first geography value to compare for intersection. - The second geography value to compare for intersection. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Creates a geography value representing all points less than or equal to distance from the given - - value. - - A new DbGeography value representing all points less than or equal to distance from geographyValue. - The geography value. - A double value specifying how far from geographyValue to buffer. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the distance between the closest points in two values. - - A double value that specifies the distance between the two closest points in geographyValue and otherGeography. - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the intersection of two values. - - - A new value representing the intersection of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the union of two values. - - - A new value representing the union of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the difference of two values. - - A new DbGeography value representing the difference of geographyValue and otherGeography. - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the symmetric difference of two values. - - - A new value representing the symmetric difference of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns the number of elements in the given value, if it represents a geography collection. - - The number of elements in geographyValue, if it represents a collection of other geography values; otherwise null. - The geography value, which need not represent a geography collection. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an element of the given value, if it represents a geography collection. - - The element in geographyValue at position index, if it represents a collection of other geography values; otherwise null. - The geography value, which need not represent a geography collection. - The position within the geography value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Latitude coordinate of the given value, if it represents a point. - - - The Latitude coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Longitude coordinate of the given value, if it represents a point. - - - The Longitude coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the elevation (Z coordinate) of the given value, if it represents a point. - - The elevation (Z coordinate) of geographyValue, if it represents a point; otherwise null. - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the M (Measure) coordinate of the given value, if it represents a point. - - - The M (Measure) coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the length of the given - - value, which may be null if the value does not represent a curve. - - - The length of the given value. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the start point of the given DbGeography value, which may be null if the value does not represent a curve. - - - The start point of the given value. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the end point of the given DbGeography value, which may be null if the value does not represent a curve. - - The end point of geographyValue, if it represents a curve; otherwise null. - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is closed, which may be null if the value does not represent a curve. - - - True if the given value is closed; otherwise, false. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of points in the given value, if it represents a linestring or linear ring. - - - The number of points in the given value. - - The geography value, which need not represent a linestring or linear ring. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a point element of the given value, if it represents a linestring or linear ring. - - The point in geographyValue at position index, if it represents a linestring or linear ring; otherwise null. - The geography value, which need not represent a linestring or linear ring. - The position within the geography value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the area of the given - - value, which may be null if the value does not represent a surface. - - - A nullable double value that indicates the area of the given value. - - The geography value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - This method is intended for use by derived implementations of - - after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation. - - - A new instance that contains the specified providerValue and uses the specified spatialServices as its spatial implementation. - - - The spatial services instance that the returned value will depend on for its implementation of spatial functionality. - - A provider value. - - - - Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known - - representation. - - A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation. - - An instance of that contains the well-known representation of a geometry value. - - - - - Creates an instance of that represents the specified - - value using one or both of the standard well-known spatial formats. - - - The well-known representation of geometryValue, as a new - - . - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on a provider-specific value that is compatible with this spatial services implementation. - - - A new value backed by this spatial services implementation and the specified provider value. - - A provider-specific value that this spatial services implementation is capable of interpreting as a geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on the specified well-known binary value. - - - A new value as defined by the well-known binary value with the default - - coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - - - Creates a new value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known binary value and coordinate system identifier. - - - The new multiline value - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known binary value and coordinate system identifier. - - - A new multipoint value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known binary value and coordinate system identifier. - - - A new multi polygon value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified well-known text value. - - - A new value as defined by the well-known text value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - - - Creates a new value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known text value and coordinate system identifier. - - - A new multiline value - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known text value and coordinate system identifier. - - - A new multipoint value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known text value and coordinate system identifier. - - - A new multi polygon value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new value as defined by the GML value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - - A new value as defined by the GML value with the specified coordinate system identifier (SRID). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Returns the coordinate system identifier of the given value. - - - The coordinate system identifier of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the boundary of the given - - value. - - - The boundary of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of geometryValue, or the largest element dimension if - - is a collection. - - The geometry value for which the dimension value should be retrieved. - - - - Gets the envelope (minimum bounding box) of the given value, as a geometry value. - - - The envelope of geometryValue, as a value. - - The geometry value for which the envelope value should be retrieved. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that indicates the spatial type name of the given - - value. - - - The spatial type name of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is empty. - - - True if the given value is empty; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is simple. - - - True if the given value is simple; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is valid. - - - True if the given value is valid; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known text representation of the given value, including only X and Y coordinates for points. - - A string containing the well-known text representation of geometryValue. - The geometry value for which the well-known text should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a text representation of with elevation and measure. - - - A text representation of with elevation and measure. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known binary representation of the given value. - - - The well-known binary representation of the given value. - - The geometry value for which the well-known binary should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Generates the Geography Markup Language (GML) representation of this - - value. - - A string containing the GML representation of this DbGeometry value. - The geometry value for which the GML should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially equal. - - true if geometryValue is spatially equal to otherGeometry; otherwise false. - The first geometry value to compare for equality. - The second geometry value to compare for equality. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially disjoint. - - true if geometryValue is disjoint from otherGeometry; otherwise false. - The first geometry value to compare for disjointness. - The second geometry value to compare for disjointness. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially intersect. - - true if geometryValue intersects otherGeometry; otherwise false. - The first geometry value to compare for intersection. - The second geometry value to compare for intersection. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially touch. - - true if geometryValue touches otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially cross. - - true if geometryValue crosses otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether one value is spatially within the other. - - true if geometryValue is within otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether one value spatially contains the other. - - true if geometryValue contains otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially overlap. - - true if geometryValue overlaps otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially related according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern. - - true if this geometryValue value relates to otherGeometry according to the specified intersection pattern matrix; otherwise false. - The first geometry value. - The geometry value that should be compared with the first geometry value for relation. - A string that contains the text representation of the (DE-9IM) intersection pattern that defines the relation. - - - , - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Creates a geometry value representing all points less than or equal to distance from the given - - value. - - A new DbGeometry value representing all points less than or equal to distance from geometryValue. - The geometry value. - A double value specifying how far from geometryValue to buffer. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the distance between the closest points in two values. - - A double value that specifies the distance between the two closest points in geometryValue and otherGeometry. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the convex hull of the given - - value. - - - The convex hull of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the intersection of two values. - - - A new value representing the intersection of geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the union of two values. - - - A new value representing the union of geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the difference between two values. - - A new DbGeometry value representing the difference between geometryValue and otherGeometry. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the symmetric difference between two values. - - - A new value representing the symmetric difference between geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns the number of elements in the given value, if it represents a geometry collection. - - The number of elements in geometryValue, if it represents a collection of other geometry values; otherwise null. - The geometry value, which need not represent a geometry collection. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an element of the given value, if it represents a geometry collection. - - The element in geometryValue at position index, if it represents a collection of other geometry values; otherwise null. - The geometry value, which need not represent a geometry collection. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the X coordinate of the given value, if it represents a point. - - - The X coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Y coordinate of the given value, if it represents a point. - - - The Y coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the elevation (Z) of the given value, if it represents a point. - - The elevation (Z) of geometryValue, if it represents a point; otherwise null. - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the M (Measure) coordinate of the given value, if it represents a point. - - - The M (Measure) coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the length of the given - - value, which may be null if the value does not represent a curve. - - - The length of the given value. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the start point of the given DbGeometry value, which may be null if the value does not represent a curve. - - - The start point of the given value. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the end point of the given DbGeometry value, which may be null if the value does not represent a curve. - - The end point of geometryValue, if it represents a curve; otherwise null. - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is closed, which may be null if the value does not represent a curve. - - - True if the given value is closed; otherwise, false. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is a ring, which may be null if the value does not represent a curve. - - - True if the given value is a ring; otherwise, false. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of points in the given value, if it represents a linestring or linear ring. - - - The number of points in the given value. - - The geometry value, which need not represent a linestring or linear ring. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a point element of the given value, if it represents a linestring or linear ring. - - The point in geometryValue at position index, if it represents a linestring or linear ring; otherwise null. - The geometry value, which need not represent a linestring or linear ring. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the area of the given - - value, which may be null if the value does not represent a surface. - - - A nullable double value that indicates the area of the given value. - - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the centroid of the given DbGeometry value, which may be null if the value does not represent a surface. - - The centroid of geometryValue, if it represents a surface; otherwise null. - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents a point on the surface of the given DbGeometry value, which may be null if the value does not represent a surface. - - - A value that represents a point on the surface of the given DbGeometry value. - - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the exterior ring of the given DbGeometry value, which may be null if the value does not represent a polygon. - - A DbGeometry value representing the exterior ring on geometryValue, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of interior rings in the given value, if it represents a polygon. - - The number of elements in geometryValue, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an interior ring from the given value, if it represents a polygon. - - The interior ring in geometryValue at position index, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Controls the transaction creation behavior while executing a database command or query. - - - - - If no transaction is present then a new transaction will be used for the operation. - - - - - If an existing transaction is present then use it, otherwise execute the command or query without a transaction. - - - - - Exception thrown from when validating entities fails. - - - - - Initializes a new instance of DbEntityValidationException. - - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - Validation results. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - The inner exception. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - Validation results. - The inner exception. - - - - Initializes a new instance of the DbEntityValidationException class with the specified serialization information and context. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - Validation results. - - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - Represents validation results for single entity. - - - - - Creates an instance of class. - - Entity entry the results applies to. Never null. - - List of instances. Never null. Can be empty meaning the entity is valid. - - - - - Gets an instance of the results applies to. - - - - - Gets validation errors. Never null. - - - - - Gets an indicator if the entity is valid. - - - - - Exception thrown from when an exception is thrown from the validation - code. - - - - - Initializes a new instance of DbUnexpectedValidationException. - - - - - Initializes a new instance of DbUnexpectedValidationException. - - The exception message. - - - - Initializes a new instance of DbUnexpectedValidationException. - - The exception message. - The inner exception. - - - - Initializes a new instance of DbUnexpectedValidationException with the specified serialization info and - context. - - The serialization info. - The streaming context. - - - - Validation error. Can be either entity or property level validation error. - - - - - Creates an instance of . - - Name of the invalid property. Can be null. - Validation error message. Can be null. - - - - Gets name of the invalid property. - - - - - Gets validation error message. - - - - - Specifies the maximum length of array/string data allowed in a property. - - - - - Gets the maximum allowable length of the array/string data. - - - - - Initializes a new instance of the class. - - The maximum allowable length of array/string data. Value must be greater than zero. - - - - Initializes a new instance of the class. - The maximum allowable length supported by the database will be used. - - - - - Determines whether a specified object is valid. (Overrides ) - - - This method returns true if the is null. - It is assumed the is used if the value may not be null. - - The object to validate. - true if the value is null or less than or equal to the specified maximum length, otherwise false - Length is zero or less than negative one. - - - - Applies formatting to a specified error message. (Overrides ) - - The name to include in the formatted string. - A localized string to describe the maximum acceptable length. - - - - Checks that Length has a legal value. Throws InvalidOperationException if not. - - - - - Specifies the minimum length of array/string data allowed in a property. - - - - - Gets the minimum allowable length of the array/string data. - - - - - Initializes a new instance of the class. - - The minimum allowable length of array/string data. Value must be greater than or equal to zero. - - - - Determines whether a specified object is valid. (Overrides ) - - - This method returns true if the is null. - It is assumed the is used if the value may not be null. - - The object to validate. - true if the value is null or greater than or equal to the specified minimum length, otherwise false - Length is less than zero. - - - - Applies formatting to a specified error message. (Overrides ) - - The name to include in the formatted string. - A localized string to describe the minimum acceptable length. - - - - Checks that Length has a legal value. Throws InvalidOperationException if not. - - - - - Specifies the database column that a property is mapped to. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column the property is mapped to. - - - - The name of the column the property is mapped to. - - - - - The zero-based order of the column the property is mapped to. - - - - - The database provider specific data type of the column the property is mapped to. - - - - - Denotes that the class is a complex type. - Complex types are non-scalar properties of entity types that enable scalar properties to be organized within entities. - Complex types do not have keys and cannot be managed by the Entity Framework apart from the parent object. - - - - - Specifies how the database generates values for a property. - - - - - Initializes a new instance of the class. - - The pattern used to generate values for the property in the database. - - - - The pattern used to generate values for the property in the database. - - - - - The pattern used to generate values for a property in the database. - - - - - The database does not generate values. - - - - - The database generates a value when a row is inserted. - - - - - The database generates a value when a row is inserted or updated. - - - - - Denotes a property used as a foreign key in a relationship. - The annotation may be placed on the foreign key property and specify the associated navigation property name, - or placed on a navigation property and specify the associated foreign key name. - - - - - Initializes a new instance of the class. - - If placed on a foreign key property, the name of the associated navigation property. If placed on a navigation property, the name of the associated foreign key(s). If a navigation property has multiple foreign keys, a comma separated list should be supplied. - - - - If placed on a foreign key property, the name of the associated navigation property. - If placed on a navigation property, the name of the associated foreign key(s). - - - - - When this attribute is placed on a property it indicates that the database column to which the - property is mapped has an index. - - - This attribute is used by Entity Framework Migrations to create indexes on mapped database columns. - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - Creates a instance for an index that will be named by convention and - has no column order, clustering, or uniqueness specified. - - - - - Creates a instance for an index with the given name and - has no column order, clustering, or uniqueness specified. - - The index name. - - - - Creates a instance for an index with the given name and column order, - but with no clustering or uniqueness specified. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - The index name. - A number which will be used to determine column ordering for multi-column indexes. - - - - The index name. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - A number which will be used to determine column ordering for multi-column indexes. This will be -1 if no - column order has been specified. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - Set this property to true to define a clustered index. Set this property to false to define a - non-clustered index. - - - The value of this property is only relevant if returns true. - If returns false, then the value of this property is meaningless. - - - - - Returns true if has been set to a value. - - - - - Set this property to true to define a unique index. Set this property to false to define a - non-unique index. - - - The value of this property is only relevant if returns true. - If returns false, then the value of this property is meaningless. - - - - - Returns true if has been set to a value. - - - - - Returns a different ID for each object instance such that type descriptors won't - attempt to combine all IndexAttribute instances into a single instance. - - - - - Returns true if this attribute specifies the same name and configuration as the given attribute. - - The attribute to compare. - True if the other object is equal to this object; otherwise false. - - - - - - - Returns true if this attribute specifies the same name and configuration as the given attribute. - - The attribute to compare. - True if the other object is equal to this object; otherwise false. - - - - - - - Specifies the inverse of a navigation property that represents the other end of the same relationship. - - - - - Initializes a new instance of the class. - - The navigation property representing the other end of the same relationship. - - - - The navigation property representing the other end of the same relationship. - - - - - Denotes that a property or class should be excluded from database mapping. - - - - - Specifies the database table that a class is mapped to. - - - - - Initializes a new instance of the class. - - The name of the table the class is mapped to. - - - - The name of the table the class is mapped to. - - - - - The schema of the table the class is mapped to. - - - - diff --git a/app/packages/EntityFramework.6.4.4/lib/net45/EntityFramework.SqlServer.dll b/app/packages/EntityFramework.6.4.4/lib/net45/EntityFramework.SqlServer.dll deleted file mode 100644 index e11b437..0000000 Binary files a/app/packages/EntityFramework.6.4.4/lib/net45/EntityFramework.SqlServer.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/lib/net45/EntityFramework.SqlServer.xml b/app/packages/EntityFramework.6.4.4/lib/net45/EntityFramework.SqlServer.xml deleted file mode 100644 index ea081f1..0000000 --- a/app/packages/EntityFramework.6.4.4/lib/net45/EntityFramework.SqlServer.xml +++ /dev/null @@ -1,2156 +0,0 @@ - - - - EntityFramework.SqlServer - - - - - An that retries actions that throw exceptions caused by SQL Azure transient failures. - - - This execution strategy will retry the operation on and - if the contains any of the following error numbers: - 40613, 40501, 40197, 10929, 10928, 10060, 10054, 10053, 233, 64 and 20 - - - - - Creates a new instance of . - - - The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor. - - - - - Creates a new instance of with the specified limits for - number of retries and the delay between retries. - - The maximum number of retry attempts. - The maximum delay in milliseconds between retries. - - - - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Returns the checksum of the values in a collection. Null values are ignored. - The checksum computed from the input collection. - The collection of values over which the checksum is computed. - - - Returns the checksum of the values in a collection. Null values are ignored. - The checksum computed from the input collection. - The collection of values over which the checksum is computed. - - - Returns the ASCII code value of the left-most character of a character expression. - The ASCII code of the first character in the input string. - A valid string. - - - Returns the character that corresponds to the specified integer ASCII value. - The character that corresponds to the specified ASCII value. - An ASCII code. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - - A of value that is the starting position of toFind if it is found in toSearch . - - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns an integer value that indicates the difference between the SOUNDEX values of two character expressions. - The SOUNDEX difference between the two strings. - The first string. - The second string. - - - Returns the Unicode character with the specified integer code, as defined by the Unicode standard. - The character that corresponds to the input character code. - A character code. - - - Returns the starting position of the first occurrence of a pattern in a specified expression, or zeros if the pattern is not found, on all valid text and character data types. - The starting character position where the string pattern was found. - A string pattern to search for. - The string to search. - - - Returns a Unicode string with the delimiters added to make the input string a valid Microsoft SQL Server delimited identifier. - The original string with brackets added. - The expression that quote characters will be added to. - - - Returns a Unicode string with the delimiters added to make the input string a valid Microsoft SQL Server delimited identifier. - The original string with the specified quote characters added. - The expression that quote characters will be added to. - The one-character string to use as the delimiter. It can be a single quotation mark ( ' ), a left or right bracket ( [ ] ), or a double quotation mark ( " ). If quote_character is not specified, brackets are used. - - - Repeats a string value a specified number of times. - The target string, repeated the number of times specified by count . - A valid string. - The value that specifies how many time to repeat target . - - - Converts an alphanumeric string to a four-character (SOUNDEX) code to find similar-sounding words or names. - The SOUNDEX code of the input string. - A valid string. - - - Returns a string of repeated spaces. - A string that consists of the specified number of spaces. - The number of spaces. If negative, a null string is returned. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point. - - - Inserts a string into another string. It deletes a specified length of characters in the target string at the start position and then inserts the second string into the target string at the start position. - A string consisting of the two strings. - The target string. - The character position in stringinput where the replacement string is to be inserted. - The number of characters to delete from stringInput . If length is longer than stringInput , deletion occurs up to the last character in stringReplacement . - The substring to be inserted into stringInput . - - - Returns the integer value, as defined by the Unicode standard, for the first character of the input expression. - The character code for the first character in the input string. - A valid string. - - - A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine. - The angle, in radians, defined by the input cosine value. - The cosine of an angle. - - - A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine. - An angle, measured in radians. - The cosine of an angle. - - - A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine. - An angle, measured in radians. - The sine of an angle. - - - A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine. - An angle, measured in radians. - The sine of an angle. - - - A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent. - An angle, measured in radians. - The tangent of an angle. - - - A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent. - An angle, measured in radians. - The tangent of an angle. - - - Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value. - An angle, measured in radians. - The y-coordinate of a point. - The x-coordinate of a point. - - - Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value. - An angle, measured in radians. - The y-coordinate of a point. - The x-coordinate of a point. - - - Returns the trigonometric cosine of the specified angle, in radians, in the specified expression. - The trigonometric cosine of the specified angle. - An angle, measured in radians. - - - Returns the trigonometric cosine of the specified angle, in radians, in the specified expression. - The trigonometric cosine of the specified angle. - An angle, measured in radians. - - - A mathematical function that returns the trigonometric cotangent of the specified angle, in radians. - The trigonometric cotangent of the specified angle. - An angle, measured in radians. - - - A mathematical function that returns the trigonometric cotangent of the specified angle, in radians. - The trigonometric cotangent of the specified angle. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the exponential value of the specified float expression. - The constant e raised to the power of the input value. - The input value. - - - Returns the exponential value of the specified float expression. - The constant e raised to the power of the input value. - The input value. - - - Returns the natural logarithm of the specified input value. - The natural logarithm of the input value. - A numeric expression. - - - Returns the natural logarithm of the specified input value. - The natural logarithm of the input value. - A numeric expression. - - - Returns the base-10 logarithm of the specified input value. - The base-10 logarithm of the input value. - A numeric expression. - - - Returns the base-10 logarithm of the specified input value. - The base-10 logarithm of the input value. - A numeric expression. - - - Returns the constant value of pi. - The numeric value of pi. - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees. - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees. - - - Returns a pseudo-random float value from 0 through 1, exclusive. - The pseudo-random value. - - - Returns a pseudo-random float value from 0 through 1, exclusive. - The pseudo-random value. - The seed value. If seed is not specified, the SQL Server Database Engine assigns a seed value at random. For a specified seed value, the result returned is always the same. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the trigonometric sine of the specified angle. - The trigonometric sine of the input expression. - An angle, measured in radians. - - - Returns the trigonometric sine of the specified angle. - The trigonometric sine of the input expression. - An angle, measured in radians. - - - Returns the square root of the specified number. - The square root of the input value. - A numeric expression. - - - Returns the square root of the specified number. - The square root of the input value. - A numeric expression. - - - Returns the square of the specified number. - The square of the input value. - A numeric expression. - - - Returns the square of the specified number. - The square of the input value. - A numeric expression. - - - Returns the trigonometric tangent of the input expression. - The tangent of the input angle. - An angle, measured in radians. - - - Returns the trigonometric tangent of the input expression. - The tangent of the input angle. - An angle, measured in radians. - - - Returns a new datetime value based on adding an interval to the specified date. - The new date. - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns a new time span value based on adding an interval to the specified time span. - The new time span. - The part of the date to increment. - The value used to increment a date by a specified amount. - The time span to increment. - - - Returns a new date value based on adding an interval to the specified date. - The new point in time, expressed as a date and time of day, relative to Coordinated Universal Time (UTC). - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns a new datetime value based on adding an interval to the specified date. - - A of value that is the new date. - - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The value specifying the number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two Dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns the current database system timestamp as a datetime value without the database time zone offset. This value is derived from the operating system of the computer on which the instance of SQL Server is running. - The current database timestamp. - - - Returns the current database system timestamp as a datetime value. The database time zone offset is not included. This value represents the current UTC time (Coordinated Universal Time). This value is derived from the operating system of the computer on which the instance of SQL Server is running. - The current database UTC timestamp. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input values. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the current date and time. - The current date and time. - - - Returns the name of the current user. - The name of the current user. - - - Returns the workstation name. - The name of the workstation. - - - Returns a database user name corresponding to a specified identification number. - The user name. - A user ID. - - - Returns a database user name corresponding to a specified identification number. - The user name. - - - Indicates whether the input value is a valid numeric type. - 1 if the input expression is a valid numeric data type; otherwise, 0. - A string expression. - - - Indicates whether the input value is a valid date or time. - 1 if the input expression is a valid date or time value of datetime or smalldatetime data types; otherwise, 0. - The tested value. - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Returns a hierarchyid representing the nth ancestor of this. - A hierarchyid representing the nth ancestor of this. - The hierarchyid value. - n - - - Returns a child node of the parent. - The hierarchyid value. - null or the hierarchyid of a child of the current node. - null or the hierarchyid of a child of the current node. - - Returns one child node that is a descendant of the parent. - If parent is null, returns null. - If parent is not null, and both child1 and child2 are null, returns a child of parent. - If parent and child1 are not null, and child2 is null, returns a child of parent greater than child1. - If parent and child2 are not null and child1 is null, returns a child of parent less than child2. - If parent, child1, and child2 are not null, returns a child of parent greater than child1 and less than child2. - If child1 is not null and not a child of parent, an exception is raised. - If child2 is not null and not a child of parent, an exception is raised. - If child1 >= child2, an exception is raised. - - - - Returns an integer that represents the depth of the node this in the tree. - An integer that represents the depth of the node this in the tree. - The hierarchyid value. - - - Returns the root of the hierarchy tree. - The root of the hierarchy tree. - - - Returns true if this is a descendant of parent. - True if this is a descendant of parent. - The hierarchyid value. - parent - - - Returns a node whose path from the root is the path to newRoot, followed by the path from oldRoot to this. - Hierarchyid value. - The hierarchyid value. - oldRoot - newRoot - - - Converts the canonical string representation of a hierarchyid to a hierarchyid value. - Hierarchyid value. - input - - - - Indicates if the provider supports the parameter optimization described in EntityFramework6 GitHub issue #195. - - True since this provider supports the parameter optimization. - - - - The DbProviderServices implementation for the SqlClient provider for SQL Server. - - - Note that instance of this type also resolve additional provider services for Microsoft SQL Server - when this type is registered as an EF provider either using an entry in the application's config file - or through code-based registration in . - The services resolved are: - Requests for are resolved to a Singleton instance of - to create connections to LocalDB by default. - Requests for for the invariant name "System.Data.SqlClient" - for any server name are resolved to a delegate that returns a - to provide a non-retrying policy for SQL Server. - Requests for for the invariant name "System.Data.SqlClient" are - resolved to instances to provide default Migrations SQL - generation for SQL Server. - Requests for for the invariant name "System.Data.SqlClient" are - resolved to a Singleton instance of to provide default spatial - services for SQL Server. - - - - - This is the well-known string using in configuration files and code-based configuration as - the "provider invariant name" used to specify Microsoft SQL Server for ADO.NET and - Entity Framework provider services. - - - - - The Singleton instance of the SqlProviderServices type. - - - - - Set to the full name of the Microsoft.SqlServer.Types assembly to override the default selection - - - - - Get or sets a value indicating whether parameter values are truncated to - the scale (number of decimal places) defined for their corresponding columns when they are sent - to the database. A value of true indicates that objects - created for columns will have their - properties set, which will cause the parameter values to be truncated. If set to false - then the properties will not be set, avoiding the truncation - behavior of and allowing SQL Server to round values if necessary. - The default value is true to prevent breaking existing applications that depend on this - behavior. - - - - - Gets or sets a value indicating whether to use the SCOPE_IDENTITY() function to retrieve values - generated by the database for numeric columns during an INSERT operation. The default value of - true is recommended and can provide better performance if all numeric values are generated - using IDENTITY columns. If set to false, an OUTPUT clause will be used instead. An OUTPUT - clause makes it possible to retrieve values generated by sequences or other means. - - - - - Gets or sets a value indicating whether the ROW_NUMBER() function is used in sort expression - passed to the ORDER BY clause when OFFSET is present in query. The default value of true - is recommended to obtain query results that are stable for paging operations. The value of - false can be used for compatibility with previous versions of EF and will cause the sort - expression to be passed unmodified to the ORDER BY clause, which can lead to unstable results - if the ordering is ambiguous. - - - This flag only applies to SQL Server 2012 or later. This flag does not affect queries that have - already been translated to SQL and cached, therefore applications that need to set the value to - false for compatibility should do so before executing any queries. - - - - - Registers a handler to process non-error messages coming from the database provider. - - The connection to receive information for. - The handler to process messages. - - - - Create a Command Definition object, given the connection and command tree - - provider manifest that was determined from metadata - command tree for the statement - an executable command definition object - - - - See issue 2390 - cloning the DesignTimeVisible property on the - can cause deadlocks. - So here overriding to provide a method that does not clone DesignTimeVisible. - - the object to clone - a clone of the - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - - Returns provider manifest token for a given connection. - - Connection to find manifest token from. - The provider manifest token for the specified connection. - - - - Returns the provider manifest by using the specified version information. - - The token information associated with the provider manifest. - The provider manifest by using the specified version information. - - - - Gets a spatial data reader for SQL Server. - - The reader where the spatial data came from. - The manifest token associated with the provider manifest. - The spatial data reader. - - - - Gets a spatial data reader for SQL Server. - - The manifest token associated with the provider manifest. - The spatial data reader. - - - - Generates a data definition language (DDL) script that creates schema objects - (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection - parameter and targeted for the version of the database corresponding to the provider manifest token. - - The provider manifest token identifying the target version. - The structure of the database. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter - and targeted for the version of the database corresponding to the provider manifest token. - - - - - Create the database and the database objects. - If initial catalog is not specified, but AttachDBFilename is specified, we generate a random database name based on the AttachDBFilename. - Note: this causes pollution of the db, as when the connection string is later used, the mdf will get attached under a different name. - However if we try to replicate the name under which it would be attached, the following scenario would fail: - The file does not exist, but registered with database. - The user calls: If (DatabaseExists) DeleteDatabase - CreateDatabase - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - - Determines whether the database for the given connection exists. - There are three cases: - 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 then true, - if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise - if the there are no databases corresponding to the given file return false, otherwise throw. - Note: We open the connection to cover the scenario when the mdf exists, but is not attached. - Given that opening the connection would auto-attach it, it would not be appropriate to return false in this case. - Also note that checking for the existence of the file does not work for a remote server. (Dev11 #290487) - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - True if the provider can deduce the database only based on the connection. - - - - Determines whether the database for the given connection exists. - There are three cases: - 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 then true, - if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise - if the there are no databases corresponding to the given file return false, otherwise throw. - Note: We open the connection to cover the scenario when the mdf exists, but is not attached. - Given that opening the connection would auto-attach it, it would not be appropriate to return false in this case. - Also note that checking for the existence of the file does not work for a remote server. (Dev11 #290487) - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - True if the provider can deduce the database only based on the connection. - - - - Delete the database for the given connection. - There are three cases: - 1. If Initial Catalog is specified (X) drop database X - 2. Else if AttachDBFilename is specified (F) drop all the databases corresponding to F - if none throw - 3. If niether the catalog not the file name is specified - throw - Note that directly deleting the files does not work for a remote server. However, even for not attached - databases the current logic would work assuming the user does: if (DatabaseExists) DeleteDatabase - - Connection - Timeout for internal commands. - Item Collection. - - - - Clones the connection. - - The original connection. - The factory to use. - Cloned connection - - - - Provider to convert provider agnostic migration operations into SQL commands - that can be run against a Microsoft SQL Server database. - - - - - Determines if a provider specific exception corresponds to a database-level permission denied error. - - The database exception. - true if the supplied exception corresponds to a database-level permission denied error; otherwise false. - - - - Converts a set of migration operations into Microsoft SQL Server specific SQL. - - The operations to be converted. - Token representing the version of SQL Server being targeted (i.e. "2005", "2008"). - A list of SQL statements to be executed to perform the migration operations. - - - - Generates the SQL body for a stored procedure. - - The command trees representing the commands for an insert, update or delete operation. - The rows affected parameter name. - The provider manifest token. - The SQL body for the stored procedure. - - - - Generates the specified update database operation which represents applying a series of migrations. - The generated script is idempotent, meaning it contains conditional logic to check if individual migrations - have already been applied and only apply the pending ones. - - The update database operation. - - - - Generates SQL for a . - Allows derived providers to handle additional operation types. - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Creates an empty connection for the current provider. - Allows derived providers to use connection other than . - - An empty connection for the current provider. - - - - Generates the specified create procedure operation. - - The create procedure operation. - - - - Generates the specified alter procedure operation. - - The alter procedure operation. - - - - Generates the specified drop procedure operation. - - The drop procedure operation. - - - - Generates SQL for a . This method differs from - in that it will - create the target database schema if it does not already exist. - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Writes CREATE TABLE SQL to the target writer. - - The operation to produce SQL for. - The target writer. - - - - Override this method to generate SQL when the definition of a table or its attributes are changed. - The default implementation of this method does nothing. - - The operation describing changes to the table. - - - - Generates SQL to mark a table as a system table. - Generated SQL should be added using the Statement method. - - The table to mark as a system table. - The to write the generated SQL to. - - - - Generates SQL to create a database schema. - Generated SQL should be added using the Statement method. - - The name of the schema to create. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Call this method to generate SQL that will attempt to drop the default constraint created - when a column is created. This method is usually called by code that overrides the creation or - altering of columns. - - The table to which the constraint applies. - The column to which the constraint applies. - The writer to which generated SQL should be written. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement or StatementBatch methods. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates the specified rename procedure operation. - - The rename procedure operation. - - - - Generates the specified move procedure operation. - - The move procedure operation. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for the given column model. This method is called by other methods that - process columns and can be overridden to change the SQL generated. - - The column for which SQL is being generated. - The writer to which generated SQL should be written. - - - - Returns the column default value to use for store-generated GUID columns when - no default value is explicitly specified in the migration. - Returns newsequentialid() for on-premises SQL Server 2005 and later. - Returns newid() for SQL Azure. - - Either newsequentialid() or newid() as described above. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL to specify a constant byte[] default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant bool default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant DateTime default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant DateTimeOffset default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant Guid default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant string default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant TimeSpan default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant hierarchyid default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant geogrpahy default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant geometry default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify the data type of a column. - This method just generates the actual type, not the SQL to create the column. - - The definition of the column. - SQL representing the data type. - - - - Generates a quoted name. The supplied name may or may not contain the schema. - - The name to be quoted. - The quoted name. - - - - Quotes an identifier for SQL Server. - - The identifier to be quoted. - The quoted identifier. - - - - Adds a new Statement to be executed against the database. - - The statement to be executed. - Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. - The batch terminator for the database provider. - - - - Gets a new that can be used to build SQL. - This is just a helper method to create a writer. Writing to the writer will - not cause SQL to be registered for execution. You must pass the generated - SQL to the Statement method. - - An empty text writer to use for SQL generation. - - - - Adds a new Statement to be executed against the database. - - The writer containing the SQL to be executed. - The batch terminator for the database provider. - - - - Breaks sql string into one or more statements, handling T-SQL utility statements as necessary. - - The SQL to split into one ore more statements to be executed. - Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Constructs a geography instance representing a Point instance from its x and y values and a spatial reference ID (SRID). - The constructed geography instance. - The x-coordinate of the Point being generated. - The y-coordinate of the Point being generated - The SRID of the geography instance. - - - Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance. - The Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance. - The geography value. - - - Returns a geometric object representing the union of all point values whose distance from a geography instance is less than or equal to a specified value, allowing for a specified tolerance. - The union of all point values whose distance from a geography instance is less than or equal to a specified value - The geography value. - The distance. - The specified tolerance. - Specifying whether the tolerance value is relative or absolute. - - - Returns the maximum angle between the point returned by EnvelopeCenter() and a point in the geography instance in degrees. - the maximum angle between the point returned by EnvelopeCenter(). - The geography value. - - - Returns a point that can be used as the center of a bounding circle for the geography instance. - A SqlGeography value that specifies the location of the center of a bounding circle. - The geography value. - - - Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available. - True if a geography instance potentially intersects another SqlGeography instance; otherwise, false. - The geography value. - Another geography instance to compare against the instance on which Filter is invoked. - - - Tests if the SqlGeography instance is the same as the specified type. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - The geography value. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - - - Returns the total number of rings in a Polygon instance. - The total number of rings. - The geography value. - - - Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance. - - Returns . - - The geography value. - The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number. - - - Returns the specified ring of the SqlGeography instance: 1 ≤ n ≤ NumRings(). - A SqlGeography object that represents the ring specified by n. - The geography value. - An int expression between 1 and the number of rings in a polygon instance. - - - Constructs a geometry instance representing a Point instance from its x and y values and a spatial reference ID (SRID). - The constructed geometry instance. - The x-coordinate of the Point being generated. - The y-coordinate of the Point being generated - The SRID of the geography instance. - - - Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance. - The Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geometry instance. - The geometry value. - - - Returns a geometric object representing the union of all point values whose distance from a geometry instance is less than or equal to a specified value, allowing for a specified tolerance. - The union of all point values whose distance from a geometry instance is less than or equal to a specified value - The geometry value. - The distance. - The specified tolerance. - Specifying whether the tolerance value is relative or absolute. - - - Tests if the SqlGeometry instance is the same as the specified type. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - The geometry value. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - - - Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available. - True if a geography instance potentially intersects another SqlGeography instance; otherwise, false. - The geometry value. - Another geography instance to compare against the instance on which Filter is invoked. - - - Converts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium (OGC) type. - The converted geometry instance. - The geometry value. - - - Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance. - - Returns . - - The geometry value. - The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number. - - - - An implementation of to provide support for geospatial types when using - Entity Framework with Microsoft SQL Server. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Contains extension methods for the class. - - - - - Configures an awaiter used to await this to avoid - marshalling the continuation - back to the original context, but preserve the current culture and UI culture. - - - The type of the result produced by the associated . - - The task to be awaited on. - An object used to await this task. - - - - Configures an awaiter used to await this to avoid - marshalling the continuation - back to the original context, but preserve the current culture and UI culture. - - The task to be awaited on. - An object used to await this task. - - - - Provides an awaitable object that allows for awaits on that - preserve the culture. - - - The type of the result produced by the associated . - - This type is intended for compiler use only. - - - - Constructs a new instance of the class. - - The task to be awaited on. - - - Gets an awaiter used to await this . - An awaiter instance. - This method is intended for compiler user rather than use directly in code. - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was canceled. - The task completed in a Faulted state. - - - This method is not implemented and should not be called. - The action to invoke when the await operation completes. - - - - Schedules the continuation onto the associated with this - . - - The action to invoke when the await operation completes. - - The argument is null - (Nothing in Visual Basic). - - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - - Provides an awaitable object that allows for awaits on that - preserve the culture. - - This type is intended for compiler use only. - - - - Constructs a new instance of the class. - - The task to be awaited on. - - - Gets an awaiter used to await this . - An awaiter instance. - This method is intended for compiler user rather than use directly in code. - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was canceled. - The task completed in a Faulted state. - - - This method is not implemented and should not be called. - The action to invoke when the await operation completes. - - - - Schedules the continuation onto the associated with this - . - - The action to invoke when the await operation completes. - - The argument is null - (Nothing in Visual Basic). - - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - diff --git a/app/packages/EntityFramework.6.4.4/lib/net45/EntityFramework.dll b/app/packages/EntityFramework.6.4.4/lib/net45/EntityFramework.dll deleted file mode 100644 index 8400163..0000000 Binary files a/app/packages/EntityFramework.6.4.4/lib/net45/EntityFramework.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/lib/net45/EntityFramework.xml b/app/packages/EntityFramework.6.4.4/lib/net45/EntityFramework.xml deleted file mode 100644 index 46df344..0000000 --- a/app/packages/EntityFramework.6.4.4/lib/net45/EntityFramework.xml +++ /dev/null @@ -1,54121 +0,0 @@ - - - - EntityFramework - - - - - An abstract base type for types that implement the IExpressionVisitor interface to derive from. - - - - Implements the visitor pattern for the set clause. - The set clause. - - - Implements the visitor pattern for the modification clause. - The modification clause. - - - Implements the visitor pattern for the collection of modification clauses. - The modification clauses. - - - Implements the visitor pattern for the command tree. - The command tree. - - - Implements the visitor pattern for the delete command tree. - The delete command tree. - - - Implements the visitor pattern for the function command tree. - The function command tree. - - - Implements the visitor pattern for the insert command tree. - The insert command tree. - - - Implements the visitor pattern for the query command tree. - The query command tree. - - - Implements the visitor pattern for the update command tree. - The update command tree. - - - - An abstract base type for types that implement the IExpressionVisitor interface to derive from. - - - - - Convenience method to visit the specified . - - The DbUnaryExpression to visit. - - - is null - - - - - Convenience method to visit the specified . - - The DbBinaryExpression to visit. - - - is null - - - - - Convenience method to visit the specified . - - The DbExpressionBinding to visit. - - - is null - - - - - Convenience method for post-processing after a DbExpressionBinding has been visited. - - The previously visited DbExpressionBinding. - - - - Convenience method to visit the specified . - - The DbGroupExpressionBinding to visit. - - - is null - - - - - Convenience method indicating that the grouping keys of a have been visited and the aggregates are now about to be visited. - - The DbGroupExpressionBinding of the DbGroupByExpression - - - - Convenience method for post-processing after a DbGroupExpressionBinding has been visited. - - The previously visited DbGroupExpressionBinding. - - - - Convenience method indicating that the body of a Lambda is now about to be visited. - - The DbLambda that is about to be visited - - - is null - - - - - Convenience method for post-processing after a DbLambda has been visited. - - The previously visited DbLambda. - - - - Convenience method to visit the specified , if non-null. - - The expression to visit. - - - is null - - - - - Convenience method to visit each in the given list, if the list is non-null. - - The list of expressions to visit. - - - is null - - - - - Convenience method to visit each in the list, if the list is non-null. - - The list of aggregates to visit. - - - is null - - - - - Convenience method to visit the specified . - - The aggregate to visit. - - - is null - - - - - Called when an of an otherwise unrecognized type is encountered. - - The expression - - - is null - - - Always thrown if this method is called, since it indicates that - - is of an unsupported type - - - - - Visitor pattern method for . - - The DbConstantExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNullExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbVariableReferenceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbParameterReferenceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbFunctionExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLambdaExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbPropertyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbComparisonExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLikeExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLimitExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsNullExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbArithmeticExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbAndExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbOrExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbInExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNotExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbDistinctExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbElementExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsEmptyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbUnionAllExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIntersectExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbExceptExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbOfTypeExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbTreatExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCastExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsOfExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCaseExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNewInstanceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRelationshipNavigationExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DeRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRefKeyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbEntityRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbScanExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbFilterExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbProjectExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCrossJoinExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbJoinExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbApplyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbSkipExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbSortExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbQuantifierExpression that is being visited. - - - is null - - - - Implements the basic functionality required by aggregates in a GroupBy clause. - - - - Gets the result type of this . - - - The result type of this . - - - - - Gets the list of expressions that define the arguments to this - - . - - - The list of expressions that define the arguments to this - - . - - - - Represents the logical AND of two Boolean arguments. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by the visitor . - visitor is null. - - - Represents an apply operation, which is the invocation of the specified function for each element in the specified input set. This class cannot be inherited. - - - - Gets the that specifies the function that is invoked for each element in the input set. - - - The that specifies the function that is invoked for each element in the input set. - - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by the visitor . - visitor is null. - - - - Represents an arithmetic operation applied to numeric arguments. - Addition, subtraction, multiplication, division, modulo, and negation are arithmetic operations. - This class cannot be inherited. - - - - - Gets the list of elements that define the current arguments. - - - A fixed-size list of elements. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Implements the basic functionality required by expressions that accept two expression operands. - - - - Gets the that defines the left argument. - - - The that defines the left argument. - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the required type for the left argument. - - - - - Gets the that defines the right argument. - - - The that defines the right argument. - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the required type for the right argument. - - - - - Represents the When, Then, and Else clauses of the - - . This class cannot be inherited. - - - - - Gets the When clauses of this . - - - The When clauses of this . - - - - - Gets the Then clauses of this . - - - The Then clauses of this . - - - - - Gets the Else clause of this . - - - The Else clause of this . - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the result type of the - - . - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the type conversion of a single argument to the specified type. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - An immutable class that implements the basic functionality for the Query, Insert, Update, Delete, and function invocation command tree types. - - - - Gets a value indicating whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. The default value is true. - - For example (operand1 == operand2) will be translated as: - - (operand1 = operand2) - - if UseDatabaseNullSemantics is true, respectively - - (((operand1 = operand2) AND (NOT (operand1 IS NULL OR operand2 IS NULL))) OR ((operand1 IS NULL) AND (operand2 IS NULL))) - - if UseDatabaseNullSemantics is false. - - - true if database null comparison behavior is enabled, otherwise false . - - - - - Gets the name and corresponding type of each parameter that can be referenced within this - - . - - - The name and corresponding type of each parameter that can be referenced within this - - . - - - - - Gets the kind of this command tree. - - - - - Gets the metadata workspace used by this command tree. - - - - - Gets the data space in which metadata used by this command tree must reside. - - - - - Returns a that represents this command. - - - A that represents this command. - - - - - Describes the different "kinds" (classes) of command trees. - - - - - A query to retrieve data - - - - - Update existing data - - - - - Insert new data - - - - - Deleted existing data - - - - - Call a function - - - - Represents a comparison operation applied to two arguments. Equality, greater than, greater than or equal, less than, less than or equal, and inequality are comparison operations. This class cannot be inherited. - - DbComparisonExpression requires that its arguments have a common result type - that is equality comparable (for .Equals and .NotEquals), - order comparable (for .GreaterThan and .LessThan), - or both (for .GreaterThanOrEquals and .LessThanOrEquals). - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents different kinds of constants (literals). This class cannot be inherited. - - - Gets the constant value. - The constant value. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents an unconditional join operation between the given collection arguments. This class cannot be inherited. - - - - Gets a list that provides the input sets to the join. - - - A list that provides the input sets to the join. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents a single row delete operation expressed as a command tree. This class cannot be inherited. - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - A predicate used to determine which members of the target collection should be deleted. - - - - Gets an that specifies the predicate used to determine which members of the target collection should be deleted. - - - The predicate can include only the following elements: - - Equality expression - Constant expression - IsNull expression - Property expression - Reference expression to the target - And expression - Or expression - Not expression - - - - An that specifies the predicate used to determine which members of the target collection should be deleted. - - - - Gets the kind of this command tree. - The kind of this command tree. - - - Represents the an expression that retrieves an entity based on the specified reference. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Removes duplicate elements from the specified set argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the conversion of the specified set argument to a singleton. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents an expression that extracts a reference from the underlying entity instance. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the set subtraction operation between the left and right operands. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the base type for all expressions. - - - Gets the type metadata for the result type of the expression. - The type metadata for the result type of the expression. - - - Gets the kind of the expression, which indicates the operation of this expression. - The kind of the expression, which indicates the operation of this expression. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - The type of the result produced by . - - - An instance of . - - The type of the result produced by visitor. - - - - Determines whether the specified is equal to the current DbExpression instance. - - - True if the specified is equal to the current DbExpression instance; otherwise, false. - - - The object to compare to the current . - - - - Serves as a hash function for the type. - A hash code for the current expression. - - - - Creates a that represents the specified binary value, which may be null - - - A that represents the specified binary value. - - The binary value on which the returned expression should be based. - - - - Enables implicit casting from a byte array. - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Boolean value. - - - A that represents the specified Boolean value. - - The Boolean value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) byte value. - - - A that represents the specified byte value. - - The byte value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified DateTime value. - - The DateTime value on which the returned expression should be based. - - - - Enables implicit casting from . - - The expression to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified DateTimeOffset value. - - The DateTimeOffset value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) decimal value. - - - A that represents the specified decimal value. - - The decimal value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) double value. - - - A that represents the specified double value. - - The double value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified - - value, which may be null. - - - A that represents the specified DbGeography value. - - The DbGeography value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified - - value, which may be null. - - - A that represents the specified DbGeometry value. - - The DbGeometry value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified Guid value. - - The Guid value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int16 value. - - - A that represents the specified Int16 value. - - The Int16 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int32 value. - - - A that represents the specified Int32 value. - - The Int32 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int64 value. - - - A that represents the specified Int64 value. - - The Int64 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Single value. - - - A that represents the specified Single value. - - The Single value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified string value. - - - A that represents the specified string value. - - The string value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Describes a binding for an expression. Conceptually similar to a foreach loop - in C#. The DbExpression property defines the collection being iterated over, - while the Var property provides a means to reference the current element - of the collection during the iteration. DbExpressionBinding is used to describe the set arguments - to relational expressions such as , - and . - - - - - - - Gets the that defines the input set. - - - The that defines the input set. - - The expression is null. - The expression is not associated with the command tree of the binding, or its result type is not equal or promotable to the result type of the current value of the property. - - - Gets the name assigned to the element variable. - The name assigned to the element variable. - - - Gets the type metadata of the element variable. - The type metadata of the element variable. - - - - Gets the that references the element variable. - - The variable reference. - - - - Contains values that each expression class uses to denote the operation it represents. The - - property of an - - can be retrieved to determine which operation that expression represents. - - - - - True for all. - - - - - Logical And. - - - - - True for any. - - - - - Conditional case statement. - - - - - Polymorphic type cast. - - - - - A constant value. - - - - - Cross apply - - - - - Cross join - - - - - Dereference. - - - - - Duplicate removal. - - - - - Division. - - - - - Set to singleton conversion. - - - - - Entity ref value retrieval. - - - - - Equality - - - - - Set subtraction - - - - - Restriction. - - - - - Full outer join - - - - - Invocation of a stand-alone function - - - - - Greater than. - - - - - Greater than or equal. - - - - - Grouping. - - - - - Inner join - - - - - Set intersection. - - - - - Empty set determination. - - - - - Null determination. - - - - - Type comparison (specified Type or Subtype). - - - - - Type comparison (specified Type only). - - - - - Left outer join - - - - - Less than. - - - - - Less than or equal. - - - - - String comparison. - - - - - Result count restriction (TOP n). - - - - - Subtraction. - - - - - Modulo. - - - - - Multiplication. - - - - - Instance, row, and set construction. - - - - - Logical Not. - - - - - Inequality. - - - - - Null. - - - - - Set members by type (or subtype). - - - - - Set members by (exact) type. - - - - - Logical Or. - - - - - Outer apply. - - - - - A reference to a parameter. - - - - - Addition. - - - - - Projection. - - - - - Retrieval of a static or instance property. - - - - - Reference. - - - - - Ref key value retrieval. - - - - - Navigation of a (composition or association) relationship. - - - - - Entity or relationship set scan. - - - - - Skip elements of an ordered collection. - - - - - Sorting. - - - - - Type conversion. - - - - - Negation. - - - - - Set union (with duplicates). - - - - - A reference to a variable. - - - - - Application of a lambda function - - - - - In. - - - - Defines the basic functionality that should be implemented by visitors that do not return a result value. - - - When overridden in a derived class, handles any expression of an unrecognized type. - The expression to be handled. - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - Visitor pattern method for DbInExpression. - - The DbInExpression that is being visited. - - - Defines the basic functionality that should be implemented by visitors that return a result value of a specific type. - The type of the result produced by the visitor. - - - When overridden in a derived class, handles any expression of an unrecognized type. - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern method for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - Typed visitor pattern method for DbInExpression. - - The DbInExpression that is being visited. - An instance of TResultType. - - - Represents a predicate applied to filter an input set. This produces the set of elements that satisfy the predicate. This class cannot be inherited. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets the that specifies the predicate used to filter the input set. - - - The that specifies the predicate used to filter the input set. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a Boolean type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Supports standard aggregate functions, such as MIN, MAX, AVG, SUM, and so on. This class cannot be inherited. - - - Gets a value indicating whether this aggregate is a distinct aggregate. - true if the aggregate is a distinct aggregate; otherwise, false. - - - Gets the method metadata that specifies the aggregate function to invoke. - The method metadata that specifies the aggregate function to invoke. - - - Represents the invocation of a database function. - - - - Constructs a new DbFunctionCommandTree that uses the specified metadata workspace, data space and function metadata - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - The that represents the function that is being invoked. - The expected result type for the function’s first result set. - The function's parameters. - - , or is null - - - does not represent a valid data space or - is a composable function - - - - - Gets the that represents the function that is being invoked. - - - The that represents the function that is being invoked. - - - - Gets the expected result type for the function’s first result set. - The expected result type for the function’s first result set. - - - Gets or sets the command tree kind. - The command tree kind. - - - Represents an invocation of a function. This class cannot be inherited. - - - Gets the metadata for the function to invoke. - The metadata for the function to invoke. - - - - Gets an list that provides the arguments to the function. - - - An list that provides the arguments to the function. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a collection of elements that compose a group. - - - Represents a group by operation. A group by operation is a grouping of the elements in the input set based on the specified key expressions followed by the application of the specified aggregates. This class cannot be inherited. - - - - Gets the that specifies the input set and provides access to the set element and group element variables. - - - The that specifies the input set and provides access to the set element and group element variables. - - - - - Gets a list that provides grouping keys. - - - A list that provides grouping keys. - - - - - Gets a list that provides the aggregates to apply. - - - A list that provides the aggregates to apply. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Defines the binding for the input set to a . - In addition to the properties of , DbGroupExpressionBinding - also provides access to the group element via the variable reference - and to the group aggregate via the property. - - - - - Gets the that defines the input set. - - - The that defines the input set. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the result type of the current value of the property. - - - - Gets the name assigned to the element variable. - The name assigned to the element variable. - - - Gets the type metadata of the element variable. - The type metadata of the element variable. - - - - Gets the that references the element variable. - - A reference to the element variable. - - - Gets the name assigned to the group element variable. - The name assigned to the group element variable. - - - Gets the type metadata of the group element variable. - The type metadata of the group element variable. - - - - Gets the that references the group element variable. - - A reference to the group element variable. - - - - Gets the that represents the collection of elements in the group. - - The elements in the group. - - - - Represents a boolean expression that tests whether a specified item matches any element in a list. - - - - - Gets a DbExpression that specifies the item to be matched. - - - - - Gets the list of DbExpression to test for a match. - - - - - The visitor pattern method for expression visitors that do not produce a result value. - - An instance of DbExpressionVisitor. - - - is null - - - - - The visitor pattern method for expression visitors that produce a result value of a specific type. - - An instance of a typed DbExpressionVisitor that produces a result value of type TResultType. - - The type of the result produced by - - - - is null - - - An instance of . - - - - Represents a single row insert operation expressed as a command tree. This class cannot be inherited. - - Represents a single row insert operation expressed as a canonical command tree. - When the property is set, the command returns a reader; otherwise, - it returns a scalar value indicating the number of rows affected. - - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - The list of insert set clauses that define the insert operation. . - A that specifies a projection of results to be returned, based on the modified rows. - - - Gets the list of insert set clauses that define the insert operation. - The list of insert set clauses that define the insert operation. - - - - Gets an that specifies a projection of results to be returned based on the modified rows. - - - An that specifies a projection of results to be returned based on the modified rows. null indicates that no results should be returned from this command. - - - - Gets the command tree kind. - The command tree kind. - - - Represents the set intersection operation between the left and right operands. This class cannot be inherited. - - DbIntersectExpression requires that its arguments have a common collection result type - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents an empty set determination applied to a single set argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents null determination applied to a single argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the type comparison of a single argument against the specified type. This class cannot be inherited. - - - Gets the type metadata that the type metadata of the argument should be compared to. - The type metadata that the type metadata of the argument should be compared to. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition. - - - - Gets the that provides the left input. - - - The that provides the left input. - - - - - Gets the that provides the right input. - - - The that provides the right input. - - - - Gets the join condition to apply. - The join condition to apply. - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a Boolean type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents a Lambda function that can be invoked to produce a - - . - - - - Gets the body of the lambda expression. - - A that represents the body of the lambda function. - - - - Gets the parameters of the lambda expression. - The list of lambda function parameters represented as DbVariableReferenceExpression objects. - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters - An expression that defines the logic of the Lambda function - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - - - is null or contains null, or - - is null - - - - contains more than one element with the same variable name. - - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters - An expression that defines the logic of the Lambda function - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - - - is null or contains null, or - - is null. - - - - contains more than one element with the same variable name. - - - - - Creates a new with a single argument of the specified type, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and single formal parameter. - - A that defines the EDM type of the argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A that defines the EDM type of the fifteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A that defines the EDM type of the fifteenth argument to the Lambda function - - - A that defines the EDM type of the sixteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Allows the application of a lambda function to arguments represented by - - objects. - - - - - Gets the representing the Lambda function applied by this expression. - - - The representing the Lambda function applied by this expression. - - - - - Gets a list that provides the arguments to which the Lambda function should be applied. - - - The list. - - - - The visitor pattern method for expression visitors that do not produce a result value. - - An instance of . - - visitor is null - - - The visitor pattern method for expression visitors that produce a result value of a specific type. - The type of the result produced by the expression visitor. - - An instance of a typed that produces a result value of type TResultType. - - The type of the result produced by visitor - visitor is null - - - Represents a string comparison against the specified pattern with an optional escape string. This class cannot be inherited. - - - Gets an expression that specifies the string to compare against the given pattern. - An expression that specifies the string to compare against the given pattern. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Gets an expression that specifies the pattern against which the given string should be compared. - An expression that specifies the pattern against which the given string should be compared. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Gets an expression that provides an optional escape string to use for the comparison. - An expression that provides an optional escape string to use for the comparison. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the restriction of the number of elements in the argument collection to the specified limit value. - - - Gets an expression that specifies the input collection. - An expression that specifies the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a collection type. - - - - Gets an expression that specifies the limit on the number of elements returned from the input collection. - An expression that specifies the limit on the number of elements returned from the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - , or is not one of - - or - - , or its result type is not equal or promotable to a 64-bit integer type. - - - - - Gets whether the limit operation will include tied results. Including tied results might produce more results than specified by the - - value. - - true if the limit operation will include tied results; otherwise, false. The default is false. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Specifies a single clause in an insert or update modification operation, see - and - - - An abstract base class allows the possibility of patterns other than - Property = Value in future versions, e.g., - update SomeTable - set ComplexTypeColumn.SomeProperty() - where Id = 2 - - - - Represents a data manipulation language (DML) operation expressed as a command tree. - - - - Gets the that specifies the target table for the data manipulation language (DML) operation. - - - The that specifies the target table for the DML operation. - - - - Represents the construction of a new instance of a given type, including set and record types. This class cannot be inherited. - - - - Gets an list that provides the property/column values or set elements for the new instance. - - - An list that provides the property/column values or set elements for the new instance. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the logical NOT of a single Boolean argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a reference to a typed null literal. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the retrieval of elements of the specified type from the given set argument. This class cannot be inherited. - - - Gets the metadata of the type of elements that should be retrieved from the set argument. - The metadata of the type of elements that should be retrieved from the set argument. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the logical OR of two Boolean arguments. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a reference to a parameter declared on the command tree that contains this expression. This class cannot be inherited. - - - Gets the name of the referenced parameter. - The name of the referenced parameter. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the projection of a given input set over the specified expression. This class cannot be inherited. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets the that defines the projection. - - - The that defines the projection. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the reference type of the current projection. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Provides methods and properties for retrieving an instance property. This class cannot be inherited. - - - Gets the property metadata for the property to retrieve. - The property metadata for the property to retrieve. - - - - Gets a that defines the instance from which the property should be retrieved. - - - A that defines the instance from which the property should be retrieved. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the type that defines the property. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Creates a new key/value pair based on this property expression. - - A new key/value pair with the key and value derived from the - - . - - - - - Enables implicit casting to . - - The expression to be converted. - The converted value. - - - Represents a quantifier operation of the specified kind over the elements of the specified input set. This class cannot be inherited. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - Gets the Boolean predicate that should be evaluated for each element in the input set. - The Boolean predicate that should be evaluated for each element in the input set. - The expression is null. - - The expression is not associated with the command tree for the - - ,or its result type is not a Boolean type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a query operation expressed as a command tree. This class cannot be inherited. - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - A boolean that indicates whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. - A boolean that indicates whether - filter over projection simplification should be used. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - A boolean that indicates whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - - - or - - is null - - - - does not represent a valid data space - - - - - Gets an that defines the logic of the query operation. - - - An that defines the logic of the query operation. - - The expression is null. - The expression is associated with a different command tree. - - - Gets the kind of this command tree. - The kind of this command tree. - - - Represents a strongly typed reference to a specific instance within an entity set. This class cannot be inherited. - - - Gets the metadata for the entity set that contains the instance. - The metadata for the entity set that contains the instance. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents the retrieval of the key value of the specified Reference as a row. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the navigation of a relationship. This class cannot be inherited. - - - Gets the metadata for the relationship over which navigation occurs. - The metadata for the relationship over which navigation occurs. - - - Gets the metadata for the relationship end to navigate from. - The metadata for the relationship end to navigate from. - - - Gets the metadata for the relationship end to navigate to. - The metadata for the relationship end to navigate to. - - - - Gets an that specifies the starting point of the navigation and must be a reference to an entity instance. - - - An that specifies the instance of the source relationship end from which navigation should occur. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the reference type of the - - property. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents a 'scan' of all elements of a given entity set. - - - - Gets the metadata for the referenced entity or relationship set. - The metadata for the referenced entity or relationship set. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Specifies the clause in a modification operation that sets the value of a property. This class cannot be inherited. - - - - Gets an that specifies the property that should be updated. - - - An that specifies the property that should be updated. - - - - - Gets an that specifies the new value with which to update the property. - - - An that specifies the new value with which to update the property. - - - - - Skips a specified number of elements in the input set. - - can only be used after the input collection has been sorted as specified by the sort keys. - - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets a list that defines the sort order. - - - A list that defines the sort order. - - - - Gets an expression that specifies the number of elements to skip from the input collection. - An expression that specifies the number of elements to skip from the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - ; the expression is not either a - - or a - - ; or the result type of the expression is not equal or promotable to a 64-bit integer type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Specifies a sort key that can be used as part of the sort order in a - - . This class cannot be inherited. - - - - Gets a Boolean value indicating whether or not this sort key uses an ascending sort order. - true if this sort key uses an ascending sort order; otherwise, false. - - - Gets a string value that specifies the collation for this sort key. - A string value that specifies the collation for this sort key. - - - - Gets the that provides the value for this sort key. - - - The that provides the value for this sort key. - - - - Represents a sort operation applied to the elements of the specified input set based on the given sort keys. This class cannot be inherited. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets a list that defines the sort order. - - - A list that defines the sort order. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by - visitor - - - visitor - is null. - - - Represents a type conversion operation applied to a polymorphic argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Implements the basic functionality required by expressions that accept a single expression argument. - - - - Gets the that defines the argument. - - - The that defines the argument. - - The expression is null. - - The expression is not associated with the command tree of a - - , or its result type is not equal or promotable to the required type for the argument. - - - - - Represents the set union (without duplicate removal) operation between the left and right operands. - - - DbUnionAllExpression requires that its arguments have a common collection result type - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a single-row update operation expressed as a command tree. This class cannot be inherited. - - Represents a single-row update operation expressed as a canonical command tree. - When the property is set, the command returns a reader; otherwise, - it returns a scalar indicating the number of rows affected. - - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - A predicate used to determine which members of the target collection should be updated. - The list of update set clauses that define the update operation. - A that specifies a projection of results to be returned, based on the modified rows. - - - Gets the list of update set clauses that define the update operation. - The list of update set clauses that define the update operation. - - - - Gets an that specifies a projection of results to be returned, based on the modified rows. - - - An that specifies a projection of results to be returned based, on the modified rows. null indicates that no results should be returned from this command. - - - - - Gets an that specifies the predicate used to determine which members of the target collection should be updated. - - - An that specifies the predicate used to determine which members of the target collection should be updated. - - - - Gets the kind of this command tree. - The kind of this command tree. - - - Represents a reference to a variable that is currently in scope. This class cannot be inherited. - - - Gets the name of the referenced variable. - The name of the referenced variable. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Visits each element of an expression tree from a given root expression. If any element changes, the tree is rebuilt back to the root and the new root expression is returned; otherwise the original root expression is returned. - - - - Initializes a new instance of the - - class. - - - - Replaces an old expression with a new one for the expression visitor. - The old expression. - The new expression. - - - Represents an event when the variable is rebound for the expression visitor. - The location of the variable. - The reference of the variable where it is rebounded. - - - Represents an event when entering the scope for the expression visitor with specified scope variables. - The collection of scope variables. - - - Exits the scope for the expression visitor. - - - Implements the visitor pattern for the expression. - The implemented visitor pattern. - The expression. - - - Implements the visitor pattern for the expression list. - The implemented visitor pattern. - The expression list. - - - Implements the visitor pattern for expression binding. - The implemented visitor pattern. - The expression binding. - - - Implements the visitor pattern for the expression binding list. - The implemented visitor pattern. - The expression binding list. - - - Implements the visitor pattern for the group expression binding. - The implemented visitor pattern. - The binding. - - - Implements the visitor pattern for the sort clause. - The implemented visitor pattern. - The sort clause. - - - Implements the visitor pattern for the sort order. - The implemented visitor pattern. - The sort order. - - - Implements the visitor pattern for the aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the function aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the group aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the Lambda function. - The implemented visitor pattern. - The lambda function. - - - Implements the visitor pattern for the type. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the type usage. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the entity set. - The implemented visitor pattern. - The entity set. - - - Implements the visitor pattern for the function. - The implemented visitor pattern. - The function metadata. - - - Implements the visitor pattern for the basic functionality required by expression types. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the different kinds of constants. - The implemented visitor. - The constant expression. - - - Implements the visitor pattern for a reference to a typed null literal. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a reference to a variable that is currently in scope. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a reference to a parameter declared on the command tree that contains this expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for an invocation of a function. - The implemented visitor. - The function expression. - - - Implements the visitor pattern for the application of a lambda function to arguments represented by DbExpression objects. - The implemented visitor. - The expression. - - - Implements the visitor pattern for retrieving an instance property. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the comparison operation applied to two arguments. - The implemented visitor. - The cast expression. - - - Implements the visitor pattern for a string comparison against the specified pattern with an optional escape string. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the restriction of the number of elements in the argument collection to the specified limit value. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the null determination applied to a single argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the arithmetic operation applied to numeric arguments. - The implemented visitor. - The arithmetic expression. - - - Implements the visitor pattern for the logical AND expression. - The implemented visitor. - The logical AND expression. - - - Implements the visitor pattern for the logical OR of two Boolean arguments. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the DbInExpression. - The implemented visitor. - The DbInExpression that is being visited. - - - Implements the visitor pattern for the logical NOT of a single Boolean argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the removed duplicate elements from the specified set argument. - The implemented visitor. - The distinct expression. - - - Implements the visitor pattern for the conversion of the specified set argument to a singleton the conversion of the specified set argument to a singleton. - The implemented visitor. - The element expression. - - - Implements the visitor pattern for an empty set determination applied to a single set argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set union operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set intersection operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set subtraction operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a type conversion operation applied to a polymorphic argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the type comparison of a single argument against the specified type. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the type conversion of a single argument to the specified type. - The implemented visitor. - The cast expression. - - - Implements the visitor pattern for the When, Then, and Else clauses. - The implemented visitor. - The case expression. - - - Implements the visitor pattern for the retrieval of elements of the specified type from the given set argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the construction of a new instance of a given type, including set and record types. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a strongly typed reference to a specific instance within an entity set. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the navigation of a relationship. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the expression that retrieves an entity based on the specified reference. - The implemented visitor. - The DEREF expression. - - - Implements the visitor pattern for the retrieval of the key value from the underlying reference value. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the expression that extracts a reference from the underlying entity instance. - The implemented visitor. - The entity reference expression. - - - Implements the visitor pattern for a scan over an entity set or relationship set, as indicated by the Target property. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a predicate applied to filter an input set. - The implemented visitor. - The filter expression. - - - Implements the visitor pattern for the projection of a given input set over the specified expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the unconditional join operation between the given collection arguments. - The implemented visitor. - The join expression. - - - Implements the visitor pattern for an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the invocation of the specified function for each element in the specified input set. - The implemented visitor. - The APPLY expression. - - - Implements the visitor pattern for a group by operation. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the skip expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a sort key that can be used as part of the sort order. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a quantifier operation of the specified kind over the elements of the specified input set. - The implemented visitor. - The expression. - - - - Provides an API to construct s and allows that API to be accessed as extension methods on the expression type itself. - - - - Returns the specified arguments as a key/value pair object. - A key/value pair object. - The value in the key/value pair. - The key in the key/value pair. - - - Returns the specified arguments as a key/value pair object. - A key/value pair object. - The value in the key/value pair. - The key in the key/value pair. - - - - Creates a new that uses a generated variable name to bind the given expression. - - A new expression binding with the specified expression and a generated variable name. - The expression to bind. - input is null. - input does not have a collection result. - - - - Creates a new that uses the specified variable name to bind the given expression - - A new expression binding with the specified expression and variable name. - The expression to bind. - The variable name that should be used for the binding. - input or varName is null. - input does not have a collection result. - - - Creates a new group expression binding that uses generated variable and group variable names to bind the given expression. - A new group expression binding with the specified expression and a generated variable name and group variable name. - The expression to bind. - input is null. - input does not have a collection result type. - - - - Creates a new that uses the specified variable name and group variable names to bind the given expression. - - A new group expression binding with the specified expression, variable name and group variable name. - The expression to bind. - The variable name that should be used for the binding. - The variable name that should be used to refer to the group when the new group expression binding is used in a group-by expression. - input, varName or groupVarName is null. - input does not have a collection result type. - - - - Creates a new . - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value false. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new that is applied in a distinct fashion. - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value true. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument is null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new . - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value false. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new that is applied in a distinct fashion. - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value true. - The function that defines the aggregate operation. - The arguments over which the aggregate function should be calculated. - function or argument is null. - function is not an aggregate function, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new over the specified argument - - The argument over which to perform the nest operation - A new group aggregate representing the elements of the group referenced by the given argument. - - - is null - - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new expression that describes an inline Lambda function with the specified body and formal parameters. - An expression that defines the logic of the Lambda function. - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - variables is null or contains null, or body is null. - variables contains more than one element with the same variable name. - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new expression that describes an inline Lambda function with the specified body and formal parameters. - An expression that defines the logic of the Lambda function. - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - variables is null or contains null, or body is null. - variables contains more than one element with the same variable name. - - - - Creates a new with an ascending sort order and default collation. - - A new sort clause with the given sort key and ascending sort order. - The expression that defines the sort key. - key is null. - key does not have an order-comparable result type. - - - - Creates a new with a descending sort order and default collation. - - A new sort clause with the given sort key and descending sort order. - The expression that defines the sort key. - key is null. - key does not have an order-comparable result type. - - - - Creates a new with an ascending sort order and the specified collation. - - A new sort clause with the given sort key and collation, and ascending sort order. - The expression that defines the sort key. - The collation to sort under. - key is null. - collation is empty or contains only space characters. - key does not have an order-comparable result type. - - - - Creates a new with a descending sort order and the specified collation. - - A new sort clause with the given sort key and collation, and descending sort order. - The expression that defines the sort key. - The collation to sort under. - key is null. - collation is empty or contains only space characters. - key does not have an order-comparable result type. - - - - Creates a new that determines whether the given predicate holds for all elements of the input set. - - A new DbQuantifierExpression that represents the All operation. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - predicate does not have a Boolean result type. - - - - Creates a new that determines whether the given predicate holds for any element of the input set. - - A new DbQuantifierExpression that represents the Any operation. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - An that specifies the input set. - - - An that specifies logic to evaluate once for each member of the input set. - - input or apply is null. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set have an apply column value of null. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of OuterApply. - - - An that specifies the input set. - - - An that specifies logic to evaluate once for each member of the input set. - - input or apply is null. - - - - Creates a new that unconditionally joins the sets specified by the list of input expression bindings. - - - A new DbCrossJoinExpression, with an of CrossJoin, that represents the unconditional join of the input sets. - - A list of expression bindings that specifies the input sets. - inputs is null or contains null element. - inputs contains fewer than 2 expression bindings. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using LeftOuterJoin as the - - . - - - A new DbJoinExpression, with an of LeftOuterJoin, that represents the left outer join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using FullOuterJoin as the - - . - - - A new DbJoinExpression, with an of FullOuterJoin, that represents the full outer join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that filters the elements in the given input set using the specified predicate. - - A new DbFilterExpression that produces the filtered set. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - predicate does not have a Boolean result type. - - - - Creates a new that groups the elements of the input set according to the specified group keys and applies the given aggregates. - - A new DbGroupByExpression with the specified input set, grouping keys and aggregates. - - A that specifies the input set. - - A list of string-expression pairs that define the grouping columns. - A list of expressions that specify aggregates to apply. - input, keys or aggregates is null, keys contains a null column key or expression, or aggregates contains a null aggregate column name or aggregate. - Both keys and aggregates are empty, or an invalid or duplicate column name was specified. - - - - Creates a new that projects the specified expression over the given input set. - - A new DbProjectExpression that represents the projection operation. - An expression binding that specifies the input set. - An expression to project over the set. - input or projection is null. - - - - Creates a new that sorts the given input set by the given sort specifications before skipping the specified number of elements. - - A new DbSkipExpression that represents the skip operation. - An expression binding that specifies the input set. - A list of sort specifications that determine how the elements of the input set should be sorted. - An expression the specifies how many elements of the ordered set to skip. - input, sortOrder or count is null, or sortOrder contains null. - - sortOrder is empty, or count is not or - - or has a result type that is not equal or promotable to a 64-bit integer type. - - - - - Creates a new that sorts the given input set by the specified sort specifications. - - A new DbSortExpression that represents the sort operation. - An expression binding that specifies the input set. - A list of sort specifications that determine how the elements of the input set should be sorted. - input or sortOrder is null, or sortOrder contains null. - sortOrder is empty. - - - - Creates a new , which represents a typed null value. - - An instance of DbNullExpression. - The type of the null value. - nullType is null. - - - - Gets a with the Boolean value true. - - - A with the Boolean value true. - - - - - Gets a with the Boolean value false. - - - A with the Boolean value false. - - - - - Creates a new with the given constant value. - - A new DbConstantExpression with the given value. - The constant value to represent. - value is null. - value is not an instance of a valid constant type. - - - - Creates a new of the specified primitive type with the given constant value. - - A new DbConstantExpression with the given value and a result type of constantType. - The type of the constant value. - The constant value to represent. - value or constantType is null. - value is not an instance of a valid constant type, constantType does not represent a primitive type, or value is of a different primitive type than that represented by constantType. - - - - Creates a new that references a parameter with the specified name and type. - - A DbParameterReferenceExpression that represents a reference to a parameter with the specified name and type. The result type of the expression will be the same as type. - The type of the referenced parameter. - The name of the referenced parameter. - - - - Creates a new that references a variable with the specified name and type. - - A DbVariableReferenceExpression that represents a reference to a variable with the specified name and type. The result type of the expression will be the same as type. - The type of the referenced variable. - The name of the referenced variable. - - - - Creates a new that references the specified entity or relationship set. - - A new DbScanExpression based on the specified entity or relationship set. - Metadata for the entity or relationship set to reference. - targetSet is null. - - - - Creates an that performs the logical And of the left and right arguments. - - A new DbAndExpression with the specified arguments. - A Boolean expression that specifies the left argument. - A Boolean expression that specifies the right argument. - left or right is null. - left and right does not have a Boolean result type. - - - - Creates an that performs the logical Or of the left and right arguments. - - A new DbOrExpression with the specified arguments. - A Boolean expression that specifies the left argument. - A Boolean expression that specifies the right argument. - left or right is null. - left or right does not have a Boolean result type. - - - - Creates a that matches the result of the specified - expression with the results of the constant expressions in the specified list. - - A DbExpression to be matched. - A list of DbConstantExpression to test for a match. - - A new DbInExpression with the specified arguments. - - - - or - - is null. - - - The result type of - - is different than the result type of an expression from - . - - - - - Creates a that performs the logical negation of the given argument. - - A new DbNotExpression with the specified argument. - A Boolean expression that specifies the argument. - argument is null. - argument does not have a Boolean result type. - - - - Creates a new that divides the left argument by the right argument. - - A new DbArithmeticExpression representing the division operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left or right. - - - - Creates a new that subtracts the right argument from the left argument. - - A new DbArithmeticExpression representing the subtraction operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that computes the remainder of the left argument divided by the right argument. - - A new DbArithmeticExpression representing the modulo operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that multiplies the left argument by the right argument. - - A new DbArithmeticExpression representing the multiplication operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that adds the left argument to the right argument. - - A new DbArithmeticExpression representing the addition operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that negates the value of the argument. - - A new DbArithmeticExpression representing the negation operation. - An expression that specifies the argument. - argument is null. - No numeric result type exists for argument. - - - - Creates a new that negates the value of the argument. - - A new DbArithmeticExpression representing the negation operation. - An expression that specifies the argument. - argument is null. - No numeric result type exists for argument. - - - - Creates a new that compares the left and right arguments for equality. - - A new DbComparisonExpression representing the equality comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common equality-comparable result type exists between left and right. - - - - Creates a new that compares the left and right arguments for inequality. - - A new DbComparisonExpression representing the inequality comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common equality-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is greater than the right argument. - - A new DbComparisonExpression representing the greater-than comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is less than the right argument. - - A new DbComparisonExpression representing the less-than comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is greater than or equal to the right argument. - - A new DbComparisonExpression representing the greater-than-or-equal-to comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is less than or equal to the right argument. - - A new DbComparisonExpression representing the less-than-or-equal-to comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common result type that is both equality- and order-comparable exists between left and right. - - - - Creates a new that determines whether the specified argument is null. - - A new DbIsNullExpression with the specified argument. - An expression that specifies the argument. - argument is null. - argument has a collection result type. - - - - Creates a new that compares the specified input string to the given pattern. - - A new DbLikeExpression with the specified input, pattern and a null escape. - An expression that specifies the input string. - An expression that specifies the pattern string. - Argument or pattern is null. - Argument or pattern does not have a string result type. - - - - Creates a new that compares the specified input string to the given pattern using the optional escape. - - A new DbLikeExpression with the specified input, pattern and escape. - An expression that specifies the input string. - An expression that specifies the pattern string. - An optional expression that specifies the escape string. - argument, pattern or escape is null. - argument, pattern or escape does not have a string result type. - - - - Creates a new that applies a cast operation to a polymorphic argument. - - A new DbCastExpression with the specified argument and target type. - The argument to which the cast should be applied. - Type metadata that specifies the type to cast to. - Argument or toType is null. - The specified cast is not valid. - - - - Creates a new . - - A new DbTreatExpression with the specified argument and type. - An expression that specifies the instance. - Type metadata for the treat-as type. - argument or treatType is null. - treatType is not in the same type hierarchy as the result type of argument. - - - - Creates a new that produces a set consisting of the elements of the given input set that are of the specified type. - - - A new DbOfTypeExpression with the specified set argument and type, and an ExpressionKind of - - . - - - A that specifies the input set. - - Type metadata for the type that elements of the input set must have to be included in the resulting set. - argument or type is null. - argument does not have a collection result type, or type is not a type in the same type hierarchy as the element type of the collection result type of argument. - - - - Creates a new that produces a set consisting of the elements of the given input set that are of exactly the specified type. - - - A new DbOfTypeExpression with the specified set argument and type, and an ExpressionKind of - - . - - - An that specifies the input set. - - Type metadata for the type that elements of the input set must match exactly to be included in the resulting set. - argument or type is null. - argument does not have a collection result type, or type is not a type in the same type hierarchy as the element type of the collection result type of argument. - - - - Creates a new that determines whether the given argument is of the specified type or a subtype. - - A new DbIsOfExpression with the specified instance and type and DbExpressionKind IsOf. - An expression that specifies the instance. - Type metadata that specifies the type that the instance's result type should be compared to. - argument or type is null. - type is not in the same type hierarchy as the result type of argument. - - - - Creates a new expression that determines whether the given argument is of the specified type, and only that type (not a subtype). - - A new DbIsOfExpression with the specified instance and type and DbExpressionKind IsOfOnly. - An expression that specifies the instance. - Type metadata that specifies the type that the instance's result type should be compared to. - argument or type is null. - type is not in the same type hierarchy as the result type of argument. - - - - Creates a new that retrieves a specific Entity given a reference expression. - - A new DbDerefExpression that retrieves the specified Entity. - - An that provides the reference. This expression must have a reference Type. - - argument is null. - argument does not have a reference result type. - - - - Creates a new that retrieves the ref of the specified entity in structural form. - - A new DbEntityRefExpression that retrieves a reference to the specified entity. - The expression that provides the entity. This expression must have an entity result type. - argument is null. - argument does not have an entity result type. - - - - Creates a new that encodes a reference to a specific entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet is null, or keyValues is null or contains null. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet is null, or keyValues is null or contains null. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity of a given type based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - The specific type of the referenced entity. This must be an entity type from the same hierarchy as the entity set's element type. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet or entityType is null, or keyValues is null or contains null. - entityType is not from the same type hierarchy (a subtype, supertype, or the same type) as entitySet's element type. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity of a given type based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - The specific type of the referenced entity. This must be an entity type from the same hierarchy as the entity set's element type. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet or entityType is null, or keyValues is null or contains null. - entityType is not from the same type hierarchy (a subtype, supertype, or the same type) as entitySet's element type. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific Entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given Entity set. - The Entity set in which the referenced element resides. - - A that constructs a record with columns that match (in number, type, and order) the Key properties of the referenced Entity type. - - entitySet or keyRow is null. - keyRow does not have a record result type that matches the key properties of the referenced entity set's entity type. - - - - Creates a new that encodes a reference to a specific Entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given Entity set. - The Entity set in which the referenced element resides. - - A that constructs a record with columns that match (in number, type, and order) the Key properties of the referenced Entity type. - - The type of the Entity that the reference should refer to. - entitySet, keyRow or entityType is null. - entityType is not in the same type hierarchy as the entity set's entity type, or keyRow does not have a record result type that matches the key properties of the referenced entity set's entity type. - - - - Creates a new that retrieves the key values of the specified reference in structural form. - - A new DbRefKeyExpression that retrieves the key values of the specified reference. - The expression that provides the reference. This expression must have a reference Type with an Entity element type. - argument is null. - argument does not have a reference result type. - - - - Creates a new representing the navigation of a composition or association relationship. - - A new DbRelationshipNavigationExpression representing the navigation of the specified from and to relation ends of the specified relation type from the specified navigation source instance. - An expression that specifies the instance from which navigation should occur. - Metadata for the property that represents the end of the relationship from which navigation should occur. - Metadata for the property that represents the end of the relationship to which navigation should occur. - fromEnd, toEnd or navigateFrom is null. - fromEnd and toEnd are not declared by the same relationship type, or navigateFrom has a result type that is not compatible with the property type of fromEnd. - - - - Creates a new representing the navigation of a composition or association relationship. - - A new DbRelationshipNavigationExpression representing the navigation of the specified from and to relation ends of the specified relation type from the specified navigation source instance. - Metadata for the relation type that represents the relationship. - The name of the property of the relation type that represents the end of the relationship from which navigation should occur. - The name of the property of the relation type that represents the end of the relationship to which navigation should occur. - An expression the specifies the instance from which navigation should occur. - type, fromEndName, toEndName or navigateFrom is null. - type is not associated with this command tree's metadata workspace or navigateFrom is associated with a different command tree, or type does not declare a relation end property with name toEndName or fromEndName, or navigateFrom has a result type that is not compatible with the property type of the relation end property with name fromEndName. - - - - Creates a new that removes duplicates from the given set argument. - - A new DbDistinctExpression that represents the distinct operation applied to the specified set argument. - An expression that defines the set over which to perform the distinct operation. - argument is null. - argument does not have a collection result type. - - - - Creates a new that converts a set into a singleton. - - A DbElementExpression that represents the conversion of the set argument to a singleton. - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that determines whether the specified set argument is an empty set. - - A new DbIsEmptyExpression with the specified argument. - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that computes the subtraction of the right set argument from the left set argument. - - A new DbExceptExpression that represents the difference of the left argument from the right argument. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type exists between left and right. - - - - Creates a new that computes the intersection of the left and right set arguments. - - A new DbIntersectExpression that represents the intersection of the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type exists between left or right. - - - - Creates a new that computes the union of the left and right set arguments and does not remove duplicates. - - A new DbUnionAllExpression that union, including duplicates, of the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type with an equality-comparable element type exists between left and right. - - - - Creates a new that restricts the number of elements in the Argument collection to the specified count Limit value. Tied results are not included in the output. - - A new DbLimitExpression with the specified argument and count limit values that does not include tied results. - An expression that specifies the input collection. - An expression that specifies the limit value. - argument or count is null. - argument does not have a collection result type, or count does not have a result type that is equal or promotable to a 64-bit integer type. - - - - Creates a new . - - A new DbCaseExpression with the specified cases and default result. - A list of expressions that provide the conditional for of each case. - A list of expressions that provide the result of each case. - An expression that defines the result when no case is matched. - whenExpressions or thenExpressions is null or contains null, or elseExpression is null. - whenExpressions or thenExpressions is empty or whenExpressions contains an expression with a non-Boolean result type, or no common result type exists for all expressions in thenExpressions and elseExpression. - - - - Creates a new representing the invocation of the specified function with the given arguments. - - A new DbFunctionExpression representing the function invocation. - Metadata for the function to invoke. - A list of expressions that provide the arguments to the function. - function is null, or arguments is null or contains null. - The count of arguments does not equal the number of parameters declared by function, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding function parameter type. - - - - Creates a new representing the invocation of the specified function with the given arguments. - - A new DbFunctionExpression representing the function invocation. - Metadata for the function to invoke. - Expressions that provide the arguments to the function. - function is null, or arguments is null or contains null. - The count of arguments does not equal the number of parameters declared by function, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding function parameter type. - - - - Creates a new representing the application of the specified Lambda function to the given arguments. - - A new Expression representing the Lambda function application. - - A instance representing the Lambda function to apply. - - A list of expressions that provide the arguments. - lambda or arguments is null. - The count of arguments does not equal the number of variables declared by lambda, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding variable type. - - - - Creates a new representing the application of the specified Lambda function to the given arguments. - - A new expression representing the Lambda function application. - - A instance representing the Lambda function to apply. - - Expressions that provide the arguments. - lambda or arguments is null. - The count of arguments does not equal the number of variables declared by lambda, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding variable type. - - - - Creates a new . If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance. - - A new DbNewInstanceExpression with the specified type and arguments. - The type of the new instance. - Expressions that specify values of the new instances, interpreted according to the instance's type. - instanceType or arguments is null, or arguments contains null. - arguments is empty or the result types of the contained expressions do not match the requirements of instanceType (as explained in the remarks section). - - - - Creates a new . If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance. - - A new DbNewInstanceExpression with the specified type and arguments. - The type of the new instance. - Expressions that specify values of the new instances, interpreted according to the instance's type. - instanceType or arguments is null, or arguments contains null. - arguments is empty or the result types of the contained expressions do not match the requirements of instanceType (as explained in the remarks section). - - - - Creates a new that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown. - - A new DbNewInstanceExpression with the specified collection type and arguments. - A list of expressions that provide the elements of the collection. - elements is null, or contains null. - elements is empty or contains expressions for which no common result type exists. - - - - Creates a new that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown. - - A new DbNewInstanceExpression with the specified collection type and arguments. - A list of expressions that provide the elements of the collection. - elements is null, or contains null.. - elements is empty or contains expressions for which no common result type exists. - - - - Creates a new that constructs an empty collection of the specified collection type. - - A new DbNewInstanceExpression with the specified collection type and an empty Arguments list. - The type metadata for the collection to create - collectionType is null. - collectionType is not a collection type. - - - - Creates a new that produces a row with the specified named columns and the given values, specified as expressions. - - A new DbNewInstanceExpression that represents the construction of the row. - A list of string-DbExpression key-value pairs that defines the structure and values of the row. - columnValues is null or contains an element with a null column name or expression. - columnValues is empty, or contains a duplicate or invalid column name. - - - - Creates a new representing the retrieval of the specified property. - - A new DbPropertyExpression representing the property retrieval. - The instance from which to retrieve the property. May be null if the property is static. - Metadata for the property to retrieve. - propertyMetadata is null or instance is null and the property is not static. - - - - Creates a new representing the retrieval of the specified navigation property. - - A new DbPropertyExpression representing the navigation property retrieval. - The instance from which to retrieve the navigation property. - Metadata for the navigation property to retrieve. - navigationProperty or instance is null. - - - - Creates a new representing the retrieval of the specified relationship end member. - - A new DbPropertyExpression representing the relationship end member retrieval. - The instance from which to retrieve the relationship end member. - Metadata for the relationship end member to retrieve. - relationshipEnd is null or instance is null and the property is not static. - - - - Creates a new representing the retrieval of the instance property with the specified name from the given instance. - - A new DbPropertyExpression that represents the property retrieval. - The instance from which to retrieve the property. - The name of the property to retrieve. - propertyName is null or instance is null and the property is not static. - No property with the specified name is declared by the type of instance. - - - - Creates a new representing setting a property to a value. - - The property to be set. - The value to set the property to. - The newly created set clause. - - - - Creates a new that determines whether the given predicate holds for all elements of the input set. - - A new DbQuantifierExpression that represents the All operation. - An expression that specifies the input set. - A method representing a predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - source does not have a collection result type. - The expression produced by Predicate does not have a Boolean result type. - - - - Creates a new that determines whether the specified set argument is non-empty. - - - A new applied to a new - - with the specified argument. - - An expression that specifies the input set. - source is null. - source does not have a collection result type. - - - - Creates a new that determines whether the specified set argument is non-empty. - - - A new applied to a new - - with the specified argument. - - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that determines whether the given predicate holds for any element of the input set. - - A new DbQuantifierExpression that represents the Any operation. - An expression that specifies the input set. - A method representing the predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - source does not have a collection result type. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that specifies the logic to evaluate once for each member of the input set. - source or apply is null. - source does not have a collection result type. - The result of apply contains a name or expression that is null. - The result of apply contains a name or expression that is not valid in an expression binding. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set have an apply column value of null. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of OuterApply. - - - A that specifies the input set. - - A method that specifies the logic to evaluate once for each member of the input set. - source or apply is null. - Source does not have a collection result type. - The result of apply contains a name or expression that is null. - The result of apply contains a name or expression that is not valid in an expression binding. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using FullOuterJoin as the - - . - - - A new DbJoinExpression, with an of FullOuterJoin, that represents the full outer join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using LeftOuterJoin as the - - . - - - A new DbJoinExpression, with an of LeftOuterJoin, that represents the left outer join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the outer and inner expressions, on an equality condition between the specified outer and inner keys, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under a join condition that compares the outer and inner key values for equality. - - - A that specifies the outer set argument. - - - A that specifies the inner set argument. - - A method that specifies how the outer key value should be derived from an element of the outer set. - A method that specifies how the inner key value should be derived from an element of the inner set. - outer, inner, outerKey or innerKey is null. - outer or inner does not have a collection result type. - The expression produced by outerKey or innerKey is null. - The expressions produced by outerKey and innerKey are not comparable for equality. - - - - Creates a new that projects the specified selector over the sets specified by the outer and inner expressions, joined on an equality condition between the specified outer and inner keys, using InnerJoin as the - - . - - - A new DbProjectExpression with the specified selector as its projection, and a new DbJoinExpression as its input. The input DbJoinExpression is created with an - - of InnerJoin, that represents the inner join operation applied to the left and right input sets under a join condition that compares the outer and inner key values for equality. - - - A that specifies the outer set argument. - - - A that specifies the inner set argument. - - A method that specifies how the outer key value should be derived from an element of the outer set. - A method that specifies how the inner key value should be derived from an element of the inner set. - - A method that specifies how an element of the result set should be derived from elements of the inner and outer sets. This method must produce an instance of a type that is compatible with Join and can be resolved into a - - . Compatibility requirements for TSelector are described in remarks. - - The type of the selector . - outer, inner, outerKey, innerKey or selector is null. - outer or inner does not have a collection result type. - The expression produced by outerKey or innerKey is null. - The result of selector is null after conversion to DbExpression. - The expressions produced by outerKey and innerKey is not comparable for equality. - The result of Selector is not compatible with SelectMany. - - - - Creates a new that sorts the given input set by the specified sort key, with ascending sort order and default collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that sorts the given input set by the specified sort key, with ascending sort order and the specified collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that sorts the given input set by the specified sort key, with descending sort order and default collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that sorts the given input set by the specified sort key, with descending sort order and the specified collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that selects the specified expression over the given input set. - - A new DbProjectExpression that represents the select operation. - An expression that specifies the input set. - - A method that specifies how to derive the projected expression given a member of the input set. This method must produce an instance of a type that is compatible with Select and can be resolved into a - - . Compatibility requirements for TProjection are described in remarks. - - The method result type of projection. - source or projection is null. - The result of projection is null. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. A - - is then created that selects the apply column from each row, producing the overall collection of apply results. - - - An new DbProjectExpression that selects the apply column from a new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that represents the logic to evaluate once for each member of the input set. - source or apply is null. - The expression produced by apply is null. - source does not have a collection result type. - The expression produced by apply does not have a collection type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. A - - is then created that selects the specified selector over each row, producing the overall collection of results. - - - An new DbProjectExpression that selects the result of the given selector from a new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that represents the logic to evaluate once for each member of the input set. - - A method that specifies how an element of the result set should be derived given an element of the input and apply sets. This method must produce an instance of a type that is compatible with SelectMany and can be resolved into a - - . Compatibility requirements for TSelector are described in remarks. - - The method result type of selector. - source, apply or selector is null. - The expression produced by apply is null. - The result of selector is null on conversion to DbExpression. - source does not have a collection result type. - The expression produced by apply does not have a collection type. does not have a collection type. - - - - Creates a new that skips the specified number of elements from the given sorted input set. - - A new DbSkipExpression that represents the skip operation. - - A that specifies the sorted input set. - - An expression the specifies how many elements of the ordered set to skip. - argument or count is null. - - count is not or - - or has a result type that is not equal or promotable to a 64-bit integer type. - - - - - Creates a new that restricts the number of elements in the Argument collection to the specified count Limit value. Tied results are not included in the output. - - A new DbLimitExpression with the specified argument and count limit values that does not include tied results. - An expression that specifies the input collection. - An expression that specifies the limit value. - argument or count is null. - argument does not have a collection result type, count does not have a result type that is equal or promotable to a 64-bit integer type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in ascending sort order and with default collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - sortKey does not have an order-comparable result type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in ascending sort order and with the specified collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in descending sort order and with default collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in descending sort order and with the specified collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that filters the elements in the given input set using the specified predicate. - - A new DbQuantifierExpression that represents the Any operation. - An expression that specifies the input set. - A method representing the predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that computes the union of the left and right set arguments with duplicates removed. - - A new DbExpression that computes the union, without duplicates, of the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type with an equality-comparable element type exists between left and right. - - - - Provides an API to construct s that invoke canonical EDM functions, and allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'Avg' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the average value. - An expression that specifies the collection from which the average value should be computed. - - - - Creates a that invokes the canonical 'Count' function over the specified collection. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that produces the count value. - An expression that specifies the collection over which the count value should be computed. - - - - Creates a that invokes the canonical 'BigCount' function over the specified collection. The result type of the expression is Edm.Int64. - - A new DbFunctionExpression that produces the count value. - An expression that specifies the collection over which the count value should be computed. - - - - Creates a that invokes the canonical 'Max' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the maximum value. - An expression that specifies the collection from which the maximum value should be retrieved - - - - Creates a that invokes the canonical 'Min' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the minimum value. - An expression that specifies the collection from which the minimum value should be retrieved. - - - - Creates a that invokes the canonical 'Sum' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the sum. - An expression that specifies the collection from which the sum should be computed. - - - - Creates a that invokes the canonical 'StDev' function over the non-null members of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the standard deviation value over non-null members of the collection. - An expression that specifies the collection for which the standard deviation should be computed. - - - - Creates a that invokes the canonical 'StDevP' function over the population of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the standard deviation value. - An expression that specifies the collection for which the standard deviation should be computed. - - - - Creates a that invokes the canonical 'Var' function over the non-null members of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the statistical variance value for the non-null members of the collection. - An expression that specifies the collection for which the statistical variance should be computed. - - - - Creates a that invokes the canonical 'VarP' function over the population of the specified collection. The result type of the expression Edm.Double. - - A new DbFunctionExpression that produces the statistical variance value. - An expression that specifies the collection for which the statistical variance should be computed. - - - - Creates a that invokes the canonical 'Concat' function with the specified arguments, which must each have a string result type. The result type of the expression is string. - - A new DbFunctionExpression that produces the concatenated string. - An expression that specifies the string that should appear first in the concatenated result string. - An expression that specifies the string that should appear second in the concatenated result string. - - - - Creates a that invokes the canonical 'Contains' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not searchedForString occurs within searchedString. - An expression that specifies the string to search for any occurrence of searchedForString. - An expression that specifies the string to search for in searchedString. - - - - Creates a that invokes the canonical 'EndsWith' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not stringArgument ends with suffix. - An expression that specifies the string that is searched at the end for string suffix. - An expression that specifies the target string that is searched for at the end of stringArgument. - - - - Creates a that invokes the canonical 'IndexOf' function with the specified arguments, which must each have a string result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the first index of stringToFind in searchString. - An expression that specifies the string to search for stringToFind. - An expression that specifies the string to locate within searchString should be checked. - - - - Creates a that invokes the canonical 'Left' function with the specified arguments, which must have a string and integer numeric result type. The result type of the expression is string. - - A new DbFunctionExpression that returns the leftmost substring of length from stringArgument. - An expression that specifies the string from which to extract the leftmost substring. - An expression that specifies the length of the leftmost substring to extract from stringArgument. - - - - Creates a that invokes the canonical 'Length' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the length of stringArgument. - An expression that specifies the string for which the length should be computed. - - - - Creates a that invokes the canonical 'Replace' function with the specified arguments, which must each have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression than returns a new string based on stringArgument where every occurrence of toReplace is replaced by replacement. - An expression that specifies the string in which to perform the replacement operation. - An expression that specifies the string that is replaced. - An expression that specifies the replacement string. - - - - Creates a that invokes the canonical 'Reverse' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that produces the reversed value of stringArgument. - An expression that specifies the string to reverse. - - - - Creates a that invokes the canonical 'Right' function with the specified arguments, which must have a string and integer numeric result type. The result type of the expression is string. - - A new DbFunctionExpression that returns the rightmost substring of length from stringArgument. - An expression that specifies the string from which to extract the rightmost substring. - An expression that specifies the length of the rightmost substring to extract from stringArgument. - - - - Creates a that invokes the canonical 'StartsWith' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not stringArgument starts with prefix. - An expression that specifies the string that is searched at the start for string prefix. - An expression that specifies the target string that is searched for at the start of stringArgument. - - - - Creates a that invokes the canonical 'Substring' function with the specified arguments, which must have a string and integer numeric result types. The result type of the expression is string. - - A new DbFunctionExpression that returns the substring of length from stringArgument starting at start. - An expression that specifies the string from which to extract the substring. - An expression that specifies the starting index from which the substring should be taken. - An expression that specifies the length of the substring. - - - - Creates a that invokes the canonical 'ToLower' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument converted to lower case. - An expression that specifies the string that should be converted to lower case. - - - - Creates a that invokes the canonical 'ToUpper' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument converted to upper case. - An expression that specifies the string that should be converted to upper case. - - - - Creates a that invokes the canonical 'Trim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with leading and trailing space removed. - An expression that specifies the string from which leading and trailing space should be removed. - - - - Creates a that invokes the canonical 'RTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with trailing space removed. - An expression that specifies the string from which trailing space should be removed. - - - - Creates a that invokes the canonical 'LTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with leading space removed. - An expression that specifies the string from which leading space should be removed. - - - - Creates a that invokes the canonical 'Year' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer year value from dateValue. - An expression that specifies the value from which the year should be retrieved. - - - - Creates a that invokes the canonical 'Month' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer month value from dateValue. - An expression that specifies the value from which the month should be retrieved. - - - - Creates a that invokes the canonical 'Day' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer day value from dateValue. - An expression that specifies the value from which the day should be retrieved. - - - - Creates a that invokes the canonical 'DayOfYear' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer day of year value from dateValue. - An expression that specifies the value from which the day within the year should be retrieved. - - - - Creates a that invokes the canonical 'Hour' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer hour value from timeValue. - An expression that specifies the value from which the hour should be retrieved. - - - - Creates a that invokes the canonical 'Minute' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer minute value from timeValue. - An expression that specifies the value from which the minute should be retrieved. - - - - Creates a that invokes the canonical 'Second' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer second value from timeValue. - An expression that specifies the value from which the second should be retrieved. - - - - Creates a that invokes the canonical 'Millisecond' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer millisecond value from timeValue. - An expression that specifies the value from which the millisecond should be retrieved. - - - - Creates a that invokes the canonical 'GetTotalOffsetMinutes' function with the specified argument, which must have a DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of minutes dateTimeOffsetArgument is offset from GMT. - An expression that specifies the DateTimeOffset value from which the minute offset from GMT should be retrieved. - - - - Creates a that gets local DateTime using CAST expressions from specified argument, which must have a DateTimeOffset result type. The result type of the expression is DateTime. - - A new DbFunctionExpression that casts DATETIMEOFFSET to DATETIME2, discarding offset part - An expression that specifies the DateTimeOffset value. - - - - Creates a that gets UTC DateTime using CAST expressions from specified argument, which must have a DateTimeOffset result type. The result type of the expression is DateTime. - - A new DbFunctionExpression that casts DATETIMEOFFSET to Utc DATETIME2 - An expression that specifies the DateTimeOffset value. - - - - Creates a that invokes the canonical 'CurrentDateTime' function. - - A new DbFunctionExpression that returns the current date and time as an Edm.DateTime instance. - - - - Creates a that invokes the canonical 'CurrentDateTimeOffset' function. - - A new DbFunctionExpression that returns the current date and time as an Edm.DateTimeOffset instance. - - - - Creates a that invokes the canonical 'CurrentUtcDateTime' function. - - A new DbFunctionExpression that returns the current UTC date and time as an Edm.DateTime instance. - - - - Creates a that invokes the canonical 'TruncateTime' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that returns the value of dateValue with time set to zero. - An expression that specifies the value for which the time portion should be truncated. - - - - Creates a that invokes the canonical 'CreateDateTime' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.DateTime. - - A new DbFunctionExpression that returns a new DateTime based on the specified values. - An expression that provides the year value for the new DateTime instance. - An expression that provides the month value for the new DateTime instance. - An expression that provides the day value for the new DateTime instance. - An expression that provides the hour value for the new DateTime instance. - An expression that provides the minute value for the new DateTime instance. - An expression that provides the second value for the new DateTime instance. - - - - Creates a that invokes the canonical 'CreateDateTimeOffset' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.DateTimeOffset. - - A new DbFunctionExpression that returns a new DateTimeOffset based on the specified values. - An expression that provides the year value for the new DateTimeOffset instance. - An expression that provides the month value for the new DateTimeOffset instance. - An expression that provides the day value for the new DateTimeOffset instance. - An expression that provides the hour value for the new DateTimeOffset instance. - An expression that provides the minute value for the new DateTimeOffset instance. - An expression that provides the second value for the new DateTimeOffset instance. - An expression that provides the number of minutes in the time zone offset value for the new DateTimeOffset instance. - - - - Creates a that invokes the canonical 'CreateTime' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.Time. - - A new DbFunctionExpression that returns a new Time based on the specified values. - An expression that provides the hour value for the new DateTime instance. - An expression that provides the minute value for the new DateTime instance. - An expression that provides the second value for the new DateTime instance. - - - - Creates a that invokes the canonical 'AddYears' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of years specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of years to add to dateValue. - - - - Creates a that invokes the canonical 'AddMonths' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of months specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of months to add to dateValue. - - - - Creates a that invokes the canonical 'AddDays' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of days specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of days to add to dateValue. - - - - Creates a that invokes the canonical 'AddHours' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of hours specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of hours to add to timeValue. - - - - Creates a that invokes the canonical 'AddMinutes' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of minutes specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of minutes to add to timeValue. - - - - Creates a that invokes the canonical 'AddSeconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of seconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of seconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddMilliseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of milliseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of milliseconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddMicroseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of microseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of microseconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddNanoseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of nanoseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of nanoseconds to add to timeValue. - - - - Creates a that invokes the canonical 'DiffYears' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of years that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffMonths' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of months that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffDays' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of days that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffHours' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of hours that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMinutes' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of minutes that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffSeconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of seconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMilliseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of milliseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMicroseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of microseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffNanoseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of nanoseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'Round' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that rounds the specified argument to the nearest integer value. - An expression that specifies the numeric value to round. - - - - Creates a that invokes the canonical 'Round' function with the specified arguments, which must have a single, double or decimal, and integer result types. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that rounds the specified argument to the nearest integer value, with precision as specified by digits. - An expression that specifies the numeric value to round. - An expression that specifies the number of digits of precision to use when rounding. - - - - Creates a that invokes the canonical 'Floor' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the largest integer value not greater than value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Ceiling' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the smallest integer value not less than the value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Abs' function with the specified argument, which must each have a numeric result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the absolute value of value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Truncate' function with the specified arguments, which must have a single, double or decimal, and integer result types. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that truncates the specified argument to the nearest integer value, with precision as specified by digits. - An expression that specifies the numeric value to truncate. - An expression that specifies the number of digits of precision to use when truncating. - - - - Creates a that invokes the canonical 'Power' function with the specified arguments, which must have numeric result types. The result type of the expression is the same as the result type of baseArgument. - - A new DbFunctionExpression that returns the value of baseArgument raised to the power specified by exponent. - An expression that specifies the numeric value to raise to the given power. - An expression that specifies the power to which baseArgument should be raised. - - - - Creates a that invokes the canonical 'BitwiseAnd' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise AND of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'BitwiseOr' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise OR of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'BitwiseNot' function with the specified argument, which must have an integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise NOT of value. - An expression that specifies the first operand. - - - - Creates a that invokes the canonical 'BitwiseXor' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise XOR (exclusive OR) of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'NewGuid' function. - - A new DbFunctionExpression that returns a new GUID value. - - - - Provides an API to construct s that invoke hierarchyid realted canonical EDM functions, and, where appropriate, allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'HierarchyIdParse' function with the - specified argument, which must have a string result type. - The result type of the expression is Edm.HierarchyId. - - An expression that provides the canonical representation of the hierarchyid value. - A new DbFunctionExpression that returns a new hierarchyid value based on the specified value. - - - is null. - - - No overload of the canonical 'HierarchyIdParse' function accept an argument with the result type of - - . - - - - - Creates a that invokes the canonical 'HierarchyIdGetRoot' function. - The result type of the expression is Edm.HierarchyId. - - A new DbFunctionExpression that returns a new root hierarchyid value. - - - - Creates a that invokes the canonical 'GetAncestor' function with the - specified argument, which must have an Int32 result type. - The result type of the expression is Edm.HierarchyId. - - An expression that specifies the hierarchyid value. - An expression that provides an integer value. - A new DbFunctionExpression that returns a hierarchyid. - - - or - - is null. - - - No overload of the canonical 'GetAncestor' function accept an argument with the result type of - - . - - - - - Creates a that invokes the canonical 'GetDescendant' function with the - specified argument, which must have a HierarchyId result type. - The result type of the expression is Edm.HierarchyId. - - An expression that specifies the hierarchyid value. - An expression that provides a hierarchyid value. - An expression that provides a hierarchyid value. - A new DbFunctionExpression that returns a hierarchyid. - - - or - - or - - is null. - - - No overload of the canonical 'GetDescendant' function accept an argument with the result type of - - and - - . - - - - - Creates a that invokes the canonical 'GetLevel' function. - The result type of the expression is Int32. - - An expression that specifies the hierarchyid value. - A new DbFunctionExpression that returns the level of the given hierarchyid. - - - is null. - - - - - Creates a that invokes the canonical 'IsDescendantOf' function with the - specified argument, which must have a HierarchyId result type. - The result type of the expression is Int32. - - An expression that specifies the hierarchyid value. - An expression that provides a hierarchyid value. - A new DbFunctionExpression that returns an integer value. - - - or - - is null. - - - No overload of the canonical 'IsDescendantOf' function accept an argument with the result type of - - . - - - - - Creates a that invokes the canonical 'GetReparentedValue' function with the - specified arguments, which must have a HierarchyId result type. - The result type of the expression is Edm.HierarchyId. - - An expression that specifies the hierarchyid value. - An expression that provides a hierarchyid value. - An expression that provides a hierarchyid value. - A new DbFunctionExpression that returns a hierarchyid. - - - or - - or - - is null. - - - No overload of the canonical 'GetReparentedValue' function accept an argument with the result type of - - and - - . - - - - - Provides a constructor-like means of calling - - . - - - - - Initializes a new instance of the class with the specified first column value and optional successive column values. - - A key-value pair that provides the first column in the new row instance. (required) - A key-value pairs that provide any subsequent columns in the new row instance. (optional) - - - - Creates a new that constructs a new row based on the columns contained in this Row instance. - - A new DbNewInstanceExpression that constructs a row with the same column names and DbExpression values as this Row instance. - - - - Converts the given Row instance into an instance of - - The Row instance. - A DbExpression based on the Row instance - - - is null. - - - - - - Provides an API to construct s that invoke spatial realted canonical EDM functions, and, where appropriate, allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'GeometryFromText' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geometry. Its value has the default coordinate system id (SRID) of the underlying provider. - - A new DbFunctionExpression that returns a new geometry value based on the specified value. - An expression that provides the well known text representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromText' function with the specified arguments. wellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the well known text representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPointFromText' function with the specified arguments. pointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry point value based on the specified values. - An expression that provides the well known text representation of the geometry point value. - An expression that provides the coordinate system id (SRID) of the geometry point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryLineFromText' function with the specified arguments. lineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry line value based on the specified values. - An expression that provides the well known text representation of the geometry line value. - An expression that provides the coordinate system id (SRID) of the geometry line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPolygonFromText' function with the specified arguments. polygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry polygon value based on the specified values. - An expression that provides the well known text representation of the geometry polygon value. - An expression that provides the coordinate system id (SRID) of the geometry polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPointFromText' function with the specified arguments. multiPointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-point value based on the specified values. - An expression that provides the well known text representation of the geometry multi-point value. - An expression that provides the coordinate system id (SRID) of the geometry multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiLineFromText' function with the specified arguments. multiLineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-line value based on the specified values. - An expression that provides the well known text representation of the geometry multi-line value. - An expression that provides the coordinate system id (SRID) of the geometry multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPolygonFromText' function with the specified arguments. multiPolygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-polygon value based on the specified values. - An expression that provides the well known text representation of the geometry multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geometry multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryCollectionFromText' function with the specified arguments. geometryCollectionWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry collection value based on the specified values. - An expression that provides the well known text representation of the geometry collection value. - An expression that provides the coordinate system id (SRID) of the geometry collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryFromBinary' function with the specified argument, which must have a binary result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified binary value. - An expression that provides the well known binary representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromBinary' function with the specified arguments. wellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the well known binary representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPointFromBinary' function with the specified arguments. pointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry point value based on the specified values. - An expression that provides the well known binary representation of the geometry point value. - An expression that provides the coordinate system id (SRID) of the geometry point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryLineFromBinary' function with the specified arguments. lineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry line value based on the specified values. - An expression that provides the well known binary representation of the geometry line value. - An expression that provides the coordinate system id (SRID) of the geometry line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPolygonFromBinary' function with the specified arguments. polygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry polygon value based on the specified values. - An expression that provides the well known binary representation of the geometry polygon value. - An expression that provides the coordinate system id (SRID) of the geometry polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPointFromBinary' function with the specified arguments. multiPointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-point value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-point value. - An expression that provides the coordinate system id (SRID) of the geometry multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiLineFromBinary' function with the specified arguments. multiLineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-line value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-line value. - An expression that provides the coordinate system id (SRID) of the geometry multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPolygonFromBinary' function with the specified arguments. multiPolygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-polygon value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geometry multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryCollectionFromBinary' function with the specified arguments. geometryCollectionWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry collection value based on the specified values. - An expression that provides the well known binary representation of the geometry collection value. - An expression that provides the coordinate system id (SRID) of the geometry collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified value with the default coordinate system id (SRID) of the underlying provider. - An expression that provides the Geography Markup Language (GML) representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromGml' function with the specified arguments. geometryMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the Geography Markup Language (GML) representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromText' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography. Its value has the default coordinate system id (SRID) of the underlying provider. - - A new DbFunctionExpression that returns a new geography value based on the specified value. - An expression that provides the well known text representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromText' function with the specified arguments. wellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the well known text representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPointFromText' function with the specified arguments. - - The canonical 'GeographyPointFromText' function. - An expression that provides the well-known text representation of the geography point value. - An expression that provides the coordinate system id (SRID) of the geography point value's coordinate systempointWellKnownTextValue. - - - - Creates a that invokes the canonical 'GeographyLineFromText' function with the specified arguments. lineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography line value based on the specified values. - An expression that provides the well known text representation of the geography line value. - An expression that provides the coordinate system id (SRID) of the geography line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPolygonFromText' function with the specified arguments. polygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography polygon value based on the specified values. - An expression that provides the well known text representation of the geography polygon value. - An expression that provides the coordinate system id (SRID) of the geography polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPointFromText' function with the specified arguments. multiPointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-point value based on the specified values. - An expression that provides the well known text representation of the geography multi-point value. - An expression that provides the coordinate system id (SRID) of the geography multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiLineFromText' function with the specified arguments. multiLineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-line value based on the specified values. - An expression that provides the well known text representation of the geography multi-line value. - An expression that provides the coordinate system id (SRID) of the geography multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPolygonFromText' function with the specified arguments. multiPolygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-polygon value based on the specified values. - An expression that provides the well known text representation of the geography multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geography multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyCollectionFromText' function with the specified arguments. geographyCollectionWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography collection value based on the specified values. - An expression that provides the well known text representation of the geography collection value. - An expression that provides the coordinate system id (SRID) of the geography collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromBinary' function with the specified argument, which must have a binary result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified binary value. - An expression that provides the well known binary representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromBinary' function with the specified arguments. wellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the well known binary representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPointFromBinary' function with the specified arguments. pointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography point value based on the specified values. - An expression that provides the well known binary representation of the geography point value. - An expression that provides the coordinate system id (SRID) of the geography point value's coordinate systempointWellKnownBinaryValue. - - - - Creates a that invokes the canonical 'GeographyLineFromBinary' function with the specified arguments. lineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography line value based on the specified values. - An expression that provides the well known binary representation of the geography line value. - An expression that provides the coordinate system id (SRID) of the geography line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPolygonFromBinary' function with the specified arguments. polygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography polygon value based on the specified values. - An expression that provides the well known binary representation of the geography polygon value. - An expression that provides the coordinate system id (SRID) of the geography polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPointFromBinary' function with the specified arguments. multiPointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-point value based on the specified values. - An expression that provides the well known binary representation of the geography multi-point value. - An expression that provides the coordinate system id (SRID) of the geography multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiLineFromBinary' function with the specified arguments. multiLineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-line value based on the specified values. - An expression that provides the well known binary representation of the geography multi-line value. - An expression that provides the coordinate system id (SRID) of the geography multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPolygonFromBinary' function with the specified arguments. multiPolygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-polygon value based on the specified values. - An expression that provides the well known binary representation of the geography multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geography multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyCollectionFromBinary' function with the specified arguments. geographyCollectionWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography collection value based on the specified values. - An expression that provides the well known binary representation of the geography collection value. - An expression that provides the coordinate system id (SRID) of the geography collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified value with the default coordinate system id (SRID) of the underlying provider. - An expression that provides the Geography Markup Language (GML) representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromGml' function with the specified arguments. geographyMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the Geography Markup Language (GML) representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'CoordinateSystemId' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer SRID value from spatialValue. - An expression that specifies the value from which the coordinate system id (SRID) should be retrieved. - - - - Creates a that invokes the canonical 'SpatialTypeName' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the string Geometry Type name from spatialValue. - An expression that specifies the value from which the Geometry Type name should be retrieved. - - - - Creates a that invokes the canonical 'SpatialDimension' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the Dimension value from spatialValue. - An expression that specifies the value from which the Dimension value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialEnvelope' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the minimum bounding box for geometryValue. - An expression that specifies the value from which the Envelope value should be retrieved. - - - - Creates a that invokes the canonical 'AsBinary' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Binary. - - A new DbFunctionExpression that returns the well known binary representation of spatialValue. - An expression that specifies the spatial value from which the well known binary representation should be produced. - - - - Creates a that invokes the canonical 'AsGml' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the Geography Markup Language (GML) representation of spatialValue. - An expression that specifies the spatial value from which the Geography Markup Language (GML) representation should be produced. - - - - Creates a that invokes the canonical 'AsText' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the well known text representation of spatialValue. - An expression that specifies the spatial value from which the well known text representation should be produced. - - - - Creates a that invokes the canonical 'IsEmptySpatial' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue is empty. - An expression that specifies the spatial value from which the IsEmptySpatial value should be retrieved. - - - - Creates a that invokes the canonical 'IsSimpleGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue is a simple geometry. - The geometry value. - - - - Creates a that invokes the canonical 'SpatialBoundary' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the boundary for geometryValue. - An expression that specifies the geometry value from which the SpatialBoundary value should be retrieved. - - - - Creates a that invokes the canonical 'IsValidGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue is valid. - An expression that specifies the geometry value which should be tested for spatial validity. - - - - Creates a that invokes the canonical 'SpatialEquals' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 are equal. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for equality. - - - - Creates a that invokes the canonical 'SpatialDisjoint' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 are spatially disjoint. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for disjointness. - - - - Creates a that invokes the canonical 'SpatialIntersects' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 intersect. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for intersection. - - - - Creates a that invokes the canonical 'SpatialTouches' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 touches geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialCrosses' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 crosses geometryValue2 intersect. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialWithin' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 is spatially within geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialContains' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 spatially contains geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialOverlaps' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 spatially overlaps geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialRelate' function with the specified arguments, which must have Edm.Geometry and string result types. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 is spatially related to geometryValue2 according to the spatial relationship designated by intersectionPatternMatrix. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - An expression that specifies the text representation of the Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern used to compare geometryValue1 and geometryValue2. - - - - Creates a that invokes the canonical 'SpatialBuffer' function with the specified arguments, which must have a Edm.Geography or Edm.Geometry and Edm.Double result types. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a geometry value representing all points less than or equal to distance from spatialValue. - An expression that specifies the spatial value. - An expression that specifies the buffer distance. - - - - Creates a that invokes the canonical 'Distance' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns the distance between the closest points in spatialValue1 and spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value from which the distance from spatialValue1 should be measured. - - - - Creates a that invokes the canonical 'SpatialConvexHull' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the convex hull for geometryValue. - An expression that specifies the geometry value from which the convex hull value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialIntersection' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the spatial value representing the intersection of spatialValue1 and spatialValue2. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the intersection with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialUnion' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the spatial value representing the union of spatialValue1 and spatialValue2. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the union with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialDifference' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the geometry value representing the difference of spatialValue2 with spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the difference with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialSymmetricDifference' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the geometry value representing the symmetric difference of spatialValue2 with spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the symmetric difference with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialElementCount' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of elements in spatialValue or null if spatialValue is not a collection. - An expression that specifies the geography or geometry collection value from which the number of elements should be retrieved. - - - - Creates a that invokes the canonical 'SpatialElementAt' function with the specified arguments. The first argument must have an Edm.Geography or Edm.Geometry result type. The second argument must have an integer numeric result type. The result type of the expression is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the collection element at position indexValue in spatialValue or null if spatialValue is not a collection. - An expression that specifies the geography or geometry collection value. - An expression that specifies the position of the element to be retrieved from within the geometry or geography collection. - - - - Creates a that invokes the canonical 'XCoordinate' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the X co-ordinate value of geometryValue or null if geometryValue is not a point. - An expression that specifies the geometry point value from which the X co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'YCoordinate' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Y co-ordinate value of geometryValue or null if geometryValue is not a point. - An expression that specifies the geometry point value from which the Y co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'Elevation' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the elevation value of spatialValue or null if spatialValue is not a point. - An expression that specifies the spatial point value from which the elevation (Z co-ordinate) value should be retrieved. - - - - Creates a that invokes the canonical 'Measure' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Measure of spatialValue or null if spatialValue is not a point. - An expression that specifies the spatial point value from which the Measure (M) co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'Latitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Latitude value of geographyValue or null if geographyValue is not a point. - An expression that specifies the geography point value from which the Latitude value should be retrieved. - - - - Creates a that invokes the canonical 'Longitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Longitude value of geographyValue or null if geographyValue is not a point. - An expression that specifies the geography point value from which the Longitude value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialLength' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the length of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the length should be retrieved. - - - - Creates a that invokes the canonical 'StartPoint' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the start point of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the start point should be retrieved. - - - - Creates a that invokes the canonical 'EndPoint' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the end point of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the end point should be retrieved. - - - - Creates a that invokes the canonical 'IsClosedSpatial' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is Edm.Boolean. - - A new DbFunctionExpression that returns either a Boolean value indicating whether spatialValue is closed, or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the IsClosedSpatial value should be retrieved. - - - - Creates a that invokes the canonical 'IsRing' function with the specified argument, which must have an Edm.Geometry result type. The result type is Edm.Boolean. - - A new DbFunctionExpression that returns either a Boolean value indicating whether geometryValue is a ring (both closed and simple), or null if geometryValue is not a curve. - An expression that specifies the geometry curve value from which the IsRing value should be retrieved. - - - - Creates a that invokes the canonical 'PointCount' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of points in spatialValue or null if spatialValue is not a line string. - An expression that specifies the spatial line string value from which the number of points should be retrieved. - - - - Creates a that invokes the canonical 'PointAt' function with the specified arguments. The first argument must have an Edm.Geography or Edm.Geometry result type. The second argument must have an integer numeric result type. The result type of the expression is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the point at position indexValue in spatialValue or null if spatialValue is not a line string. - An expression that specifies the spatial line string value. - An expression that specifies the position of the point to be retrieved from within the line string. - - - - Creates a that invokes the canonical 'Area' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the area of spatialValue or null if spatialValue is not a surface. - An expression that specifies the spatial surface value for which the area should be calculated. - - - - Creates a that invokes the canonical 'Centroid' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the centroid point of geometryValue (which may not be on the surface itself) or null if geometryValue is not a surface. - An expression that specifies the geometry surface value from which the centroid should be retrieved. - - - - Creates a that invokes the canonical 'PointOnSurface' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either a point guaranteed to be on the surface geometryValue or null if geometryValue is not a surface. - An expression that specifies the geometry surface value from which the point should be retrieved. - - - - Creates a that invokes the canonical 'ExteriorRing' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the exterior ring of the polygon geometryValue or null if geometryValue is not a polygon. - The geometry value. - - - - Creates a that invokes the canonical 'InteriorRingCount' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of interior rings in the polygon geometryValue or null if geometryValue is not a polygon. - The geometry value. - - - - Creates a that invokes the canonical 'InteriorRingAt' function with the specified arguments. The first argument must have an Edm.Geometry result type. The second argument must have an integer numeric result types. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the interior ring at position indexValue in geometryValue or null if geometryValue is not a polygon. - The geometry value. - An expression that specifies the position of the interior ring to be retrieved from within the polygon. - - - - Ensures that all metadata in a given expression tree is from the specified metadata workspace, - potentially rebinding and rebuilding the expressions to appropriate replacement metadata where necessary. - - - - Initializes a new instance of the class. - The target workspace. - - - Implements the visitor pattern for the entity set. - The implemented visitor pattern. - The entity set. - - - Implements the visitor pattern for the function. - The implemented visitor pattern. - The function metadata. - - - Implements the visitor pattern for the type. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the type usage. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for retrieving an instance property. - The implemented visitor. - The expression. - - - - DataRecordInfo class providing a simple way to access both the type information and the column information. - - - - - Initializes a new object for a specific type with an enumerable collection of data fields. - - - The metadata for the type represented by this object, supplied by - - . - - - An enumerable collection of objects that represent column information. - - - - - Gets for this - - object. - - - A object. - - - - - Gets type info for this object as a object. - - - A value. - - - - - A prepared command definition, can be cached and reused to avoid - repreparing a command. - - - - - Initializes a new instance of the class using the supplied - - . - - - The supplied . - - method used to clone the - - - - Initializes a new instance of the class. - - - - - Creates and returns a object that can be executed. - - The command for database. - - - - Metadata Interface for all CLR types - - - - - Value to pass to GetInformation to get the StoreSchemaDefinition - - - - - Value to pass to GetInformation to get the StoreSchemaMapping - - - - - Value to pass to GetInformation to get the ConceptualSchemaDefinition - - - - - Value to pass to GetInformation to get the StoreSchemaDefinitionVersion3 - - - - - Value to pass to GetInformation to get the StoreSchemaMappingVersion3 - - - - - Value to pass to GetInformation to get the ConceptualSchemaDefinitionVersion3 - - - - - Name of the MaxLength Facet - - - - - Name of the Unicode Facet - - - - - Name of the FixedLength Facet - - - - - Name of the Precision Facet - - - - - Name of the Scale Facet - - - - - Name of the Nullable Facet - - - - - Name of the DefaultValue Facet - - - - - Name of the Collation Facet - - - - - Name of the SRID Facet - - - - - Name of the IsStrict Facet - - - - Gets the namespace used by this provider manifest. - The namespace used by this provider manifest. - - - When overridden in a derived class, returns the set of primitive types supported by the data source. - The set of types supported by the data source. - - - When overridden in a derived class, returns a collection of EDM functions supported by the provider manifest. - A collection of EDM functions. - - - Returns the FacetDescription objects for a particular type. - The FacetDescription objects for the specified EDM type. - The EDM type to return the facet description for. - - - When overridden in a derived class, this method maps the specified storage type and a set of facets for that type to an EDM type. - - The instance that describes an EDM type and a set of facets for that type. - - The TypeUsage instance that describes a storage type and a set of facets for that type to be mapped to the EDM type. - - - When overridden in a derived class, this method maps the specified EDM type and a set of facets for that type to a storage type. - The TypeUsage instance that describes a storage type and a set of facets for that type. - The TypeUsage instance that describes the EDM type and a set of facets for that type to be mapped to a storage type. - - - When overridden in a derived class, this method returns provider-specific information. - The XmlReader object that represents the mapping to the underlying data store catalog. - The type of the information to return. - - - Gets the provider-specific information. - The provider-specific information. - The type of the information to return. - - - Indicates if the provider supports escaping strings to be used as patterns in a Like expression. - True if this provider supports escaping strings to be used as patterns in a Like expression; otherwise, false. - If the provider supports escaping, the character that would be used as the escape character. - - - - Indicates if the provider supports the parameter optimization described in EntityFramework6 GitHub issue #195. - The default is false. Providers should change this to true only after testing that schema queries (as - used in the Database First flow) work correctly with this flag. - - True only if the provider supports the parameter optimization. - - - Provider writers should override this method to return the argument with the wildcards and the escape character escaped. This method is only used if SupportsEscapingLikeArgument returns true. - The argument with the wildcards and the escape character escaped. - The argument to be escaped. - - - - Returns a boolean that specifies whether the provider can handle expression trees - containing instances of DbInExpression. - The default implementation returns false for backwards compatibility. Derived classes can override this method. - - - false - - - - - Returns a boolean that specifies whether the provider can process expression trees not having DbProjectExpression - nodes directly under both Left and Right sides of DbUnionAllExpression and DbIntersectExpression - - - false - - - - - The factory for building command definitions; use the type of this object - as the argument to the IServiceProvider.GetService method on the provider - factory; - - - - - Constructs an EF provider that will use the obtained from - the app domain Singleton for resolving EF dependencies such - as the instance to use. - - - - - Registers a handler to process non-error messages coming from the database provider. - - The connection to receive information for. - The handler to process messages. - - - - Create a Command Definition object given a command tree. - - command tree for the statement - an executable command definition object - - This method simply delegates to the provider's implementation of CreateDbCommandDefinition. - - - - Creates command definition from specified manifest and command tree. - The created command definition. - The manifest. - The command tree. - - - Creates a command definition object for the specified provider manifest and command tree. - An executable command definition object. - Provider manifest previously retrieved from the store provider. - Command tree for the statement. - - - - Create the default DbCommandDefinition object based on the prototype command - This method is intended for provider writers to build a default command definition - from a command. - Note: This will clone the prototype - - the prototype command - an executable command definition object - - - - See issue 2390 - cloning the DesignTimeVisible property on the - DbCommand can cause deadlocks. So here allow sub-classes to override. - - the object to clone - a clone of the - - - - Clones the connection. - - The original connection. - Cloned connection - - - - Clones the connection. - - The original connection. - The factory to use. - Cloned connection - - - Returns provider manifest token given a connection. - The provider manifest token. - Connection to provider. - - - - Returns provider manifest token for a given connection. - - Connection to find manifest token from. - The provider manifest token for the specified connection. - - - Returns the provider manifest by using the specified version information. - The provider manifest by using the specified version information. - The token information associated with the provider manifest. - - - When overridden in a derived class, returns an instance of a class that derives from the DbProviderManifest. - A DbProviderManifest object that represents the provider manifest. - The token information associated with the provider manifest. - - - - Gets the that will be used to execute methods that use the specified connection. - - The database connection - - A new instance of - - - - - Gets the that will be used to execute methods that use the specified connection. - This overload should be used by the derived classes for compatability with wrapping providers. - - The database connection - The provider invariant name - - A new instance of - - - - - Gets the spatial data reader for the . - - The spatial data reader. - The reader where the spatial data came from. - The manifest token associated with the provider manifest. - - - - Gets the spatial services for the . - - The spatial services. - The token information associated with the provider manifest. - - - Gets the spatial services for the . - The spatial services. - Information about the database that the spatial services will be used for. - - - - Gets the spatial data reader for the . - - The spatial data reader. - The reader where the spatial data came from. - The token information associated with the provider manifest. - - - - Gets the spatial services for the . - - The spatial services. - The token information associated with the provider manifest. - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - Returns providers given a connection. - - The instanced based on the specified connection. - - Connection to provider. - - - Retrieves the DbProviderFactory based on the specified DbConnection. - The retrieved DbProviderFactory. - The connection to use. - - - - Return an XML reader which represents the CSDL description - - The name of the CSDL description. - An XmlReader that represents the CSDL description - - - Generates a data definition language (DDL script that creates schema objects (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token. - - Individual statements should be separated using database-specific DDL command separator. - It is expected that the generated script would be executed in the context of existing database with - sufficient permissions, and it should not include commands to create the database, but it may include - commands to create schemas and other auxiliary objects such as sequences, etc. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token. - The provider manifest token identifying the target version. - The structure of the database. - - - - Generates a data definition language (DDL) script that creates schema objects - (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection - parameter and targeted for the version of the database corresponding to the provider manifest token. - - - Individual statements should be separated using database-specific DDL command separator. - It is expected that the generated script would be executed in the context of existing database with - sufficient permissions, and it should not include commands to create the database, but it may include - commands to create schemas and other auxiliary objects such as sequences, etc. - - The provider manifest token identifying the target version. - The structure of the database. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter - and targeted for the version of the database corresponding to the provider manifest token. - - - - - Creates a database indicated by connection and creates schema objects - (tables, primary keys, foreign keys) based on the contents of storeItemCollection. - - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - Creates a database indicated by connection and creates schema objects (tables, primary keys, foreign keys) based on the contents of a StoreItemCollection. - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - Override this method to avoid creating the store item collection if it is not needed. The default implementation evaluates the Lazy and calls the other overload of this method. - - - Deletes the specified database. - Connection to an existing database that needs to be deleted. - Execution timeout for any commands needed to delete the database. - The collection of all store items from the model. This parameter is no longer used for database deletion. - - - Deletes the specified database. - Connection to an existing database that needs to be deleted. - Execution timeout for any commands needed to delete the database. - The collection of all store items from the model. This parameter is no longer used for database deletion. - - - - Expands |DataDirectory| in the given path if it begins with |DataDirectory| and returns the expanded path, - or returns the given string if it does not start with |DataDirectory|. - - The path to expand. - The expanded path. - - - - Adds an that will be used to resolve additional default provider - services when a derived type is registered as an EF provider either using an entry in the application's - config file or through code-based registration in . - - The resolver to add. - - - - Called to resolve additional default provider services when a derived type is registered as an - EF provider either using an entry in the application's config file or through code-based - registration in . The implementation of this method in this - class uses the resolvers added with the AddDependencyResolver method to resolve - dependencies. - - - Use this method to set, add, or change other provider-related services. Note that this method - will only be called for such services if they are not already explicitly configured in some - other way by the application. This allows providers to set default services while the - application is still able to override and explicitly configure each service if required. - See and for more details. - - The type of the service to be resolved. - An optional key providing additional information for resolving the service. - An instance of the given type, or null if the service could not be resolved. - - - - Called to resolve additional default provider services when a derived type is registered as an - EF provider either using an entry in the application's config file or through code-based - registration in . The implementation of this method in this - class uses the resolvers added with the AddDependencyResolver method to resolve - dependencies. - - The type of the service to be resolved. - An optional key providing additional information for resolving the service. - All registered services that satisfy the given type and key, or an empty enumeration if there are none. - - - - A specialization of the ProviderManifest that accepts an XmlReader - - - - - Initializes a new instance of the class. - - - An object that provides access to the XML data in the provider manifest file. - - - - Gets the namespace name supported by this provider manifest. - The namespace name supported by this provider manifest. - - - Gets the best mapped equivalent Entity Data Model (EDM) type for a specified storage type name. - The best mapped equivalent EDM type for a specified storage type name. - - - Gets the best mapped equivalent storage primitive type for a specified storage type name. - The best mapped equivalent storage primitive type for a specified storage type name. - - - Returns the list of facet descriptions for the specified Entity Data Model (EDM) type. - - A collection of type that contains the list of facet descriptions for the specified EDM type. - - - An for which the facet descriptions are to be retrieved. - - - - Returns the list of primitive types supported by the storage provider. - - A collection of type that contains the list of primitive types supported by the storage provider. - - - - Returns the list of provider-supported functions. - - A collection of type that contains the list of provider-supported functions. - - - - - EntityRecordInfo class providing a simple way to access both the type information and the column information. - - - - - Initializes a new instance of the class of a specific entity type with an enumerable collection of data fields and with specific key and entity set information. - - - The of the entity represented by the - - described by this - - object. - - - An enumerable collection of objects that represent column information. - - The key for the entity. - The entity set to which the entity belongs. - - - - Gets the for the entity. - - The key for the entity. - - - - Public Entity SQL Parser class. - - - - Parse the specified query with the specified parameters. - - The containing - - and information describing inline function definitions if any. - - The EntitySQL query to be parsed. - The optional query parameters. - - - - Parse a specific query with a specific set variables and produce a - - . - - - The containing - - and information describing inline function definitions if any. - - The query to be parsed. - The optional query variables. - - - - Entity SQL query inline function definition, returned as a part of . - - - - Function name. - - - Function body and parameters. - - - Start position of the function definition in the eSQL query text. - - - End position of the function definition in the eSQL query text. - - - - Entity SQL Parser result information. - - - - A command tree produced during parsing. - - - - List of objects describing query inline function definitions. - - - - - FieldMetadata class providing the correlation between the column ordinals and MemberMetadata. - - - - - Initializes a new object with the specified ordinal value and field type. - - An integer specified the location of the metadata. - The field type. - - - - Gets the type of field for this object. - - - The type of field for this object. - - - - - Gets the ordinal for this object. - - An integer representing the ordinal value. - - - - Get the hierarchyid value of a column with the given ordinal - - The ordinal of the column to retrieve the value - The hierarchyid value - - - - Class representing a parameter collection used in EntityCommand - - - - - Gets an Integer that contains the number of elements in the - - . - - - The number of elements in the as an Integer. - - - - - Gets a value that indicates whether the - - has a fixed size. - - - Returns true if the has a fixed size; otherwise false. - - - - - Gets a value that indicates whether the - - is read-only. - - - Returns true if the is read only; otherwise false. - - - - - Gets a value that indicates whether the - - is synchronized. - - - Returns true if the is synchronized; otherwise false. - - - - - Gets an object that can be used to synchronize access to the - - . - - - An object that can be used to synchronize access to the - - . - - - - - Adds the specified object to the . - - - The index of the new object. - - - An . - - - - - Adds an array of values to the end of the - - . - - - The values to add. - - - - - Removes all the objects from the - - . - - - - - Determines whether the specified is in this - - . - - - true if the contains the value; otherwise false. - - - The value. - - - - - Copies all the elements of the current to the specified one-dimensional - - starting at the specified destination index. - - - The one-dimensional that is the destination of the elements copied from the current - - . - - - A 32-bit integer that represents the index in the at which copying starts. - - - - - Returns an enumerator that iterates through the - - . - - - An for the - - . - - - - - - - - - - - Gets the location of the specified with the specified name. - - - The zero-based location of the specified with the specified case-sensitive name. Returns -1 when the object does not exist in the - - . - - - The case-sensitive name of the to find. - - - - - Gets the location of the specified in the collection. - - - The zero-based location of the specified that is a - - in the collection. Returns -1 when the object does not exist in the - - . - - - The to find. - - - - - Inserts an into the - - at the specified index. - - The zero-based index at which value should be inserted. - - An to be inserted in the - - . - - - - Removes the specified parameter from the collection. - - A object to remove from the collection. - - - - - Removes the from the - - at the specified index. - - - The zero-based index of the object to remove. - - - - - Removes the from the - - at the specified parameter name. - - - The name of the to remove. - - - - - - - - - - - Gets the at the specified index. - - - The at the specified index. - - The zero-based index of the parameter to retrieve. - The specified index does not exist. - - - - Gets the with the specified name. - - - The with the specified name. - - The name of the parameter to retrieve. - The specified name does not exist. - - - - Adds the specified object to the - - . - - - A new object. - - - The to add to the collection. - - - The specified in the value parameter is already added to this or another - - . - - - The parameter passed was not a . - - The value parameter is null. - - - - Adds a value to the end of the . - - - A object. - - The name of the parameter. - The value to be added. - - - - Adds a to the - - given the parameter name and the data type. - - - A new object. - - The name of the parameter. - - One of the values. - - - - - Adds a to the - - with the parameter name, the data type, and the column length. - - - A new object. - - The name of the parameter. - - One of the values. - - The column length. - - - - Adds an array of values to the end of the - - . - - - The values to add. - - - - - Determines whether the specified is in this - - . - - - true if the contains the value; otherwise false. - - - The value. - - - - - Copies all the elements of the current to the specified - - starting at the specified destination index. - - - The that is the destination of the elements copied from the current - - . - - - A 32-bit integer that represents the index in the - - at which copying starts. - - - - - Gets the location of the specified in the collection. - - - The zero-based location of the specified that is a - - in the collection. Returns -1 when the object does not exist in the - - . - - - The to find. - - - - - Inserts a object into the - - at the specified index. - - The zero-based index at which value should be inserted. - - A object to be inserted in the - - . - - - - - Removes the specified from the collection. - - - A object to remove from the collection. - - - The parameter is not a . - - The parameter does not exist in the collection. - - - - Class representing a command for the conceptual layer - - - - - Initializes a new instance of the class using the specified values. - - - - - Initializes a new instance of the class with the specified statement. - - The text of the command. - - - - Constructs the EntityCommand object with the given eSQL statement and the connection object to use - - The eSQL command text to execute - The connection object - Resolver used to resolve DbProviderServices - - - - Initializes a new instance of the class with the specified statement and connection. - - The text of the command. - A connection to the data source. - - - - Initializes a new instance of the class with the specified statement, connection and transaction. - - The text of the command. - A connection to the data source. - The transaction in which the command executes. - - - - Gets or sets the used by the - - . - - The connection used by the entity command. - - - - The connection object used for executing the command - - - - Gets or sets an Entity SQL statement that specifies a command or stored procedure to execute. - The Entity SQL statement that specifies a command or stored procedure to execute. - - - Gets or sets the command tree to execute; only one of the command tree or the command text can be set, not both. - The command tree to execute. - - - Gets or sets the amount of time to wait before timing out. - The time in seconds to wait for the command to execute. - - - - Gets or sets a value that indicates how the - - property is to be interpreted. - - - One of the enumeration values. - - - - Gets the parameters of the Entity SQL statement or stored procedure. - The parameters of the Entity SQL statement or stored procedure. - - - - The collection of parameters for this command - - - - - Gets or sets the transaction within which the executes. - - - The transaction within which the executes. - - - - - The transaction that this command executes in - - - - Gets or sets how command results are applied to rows being updated. - - One of the values. - - - - Gets or sets a value that indicates whether the command object should be visible in a Windows Form Designer control. - true if the command object should be visible in a Windows Form Designer control; otherwise, false. - - - Gets or sets a value that indicates whether the query plan caching is enabled. - true if the query plan caching is enabled; otherwise, false. - - - - Cancels the execution of an . - - - - - Creates a new instance of an object. - - - A new instance of an object. - - - - - Create and return a new parameter object representing a parameter in the eSQL statement - - The parameter object. - - - Executes the command and returns a data reader. - - The that contains the results. - - - - - Compiles the into a command tree and passes it to the underlying store provider for execution, then builds an - - out of the produced result set using the specified - - . - - - The that contains the results. - - - One of the values. - - - - - Asynchronously executes the command and returns a data reader for reading the results. May only - be called on CommandType.CommandText (otherwise, use the standard Execute* methods) - - - A task that represents the asynchronous operation. - The task result contains an EntityDataReader object. - - - For stored procedure commands, if called - for anything but an entity collection result - - - - - Asynchronously executes the command and returns a data reader for reading the results. May only - be called on CommandType.CommandText (otherwise, use the standard Execute* methods) - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an EntityDataReader object. - - - For stored procedure commands, if called - for anything but an entity collection result - - - - - Asynchronously executes the command and returns a data reader for reading the results. May only - be called on CommandType.CommandText (otherwise, use the standard Execute* methods) - - The behavior to use when executing the command - - A task that represents the asynchronous operation. - The task result contains an EntityDataReader object. - - - For stored procedure commands, if called - for anything but an entity collection result - - - - - Asynchronously executes the command and returns a data reader for reading the results. May only - be called on CommandType.CommandText (otherwise, use the standard Execute* methods) - - The behavior to use when executing the command - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an EntityDataReader object. - - - For stored procedure commands, if called - for anything but an entity collection result - - - - - Executes the command and returns a data reader for reading the results - - The behavior to use when executing the command - A DbDataReader object - - - - Asynchronously executes the command and returns a data reader for reading the results - - The behavior to use when executing the command - The token to monitor for cancellation requests - - A task that represents the asynchronous operation. - The task result contains a DbDataReader object. - - - - Executes the current command. - The number of rows affected. - - - - Asynchronously executes the command and discard any results returned from the command - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - Executes the command, and returns the first column of the first row in the result set. Additional columns or rows are ignored. - The first column of the first row in the result set, or a null reference (Nothing in Visual Basic) if the result set is empty. - - - Compiles the entity-level command and creates a prepared version of the command. - - - Compiles the entity-level command and returns the store command text. - The store command text. - - - - Class representing a connection for the conceptual layer. An entity connection may only - be initialized once (by opening the connection). It is subsequently not possible to change - the connection string, attach a new store connection, or change the store connection string. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class, based on the connection string. - - The provider-specific connection string. - An invalid connection string keyword has been provided, or a required connection string keyword has not been provided. - - - - Initializes a new instance of the class with a specified - and - . - - - A to be associated with this - . - - - The underlying data source connection for this object. - - The workspace or connection parameter is null. - The conceptual model is missing from the workspace.-or-The mapping file is missing from the workspace.-or-The storage model is missing from the workspace.-or-The connection is not in a closed state. - The connection is not from an ADO.NET Entity Framework-compatible provider. - - - - Constructs the EntityConnection from Metadata loaded in memory - - Workspace containing metadata information. - Store connection. - If set to true the store connection is disposed when the entity connection is disposed, otherwise the caller must dispose the store connection. - - - - Gets or sets the connection string. - - The connection string required to establish the initial connection to a data source. The default value is an empty string. On a closed connection, the currently set value is returned. If no value has been set, an empty string is returned. - - An attempt was made to set the property after the - - ’s was initialized. The - - is initialized either when the instance is constructed through the overload that takes a - - as a parameter, or when the - - instance has been opened. - - An invalid connection string keyword has been provided or a required connection string keyword has not been provided. - - - Gets the number of seconds to wait when attempting to establish a connection before ending the attempt and generating an error. - The time (in seconds) to wait for a connection to open. The default value is the underlying data provider's default time-out. - The value set is less than 0. - - - Gets the name of the current database, or the database that will be used after a connection is opened. - The value of the Database property of the underlying data provider. - The underlying data provider is not known. - - - - Gets the state of the EntityConnection, which is set up to track the state of the underlying - database connection that is wrapped by this EntityConnection. - - - - Gets the name or network address of the data source to connect to. - The name of the data source. The default value is an empty string. - The underlying data provider is not known. - - - Gets a string that contains the version of the data source to which the client is connected. - The version of the data source that is contained in the provider connection string. - The connection is closed. - - - - Gets the provider factory associated with EntityConnection - - - - - Provides access to the underlying data source connection that is used by the - - object. - - - The for the data source connection. - - - - - Returns the associated with this - - . - - - The associated with this - - . - - The inline connection string contains an invalid Metadata keyword value. - - - - Gets the current transaction that this connection is enlisted in. May be null. - - - - Establishes a connection to the data source by calling the underlying data provider's Open method. - An error occurs when you open the connection, or the name of the underlying data provider is not known. - The inline connection string contains an invalid Metadata keyword value. - - - - Asynchronously establishes a connection to the data store by calling the Open method on the underlying data provider - - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Creates a new instance of an , with the - - set to this - - . - - - An object. - - The name of the underlying data provider is not known. - - - - Create a new command object that uses this connection object - - The command object. - - - Closes the connection to the database. - An error occurred when closing the connection. - - - Not supported. - Not supported. - When the method is called. - - - Begins a transaction by using the underlying provider. - - A new . The returned - - instance can later be associated with the - - to execute the command under that transaction. - - - The underlying provider is not known.-or-The call to - - was made on an - - that already has a current transaction.-or-The state of the - - is not - - . - - - - Begins a transaction with the specified isolation level by using the underlying provider. - - A new . The returned - - instance can later be associated with the - - to execute the command under that transaction. - - The isolation level of the transaction. - - The underlying provider is not known.-or-The call to - - was made on an - - that already has a current transaction.-or-The state of the - - is not - - . - - - - - Begins a database transaction - - The isolation level of the transaction - An object representing the new transaction - - - - Enlists this in the specified transaction. - - The transaction object to enlist into. - - The state of the is not - - . - - - - - Cleans up this connection object - - true to release both managed and unmanaged resources; false to release only unmanaged resources - - - - Class representing a connection string builder for the entity client provider - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the supplied connection string. - - A provider-specific connection string to the underlying data source. - - - Gets or sets the name of a section as defined in a configuration file. - The name of a section in a configuration file. - - - Gets or sets the name of the underlying .NET Framework data provider in the connection string. - The invariant name of the underlying .NET Framework data provider. - - - Gets or sets the metadata locations in the connection string. - Gets or sets the metadata locations in the connection string. - - - Gets or sets the inner, provider-specific connection string. - The inner, provider-specific connection string. - - - - Gets a value that indicates whether the - - has a fixed size. - - - Returns true in every case, because the - - supplies a fixed-size collection of keyword/value pairs. - - - - - Gets an that contains the keys in the - - . - - - An that contains the keys in the - - . - - - - Gets or sets the value associated with the specified key. In C#, this property is the indexer. - The value associated with the specified key. - The key of the item to get or set. - keyword is a null reference (Nothing in Visual Basic). - Tried to add a key that does not exist in the available keys. - Invalid value in the connection string (specifically, a Boolean or numeric value was expected but not supplied). - - - - Clears the contents of the instance. - - - - - Determines whether the contains a specific key. - - - Returns true if the contains an element that has the specified key; otherwise, false. - - - The key to locate in the . - - - - - Retrieves a value corresponding to the supplied key from this - - . - - Returns true if keyword was found in the connection string; otherwise, false. - The key of the item to retrieve. - The value corresponding to keyword. - keyword contains a null value (Nothing in Visual Basic). - - - - Removes the entry with the specified key from the - - instance. - - Returns true if the key existed in the connection string and was removed; false if the key did not exist. - - The key of the keyword/value pair to be removed from the connection string in this - - . - - keyword is null (Nothing in Visual Basic) - - - - A data reader class for the entity client provider - - - - Gets a value indicating the depth of nesting for the current row. - The depth of nesting for the current row. - - - Gets the number of columns in the current row. - The number of columns in the current row. - - - - Gets a value that indicates whether this contains one or more rows. - - - true if the contains one or more rows; otherwise, false. - - - - - Gets a value indicating whether the is closed. - - - true if the is closed; otherwise, false. - - - - Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. - The number of rows changed, inserted, or deleted. Returns -1 for SELECT statements; 0 if no rows were affected or the statement failed. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The name of the column. - - - - Gets the number of fields in the that are not hidden. - - The number of fields that are not hidden. - - - - Gets for this - - . - - The information of a data record. - - - - Closes the object. - - - - - Releases the resources consumed by this and calls - - . - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the value of the specified column as a Boolean. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a byte. - The value of the specified column. - The zero-based column ordinal. - - - Reads a stream of bytes from the specified column, starting at location indicated by dataIndex , into the buffer, starting at the location indicated by bufferIndex . - The actual number of bytes read. - The zero-based column ordinal. - The index within the row from which to begin the read operation. - The buffer into which to copy the data. - The index with the buffer to which the data will be copied. - The maximum number of characters to read. - - - Gets the value of the specified column as a single character. - The value of the specified column. - The zero-based column ordinal. - - - Reads a stream of characters from the specified column, starting at location indicated by dataIndex , into the buffer, starting at the location indicated by bufferIndex . - The actual number of characters read. - The zero-based column ordinal. - The index within the row from which to begin the read operation. - The buffer into which to copy the data. - The index with the buffer to which the data will be copied. - The maximum number of characters to read. - - - Gets the name of the data type of the specified column. - The name of the data type. - The zero-based column ordinal. - - - - Gets the value of the specified column as a object. - - The value of the specified column. - The zero-based column ordinal. - - - - Returns a object for the requested column ordinal that can be overridden with a provider-specific implementation. - - A data reader. - The zero-based column ordinal. - - - - Gets the value of the specified column as a object. - - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a double-precision floating point number. - The value of the specified column. - The zero-based column ordinal. - - - Gets the data type of the specified column. - The data type of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a single-precision floating point number. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a globally-unique identifier (GUID). - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 16-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 32-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 64-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the name of the column, given the zero-based column ordinal. - The name of the specified column. - The zero-based column ordinal. - - - Gets the column ordinal given the name of the column. - The zero-based column ordinal. - The name of the column. - The name specified is not a valid column name. - - - Returns the provider-specific field type of the specified column. - - The object that describes the data type of the specified column. - - The zero-based column ordinal. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - Gets all provider-specific attribute columns in the collection for the current row. - - The number of instances of in the array. - - - An array of into which to copy the attribute columns. - - - - - Returns a that describes the column metadata of the - - . - - - A that describes the column metadata. - - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - Populates an array of objects with the column values of the current row. - - The number of instances of in the array. - - - An array of into which to copy the attribute columns. - - - - Gets a value that indicates whether the column contains nonexistent or missing values. - - true if the specified column is equivalent to ; otherwise, false. - - The zero-based column ordinal. - - - Advances the reader to the next result when reading the results of a batch of statements. - true if there are more result sets; otherwise, false. - - - - Asynchronously moves the reader to the next result set when reading a batch of statements - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if there are more result sets; false otherwise. - - - - Advances the reader to the next record in a result set. - true if there are more rows; otherwise, false. - - - - Asynchronously moves the reader to the next row of the current result set - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if there are more rows; false otherwise. - - - - - Returns an that can be used to iterate through the rows in the data reader. - - - An that can be used to iterate through the rows in the data reader. - - - - - Returns a nested . - - The nested data record. - The number of the DbDataRecord to return. - - - - Returns nested readers as objects. - - - The nested readers as objects. - - The ordinal of the column. - - - - Class representing a parameter used in EntityCommand - - - - - Initializes a new instance of the class using the default values. - - - - - Initializes a new instance of the class using the specified parameter name and data type. - - The name of the parameter. - - One of the values. - - - - - Initializes a new instance of the class using the specified parameter name, data type and size. - - The name of the parameter. - - One of the values. - - The size of the parameter. - - - - Initializes a new instance of the class using the specified properties. - - The name of the parameter. - - One of the values. - - The size of the parameter. - The name of the source column. - - - - Initializes a new instance of the class using the specified properties. - - The name of the parameter. - - One of the values. - - The size of the parameter. - - One of the values. - - true to indicate that the parameter accepts null values; otherwise, false. - The number of digits used to represent the value. - The number of decimal places to which value is resolved. - The name of the source column. - - One of the values. - - The value of the parameter. - - - Gets or sets the name of the entity parameter. - The name of the entity parameter. - - - - Gets or sets the of the parameter. - - - One of the values. - - - - Gets or sets the type of the parameter, expressed as an EdmType. - The type of the parameter, expressed as an EdmType. - - - - Gets or sets the number of digits used to represent the - - property. - - The number of digits used to represent the value. - - - - Gets or sets the number of decimal places to which - - is resolved. - - The number of decimal places to which value is resolved. - - - Gets or sets the value of the parameter. - The value of the parameter. - - - Gets or sets the direction of the parameter. - - One of the values. - - - - Gets or sets a value that indicates whether the parameter accepts null values. - true if null values are accepted; otherwise, false. - - - Gets or sets the maximum size of the data within the column. - The maximum size of the data within the column. - - - - Gets or sets the name of the source column mapped to the and used for loading or returning the - - . - - The name of the source column mapped to the dataset and used for loading or returning the value. - - - Gets or sets a value that indicates whether source column is nullable. - true if source column is nullable; otherwise, false. - - - - Gets or sets the to use when loading the value. - - - One of the values. - - - - - Resets the type associated with the . - - - - Returns a string representation of the parameter. - A string representation of the parameter. - - - - Class representing a provider factory for the entity client provider - - - - - A singleton object for the entity client provider factory object. - This remains a public field (not property) because DbProviderFactory expects a field. - - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - This method is currently not supported. - - - - Returns the requested class. - - - A new instance of . The supported types are - - , - - , and - - . Returns null (or Nothing in Visual Basic) for every other type. - - - The to return. - - - - - Class representing a transaction for the conceptual layer - - - - - Gets for this - - . - - - An to the underlying data source. - - - - - The connection object owning this transaction object - - - - - Gets the isolation level of this . - - - An enumeration value that represents the isolation level of the underlying transaction. - - - - - Gets the DbTransaction for the underlying provider transaction. - - - - Commits the underlying transaction. - - - Rolls back the underlying transaction. - - - - Cleans up this transaction object - - true to release both managed and unmanaged resources; false to release only unmanaged resources - - - - Represents a failure while trying to prepare or execute a CommandCompilation - This exception is intended to provide a common exception that people can catch to - hold provider exceptions (SqlException, OracleException) when using the EntityCommand - to execute statements. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The message that describes the error. - - - - Initializes a new instance of . - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents a failure while trying to prepare or execute a CommandExecution - This exception is intended to provide a common exception that people can catch to - hold provider exceptions (SqlException, OracleException) when using the EntityCommand - to execute statements. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The message that describes the error. - - - - Initializes a new instance of . - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Provider exception - Used by the entity client. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - - - Initializes a new instance of the class. - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - An identifier for an entity. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with an entity set name and a generic - - collection. - - - A that is the entity set name qualified by the entity container name. - - - A generic collection.Each key/value pair has a property name as the key and the value of that property as the value. There should be one pair for each property that is part of the - - . The order of the key/value pairs is not important, but each key property should be included. The property names are simple names that are not qualified with an entity type name or the schema name. - - - - - Initializes a new instance of the class with an entity set name and an - - collection of - - objects. - - - A that is the entity set name qualified by the entity container name. - - - An collection of - - objects with which to initialize the key. - - - - - Initializes a new instance of the class with an entity set name and specific entity key pair. - - - A that is the entity set name qualified by the entity container name. - - - A that is the name of the key. - - - An that is the key value. - - - - - Gets a singleton EntityKey by which a read-only entity is identified. - - - - - Gets a singleton EntityKey identifying an entity resulted from a failed TREAT. - - - - Gets or sets the name of the entity set. - - A value that is the name of the entity set for the entity to which the - - belongs. - - - - Gets or sets the name of the entity container. - - A value that is the name of the entity container for the entity to which the - - belongs. - - - - - Gets or sets the key values associated with this . - - - A of key values for this - - . - - - - - Gets a value that indicates whether the is temporary. - - - true if the is temporary; otherwise, false. - - - - Gets the entity set for this entity key from the given metadata workspace. - - The for the entity key. - - The metadata workspace that contains the entity. - The entity set could not be located in the specified metadata workspace. - - - Returns a value that indicates whether this instance is equal to a specified object. - true if this instance and obj have equal values; otherwise, false. - - An to compare with this instance. - - - - - Returns a value that indicates whether this instance is equal to a specified - - . - - true if this instance and other have equal values; otherwise, false. - - An object to compare with this instance. - - - - - Serves as a hash function for the current object. - - is suitable for hashing algorithms and data structures such as a hash table. - - - A hash code for the current . - - - - - Compares two objects. - - true if the key1 and key2 values are equal; otherwise, false. - - A to compare. - - - A to compare. - - - - - Compares two objects. - - true if the key1 and key2 values are not equal; otherwise, false. - - A to compare. - - - A to compare. - - - - - Helper method that is used to deserialize an . - - Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. - - - - Helper method that is used to deserialize an . - - Describes the source and destination of a given serialized stream and provides an additional caller-defined context. - - - - Information about a key that is part of an EntityKey. - A key member contains the key name and value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified entity key pair. - - The name of the key. - The key value. - - - Gets or sets the name of the entity key. - The key name. - - - Gets or sets the value of the entity key. - The key value. - - - Returns a string representation of the entity key. - A string representation of the entity key. - - - - Represents an eSQL Query compilation exception; - The class of exceptional conditions that may cause this exception to be raised are mainly: - 1) Syntax Errors: raised during query text parsing and when a given query does not conform to eSQL formal grammar; - 2) Semantic Errors: raised when semantic rules of eSQL language are not met such as metadata or schema information - not accurate or not present, type validation errors, scoping rule violations, user of undefined variables, etc. - For more information, see eSQL Language Spec. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of the class that uses a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - Gets a description of the error. - A string that describes the error. - - - Gets the approximate context where the error occurred, if available. - A string that describes the approximate context where the error occurred, if available. - - - Gets the approximate line number where the error occurred. - An integer that describes the line number where the error occurred. - - - Gets the approximate column number where the error occurred. - An integer that describes the column number where the error occurred. - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - DataRecord interface supporting structured types and rich metadata information. - - - - - Gets for this - - . - - - A object. - - - - - Gets a object with the specified index. - - - A object. - - The index of the row. - - - - Returns nested readers as objects. - - - Nested readers as objects. - - The ordinal of the column. - - - - Thrown to indicate that a command tree is invalid. - - - - - Initializes a new instance of the class with a default message. - - - - - Initializes a new instance of the class with the specified message. - - The exception message. - - - - Initializes a new instance of the class with the specified message and inner exception. - - The exception message. - - The exception that is the cause of this . - - - - - Mapping exception class. Note that this class has state - so if you change even - its internals, it can be a breaking change - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents the Mapping metadata for an AssociationSet in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for the AssociationSetMapping elements in the - above example. And it is possible to access the AssociationTypeMap underneath it. - There will be only one TypeMap under AssociationSetMap. - - - - - Initializes a new AssociationSetMapping instance. - - The association set to be mapped. - The store entity set to be mapped. - The parent container mapping. - - - - Gets the association set that is mapped. - - - - - Gets the contained association type mapping. - - - - - Gets or sets the corresponding function mapping. Can be null. - - - - - Gets the store entity set that is mapped. - - - - - Gets or sets the source end property mapping. - - - - - Gets or sets the target end property mapping. - - - - - Gets the property mapping conditions. - - - - - Adds a property mapping condition. - - The condition to add. - - - - Removes a property mapping condition. - - The property mapping condition to remove. - - - - Describes modification function mappings for an association set. - - - - - Initializes a new AssociationSetModificationFunctionMapping instance. - - An association set. - A delete function mapping. - An insert function mapping. - - - - Gets the association set. - - - - - Gets the delete function mapping. - - - - - Gets the insert function mapping. - - - - - - - - Represents the Mapping metadata for an association type map in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ComplexTypeMap - --ScalarPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all association Type map elements in the - above example. Users can access the table mapping fragments under the - association type mapping through this class. - - - - - Creates an AssociationTypeMapping instance. - - The AssociationSetMapping that - the contains this AssociationTypeMapping. - - - - Gets the AssociationSetMapping that contains this AssociationTypeMapping. - - - - - Gets the association type being mapped. - - - - - Gets the single mapping fragment. - - - - - Mapping metadata for Complex properties. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the complex property map elements in the - above example. ComplexPropertyMaps contain ComplexTypeMaps which define mapping based - on the type of the ComplexProperty in case of inheritance. - - - - - Construct a new Complex Property mapping object - - The MemberMetadata object that represents this Complex member - - - - Gets a read only collections of type mappings corresponding to the - nested complex types. - - - - - Adds a type mapping corresponding to a nested complex type. - - The complex type mapping to be added. - - - - Removes a type mapping corresponding to a nested complex type. - - The complex type mapping to be removed. - - - - Mapping metadata for Complex Types. - - - - - Creates a ComplexTypeMapping instance. - - The ComplexType being mapped. - - - - Gets the ComplexType being mapped. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Mapping metadata for Conditional property mapping on a type. - Condition Property Mapping specifies a Condition either on the C side property or S side property. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ConditionPropertyMap ( constant value-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ConditionPropertyMap ( constant value-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the condition property map elements in the - above example. - - - - - Gets an EdmProperty that specifies the mapped property. - - - - - Gets an EdmProperty that specifies the mapped column. - - - - - Mapping metadata for End property of an association. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the end property map elements in the - above example. EndPropertyMaps provide mapping for each end of the association. - - - - - Creates an association end property mapping. - - An AssociationEndMember that specifies - the association end to be mapped. - - - - Gets an AssociationEndMember that specifies the mapped association end. - - - - - Gets a ReadOnlyCollection of ScalarPropertyMapping that specifies the children - of this association end property mapping. - - - - - Adds a child property-column mapping. - - A ScalarPropertyMapping that specifies - the property-column mapping to be added. - - - - Removes a child property-column mapping. - - A ScalarPropertyMapping that specifies - the property-column mapping to be removed. - - - - Represents the Mapping metadata for the EntityContainer map in CS space. - Only one EntityContainerMapping element is allowed in the MSL file for CS mapping. - - - For Example if conceptually you could represent the CS MSL file as following - ---Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --AssociationSetMapping - The type represents the metadata for EntityContainerMapping element in the above example. - The EntitySetBaseMapping elements that are children of the EntityContainerMapping element - can be accessed through the properties on this type. - - - We currently assume that an Entity Container on the C side - is mapped to a single Entity Container in the S - space. - - - - - Initializes a new EntityContainerMapping instance. - - The conceptual entity container to be mapped. - The store entity container to be mapped. - The parent mapping item collection. - Flag indicating whether to generate update views. - - - - Gets the parent mapping item collection. - - - - - Gets the type kind for this item - - - - - Gets the conceptual entity container. - - - - - Gets the store entity container. - - - - - Gets the entity set mappings. - - - - - Gets the association set mappings. - - - - - Gets the function import mappings. - - - - - Gets a flag that indicates whether to generate the update views or not. - - - - - Adds an entity set mapping. - - The entity set mapping to add. - - - - Removes an association set mapping. - - The association set mapping to remove. - - - - Adds an association set mapping. - - The association set mapping to add. - - - - Removes an association set mapping. - - The association set mapping to remove. - - - - Adds a function import mapping. - - The function import mapping to add. - - - - Removes a function import mapping. - - The function import mapping to remove. - - - - Represents the Mapping metadata for an Extent in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for all the extent map elements in the - above example namely EntitySetMapping, AssociationSetMapping and CompositionSetMapping. - The EntitySetBaseMapping elements that are children of the EntityContainerMapping element - can be accessed through the properties on this type. - - - - - Gets the parent container mapping. - - - - - Gets or sets the query view associated with this mapping. - - - - - Represents the Mapping metadata for an EntitySet in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for the EntitySetMapping elements in the - above example. And it is possible to access the EntityTypeMaps underneath it. - - - - - Initializes a new EntitySetMapping instance. - - The entity set to be mapped. - The parent container mapping. - - - - Gets the entity set that is mapped. - - - - - Gets the contained entity type mappings. - - - - - Gets the corresponding function mappings. - - - - - Adds a type mapping. - - The type mapping to add. - - - - Removes a type mapping. - - The type mapping to remove. - - - - Adds a function mapping. - - The function mapping to add. - - - - Removes a function mapping. - - The function mapping to remove. - - - - Mapping metadata for Entity type. - If an EntitySet represents entities of more than one type, than we will have - more than one EntityTypeMapping for an EntitySet( For ex : if - PersonSet Entity extent represents entities of types Person and Customer, - than we will have two EntityType Mappings under mapping for PersonSet). - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all entity Type map elements in the - above example. Users can access the table mapping fragments under the - entity type mapping through this class. - - - - - Creates an EntityTypeMapping instance. - - The EntitySetMapping that contains this EntityTypeMapping. - - - - Gets the EntitySetMapping that contains this EntityTypeMapping. - - - - - Gets the single EntityType being mapped. Throws exception in case of hierarchy type mapping. - - - - - Gets a flag that indicates whether this is a type hierarchy mapping. - - - - - Gets a read-only collection of mapping fragments. - - - - - Gets the mapped entity types. - - - - - Gets the mapped base types for a hierarchy mapping. - - - - - Adds an entity type to the mapping. - - The EntityType to be added. - - - - Removes an entity type from the mapping. - - The EntityType to be removed. - - - - Adds an entity type hierarchy to the mapping. - The hierarchy is represented by the specified root entity type. - - The root EntityType of the hierarchy to be added. - - - - Removes an entity type hierarchy from the mapping. - The hierarchy is represented by the specified root entity type. - - The root EntityType of the hierarchy to be removed. - - - - Adds a mapping fragment. - - The mapping fragment to be added. - - - - Removes a mapping fragment. - - The mapping fragment to be removed. - - - - Describes modification function mappings for an entity type within an entity set. - - - - - Initializes a new EntityTypeModificationFunctionMapping instance. - - An entity type. - A delete function mapping. - An insert function mapping. - An updated function mapping. - - - - Gets the entity type. - - - - - Gets the delete function mapping. - - - - - Gets the insert function mapping. - - - - - Gets the update function mapping. - - - - - - - - Base class for the type created at design time to store the generated views. - - - - Returns the key/value pair at the specified index, which contains the view and its key. - The key/value pair at index , which contains the view and its key. - The index of the view. - - - - Gets or sets the name of . - - The container name. - - - - Gets or sets in storage schema. - - Container name. - - - Hash value. - Hash value. - - - Hash value of views. - Hash value. - - - Gets or sets view count. - View count. - - - - Attribute to mark the assemblies that contain the generated views type. - - - - - Initializes a new instance of the class. - - The view type. - - - Gets the T:System.Type of the view. - The T:System.Type of the view. - - - - Represents a complex type mapping for a function import result. - - - - - Initializes a new FunctionImportComplexTypeMapping instance. - - The return type. - The property mappings for the result type of a function import. - - - - Ges the return type. - - - - - Represents a function import entity type mapping. - - - - - Initializes a new FunctionImportEntityTypeMapping instance. - - The entity types at the base of - the type hierarchies to be mapped. - The entity types to be mapped. - The property mappings for the result types of a function import. - The mapping conditions. - - - - Gets the entity types being mapped. - - - - - Gets the entity types at the base of the hierarchies being mapped. - - - - - Gets the mapping conditions. - - - - - Represents a mapping condition for a function import result. - - - - - Gets the name of the column used to evaluate the condition. - - - - - - - - Represents a mapping condition for the result of a function import - evaluated by checking null or not null. - - - - - Initializes a new FunctionImportEntityTypeMappingConditionIsNull instance. - - The name of the column used to evaluate the condition. - Flag that indicates whether a null or not null check is performed. - - - - Gets a flag that indicates whether a null or not null check is performed. - - - - - Represents a mapping condition for the result of a function import, - evaluated by comparison with a specified value. - - - - - Initializes a new FunctionImportEntityTypeMappingConditionValue instance. - - The name of the column used to evaluate the condition. - The value to compare with. - - - - Gets the value used for comparison. - - - - - Represents a mapping from a model function import to a store composable or non-composable function. - - - - - Gets model function (or source of the mapping) - - - - - Gets store function (or target of the mapping) - - - - - Represents a mapping from a model function import to a store composable function. - - - - - Initializes a new FunctionImportMappingComposable instance. - - The model function import. - The store composable function. - The result mapping for the function import. - The parent container mapping. - - - - Gets the result mapping for the function import. - - - - - Represents a mapping from a model function import to a store non-composable function. - - - - - Initializes a new FunctionImportMappingNonComposable instance. - - The model function import. - The store non-composable function. - The function import result mappings. - The parent container mapping. - - - - Gets the function import result mappings. - - - - - Represents a result mapping for a function import. - - - - - Gets the type mappings. - - - - - Adds a type mapping. - - The type mapping to add. - - - - Removes a type mapping. - - The type mapping to remove. - - - - Base class for mapping a property of a function import return type. - - - - - Maps a function import return type property to a table column. - - - - - Initializes a new FunctionImportReturnTypeScalarPropertyMapping instance. - - The mapped property name. - The mapped column name. - - - - Gets the mapped property name. - - - - - Gets the mapped column name. - - - - - Specifies a function import structural type mapping. - - - - - Gets the property mappings for the result type of a function import. - - - - - Specifies a mapping condition evaluated by checking whether the value - of the a property/column is null or not null. - - - - - Creates an IsNullConditionMapping instance. - - An EdmProperty that specifies a property or column. - A boolean that indicates whether to perform a null or a not-null check. - - - - Gets a bool that specifies whether the condition is evaluated by performing a null check - or a not-null check. - - - - - Represents the base item class for all the mapping metadata - - - - - Represents the metadata for mapping fragment. - A set of mapping fragments makes up the Set mappings( EntitySet, AssociationSet or CompositionSet ) - Each MappingFragment provides mapping for those properties of a type that map to a single table. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the mapping fragment elements in the - above example. Users can access all the top level constructs of - MappingFragment element like EntityKey map, Property Maps, Discriminator - property through this mapping fragment class. - - - - - Creates a MappingFragment instance. - - The EntitySet corresponding to the table of view being mapped. - The TypeMapping that contains this MappingFragment. - Flag that indicates whether to include 'DISTINCT' when generating queries. - - - - Gets the EntitySet corresponding to the table or view being mapped. - - - - - Gets the TypeMapping that contains this MappingFragment. - - - - - Gets a flag that indicates whether to include 'DISTINCT' when generating queries. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Base class for items in the mapping space (DataSpace.CSSpace) - - - - - Class for representing a collection of mapping items in Edm space. - - - - - Describes modification function binding for change processing of entities or associations. - - - - - Initializes a new ModificationFunctionMapping instance. - - The entity or association set. - The entity or association type. - The metadata of function to which we should bind. - Bindings for function parameters. - The output parameter producing number of rows affected. - Bindings for the results of function evaluation - - - - Gets output parameter producing number of rows affected. May be null. - - - - - Gets Metadata of function to which we should bind. - - - - - Gets bindings for function parameters. - - - - - Gets bindings for the results of function evaluation. - - - - - - - - Describes the location of a member within an entity or association type structure. - - - - - Initializes a new ModificationFunctionMemberPath instance. - - Gets the members in the path from the leaf (the member being bound) - to the root of the structure. - Gets the association set to which we are navigating - via this member. If the value is null, this is not a navigation member path. - - - - Gets the members in the path from the leaf (the member being bound) - to the Root of the structure. - - - - - Gets the association set to which we are navigating via this member. If the value - is null, this is not a navigation member path. - - - - - - - - Binds a modification function parameter to a member of the entity or association being modified. - - - - - Initializes a new ModificationFunctionParameterBinding instance. - - The parameter taking the value. - The path to the entity or association member defining the value. - A flag indicating whether the current or original member value is being bound. - - - - Gets the parameter taking the value. - - - - - Gets the path to the entity or association member defining the value. - - - - - Gets a flag indicating whether the current or original - member value is being bound. - - - - - - - - Defines a binding from a named result set column to a member taking the value. - - - - - Initializes a new ModificationFunctionResultBinding instance. - - The name of the column to bind from the function result set. - The property to be set on the entity. - - - - Gets the name of the column to bind from the function result set. - - - - - Gets the property to be set on the entity. - - - - - - - - Mapping metadata for all types of property mappings. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all property map elements in the - above example. This includes the scalar property maps, complex property maps - and end property maps. - - - - - Gets an EdmProperty that specifies the mapped property. - - - - - Mapping metadata for scalar properties. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the scalar property map elements in the - above example. - - - - - Creates a mapping between a simple property and a column. - - The property to be mapped. - The column to be mapped. - - - - Gets an EdmProperty that specifies the mapped column. - - - - - Represents a collection of items in Storage Mapping (CS Mapping) space. - - - - Initializes a new instance of the class using the specified , and a collection of string indicating the metadata file paths. - The that this mapping is to use. - The that this mapping is to use. - The file paths that this mapping is to use. - - - Initializes a new instance of the class using the specified , and XML readers. - The that this mapping is to use. - The that this mapping is to use. - The XML readers that this mapping is to use. - - - - Gets or sets a for creating instances - that are used to retrieve pre-generated mapping views. - - - - Gets the version of this represents. - The version of this represents. - - - - Computes a hash value for the container mapping specified by the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - A string that specifies the computed hash value. - - - - Computes a hash value for the single container mapping in the collection. - - A string that specifies the computed hash value. - - - - Creates a dictionary of (extent, generated view) for a container mapping specified by - the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - A list that accumulates potential errors. - - A dictionary of (, ) that specifies the generated views. - - - - - Creates a dictionary of (extent, generated view) for the single container mapping - in the collection. - - A list that accumulates potential errors. - - A dictionary of (, ) that specifies the generated views. - - - - - Factory method that creates a . - - - The edm metadata collection to map. Must not be null. - - - The store metadata collection to map. Must not be null. - - - MSL artifacts to load. Must not be null. - - - Paths to MSL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - - Specifies a structural type mapping. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Represents the Mapping metadata for a type map in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all the Type map elements in the - above example namely EntityTypeMapping, AssociationTypeMapping and CompositionTypeMapping. - The TypeMapping elements contain TableMappingFragments which in turn contain the property maps. - - - - - Specifies a mapping condition evaluated by comparing the value of - a property or column with a given value. - - - - - Creates a ValueConditionMapping instance. - - An EdmProperty that specifies a property or column. - An object that specifies the value to compare with. - - - - Gets an object that specifies the value to check against. - - - - - metadata exception class - - - - - Initializes a new instance of the class with a default message. - - - - - Initializes a new instance of the class with the specified message. - - The exception message. - - - - Initializes a new instance of the class with the specified message and inner exception. - - The exception message. - - The exception that is the cause of this . - - - - - Represents a end of a Association Type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Creates a read-only AssociationEndMember instance. - - The name of the association end member. - The reference type for the end. - The multiplicity of the end. - Flag that indicates the delete behavior of the end. - Metadata properties to be associated with the instance. - The newly created AssociationEndMember instance. - The specified name is null or empty. - The specified reference type is null. - - - - Class for representing an Association set - - - - - Gets the association related to this . - - - An object that represents the association related to this - - . - - - - - Gets the ends of this . - - - A collection of type that contains the ends of this - - . - - - - - Gets the built-in type kind for this . - - - A object that represents built-in type kind for this - - . - - - - - Creates a read-only AssociationSet instance from the specified parameters. - - The name of the association set. - The association type of the elements in the association set. - The entity set for the source association set end. - The entity set for the target association set end. - Metadata properties to be associated with the instance. - The newly created AssociationSet instance. - The specified name is null or empty. - The specified association type is null. - - The entity type of one of the ends of the specified - association type does not match the entity type of the corresponding entity set end. - - - - - Class representing a AssociationSet End - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the parent association set of this . - - - An object that represents the parent association set of this - - . - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - - Gets the End member that this object corresponds to. - - - An object that represents the End member that this - - object corresponds to. - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - - Gets the name of the End for this . - - - The name of the End for this . - - - - - Gets the name of the End role for this . - - - The name of the End role for this . - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - Gets the entity set referenced by this End role. - - An object that represents the entity set referred by this End role. - - - - - Returns the name of the End role for this . - - - The name of the End role for this . - - - - - Describes an association/relationship between two entities in the conceptual model or a foreign key relationship - between two tables in the store model. In the conceptual model the dependant class may or may not define a foreign key property. - If a foreign key is defined the property will be true and the property will contain details of the foreign keys - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of ends for this . - - - A collection of type that contains the list of ends for this - - . - - - - Gets or sets the referential constraint. - The referential constraint. - - - - Gets the list of constraints for this . - - - A collection of type that contains the list of constraints for this - - . - - - - Gets the Boolean property value that specifies whether the column is a foreign key. - A Boolean value that specifies whether the column is a foreign key. If true, the column is a foreign key. If false (default), the column is not a foreign key. - - - - Creates a read-only AssociationType instance from the specified parameters. - - The name of the association type. - The namespace of the association type. - Flag that indicates a foreign key (FK) relationship. - The data space for the association type. - The source association end member. - The target association end member. - A referential constraint. - Metadata properties to be associated with the instance. - The newly created AssociationType instance. - The specified name is null or empty. - The specified namespace is null or empty. - - - - List of all the built in types - - - - - Association Type Kind - - - - - AssociationSetEnd Kind - - - - - AssociationSet Kind - - - - - Association Type Kind - - - - - EntitySetBase Kind - - - - - Entity Type Base Kind - - - - - Collection Type Kind - - - - - Collection Kind - - - - - Complex Type Kind - - - - - Documentation Kind - - - - - DeleteAction Type Kind - - - - - Edm Type Kind - - - - - Entity Container Kind - - - - - Entity Set Kind - - - - - Entity Type Kind - - - - - Enumeration Type Kind - - - - - Enum Member Kind - - - - - Facet Kind - - - - - EdmFunction Kind - - - - - Function Parameter Kind - - - - - Global Item Type Kind - - - - - Metadata Property Kind - - - - - Navigation Property Kind - - - - - Metadata Item Type Kind - - - - - EdmMember Type Kind - - - - - Parameter Mode Kind - - - - - Primitive Type Kind - - - - - Primitive Type Kind Kind - - - - - EdmProperty Type Kind - - - - - ProviderManifest Type Kind - - - - - Referential Constraint Type Kind - - - - - Ref Type Kind - - - - - RelationshipEnd Type Kind - - - - - Relationship Multiplicity Type Kind - - - - - Relationship Set Type Kind - - - - - Relationship Type - - - - - Row Type Kind - - - - - Simple Type Kind - - - - - Structural Type Kind - - - - - Type Information Kind - - - - - Kind of collection (applied to Properties) - - - - - Property is not a Collection - - - - - Collection has Bag semantics( unordered and duplicates ok) - - - - - Collection has List semantics - (Order is deterministic and duplicates ok) - - - - - Represents the Edm Collection Type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the instance of the class that contains the type of the element that this current - - object includes and facets for that type. - - - The instance of the class that contains the type of the element that this current - - object includes and facets for that type. - - - - - Represents the Edm Complex Type. This can be used to configure complex types - from a conceptual-space model-based convention. Complex types are not supported in the store model. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of properties for this . - - - A collection of type that contains the list of properties for this - - . - - - - - Creates a new instance of the type. - - The name of the complex type. - The namespace of the complex type. - The dataspace to which the complex type belongs to. - Members of the complex type. - Metadata properties to be associated with the instance. - Thrown if either name, namespace or members argument is null. - - A new instance a the type. - - - The newly created will be read only. - - - - - The concurrency mode for properties. - - - - - Default concurrency mode: the property is never validated - at write time - - - - - Fixed concurrency mode: the property is always validated at - write time - - - - - Serializes an that conforms to the restrictions of a single - CSDL schema file to an XML writer. The model to be serialized must contain a single - . - - - - - Occurs when an error is encountered serializing the model. - - - - - Serialize the to the XmlWriter. - - - The EdmModel to serialize. - - The XmlWriter to serialize to. - The serialized model's namespace. - true if the model is valid; otherwise, false. - - - - Information about an error that occurred processing an Entity Framework model. - - - - - Gets an optional value indicating which property of the source item caused the event to be raised. - - - - - Gets an optional descriptive message the describes the error that is being raised. - - - - - Gets a value indicating the that caused the event to be raised. - - - - - DataSpace - - - - - OSpace indicates the item in the clr space - - - - - CSpace indicates the item in the CSpace - edm primitive types + - types defined in csdl - - - - - SSpace indicates the item in the SSpace - - - - - Mapping between OSpace and CSpace - - - - - Mapping between CSpace and SSpace - - - - - Extension methods for . - - - - - Gets the conceptual model from the specified DbModel. - - An instance of a class that implements IEdmModelAdapter (ex. DbModel). - An instance of EdmModel that represents the conceptual model. - - - - Gets the store model from the specified DbModel. - - An instance of a class that implements IEdmModelAdapter (ex. DbModel). - An instance of EdmModel that represents the store model. - - - - Class representing the Documentation associated with an item - - - - - Initializes a new Documentation instance. - - A summary string. - A long description string. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the summary for this . - - - The summary for this . - - - - - Gets the long description for this . - - - The long description for this . - - - - - Gets a value indicating whether this object contains only a null or an empty - - and a - - . - - - true if this object contains only a null or an empty - - and a - - ; otherwise, false. - - - - - Returns the summary for this . - - - The summary for this . - - - - - This class encapsulates the error information for a generic EDM error. - - - - Gets the error message. - The error message. - - - - Class for representing a function - - - - - Gets the built-in type kind for this . - - - One of the enumeration values of the enumeration. - - - - Returns the full name (namespace plus name) of this type. - The full name of the type. - - - - Gets the parameters of this . - - - A collection of type that contains the parameters of this - - . - - - - - Adds a parameter to this function. - - The parameter to be added. - - - - Gets the return parameter of this . - - - A object that represents the return parameter of this - - . - - - - - Gets the return parameters of this . - - - A collection of type that represents the return parameters of this - - . - - - - Gets the store function name attribute of this function. - - - Gets the parameter type semantics attribute of this function. - - - Gets the aggregate attribute of this function. - - - - Gets a value indicating whether built in attribute is present on this function. - - - true if the attribute is present; otherwise, false. - - - - - Gets a value indicating whether this instance is from the provider manifest. - - - true if this instance is from the provider manifest; otherwise, false. - - - - - Gets a value indicating whether the is a niladic function (a function that accepts no arguments). - - - true if the function is niladic; otherwise, false. - - - - Gets whether this instance is mapped to a function or to a stored procedure. - true if this instance is mapped to a function; false if this instance is mapped to a stored procedure. - - - Gets a query in the language that is used by the database management system or storage model. - - A string value in the syntax used by the database management system or storage model that contains the query or update statement of the - - . - - - - Gets or sets the schema associated with the function. - The schema associated with the function. - - - - The factory method for constructing the object. - - The name of the function. - The namespace of the function. - The namespace the function belongs to. - Additional function attributes and properties. - Metadata properties that will be added to the function. Can be null. - - A new, read-only instance of the type. - - - - - Contains additional attributes and properties of the - - - Note that objects are short lived and exist only to - make initialization easier. Instance of this type are not - compared to each other and arrays returned by array properties are copied to internal - collections in the ctor. Therefore it is fine to suppress the - Code Analysis messages. - - - - Gets or sets the function schema. - The function schema. - - - Gets or sets the store function name. - The store function name. - - - Gets or sets the command text associated with the function. - The command text associated with the function. - - - Gets or sets the entity sets for the function. - The entity sets for the function. - - - Gets a value that indicates whether this is an aggregate function. - true if this is an aggregate function; otherwise, false. - - - Gets or sets whether this function is a built-in function. - true if this function is a built-in function; otherwise, false. - - - Gets or sets whether the function contains no arguments. - true if the function contains no arguments; otherwise, false. - - - Gets or sets whether this function can be composed. - true if this function can be composed; otherwise, false. - - - Gets or sets whether this function is from a provider manifest. - true if this function is from a provider manifest; otherwise, false. - - - Gets or sets whether this function is a cached store function. - true if this function is a cached store function; otherwise, false. - - - Gets or sets whether this function is a function import. - true if this function is a function import; otherwise, false. - - - Gets or sets the return parameters. - The return parameters. - - - Gets or sets the parameter type semantics. - The parameter type semantics. - - - Gets or sets the function parameters. - The function parameters. - - - - Class for representing a collection of items in Edm space. - - - - - Initializes a new instance of the class by using the collection of the XMLReader objects where the conceptual schema definition language (CSDL) files exist. - - The collection of the XMLReader objects where the conceptual schema definition language (CSDL) files exist. - - - Initializes a new instance of the class. - The entity data model. - - - - Initializes a new instance of the class by using the paths where the conceptual schema definition language (CSDL) files exist. - - The paths where the conceptual schema definition language (CSDL) files exist. - - - Gets the conceptual model version for this collection. - The conceptual model version for this collection. - - - - Returns a collection of the objects. - - - A ReadOnlyCollection object that represents a collection of the - - objects. - - - - - Returns a collection of the objects with the specified conceptual model version. - - - A ReadOnlyCollection object that represents a collection of the - - objects. - - The conceptual model version. - - - - Factory method that creates an . - - - CSDL artifacts to load. Must not be null. - - - Paths to CSDL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - - Represents the edm member class - - - - - Gets or sets the name of the property. Setting this from a store-space model-convention will change the name of the database - column for this property. In the conceptual model, this should align with the corresponding property from the entity class - and should not be changed. - - The name of this member. - - - Gets the type on which this member is declared. - - A object that represents the type on which this member is declared. - - - - - Gets the instance of the class that contains both the type of the member and facets for the type. - - - A object that contains both the type of the member and facets for the type. - - - - Returns the name of this member. - The name of this member. - - - - Tells whether this member is marked as a Computed member in the EDM definition - - - - - Tells whether this member's Store generated pattern is marked as Identity in the EDM definition - - - - - Represents a conceptual or store model. This class can be used to access information about the shape of the model - and the way the that it has been configured. - - - - Gets the built-in type kind for this type. - - A object that represents the built-in type kind for this type. - - - - - Gets the data space associated with the model, which indicates whether - it is a conceptual model (DataSpace.CSpace) or a store model (DataSpace.SSpace). - - - - - Gets the association types in the model. - - - - - Gets the complex types in the model. - - - - - Gets the entity types in the model. - - - - - Gets the enum types in the model. - - - - - Gets the functions in the model. - - - - - Gets the container that stores entity and association sets, and function imports. - - - - Gets the global items associated with the model. - The global items associated with the model. - - - - Adds an association type to the model. - - The AssociationType instance to be added. - - - - Adds a complex type to the model. - - The ComplexType instance to be added. - - - - Adds an entity type to the model. - - The EntityType instance to be added. - - - - Adds an enumeration type to the model. - - The EnumType instance to be added. - - - - Adds a function to the model. - - The EdmFunction instance to be added. - - - - Removes an association type from the model. - - The AssociationType instance to be removed. - - - - Removes a complex type from the model. - - The ComplexType instance to be removed. - - - - Removes an entity type from the model. - - The EntityType instance to be removed. - - - - Removes an enumeration type from the model. - - The EnumType instance to be removed. - - - - Removes a function from the model. - - The EdmFunction instance to be removed. - - - - In conceptual-space, EdmProperty represents a property on an Entity. - In store-space, EdmProperty represents a column in a table. - - - - Creates a new primitive property. - The newly created property. - The name of the property. - The type of the property. - - - Creates a new enum property. - The newly created property. - The name of the property. - The type of the property. - - - Creates a new complex property. - The newly created property. - The name of the property. - The type of the property. - - - - Creates a new instance of EdmProperty type. - - Name of the property. - - Property - - A new instance of EdmProperty type - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets a value indicating whether this can have a null value. - - - Nullability in the conceptual model and store model is a simple indication of whether or not - the property is considered nullable. Nullability in the object model is more complex. - When using convention based mapping (as usually happens with POCO entities), a property in the - object model is considered nullable if and only if the underlying CLR type is nullable and - the property is not part of the primary key. - When using attribute based mapping (usually used with entities that derive from the EntityObject - base class), a property is considered nullable if the IsNullable flag is set to true in the - attribute. This flag can - be set to true even if the underlying type is not nullable, and can be set to false even if the - underlying type is nullable. The latter case happens as part of default code generation when - a non-nullable property in the conceptual model is mapped to a nullable CLR type such as a string. - In such a case, the Entity Framework treats the property as non-nullable even though the CLR would - allow null to be set. - There is no good reason to set a non-nullable CLR type as nullable in the object model and this - should not be done even though the attribute allows it. - - - true if this can have a null value; otherwise, false. - - Thrown if the setter is called when the EdmProperty instance is in ReadOnly state - - - Gets the type name of the property. - The type name of the property. - - - - Gets the default value for this . - - - The default value for this . - - Thrown if the setter is called when the EdmProperty instance is in ReadOnly state - - - Gets whether the property is a collection type property. - true if the property is a collection type property; otherwise, false. - - - Gets whether this property is a complex type property. - true if this property is a complex type property; otherwise, false. - - - Gets whether this property is a primitive type. - true if this property is a primitive type; otherwise, false. - - - Gets whether this property is an enumeration type property. - true if this property is an enumeration type property; otherwise, false. - - - Gets whether this property is an underlying primitive type. - true if this property is an underlying primitive type; otherwise, false. - - - Gets the complex type information for this property. - The complex type information for this property. - - - Gets the primitive type information for this property. - The primitive type information for this property. - - - Gets the enumeration type information for this property. - The enumeration type information for this property. - - - Gets the underlying primitive type information for this property. - The underlying primitive type information for this property. - - - Gets or sets the concurrency mode for the property. - The concurrency mode for the property. - - - Gets or sets the database generation method for the database column associated with this property - The store generated pattern for the property. - - - Gets or sets the kind of collection for this model. - The kind of collection for this model. - - - Gets whether the maximum length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the maximum length of the property. - The maximum length of the property. - - - Gets or sets whether this property uses the maximum length supported by the provider. - true if this property uses the maximum length supported by the provider; otherwise, false. - - - Gets whether the fixed length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets whether the length of this property is fixed. - true if the length of this property is fixed; otherwise, false. - - - Gets whether the Unicode facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets whether this property is a Unicode property. - true if this property is a Unicode property; otherwise, false. - - - Gets whether the precision facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the precision of this property. - The precision of this property. - - - Gets whether the scale facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the scale of this property. - The scale of this property. - - - Sets the metadata properties. - The metadata properties to be set. - - - - This class encapsulates the error information for a schema error that was encountered. - - - - - Constructs a EdmSchemaError object. - - The explanation of the error. - The code associated with this error. - The severity of the error. - - - Returns the error message. - The error message. - - - Gets the error code. - The error code. - - - Gets the severity level of the error. - - One of the values. The default is - - . - - - - Gets the line number where the error occurred. - The line number where the error occurred. - - - Gets the column where the error occurred. - The column where the error occurred. - - - Gets the location of the schema that contains the error. This string also includes the name of the schema at the end. - The location of the schema that contains the error. - - - Gets the name of the schema that contains the error. - The name of the schema that contains the error. - - - Gets a string representation of the stack trace at the time the error occurred. - A string representation of the stack trace at the time the error occurred. - - - - Defines the different severities of errors that can occur when validating an Entity Framework model. - - - - - A warning that does not prevent the model from being used. - - - - - An error that prevents the model from being used. - - - - - Base EdmType class for all the model types - - - - Gets the name of this type. - The name of this type. - - - Gets the namespace of this type. - The namespace of this type. - - - Gets a value indicating whether this type is abstract or not. - true if this type is abstract; otherwise, false. - Thrown if the setter is called on instance that is in ReadOnly state - - - Gets the base type of this type. - The base type of this type. - Thrown if the setter is called on instance that is in ReadOnly state - Thrown if the value passed in for setter will create a loop in the inheritance chain - - - Gets the full name of this type. - The full name of this type. - - - Returns the full name of this type. - The full name of this type. - - - - Returns an instance of the whose element type is this type. - - - The object whose element type is this type. - - - - - Class for representing an entity container - - - - - Creates an entity container with the specified name and data space. - - The entity container name. - The entity container data space. - Thrown if the name argument is null. - Thrown if the name argument is empty string. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets a list of entity sets and association sets that this - - includes. - - - A object that contains a list of entity sets and association sets that this - - includes. - - - - Gets the association sets for this entity container. - The association sets for this entity container . - - - Gets the entity sets for this entity container. - The entity sets for this entity container . - - - - Specifies a collection of elements. Each function contains the details of a stored procedure that exists in the database or equivalent CommandText that is mapped to an entity and its properties. - - - A that contains - - elements. - - - - - Returns an object by using the specified name for the entity set. - - - An object that represents the entity set that has the specified name. - - The name of the entity set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified name for the entity set. - - true if there is an entity set that matches the search criteria; otherwise, false. - The name of the entity set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, contains an object. If there is no entity set, this output parameter contains null. - - - - - Returns a object by using the specified name for the relationship set. - - - An object that represents the relationship set that has the specified name. - - The name of the relationship set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - - - Returns a object by using the specified name for the relationship set. - - true if there is a relationship set that matches the search criteria; otherwise, false. - The name of the relationship set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, contains a object. - - - - - Returns the name of this . - - - The name of this . - - - - - Adds the specified entity set to the container. - - The entity set to add. - - - Removes a specific entity set from the container. - The entity set to remove. - - - - Adds a function import to the container. - - The function import to add. - - - - The factory method for constructing the EntityContainer object. - - The name of the entity container to be created. - DataSpace in which this entity container belongs to. - Entity sets that will be included in the new container. Can be null. - Functions that will be included in the new container. Can be null. - Metadata properties to be associated with the instance. - The EntityContainer object. - Thrown if the name argument is null or empty string. - The newly created EntityContainer will be read only. - - - - Represents a particular usage of a structure defined in EntityType. In the conceptual-model, this represents a set that can - query and persist entities. In the store-model it represents a table. - From a store-space model-convention it can be used to configure - table name with property and table schema with property. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the entity type of this . - - - An object that represents the entity type of this - - . - - - - - The factory method for constructing the EntitySet object. - - The name of the EntitySet. - The db schema. Can be null. - The db table. Can be null. - - The provider specific query that should be used to retrieve data for this EntitySet. Can be null. - - The entity type of the entities that this entity set type contains. - - Metadata properties that will be added to the newly created EntitySet. Can be null. - - The EntitySet object. - Thrown if the name argument is null or empty string. - The newly created EntitySet will be read only. - - - - Class for representing a entity set - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets escaped provider specific SQL describing this entity set. - - - - - Gets or sets the name of the current entity or relationship set. - If this property is changed from store-space, the mapping layer must also be updated to reflect the new name. - To change the table name of a store space use the Table property. - - The name of the current entity or relationship set. - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - Gets the entity container of the current entity or relationship set. - - An object that represents the entity container of the current entity or relationship set. - - Thrown if the setter is called when the EntitySetBase instance or the EntityContainer passed into the setter is in ReadOnly state - - - - Gets the entity type of this . - - - An object that represents the entity type of this - - . - - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - - Gets or sets the database table name for this entity set. - - if value passed into setter is null - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - - Gets or sets the database schema for this entity set. - - if value passed into setter is null - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - Returns the name of the current entity or relationship set. - The name of the current entity or relationship set. - - - - Represents the structure of an . In the conceptual-model this represents the shape and structure - of an entity. In the store model this represents the structure of a table. To change the Schema and Table name use EntitySet. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - Gets the declared navigation properties associated with the entity type. - The declared navigation properties associated with the entity type. - - - - Gets the navigation properties of this . - - - A collection of type that contains the list of navigation properties on this - - . - - - - Gets the list of declared properties for the entity type. - The declared properties for the entity type. - - - Gets the collection of declared members for the entity type. - The collection of declared members for the entity type. - - - - Gets the list of properties for this . - - - A collection of type that contains the list of properties for this - - . - - - - - Returns a object that references this - - . - - - A object that references this - - . - - - - - The factory method for constructing the EntityType object. - - The name of the entity type. - The namespace of the entity type. - The dataspace in which the EntityType belongs to. - Name of key members for the type. - Members of the entity type (primitive and navigation properties). - Metadata properties to be associated with the instance. - The EntityType object. - Thrown if either name, namespace arguments are null. - The newly created EntityType will be read only. - - - - The factory method for constructing the EntityType object. - - The name of the entity type. - The namespace of the entity type. - The dataspace in which the EntityType belongs to. - The base type. - Name of key members for the type. - Members of the entity type (primitive and navigation properties). - Metadata properties to be associated with the instance. - The EntityType object. - Thrown if either name, namespace arguments are null. - The newly created EntityType will be read only. - - - - Adds the specified navigation property to the members of this type. - The navigation property is added regardless of the read-only flag. - - The navigation property to be added. - - - - Represents the Entity Type - - - - Gets the list of all the key members for the current entity or relationship type. - - A object that represents the list of key members for the current entity or relationship type. - - - - Gets the list of all the key properties for this entity type. - The list of all the key properties for this entity type. - - - - Adds the specified property to the list of keys for the current entity. - - The property to add. - if member argument is null - Thrown if the EntityType has a base type of another EntityTypeBase. In this case KeyMembers should be added to the base type - If the EntityType instance is in ReadOnly state - - - Removes the specified key member from the collection. - The key member to remove. - - - - Represents an enumeration member. - - - - Gets the kind of this type. - - - Gets the name of this enumeration member. - - - Gets the value of this enumeration member. - - - Overriding System.Object.ToString to provide better String representation for this type. - The name of this enumeration member. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Represents an enumeration type. - - - - Returns the kind of the type - - - Gets a collection of enumeration members for this enumeration type. - - - Gets a value indicating whether the enum type is defined as flags (i.e. can be treated as a bit field) - - - Gets the underlying type for this enumeration type. - - - - Creates a read-only EnumType instance. - - The name of the enumeration type. - The namespace of the enumeration type. - The underlying type of the enumeration type. - Indicates whether the enumeration type can be treated as a bit field; that is, a set of flags. - The members of the enumeration type. - Metadata properties to be associated with the enumeration type. - The newly created EnumType instance. - underlyingType is null. - - name is null or empty. - -or- - namespaceName is null or empty. - -or- - underlyingType is not a supported underlying type. - -or- - The specified members do not have unique names. - -or- - The value of a specified member is not in the range of the underlying type. - - - - - Class for representing a Facet object - This object is Immutable (not just set to readonly) and - some parts of the system are depending on that behavior - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the description of this . - - - The object that represents the description of this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets the type of this . - - - The object that represents the type of this - - . - - - - - Gets the value of this . - - - The value of this . - - Thrown if the Facet instance is in ReadOnly state - - - Gets a value indicating whether the value of the facet is unbounded. - true if the value of the facet is unbounded; otherwise, false. - - - - Returns the name of this . - - - The name of this . - - - - - Class for representing a FacetDescription object - - - - Gets the name of this facet. - The name of this facet. - - - Gets the type of this facet. - - An object that represents the type of this facet. - - - - Gets the minimum value for this facet. - The minimum value for this facet. - - - Gets the maximum value for this facet. - The maximum value for this facet. - - - Gets the default value of a facet with this facet description. - The default value of a facet with this facet description. - - - Gets a value indicating whether the value of this facet is a constant. - true if this facet is a constant; otherwise, false. - - - Gets a value indicating whether this facet is a required facet. - true if this facet is a required facet; otherwise, false. - - - Returns the name of this facet. - The name of this facet. - - - - Class representing a function parameter - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the mode of this . - - - One of the values. - - Thrown if the FunctionParameter instance is in ReadOnly state - - - - Gets the name of this . - - - The name of this . - - - - - Gets the instance of the class that contains both the type of the parameter and facets for the type. - - - A object that contains both the type of the parameter and facets for the type. - - - - Gets the type name of this parameter. - The type name of this parameter. - - - Gets whether the max length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the maximum length of the parameter. - The maximum length of the parameter. - - - Gets whether the parameter uses the maximum length supported by the database provider. - true if parameter uses the maximum length supported by the database provider; otherwise, false. - - - Gets whether the precision facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the precision value of the parameter. - The precision value of the parameter. - - - Gets whether the scale facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the scale value of the parameter. - The scale value of the parameter. - - - - Gets the on which this parameter is declared. - - - A object that represents the function on which this parameter is declared. - - - - - Returns the name of this . - - - The name of this . - - - - - The factory method for constructing the object. - - The name of the parameter. - The EdmType of the parameter. - - The of the parameter. - - - A new, read-only instance of the type. - - - - - Represents the base item class for all the metadata - - - - - An interface to get the underlying store and conceptual model for a . - - - - - Gets the conceptual model. - - - - - Gets the store model. - - - - - Class for representing a collection of items. - Most of the implementation for actual maintenance of the collection is - done by MetadataCollection - - - - Gets the data model associated with this item collection. - The data model associated with this item collection. - - - - Returns a strongly typed object by using the specified identity. - - The item that is specified by the identity. - The identity of the item. - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity from this item collection. - - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item. - - When this method returns, the output parameter contains a - - object. If there is no global item with the specified identity in the item collection, this output parameter contains null. - - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity from this item collection. - - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, the output parameter contains a - - object. If there is no global item with the specified identity in the item collection, this output parameter contains null. - - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity with either case-sensitive or case-insensitive search. - - The item that is specified by the identity. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - The type returned by the method. - - - Returns all the items of the specified type from this item collection. - - A collection of type that contains all the items of the specified type. - - The type returned by the method. - - - - Returns an object by using the specified type name and the namespace name in this item collection. - - - An object that represents the type that matches the specified type name and the namespace name in this item collection. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - - When this method returns, this output parameter contains an - - object. If there is no type with the specified name and namespace name in this item collection, this output parameter contains null. - - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - - An object that represents the type that matches the specified type name and the namespace name in this item collection. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, this output parameter contains an - - object. If there is no type with the specified name and namespace name in this item collection, this output parameter contains null. - - - - Returns all the overloads of the functions by using the specified name from this item collection. - - A collection of type that contains all the functions that have the specified name. - - The full name of the function. - - - Returns all the overloads of the functions by using the specified name from this item collection. - - A collection of type that contains all the functions that have the specified name. - - The full name of the function. - true to perform the case-insensitive search; otherwise, false. - - - Returns all the overloads of the functions by using the specified name from this item collection. - A collection of type ReadOnlyCollection that contains all the functions that have the specified name. - A dictionary of functions. - The full name of the function. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified entity container name. - - If there is no entity container, this method returns null; otherwise, it returns the first one. - The name of the entity container. - - - - Returns an object by using the specified entity container name. If there is no entity container, the output parameter contains null; otherwise, it contains the first entity container. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - - When this method returns, it contains an object. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - - - - Returns an object by using the specified entity container name. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified entity container name. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, it contains an object. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - - - - Do not perform any extension check - - - - - Check the extension against a specific value - - - - - Check the extension against the set of acceptable extensions - - - - - Represents the base item class for all the metadata - - - Represents the base item class for all the metadata - - - - Gets the built-in type kind for this type. - - A object that represents the built-in type kind for this type. - - - - Gets the list of properties of the current type. - - A collection of type that contains the list of properties of the current type. - - - - - Adds or updates an annotation with the specified name and value. - - - If an annotation with the given name already exists then the value of that annotation - is updated to the given value. If the given value is null then the annotation will be - removed. - - The name of the annotation property. - The value of the annotation property. - - - - Removes an annotation with the specified name. - - The name of the annotation property. - true if an annotation was removed; otherwise, false. - - - Gets or sets the documentation associated with this type. - - A object that represents the documentation on this type. - - - - - Returns a conceptual model built-in type that matches one of the - - values. - - - An object that represents the built-in type in the EDM. - - - One of the values. - - - - Returns the list of the general facet descriptions for a specified type. - - A object that represents the list of the general facet descriptions for a specified type. - - - - - Class representing a metadata attribute for an item - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets the value of this . - - - The value of this . - - Thrown if the MetadataProperty instance is in readonly state - - - - Gets the instance of the class that contains both the type of this - - and facets for the type. - - - A object that contains both the type of this - - and facets for the type. - - Thrown if the MetadataProperty instance is in readonly state - - - - Gets the value of this . - - - The value of this . - - - - - Gets a boolean that indicates whether the metadata property is an annotation. - - - - - The factory method for constructing the MetadataProperty object. - - The name of the metadata property. - The type usage of the metadata property. - The value of the metadata property. - The MetadataProperty object. - - Thrown is null. - - The newly created MetadataProperty will be read only. - - - - Creates a metadata annotation having the specified name and value. - - The annotation name. - The annotation value. - A MetadataProperty instance representing the created annotation. - - - - Runtime Metadata Workspace - - - - - Initializes a new instance of the class. - - - - - Constructs a with loaders for all item collections () - needed by EF except the o/c mapping which will be created automatically based on the given o-space and c-space - loaders. The item collection delegates are executed lazily when a given collection is used for the first - time. It is acceptable to pass a delegate that returns null if the collection will never be used, but this - is rarely done, and any attempt by EF to use the collection in such cases will result in an exception. - - Delegate to return the c-space (CSDL) item collection. - Delegate to return the s-space (SSDL) item collection. - Delegate to return the c/s mapping (MSL) item collection. - Delegate to return the o-space item collection. - - - - Constructs a with loaders for all item collections () - that come from traditional EDMX mapping. Default o-space and o/c mapping collections will be used. - The item collection delegates are executed lazily when a given collection is used for the first - time. It is acceptable to pass a delegate that returns null if the collection will never be used, but this - is rarely done, and any attempt by EF to use the collection in such cases will result in an exception. - - Delegate to return the c-space (CSDL) item collection. - Delegate to return the s-space (SSDL) item collection. - Delegate to return the c/s mapping (MSL) item collection. - - - - Initializes a new instance of the class using the specified paths and assemblies. - - The paths to workspace metadata. - The names of assemblies used to construct workspace. - - - - The Max EDM version thats going to be supported by the runtime. - - - - - Creates an configured to use the - - data space. - - The created parser object. - - - - Creates a new bound to this metadata workspace based on the specified query expression. - - - A new with the specified expression as it's - - property. - - - A that defines the query. - - - If - - is null - - - If - - contains metadata that cannot be resolved in this metadata workspace - - - If - - is not structurally valid because it contains unresolvable variable references - - - - - Gets items. - - - The items. - - - The from which to retrieve items. - - - - Registers the item collection with each associated data model. - The output parameter collection that needs to be filled up. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - The delegate for logging the load messages. - - - Returns an item by using the specified identity and the data model. - The item that matches the given identity in the specified data model. - The identity of the item. - The conceptual model in which the item is searched. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns an item by using the specified identity and the data model. - true if there is an item that matches the search criteria; otherwise, false. - The conceptual model on which the item is searched. - The conceptual model on which the item is searched. - - When this method returns, contains a object. This parameter is passed uninitialized. - - The type returned by the method. - - - Returns an item by using the specified identity and the data model. - The item that matches the given identity in the specified data model. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the item is searched. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns an item by using the specified identity and the data model. - true if there is an item that matches the search criteria; otherwise, false. - The conceptual model on which the item is searched. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the item is searched. - - When this method returns, contains a object. This parameter is passed uninitialized. - - The type returned by the method. - - - Gets all the items in the specified data model. - - A collection of type that contains all the items in the specified data model. - - The conceptual model for which the list of items is needed. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - - An object that represents the type that matches the given type name and the namespace name in the specified data model. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - The conceptual model on which the type is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - The conceptual model on which the type is searched. - - When this method returns, contains an object. This parameter is passed uninitialized. - - - - - Returns an object by using the specified type name, namespace name, and data model. - - - An object. - - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the type is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the type is searched. - - When this method returns, contains an object. This parameter is passed uninitialized. - - - - - Returns an object by using the specified entity container name and the data model. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - The conceptual model on which the entity container is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified entity container name and the data model. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - The conceptual model on which the entity container is searched. - - When this method returns, contains an object. If there is no entity container, this output parameter contains null; otherwise, it returns the first entity container. This parameter is passed uninitialized. - - - - - Returns an object by using the specified entity container name and the data model. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the entity container is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified entity container name and the data model. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the entity container is searched. - - When this method returns, contains an object. If there is no entity container, this output parameter contains null; otherwise, it returns the first entity container. This parameter is passed uninitialized. - - - - Returns all the overloads of the functions by using the specified name, namespace name, and data model. - - A collection of type that contains all the functions that match the specified name in a given namespace and a data model. - - The name of the function. - The namespace of the function. - The conceptual model in which the functions are searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns all the overloads of the functions by using the specified name, namespace name, and data model. - - A collection of type that contains all the functions that match the specified name in a given namespace and a data model. - - The name of the function. - The namespace of the function. - The conceptual model in which the functions are searched. - true to perform the case-insensitive search; otherwise, false. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns the list of primitive types in the specified data model. - - A collection of type that contains all the primitive types in the specified data model. - - The data model for which you need the list of primitive types. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Gets all the items in the specified data model. - - A collection of type that contains all the items in the specified data model. - - The conceptual model for which the list of items is needed. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Tests the retrieval of . - - true if the retrieval was successful; otherwise, false. - - The from which to attempt retrieval of - - . - - When this method returns, contains the item collection. This parameter is passed uninitialized. - - - - Returns a object that represents the object space type that matches the type supplied by the parameter edmSpaceType . - - - A object that represents the Object space type. If there is no matched type, this method returns null. - - - A object that represents the - - . - - - - - Returns a object via the out parameter objectSpaceType that represents the type that matches the - - supplied by the parameter edmSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the - - . - - - When this method returns, contains a object that represents the Object space type. This parameter is passed uninitialized. - - - - - Returns a object that represents the object space type that matches the type supplied by the parameter edmSpaceType . - - - A object that represents the Object space type. If there is no matched type, this method returns null. - - - A object that represents the - - . - - - - - Returns a object via the out parameter objectSpaceType that represents the type that matches the - - supplied by the parameter edmSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the - - . - - - When this method returns, contains a object that represents the Object space type. This parameter is passed uninitialized. - - - - - Returns a object that represents the - - that matches the type supplied by the parameter objectSpaceType . - - - A object that represents the - - . If there is no matched type, this method returns null. - - - A that supplies the type in the object space. - - - - - Returns a object via the out parameter edmSpaceType that represents the - - that matches the type supplied by the parameter objectSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the object space type. - - - When this method returns, contains a object that represents the - - . This parameter is passed uninitialized. - - - - - Returns a object that represents the - - that matches the type supplied by the parameter objectSpaceType . - - - A object that represents the - - . If there is no matched type, this method returns null. - - - A that supplies the type in the object space. - - - - - Returns a object via the out parameter edmSpaceType that represents the - - that matches the type supplied by the parameter objectSpaceType . - - true on success, false on failure. - - A object that represents the object space type. - - - When this method returns, contains a object that represents the - - . This parameter is passed uninitialized. - - - - Clears all the metadata cache entries. - - - Gets original value members from an entity set and entity type. - The original value members from an entity set and entity type. - The entity set from which to retrieve original values. - The entity type of which to retrieve original values. - - - - Returns members of a given / - - for which original values are needed when modifying an entity. - - - The s for which original value is required. - - - An belonging to the C-Space. - - - An that participates in the given - - . - - true if entities may be updated partially; otherwise, false. - - - - Represent the edm navigation property class - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - Gets the relationship type that this navigation property operates on. - The relationship type that this navigation property operates on. - Thrown if the NavigationProperty instance is in ReadOnly state - - - Gets the "to" relationship end member of this navigation. - The "to" relationship end member of this navigation. - Thrown if the NavigationProperty instance is in ReadOnly state - - - Gets the "from" relationship end member in this navigation. - The "from" relationship end member in this navigation. - Thrown if the NavigationProperty instance is in ReadOnly state - - - - Where the given navigation property is on the dependent end of a referential constraint, - returns the foreign key properties. Otherwise, returns an empty set. We will return the members in the order - of the principal end key properties. - - A collection of the foreign key properties. - - - - Creates a NavigationProperty instance from the specified parameters. - - The name of the navigation property. - Specifies the navigation property type and its facets. - The relationship type for the navigation. - The source end member in the navigation. - The target end member in the navigation. - The metadata properties of the navigation property. - The newly created NavigationProperty instance. - - - - Class for representing a collection of items for the object layer. - Most of the implementation for actual maintenance of the collection is - done by ItemCollection - - - - - Initializes a new instance of the class. - - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - The EDM metadata source for the O space metadata. - The delegate to which log messages are sent. - - - Loads metadata from the specified assembly. - The assembly from which the metadata will be loaded. - The EDM metadata source for the O space metadata. - - - Returns a collection of primitive type objects. - A collection of primitive type objects. - - - - Returns the CLR type that corresponds to the supplied by the objectSpaceType parameter. - - The CLR type of the OSpace argument. - - A that represents the object space type. - - - - - Returns a CLR type corresponding to the supplied by the objectSpaceType parameter. - - true if there is a type that matches the search criteria; otherwise, false. - - A that represents the object space type. - - The CLR type. - - - The method returns the underlying CLR type for the specified OSpace type argument. If the DataSpace of the parameter is not OSpace, an ArgumentException is thrown. - The CLR type of the OSpace argument. - The OSpace type to look up. - - - Returns the underlying CLR type for the specified OSpace enum type argument. If the DataSpace of the parameter is not OSpace, the method returns false and sets the out parameter to null. - true on success, false on failure - The OSpace enum type to look up - The CLR enum type of the OSpace argument - - - Returns all the items of the specified type from this item collection. - - A collection of type that contains all items of the specified type. - - The type returned by the method. - - - - Represents the list of possible actions for delete operation - - - - - no action - - - - - Cascade to other ends - - - - - The enumeration defining the mode of a parameter - - - - - In parameter - - - - - Out parameter - - - - - Both in and out parameter - - - - - Return Parameter - - - - - The enumeration defining the type semantics used to resolve function overloads. - These flags are defined in the provider manifest per function definition. - - - - - Allow Implicit Conversion between given and formal argument types (default). - - - - - Allow Type Promotion between given and formal argument types. - - - - - Use strict Equivalence only. - - - - - Class representing a primitive type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets a enumeration value that indicates a primitive type of this - - . - - - A enumeration value that indicates a primitive type of this - - . - - - - - Gets the list of facet descriptions for this . - - - A collection of type that contains the list of facet descriptions for this - - . - - - - - Returns an equivalent common language runtime (CLR) type of this - - . Note that the - - property always returns a non-nullable type value. - - - A object that represents an equivalent common language runtime (CLR) type of this - - . - - - - - Returns the equivalent of this - - . - - - For example if this instance is nvarchar and it's - base type is Edm String then the return type is Edm String. - If the type is actually already a model type then the - return type is "this". - - - An object that is an equivalent of this - - . - - - - Returns the list of primitive types. - - A collection of type that contains the list of primitive types. - - - - - Returns the equivalent of a - - . - - - An object that is an equivalent of a specified - - . - - - A value of type . - - - - - Primitive Types as defined by EDM - - - - - Binary Type Kind - - - - - Boolean Type Kind - - - - - Byte Type Kind - - - - - DateTime Type Kind - - - - - Decimal Type Kind - - - - - Double Type Kind - - - - - Guid Type Kind - - - - - Single Type Kind - - - - - SByte Type Kind - - - - - Int16 Type Kind - - - - - Int32 Type Kind - - - - - Int64 Type Kind - - - - - String Type Kind - - - - - Time Type Kind - - - - - DateTimeOffset Type Kind - - - - - Geometry Type Kind - - - - - Geography Type Kind - - - - - Geometric point type kind - - - - - Geometric linestring type kind - - - - - Geometric polygon type kind - - - - - Geometric multi-point type kind - - - - - Geometric multi-linestring type kind - - - - - Geometric multi-polygon type kind - - - - - Geometric collection type kind - - - - - Geographic point type kind - - - - - Geographic linestring type kind - - - - - Geographic polygon type kind - - - - - Geographic multi-point type kind - - - - - Geographic multi-linestring type kind - - - - - Geographic multi-polygon type kind - - - - - Geographic collection type kind - - - - - HierarchyId type kind - - - - - Specifies the kinds of item attributes in the conceptual model. - - - - - An enumeration member indicating that an item attribute is System - - - - - An enumeration member indicating that an item attribute is Extended. - - - - - Class representing a read-only wrapper around MetadataCollection - - The type of items in this collection - - - - The enumerator for MetadataCollection - - - - Gets the member at the current position. - The member at the current position. - - - - Gets the member at the current position - - - - Disposes of this enumerator. - - - - Moves to the next member in the collection of type - - . - - - true if the enumerator is moved in the collection of type - - ; otherwise, false. - - - - - Positions the enumerator before the first position in the collection of type - - . - - - - Gets a value indicating whether this collection is read-only. - true if this collection is read-only; otherwise, false. - - - Gets an item from this collection by using the specified identity. - An item from this collection. - The identity of the item to be searched for. - - - Retrieves an item from this collection by using the specified identity. - An item from this collection. - The identity of the item to be searched for. - true to perform the case-insensitive search; otherwise, false. - - - Determines whether the collection contains an item with the specified identity. - true if the collection contains the item to be searched for; otherwise, false. The default is false. - The identity of the item. - - - Retrieves an item from this collection by using the specified identity. - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item to be searched for. - true to perform the case-insensitive search; otherwise, false. - When this method returns, this output parameter contains an item from the collection. If there is no matched item, this output parameter contains null. - - - Returns an enumerator that can iterate through this collection. - - A that can be used to iterate through this - - . - - - - Returns the index of the specified value in this collection. - The index of the specified value in this collection. - A value to seek. - - - - This class represents a referential constraint between two entities specifying the "to" and "from" ends of the relationship. - - - - - Constructs a new constraint on the relationship - - role from which the relationship originates - role to which the relationship is linked/targeted to - properties on entity type of to role which take part in the constraint - properties on entity type of from role which take part in the constraint - Argument Null exception if any of the arguments is null - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the "from role" that takes part in this - - . - - - A object that represents the "from role" that takes part in this - - . - - Thrown if value passed into setter is null - Thrown if the ReferentialConstraint instance is in ReadOnly state - - - - Gets the "to role" that takes part in this . - - - A object that represents the "to role" that takes part in this - - . - - Thrown if value passed into setter is null - Thrown if the ReferentialConstraint instance is in ReadOnly state - - - - Gets the list of properties for the "from role" on which this - - is defined. - - - A collection of type that contains the list of properties for "from role" on which this - - is defined. - - - - - Gets the list of properties for the "to role" on which this - - is defined. - - - A collection of type that contains the list of properties for the "to role" on which this - - is defined. - - - - - Returns the combination of the names of the - - and the - - . - - - The combination of the names of the - - and the - - . - - - - - Class representing a ref type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the entity type referenced by this . - - - An object that represents the entity type referenced by this - - . - - - - - - - - - - - Initializes a new instance of the RelationshipEndMember class - - - - Gets the operational behavior of this relationship end member. - - One of the values. The default is - - . - - - - Gets the multiplicity of this relationship end member. - - One of the values. - - - - Access the EntityType of the EndMember in an association. - The EntityType of the EndMember in an association. - - - - Represents the multiplicity information about the end of a relationship type - - - - - Lower Bound is Zero and Upper Bound is One - - - - - Both lower bound and upper bound is one - - - - - Lower bound is zero and upper bound is null - - - - - Class for representing a relationship set - - - - - Gets the relationship type of this . - - - An object that represents the relationship type of this - - . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Represents the Relationship type - - - - Gets the list of ends for this relationship type. - - A collection of type that contains the list of Ends for this relationship type. - - - - - Represents the Edm Row Type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of properties on this . - - - A collection of type that contains the list of properties on this - - . - - - - Gets a collection of the properties defined by the current type. - A collection of the properties defined by the current type. - - - - The factory method for constructing the object. - - Properties of the row type object. - Metadata properties that will be added to the function. Can be null. - - A new, read-only instance of the object. - - - - - Class representing a simple type - - - - - Serializes the storage (database) section of an to XML. - - - - - Occurs when an error is encountered serializing the model. - - - - - Serialize the to the - - The EdmModel to serialize - Provider information on the Schema element - ProviderManifestToken information on the Schema element - The XmlWriter to serialize to - A value indicating whether to serialize Nullable attributes when they are set to the default value. - true if model can be serialized, otherwise false - - - - Serialize the to the - - The EdmModel to serialize - Namespace name on the Schema element - Provider information on the Schema element - ProviderManifestToken information on the Schema element - The XmlWriter to serialize to - A value indicating whether to serialize Nullable attributes when they are set to the default value. - true if model can be serialized, otherwise false - - - - The pattern for Server Generated Properties. - - - - - Not a Server Generated Property. This is the default. - - - - - A value is generated on INSERT, and remains unchanged on update. - - - - - A value is generated on both INSERT and UPDATE. - - - - - Class for representing a collection of items in Store space. - - - - - Initializes a new instance of the class using the specified XMLReader. - - The XMLReader used to create metadata. - - - Initializes a new instances of the class. - The model of the . - - - - Initializes a new instance of the class using the specified file paths. - - The file paths used to create metadata. - - - Gets the provider factory of the StoreItemCollection. - The provider factory of the StoreItemCollection. - - - Gets the provider manifest of the StoreItemCollection. - The provider manifest of the StoreItemCollection. - - - Gets the manifest token of the StoreItemCollection. - The manifest token of the StoreItemCollection. - - - Gets the invariant name of the StoreItemCollection. - The invariant name of the StoreItemCollection. - - - Gets the version of the store schema for this collection. - The version of the store schema for this collection. - - - - Returns a collection of the objects. - - - A object that represents the collection of the - - objects. - - - - - Factory method that creates a . - - - SSDL artifacts to load. Must not be null. - - - Paths to SSDL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - Custom resolver. Currently used to resolve DbProviderServices implementation. If null - the default resolver will be used. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - - Represents the Structural Type - - - - Gets the list of members on this type. - - A collection of type that contains a set of members on this type. - - - - - Adds a member to this type - - The member to add - - - Removes a member from this type. - The member to remove. - - - - Class representing a type information for an item - - - - - Factory method for creating a TypeUsage with specified EdmType and facets - - EdmType for which to create a type usage - facets to be copied into the new TypeUsage - new TypeUsage instance - - - - Creates a object with the specified conceptual model type. - - - A object with the default facet values for the specified - - . - - - A for which the - - object is created. - - - - - Creates a object to describe a string type by using the specified facet values. - - - A object describing a string type by using the specified facet values. - - - A for which the - - object is created. - - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the length of the string type to fixed; otherwise, false. - - - - Creates a object to describe a string type by using the specified facet values and unbounded MaxLength. - - - A object describing a string type by using the specified facet values and unbounded MaxLength. - - - A for which the - - object is created. - - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the length of the string type to fixed; otherwise, false - - - - Creates a object to describe a binary type by using the specified facet values. - - - A object describing a binary type by using the specified facet values. - - - A for which the - - object is created. - - true to set the length of the binary type to fixed; otherwise, false. - The maximum length of the binary type. - - - - Creates a object to describe a binary type by using the specified facet values. - - - A object describing a binary type by using the specified facet values. - - - A for which the - - object is created. - - true to set the length of the binary type to fixed; otherwise, false. - - - - Creates a object of the type that the parameters describe. - - - A object. - - - The simple type that defines the units of measurement of the object. - - - The degree of granularity of the in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object of the type that the parameters describe. - - - A object. - - The simple type that defines the units of measurement of the offset. - - The degree of granularity of the in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object of the type that the parameters describe. - - - A object. - - - The simple type that defines the units of measurement of the object. - - - The degree of granularity of the in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object to describe a decimal type by using the specified facet values. - - - A object describing a decimal type by using the specified facet values. - - - A for which the - - object is created. - - - The precision of the decimal type as type . - - - The scale of the decimal type as type . - - - - - Creates a object to describe a decimal type with unbounded precision and scale facet values. - - - A object describing a decimal type with unbounded precision and scale facet values. - - - A for which the - - object is created. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the type information described by this . - - - An object that represents the type information described by this - - . - - - - - Gets the list of facets for the type that is described by this - - . - - - A collection of type that contains the list of facets for the type that is described by this - - . - - - - - Returns a Model type usage for a provider type - - Model (CSpace) type usage - - - - Checks whether this is a subtype of the specified - - . - - - true if this is a subtype of the specified - - ; otherwise, false. - - - The object to be checked. - - - - - Returns the full name of the type described by this . - - - The full name of the type described by this as string. - - - - - This exception is thrown when a requested object is not found in the store. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of class that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Caches an ELinq query - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg14 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg15 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg14 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - - The values currently assigned to the properties of an entity. - - - - - This is the interface that represent the minimum interface required - to be an entity in ADO.NET. - - - - Notifies the change tracker that a property change is pending on a complex object. - The name of the changing property. - property is null. - - - Notifies the change tracker that a property of a complex object has changed. - The name of the changed property. - property is null. - - - - Attribute for complex properties - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - attribute for complex types - - - - - Attribute identifying the Edm base class - - - - - Attribute indicating an enum type. - - - - - Indicates that the given method is a proxy for an EDM function. - - - Note that this attribute has been replaced by the starting with EF6. - - - - - Creates a new DbFunctionAttribute instance. - - The namespace name of the EDM function represented by the attributed method. - The function name of the EDM function represented by the attributed method. - - - - Base attribute for properties mapped to store elements. - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - Attribute identifying the Ends defined for a RelationshipSet - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - Initializes a new instance of the - - class. - - The namespace name of the relationship property. - The name of the relationship. The relationship name is not namespace qualified. - The role name at the other end of the relationship. - - - The namespace name of the navigation property. - - A that is the namespace name. - - - - Gets the unqualified relationship name. - The relationship name. - - - Gets the role name at the other end of the relationship. - The target role name is specified by the Role attribute of the other End element in the association that defines this relationship in the conceptual model. For more information, see Association (EDM). - - - - Defines a relationship between two entity types based on an association in the conceptual model. - - - - - Creates an instance of the class. - - The name of the namespace for the association in which this entity participates. - The name of a relationship in which this entity participates. - Name of the role for the type at one end of the association. - - A value of that indicates the multiplicity at one end of the association, such as one or many. - - The type of the entity at one end of the association. - Name of the role for the type at the other end of the association. - - A value of that indicates the multiplicity at the other end of the association, such as one or many. - - The type of the entity at the other end of the association. - - - - Initializes a new instance of the - - class. - - The name of the namespace for the association in which this entity participates. - The name of a relationship in which this entity participates. - Name of the role for the type at one end of the association. - - A value of that indicates the multiplicity at one end of the association, such as one or many. - - The type of the entity at one end of the association. - Name of the role for the type at the other end of the association. - - A value of that indicates the multiplicity at the other end of the association, such as one or many. - - The type of the entity at the other end of the association. - A value that indicates whether the relationship is based on the foreign key value. - - - The namespace for the relationship. - - A that is the namespace for the relationship. - - - - Name of the relationship. - - A that is the name of a relationship that is defined by this - - . - - - - Name of the role at one end of the relationship. - - A that is the name of the role. - - - - Multiplicity at one end of the relationship. - - A value that indicates the multiplicity. - - - - Type of the entity at one end of the relationship. - - A that is the type of the object at this end of the association. - - - - Name of the role at the other end of the relationship. - - A that is the name of the role. - - - - Multiplicity at the other end of the relationship. - - A value that indicates the multiplicity. - - - - Type of the entity at the other end of the relationship. - - A that is the type of the object t the other end of the association. - - - - Gets a Boolean value that indicates whether the relationship is based on the foreign key value. - true if the relationship is based on the foreign key value; otherwise false. - - - - Attribute for scalar properties in an IEntity. - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - Gets or sets the value that indicates whether the property can have a null value. - The value that indicates whether the property can have a null value. - - - Gets or sets the value that indicates whether the property is part of the entity key. - The value that indicates whether the property is part of the entity key. - - - - Attribute for static types - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a unique value for each model referenced by the assembly. - - - Setting this parameter to a unique value for each model file in a Visual Basic - assembly will prevent the following error: - "'System.Data.Entity.Core.Objects.DataClasses.EdmSchemaAttribute' cannot be specified more than once in this project, even with identical parameter values." - - A string that is a unique GUID value for the model in the assembly. - - - - Base attribute for schematized types - - - - The name of the type in the conceptual schema that maps to the class to which this attribute is applied. - - A that is the name. - - - - The namespace name of the entity object type or complex type in the conceptual schema that maps to this type. - - A that is the namespace name. - - - - - Collection of entities modeling a particular EDM construct - which can either be all entities of a particular type or - entities participating in a particular relationship. - - The type of entities in this collection. - - - - Initializes a new instance of the class. - - - - Gets the number of objects that are contained in the collection. - - The number of elements that are contained in the - - . - - - - - Gets a value that indicates whether the - - is read-only. - - Always returns false. - - - - IListSource.ContainsListCollection implementation. Always returns false. - This means that the IList we return is the one which contains our actual data, - it is not a list of collections. - - - - - Returns the collection as an used for data binding. - - - An of entity objects. - - - - Loads related objects into the collection, using the specified merge option. - - Specifies how the objects in this collection should be merged with the objects that might have been returned from previous queries against the same - - . - - - - - - - Defines relationships between an object and a collection of related objects in an object context. - - Loads related entities into the local collection. If the collection is already filled - or partially filled, merges existing entities with the given entities. The given - entities are not assumed to be the complete set of related entities. - Owner and all entities passed in must be in Unchanged or Modified state. We allow - deleted elements only when the state manager is already tracking the relationship - instance. - - Collection of objects in the object context that are related to the source object. - entities collection is null. - - The source object or an object in the entities collection is null or is not in an - - or state.-or-The relationship cannot be defined based on the EDM metadata. This can occur when the association in the conceptual schema does not support a relationship between the two types. - - - - Defines a relationship between two attached objects in an object context. - The object being attached. - When the entity is null. - - When the entity cannot be related to the source object. This can occur when the association in the conceptual schema does not support a relationship between the two types.-or-When either object is null or is not in an - - or state. - - - - Adds an object to the collection. - - An object to add to the collection. entity must implement - - . - - entity is null. - - - Removes an object from the collection and marks the relationship for deletion. - true if item was successfully removed; otherwise, false. - The object to remove from the collection. - entity object is null. - The entity object is not attached to the same object context.-or-The entity object does not have a valid relationship manager. - - - Returns an enumerator that is used to iterate through the objects in the collection. - - An that iterates through the set of values cached by - - . - - - - - Returns an enumerator that is used to iterate through the set of values cached by - - . - - - An that iterates through the set of values cached by - - . - - - - Removes all entities from the collection. - - - Determines whether a specific object exists in the collection. - - true if the object is found in the ; otherwise, false. - - - The object to locate in the . - - - - Copies all the contents of the collection to an array, starting at the specified index of the target array. - The array to copy to. - The zero-based index in the array at which copying begins. - - - Used internally to serialize entity objects. - The streaming context. - - - Used internally to deserialize entity objects. - The streaming context. - - - Returns an object query that, when it is executed, returns the same set of objects that exists in the current collection. - - An that represents the entity collection. - - - When the object is in an state - or when the object is in a - state with a - other than - . - - - - - This is the class is the basis for all perscribed EntityObject classes. - - - - Gets the entity state of the object. - - The of this object. - - - - Gets or sets the key for this object. - - The for this object. - - - - - Used by the ObjectStateManager to attach or detach this EntityObject to the cache. - - Reference to the ObjectStateEntry that contains this entity - - - - Returns the container for the lazily created relationship - navigation property objects, collections and refs. - - - - Notifies the change tracker that a property change is pending. - The name of the changing property. - property is null. - - - Notifies the change tracker that a property has changed. - The name of the changed property. - property is null. - - - - Models a relationship end with multiplicity 1. - - - - Returns the key for the related object. - - Returns the EntityKey of the target entity associated with this EntityReference. - Is non-null in the following scenarios: - (a) Entities are tracked by a context and an Unchanged or Added client-side relationships exists for this EntityReference's owner with the - same RelationshipName and source role. This relationship could have been created explicitly by the user (e.g. by setting - the EntityReference.Value, setting this property directly, or by calling EntityCollection.Add) or automatically through span queries. - (b) If the EntityKey was non-null before detaching an entity from the context, it will still be non-null after detaching, until any operation - occurs that would set it to null, as described below. - (c) Entities are detached and the EntityKey is explicitly set to non-null by the user. - (d) Entity graph was created using a NoTracking query with full span - Is null in the following scenarios: - (a) Entities are tracked by a context but there is no Unchanged or Added client-side relationship for this EntityReference's owner with the - same RelationshipName and source role. - (b) Entities are tracked by a context and a relationship exists, but the target entity has a temporary key (i.e. it is Added) or the key - is one of the special keys - (c) Entities are detached and the relationship was explicitly created by the user. - - - An that is the key of the related object. - - - - - Models a relationship end with multiplicity 1. - - The type of the entity being referenced. - - - - Creates a new instance of . - - - The default constructor is required for some serialization scenarios. It should not be used to - create new EntityReferences. Use the GetRelatedReference or GetRelatedEnd methods on the RelationshipManager - class instead. - - - - - Gets or sets the related object returned by this - - . - - - The object returned by this . - - - - - Loads the related object for this with the specified merge option. - - - Specifies how the object should be returned if it already exists in the - - . - - - The source of the is null - or a query returned more than one related end - or a query returned zero related ends, and one related end was expected. - - - - - - - Creates a many-to-one or one-to-one relationship between two objects in the object context. - The object being attached. - When the entity is null. - When the entity cannot be related to the current related end. This can occur when the association in the conceptual schema does not support a relationship between the two types. - - - Creates an equivalent object query that returns the related object. - - An that returns the related object. - - - When the object is in an state - or when the object is in a - state with a - other than . - - - - This method is used internally to serialize related entity objects. - The serialized stream. - - - This method is used internally to serialize related entity objects. - The serialized stream. - - - - This interface is implemented by a change tracker and is used by data classes to report changes - - - - Notifies the change tracker of a pending change to a property of an entity type. - The name of the property that is changing. - - - Notifies the change tracker that a property of an entity type has changed. - The name of the property that has changed. - - - Notifies the change tracker of a pending change to a complex property. - The name of the top-level entity property that is changing. - The complex type that contains the property that is changing. - The name of the property that is changing on complex type. - - - Notifies the change tracker that a property of a complex type has changed. - The name of the complex property of the entity type that has changed. - The complex type that contains the property that changed. - The name of the property that changed on complex type. - - - Gets current state of a tracked object. - - An that is the state of the tracked object.For more information, see Identity Resolution, State Management, and Change Tracking and Tracking Changes in POCO Entities. - - - - - Minimum interface that a data class must implement in order to be managed by a change tracker. - - - - - Gets or sets the used to report changes. - - - The used to report changes. - - - - - Interface that defines an entity containing a key. - - - - - Gets or sets the for instances of entity types that implement this interface. - - - If an object is being managed by a change tracker, it is expected that - IEntityChangeTracker methods EntityMemberChanging and EntityMemberChanged will be - used to report changes on EntityKey. This allows the change tracker to validate the - EntityKey's new value and to verify if the change tracker is in a state where it can - allow updates to the EntityKey. - - - The for instances of entity types that implement this interface. - - - - - Interface that a data class must implement if exposes relationships - - - - Returns the relationship manager that manages relationships for an instance of an entity type. - - Classes that expose relationships must implement this property - by constructing and setting RelationshipManager in their constructor. - The implementation of this property should use the static method RelationshipManager.Create - to create a new RelationshipManager when needed. Once created, it is expected that this - object will be stored on the entity and will be provided through this property. - - - The for this entity. - - - - - Represents one end of a relationship. - - - - - Gets or sets a value indicating whether the entity (for an or all entities - in the collection (for an have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded - and wants to prevent any other entities from being loaded automatically. - Note that explicit loading using will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity is detached the IsLoaded flag is reset to false indicating that not all related entities - are now loaded. - - - True if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise false. - - - - Gets the name of the relationship in which this related end participates. - - The name of the relationship in which this is participating. The relationship name is not namespace qualified. - - - - Gets the role name at the source end of the relationship. - The role name at the source end of the relationship. - - - Gets the role name at the target end of the relationship. - The role name at the target end of the relationship. - - - Returns a reference to the metadata for the related end. - - A object that contains metadata for the end of a relationship. - - - - Loads the related object or objects into this related end with the default merge option. - - - Asynchronously loads the related object or objects into this related end with the default merge option. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - Loads the related object or objects into the related end with the specified merge option. - - The to use when merging objects into an existing - . - - - - Asynchronously loads the related object or objects into the related end with the specified merge option. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when merging objects into an existing - . - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - Adds an object to the related end. - - An object to add to the collection. entity must implement - - . - - - - Adds an object to the related end. - An object to add to the collection. - - - Removes an object from the collection of objects at the related end. - - true if entity was successfully removed, false if entity was not part of the - - . - - - The object to remove from the collection. entity must implement - - . - - - - Removes an object from the collection of objects at the related end. - - true if entity was successfully removed; false if entity was not part of the - - . - - An object to remove from the collection. - - - Defines a relationship between two attached objects. - - The object being attached. entity must implement - - . - - - - Defines a relationship between two attached objects. - The object being attached. - - - - Returns an that represents the objects that belong to the related end. - - - An that represents the objects that belong to the related end. - - - - - Returns an that iterates through the collection of related objects. - - - An that iterates through the collection of related objects. - - - - - Base class for EntityCollection and EntityReference - - - - Occurs when a change is made to a related end. - - - Gets the name of the relationship in which this related end participates. - - The name of the relationship in which this participates. The relationship name is not namespace qualified. - - - - Gets the role name at the source end of the relationship. - - A that is the role name. - - - - Gets the role name at the target end of the relationship. - - A that is the role name. - - - - - Returns an that represents the objects that belong to the related end. - - - An that represents the objects that belong to the related end. - - - - Gets a reference to the metadata for the related end. - - A object that contains metadata for the end of a relationship. - - - - - - - - Loads the related object or objects into the related end with the default merge option. - - - When the source object was retrieved by using a query - and the is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Asynchronously loads the related object or objects into the related end with the default merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - When the source object was retrieved by using a query - and the is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Loads an object or objects from the related end with the specified merge option. - - - The to use when merging objects into an existing - . - - - When the source object was retrieved by using a query - and the - is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Asynchronously loads an object or objects from the related end with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when merging objects into an existing - . - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - When the source object was retrieved by using a query - and the - is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Attaches an entity to the related end. This method works in exactly the same way as Attach(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - The entity to attach to the related end - - Thrown when - - is null. - - Thrown when the entity cannot be related via the current relationship end. - - - - Attaches an entity to the related end. If the related end is already filled - or partially filled, this merges the existing entities with the given entity. The given - entity is not assumed to be the complete set of related entities. - Owner and all entities passed in must be in Unchanged or Modified state. - Deleted elements are allowed only when the state manager is already tracking the relationship - instance. - - The entity to attach to the related end - - Thrown when - - is null. - - Thrown when the entity cannot be related via the current relationship end. - - - - Adds an entity to the related end. This method works in exactly the same way as Add(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - Entity instance to add to the related end - - - - Adds an entity to the related end. If the owner is - attached to a cache then the all the connected ends are - added to the object cache and their corresponding relationships - are also added to the ObjectStateManager. The RelatedEnd of the - relationship is also fixed. - - Entity instance to add to the related end - - - - Removes an entity from the related end. This method works in exactly the same way as Remove(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - Entity instance to remove from the related end - Returns true if the entity was successfully removed, false if the entity was not part of the RelatedEnd. - - - - Removes an entity from the related end. If owner is - attached to a cache, marks relationship for deletion and if - the relationship is composition also marks the entity for deletion. - - Entity instance to remove from the related end - Returns true if the entity was successfully removed, false if the entity was not part of the RelatedEnd. - - - - Returns an that iterates through the collection of related objects. - - - An that iterates through the collection of related objects. - - - - - Used internally to deserialize entity objects along with the - - instances. - - The serialized stream. - - - - Identifies the kind of a relationship - - - - - The relationship is an Association - - - - - Container for the lazily created relationship navigation - property objects (collections and refs). - - - - - Creates a new object. - - - Used by data classes that support relationships. If the change tracker - requests the RelationshipManager property and the data class does not - already have a reference to one of these objects, it calls this method - to create one, then saves a reference to that object. On subsequent accesses - to that property, the data class should return the saved reference. - The reason for using a factory method instead of a public constructor is to - emphasize that this is not something you would normally call outside of a data class. - By requiring that these objects are created via this method, developers should - give more thought to the operation, and will generally only use it when - they explicitly need to get an object of this type. It helps define the intended usage. - - - The requested . - - Reference to the entity that is calling this method. - - - - Returns either an or - - of the correct type for the specified target role in a relationship. - - - representing the - - or - - that was retrieved. - - Name of the relationship in which targetRoleName is defined. The relationship name is not namespace qualified. - Target role to use to retrieve the other end of relationshipName . - relationshipName or targetRoleName is null. - The source type does not match the type of the owner. - targetRoleName is invalid or unable to find the relationship type in the metadata. - - - - Takes an existing EntityReference that was created with the default constructor and initializes it using the provided relationship and target role names. - This method is designed to be used during deserialization only, and will throw an exception if the provided EntityReference has already been initialized, - if the relationship manager already contains a relationship with this name and target role, or if the relationship manager is already attached to a ObjectContext.W - - The relationship name. - The role name of the related end. - - The to initialize. - - - The type of the being initialized. - - - When the provided - is already initialized.-or-When the relationship manager is already attached to an - - or when the relationship manager already contains a relationship with this name and target role. - - - - - Takes an existing EntityCollection that was created with the default constructor and initializes it using the provided relationship and target role names. - This method is designed to be used during deserialization only, and will throw an exception if the provided EntityCollection has already been initialized, - or if the relationship manager is already attached to a ObjectContext. - - The relationship name. - The target role name. - An existing EntityCollection. - Type of the entity represented by targetRoleName - - - - Gets an of related objects with the specified relationship name and target role name. - - - The of related objects. - - Name of the relationship to navigate. The relationship name is not namespace qualified. - Name of the target role for the navigation. Indicates the direction of navigation across the relationship. - - The type of the returned . - - - The specified role returned an instead of an - - . - - - - - Gets the for a related object by using the specified combination of relationship name and target role name. - - - The of a related object. - - Name of the relationship to navigate. The relationship name is not namespace qualified. - Name of the target role for the navigation. Indicates the direction of navigation across the relationship. - - The type of the returned . - - - The specified role returned an instead of an - - . - - - - Returns an enumeration of all the related ends managed by the relationship manager. - - An of objects that implement - - . An empty enumeration is returned when the relationships have not yet been populated. - - - - - Called by Object Services to prepare an for binary serialization with a serialized relationship. - - Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. - - - - Used internally to deserialize entity objects along with the - - instances. - - The serialized stream. - - - - This class contains the common methods need for an date object. - - - - - Public constant name used for change tracking - Providing this definition allows users to use this constant instead of - hard-coding the string. This helps to ensure the property name is correct - and allows faster comparisons in places where we are looking for this specific string. - Users can still use the case-sensitive string directly instead of the constant, - it will just be slightly slower on comparison. - Including the dash (-) character around the name ensures that this will not conflict with - a real data property, because -EntityKey- is not a valid identifier name - - - - - Notification that a property has been changed. - - - The PropertyChanged event can indicate all properties on the - object have changed by using either a null reference - (Nothing in Visual Basic) or String.Empty as the property name - in the PropertyChangedEventArgs. - - - - - Notification that a property is about to be changed. - - - The PropertyChanging event can indicate all properties on the - object are changing by using either a null reference - (Nothing in Visual Basic) or String.Empty as the property name - in the PropertyChangingEventArgs. - - - - - Raises the event. - - The name of the changed property. - - - - Raises the event. - - The name of the property changing. - - - Returns the minimum date time value supported by the data source. - - A value that is the minimum date time that is supported by the data source. - - - - Raises an event that is used to report that a property change is pending. - The name of the changing property. - - - Raises an event that is used to report that a property change has occurred. - The name for the changed property. - - - Returns a complex type for the specified property. - - Unlike most of the other helper methods in this class, this one is not static - because it references the SetValidValue for complex objects, which is also not static - because it needs a reference to this. - - A complex type object for the property. - A complex object that inherits from complex object. - The name of the complex property that is the complex object. - Indicates whether the type supports null values. - Indicates whether the type is initialized. - The type of the complex object being requested. - - - Determines whether the specified byte arrays contain identical values. - true if both arrays are of the same length and contain the same byte values or if both arrays are null; otherwise, false. - The first byte array value to compare. - The second byte array to compare. - - - Returns a copy of the current byte value. - - A copy of the current value. - - The current byte array value. - - - - Makes sure the value being set for a property is valid. - - - The value being validated. - - The value passed into the property setter. - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - If value is null for a non nullable value. - - - - Makes sure the value being set for a property is valid. - - - A value being set. - - The value being set. - Indicates whether the property is nullable. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - The Boolean value. - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - The Boolean value. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - A that is set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value that is set. - - The value that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - A value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - Makes sure the Single value being set for a property is valid. - - The value being set. - - - The value. - - The name of the property that is being validated. - - - Makes sure the Single value being set for a property is valid. - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - Name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - Makes sure the UInt16 value being set for a property is valid. - The nullable UInt16 value being set. - The nullable UInt16 value. - The name of the property that is being validated. - - - Makes sure the UInt16 value being set for a property is valid. - The nullable UInt16 value being set. - The nullable UInt16 value. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - Makes sure the UInt32 value being set for a property is valid. - The nullable UInt32 value being set. - The nullable UInt32 value. - The name of the property that is being validated. - - - Makes sure the UInt32 value being set for a property is valid. - The nullable UInt32 value being set. - The nullable UInt32 value. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - The nullable UInt64 value being set. - The nullable UInt64 value. - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - The nullable UInt64 value being set. - The nullable UInt64 value. - - - Validates that the property is not null, and throws if it is. - The validated property. - The string value to be checked. - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - The string value is null for a non-nullable string. - - - Validates that the property is not null, and throws if it is. - - The validated value. - - The string value to be checked. - Flag indicating if this property is allowed to be null. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - The value to be checked. - - Flag indicating if this property is allowed to be null. - Name of the property that is being validated. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - value to be checked. - - Flag indicating if this property is allowed to be null. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - value to be checked. - - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - The value to be checked. - - Flag indicating if this property is allowed to be null. - The value is null for a non-nullable property. - - - Sets a complex object for the specified property. - A complex type that derives from complex object. - The original complex object for the property, if any. - The complex object is being set. - The complex property that is being set to the complex object. - The type of the object being replaced. - - - Verifies that a complex object is not null. - The complex object being validated. - The complex object that is being validated. - The complex property on the parent object that is associated with complexObject . - The type of the complex object being verified. - - - - Provides access to the original values of object data. The DbUpdatableDataRecord implements methods that allow updates to the original values of an object. - - - - Gets the number of fields in the record. - An integer value that is the field count. - - - Returns a value that has the given field ordinal. - The value that has the given field ordinal. - The ordinal of the field. - - - Gets a value that has the given field name. - The field value. - The name of the field. - - - Retrieves the field value as a Boolean. - The field value as a Boolean. - The ordinal of the field. - - - Retrieves the field value as a byte. - The field value as a byte. - The ordinal of the field. - - - Retrieves the field value as a byte array. - The number of bytes copied. - The ordinal of the field. - The index at which to start copying data. - The destination buffer where data is copied. - The index in the destination buffer where copying will begin. - The number of bytes to copy. - - - Retrieves the field value as a char. - The field value as a char. - The ordinal of the field. - - - Retrieves the field value as a char array. - The number of characters copied. - The ordinal of the field. - The index at which to start copying data. - The destination buffer where data is copied. - The index in the destination buffer where copying will begin. - The number of characters to copy. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as a - - - The field value as a . - - The ordinal of the field. - - - Retrieves the name of the field data type. - The name of the field data type. - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - Retrieves the field value as a decimal. - The field value as a decimal. - The ordinal of the field. - - - Retrieves the field value as a double. - The field value as a double. - The ordinal of the field. - - - Retrieves the type of a field. - The field type. - The ordinal of the field. - - - Retrieves the field value as a float. - The field value as a float. - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - Retrieves the name of a field. - The name of the field. - The ordinal of the field. - - - Retrieves the ordinal of a field by using the name of the field. - The ordinal of the field. - The name of the field. - - - Retrieves the field value as a string. - The field value. - The ordinal of the field. - - - Retrieves the value of a field. - The field value. - The ordinal of the field. - - - Retrieves the value of a field. - The field value. - The ordinal of the field. - - - Populates an array of objects with the field values of the current record. - The number of field values returned. - An array of objects to store the field values. - - - - Returns whether the specified field is set to . - - - true if the field is set to ; otherwise false. - - The ordinal of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets field values in a record. - The number of the fields that were set. - The values of the field. - - - - Sets a field to the value. - - The ordinal of the field. - - - Gets data record information. - - A object. - - - - - Retrieves a field value as a . - - - A field value as a . - - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - - List of type pairs that constructor call new XXXX(YYY yyy) could be translated to SQL CAST(yyy AS XXXXX) call - - - - - Provides common language runtime (CLR) methods that expose EDM canonical functions - for use in or LINQ to Entities queries. - - - Note that these functions have been moved to the class starting with EF6. - The functions are retained here only to help in the migration of older EF apps to EF6. - - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Left EDM function to return a given - number of the leftmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the left of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Right EDM function to return a given - number of the rightmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the right of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Reverse EDM function to return a given - string with the order of the characters reversed. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The input string with the order of the characters reversed. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to - return the number of minutes that the given date/time is offset from UTC. This is generally between +780 - and -780 (+ or - 13 hrs). - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The offset of the input from UTC. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTimeOffset EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The time zone offset part of the new date. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of hours between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of minutes between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of seconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of milliseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of microseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of nanoseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - The string to escape special characters with, must only be a single character. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a Unicode string. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a non-Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a non-Unicode string. - - - - Options for query execution. - - - - - Creates a new instance of . - - Merge option to use for entity results. - - - - Creates a new instance of . - - Merge option to use for entity results. - Whether the query is streaming or buffering. - - - - Merge option to use for entity results. - - - - - Whether the query is streaming or buffering. - - - - Determines whether the specified objects are equal. - true if the two objects are equal; otherwise, false. - The left object to compare. - The right object to compare. - - - - Determines whether the specified objects are not equal. - - The left object to compare. - The right object to compare. - true if the two objects are not equal; otherwise, false. - - - - - - - - - - Defines behavior for implementations of IQueryable that allow modifications to the membership of the resulting set. - - Type of entities returned from the queryable. - - - Notifies the set that an object that represents a new entity must be added to the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The new object to add to the set. - - - Notifies the set that an object that represents an existing entity must be added to the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The existing object to add to the set. - - - Notifies the set that an object that represents an existing entity must be deleted from the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The existing object to delete from the set. - - - Notifies the set that an object that represents an existing entity must be detached from the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The object to detach from the set. - - - - The different ways that new objects loaded from the database can be merged with existing objects already in memory. - - - - - Will only append new (top level-unique) rows. This is the default behavior. - - - - - Same behavior as LoadOption.OverwriteChanges. - - - - - Same behavior as LoadOption.PreserveChanges. - - - - - Will not modify cache. - - - - - ObjectContext is the top-level object that encapsulates a connection between the CLR and the database, - serving as a gateway for Create, Read, Update, and Delete operations. - - - - - Initializes a new instance of the class with the given connection. During construction, the metadata workspace is extracted from the - - object. - - - An that contains references to the model and to the data source connection. - - The connection is null. - The connection is invalid or the metadata workspace is invalid. - - - - Creates an ObjectContext with the given connection and metadata workspace. - - connection to the store - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - Initializes a new instance of the class with the given connection string and default entity container name. - - The connection string, which also provides access to the metadata information. - The connectionString is null. - The connectionString is invalid or the metadata workspace is not valid. - - - - Initializes a new instance of the class with a given connection string and entity container name. - - The connection string, which also provides access to the metadata information. - The name of the default entity container. When the defaultContainerName is set through this method, the property becomes read-only. - The connectionString is null. - The connectionString , defaultContainerName , or metadata workspace is not valid. - - - - Initializes a new instance of the class with a given connection and entity container name. - - - An that contains references to the model and to the data source connection. - - The name of the default entity container. When the defaultContainerName is set through this method, the property becomes read-only. - The connection is null. - The connection , defaultContainerName , or metadata workspace is not valid. - - - Gets the connection used by the object context. - - A object that is the connection. - - - When the instance has been disposed. - - - - Gets or sets the default container name. - - A that is the default container name. - - - - Gets the metadata workspace used by the object context. - - The object associated with this - - . - - - - Gets the object state manager used by the object context to track object changes. - - The used by this - - . - - - - Gets or sets the timeout value, in seconds, for all object context operations. A null value indicates that the default value of the underlying provider will be used. - - An value that is the timeout value, in seconds. - - The timeout value is less than 0. - - - Gets the LINQ query provider associated with this object context. - - The instance used by this object context. - - - - - Gets the instance that contains options that affect the behavior of the - - . - - - The instance that contains options that affect the behavior of the - - . - - - - - Returns itself. ObjectContext implements to provide a common - interface for and ObjectContext both of which will return the underlying - ObjectContext. - - - - - Gets the transaction handler in use by this context. May be null if no transaction have been started. - - - The transaction handler. - - - - - Returns the being used for this context. - - - - Occurs when changes are saved to the data source. - - - Occurs when a new entity object is created from data in the data source as part of a query or load operation. - - - Accepts all changes made to objects in the object context. - - - Adds an object to the object context. - Represents the entity set name, which may optionally be qualified by the entity container name. - - The to add. - - The entity parameter is null or the entitySetName does not qualify. - - - Explicitly loads an object related to the supplied object by the specified navigation property and using the default merge option. - The entity for which related objects are to be loaded. - The name of the navigation property that returns the related objects to be loaded. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified navigation property and using the specified merge option. - The entity for which related objects are to be loaded. - The name of the navigation property that returns the related objects to be loaded. - - The value to use when you load the related objects. - - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified LINQ query and by using the default merge option. - The type of the entity. - The source object for which related objects are to be loaded. - A LINQ expression that defines the related objects to be loaded. - selector does not supply a valid input parameter. - selector is null. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified LINQ query and by using the specified merge option. - The type of the entity. - The source object for which related objects are to be loaded. - A LINQ expression that defines the related objects to be loaded. - - The value to use when you load the related objects. - - selector does not supply a valid input parameter. - selector is null. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Applies property changes from a detached object to an object already attached to the object context. - The name of the entity set to which the object belongs. - The detached object that has property updates to apply to the original object. - When entitySetName is null or an empty string or when changed is null. - - When the from entitySetName does not match the - - of the object - - or when the entity is in a state other than - - or - - or the original object is not attached to the context. - - When the type of the changed object is not the same type as the original object. - - - - Copies the scalar values from the supplied object into the object in the - - that has the same key. - - The updated object. - The name of the entity set to which the object belongs. - - The detached object that has property updates to apply to the original object. The entity key of currentEntity must match the - - property of an entry in the - - . - - The entity type of the object. - entitySetName or current is null. - - The from entitySetName does not match the - - of the object - - or the object is not in the - - or it is in a - - state or the entity key of the supplied object is invalid. - - entitySetName is an empty string. - - - - Copies the scalar values from the supplied object into set of original values for the object in the - - that has the same key. - - The updated object. - The name of the entity set to which the object belongs. - - The detached object that has original values to apply to the object. The entity key of originalEntity must match the - - property of an entry in the - - . - - The type of the entity object. - entitySetName or original is null. - - The from entitySetName does not match the - - of the object - - or an - - for the object cannot be found in the - - or the object is in an - - or a - - state or the entity key of the supplied object is invalid or has property changes. - - entitySetName is an empty string. - - - Attaches an object or object graph to the object context in a specific entity set. - Represents the entity set name, which may optionally be qualified by the entity container name. - - The to attach. - - The entity is null. - - Invalid entity set or the object has a temporary key or the object has an - - and the - - does not match with the entity set passed in as an argument of the method or the object does not have an - - and no entity set is provided or any object from the object graph has a temporary - - or any object from the object graph has an invalid - - (for example, values in the key do not match values in the object) or the entity set could not be found from a given entitySetName name and entity container name or any object from the object graph already exists in another state manager. - - - - Attaches an object or object graph to the object context when the object has an entity key. - The object to attach. - The entity is null. - Invalid entity key. - - - Creates the entity key for a specific object, or returns the entity key if it already exists. - - The of the object. - - The fully qualified name of the entity set to which the entity object belongs. - The object for which the entity key is being retrieved. - When either parameter is null. - When entitySetName is empty or when the type of the entity object does not exist in the entity set or when the entitySetName is not fully qualified. - When the entity key cannot be constructed successfully based on the supplied parameters. - - - - Creates a new instance that is used to query, add, modify, and delete objects of the specified entity type. - - - The new instance. - - - Entity type of the requested . - - - The property is not set on the - - or the specified type belongs to more than one entity set. - - - - - Creates a new instance that is used to query, add, modify, and delete objects of the specified type and with the specified entity set name. - - - The new instance. - - - Name of the entity set for the returned . The string must be qualified by the default container name if the - - property is not set on the - - . - - - Entity type of the requested . - - - The from entitySetName does not match the - - of the object - - or the - - property is not set on the - - and the name is not qualified as part of the entitySetName parameter or the specified type belongs to more than one entity set. - - - - - Creates an in the current object context by using the specified query string. - - - An of the specified type. - - The query string to be executed. - Parameters to pass to the query. - - The entity type of the returned . - - The queryString or parameters parameter is null. - - - Marks an object for deletion. - - An object that specifies the entity to delete. The object can be in any state except - - . - - - - Removes the object from the object context. - - Object to be detached. Only the entity is removed; if there are any related objects that are being tracked by the same - - , those will not be detached automatically. - - The entity is null. - - The entity is not associated with this (for example, was newly created and not associated with any context yet, or was obtained through some other context, or was already detached). - - - - - Finalizes an instance of the class. - - - - Releases the resources used by the object context. - - - - Releases the resources used by the object context. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Returns an object that has the specified entity key. - - An that is an instance of an entity type. - - The key of the object to be found. - The key parameter is null. - - The object is not found in either the or the data source. - - - - Updates a collection of objects in the object context with data from the database. - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - - An collection of objects to refresh. - - collection is null. - refreshMode is not valid. - collection is empty or an object is not attached to the context. - - - Updates an object in the object context with data from the database. - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - The object to be refreshed. - entity is null. - refreshMode is not valid. - entity is not attached to the context. - - - Asynchronously updates a collection of objects in the object context with data from the database. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - - An collection of objects to refresh. - - - A task that represents the asynchronous operation. - - collection is null. - refreshMode is not valid. - collection is empty or an object is not attached to the context. - - - Asynchronously updates a collection of objects in the object context with data from the database. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - - An collection of objects to refresh. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - collection is null. - refreshMode is not valid. - collection is empty or an object is not attached to the context. - - - Asynchronously updates an object in the object context with data from the database. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - The object to be refreshed. - - A task that represents the asynchronous operation. - - entity is null. - refreshMode is not valid. - entity is not attached to the context. - - - Asynchronously updates an object in the object context with data from the database. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - The object to be refreshed. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - entity is null. - refreshMode is not valid. - entity is not attached to the context. - - - Persists all updates to the database and resets change tracking in the object context. - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Asynchronously persists all updates to the database and resets change tracking in the object context. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Asynchronously persists all updates to the database and resets change tracking in the object context. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Persists all updates to the database and optionally resets change tracking in the object context. - - This parameter is needed for client-side transaction support. If true, the change tracking on all objects is reset after - - finishes. If false, you must call the - method after . - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Persists all updates to the database and optionally resets change tracking in the object context. - - A value that determines the behavior of the operation. - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Asynchronously persists all updates to the database and optionally resets change tracking in the object context. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that determines the behavior of the operation. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Asynchronously persists all updates to the database and optionally resets change tracking in the object context. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that determines the behavior of the operation. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - - Ensures that changes are synchronized with changes in all objects that are tracked by the - - . - - - - Returns an object that has the specified entity key. - true if the object was retrieved successfully. false if the key is temporary, the connection is null, or the value is null. - The key of the object to be found. - When this method returns, contains the object. - Incompatible metadata for key . - key is null. - - - - Executes a stored procedure or function that is defined in the data source and mapped in the conceptual model, with the specified parameters. Returns a typed - - . - - - An for the data that is returned by the stored procedure. - - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - The entity type of the returned when the function is executed against the data source. This type must implement - - . - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - - Executes the given stored procedure or function that is defined in the data source and expressed in the conceptual model, with the specified parameters, and merge option. Returns a typed - - . - - - An for the data that is returned by the stored procedure. - - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - The to use when executing the query. - - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - The entity type of the returned when the function is executed against the data source. This type must implement - - . - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - - Executes the given function on the default container. - - Element type for function results. - - Name of function. May include container (e.g. ContainerName.FunctionName) or just function name when DefaultContainerName is known. - - The options for executing this function. - - The parameter values to use for the function. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - An object representing the result of executing this function. - If function is null or empty - - If function is invalid (syntax, - does not exist, refers to a function with return type incompatible with T) - - - - Executes a stored procedure or function that is defined in the data source and expressed in the conceptual model; discards any results returned from the function; and returns the number of rows affected by the execution. - The number of rows affected. - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - Generates an equivalent type that can be used with the Entity Framework for each type in the supplied enumeration. - - An enumeration of objects that represent custom data classes that map to the conceptual model. - - - - Returns all the existing proxy types. - - An of all the existing proxy types. - - - - Returns the entity type of the POCO entity associated with a proxy object of a specified type. - - The of the associated POCO entity. - - - The of the proxy object. - - - - Creates and returns an instance of the requested type . - An instance of the requested type T , or an instance of a derived type that enables T to be used with the Entity Framework. The returned object is either an instance of the requested type or an instance of a derived type that enables the requested type to be used with the Entity Framework. - Type of object to be returned. - - - - Executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command specified in the server's native query language. - The parameter values to use for the query. - The number of rows affected. - - - - Executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - Controls the creation of a transaction for this command. - The command specified in the server's native query language. - The parameter values to use for the query. - The number of rows affected. - - - - Asynchronously executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command specified in the server's native query language. - The parameter values to use for the query. - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - - Asynchronously executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - Controls the creation of a transaction for this command. - The command specified in the server's native query language. - The parameter values to use for the query. - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - - Asynchronously executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command specified in the server's native query language. - - A to observe while waiting for the task to complete. - - The parameter values to use for the query. - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - - Asynchronously executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - Controls the creation of a transaction for this command. - The command specified in the server's native query language. - - A to observe while waiting for the task to complete. - - The parameter values to use for the query. - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior of - DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - - The to use when executing the query. The default is - . - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - - A to observe while waiting for the task to complete. - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - The options for executing this query. - - A to observe while waiting for the task to complete. - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - The options for executing this query. - - A to observe while waiting for the task to complete. - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Translates a that contains rows of entity data to objects of the requested entity type. - - The entity type. - An enumeration of objects of type TResult . - - The that contains entity data to translate into entity objects. - - When reader is null. - - - - Translates a that contains rows of entity data to objects of the requested entity type, in a specific entity set, and with the specified merge option. - - The entity type. - An enumeration of objects of type TResult . - - The that contains entity data to translate into entity objects. - - The entity set of the TResult type. - - The to use when translated objects are added to the object context. The default is - - . - - When reader is null. - - When the supplied mergeOption is not a valid value. - - When the supplied entitySetName is not a valid entity set for the TResult type. - - - - Creates the database by using the current data source connection and the metadata in the - - . - - - - Deletes the database that is specified as the database in the current data source connection. - - - - Checks if the database that is specified as the database in the current store connection exists on the store. Most of the actual work - is done by the DbProviderServices implementation for the current store connection. - - true if the database exists; otherwise, false. - - - - Generates a data definition language (DDL) script that creates schema objects (tables, primary keys, foreign keys) for the metadata in the - - . The - - loads metadata from store schema definition language (SSDL) files. - - - A DDL script that creates schema objects for the metadata in the - - . - - - - - Defines options that affect the behavior of the ObjectContext. - - - - - Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction. - - - This flag determines whether a new transaction will be started when methods such as - and are executed outside of a transaction. - Note that this does not change the behavior of . - - - The default transactional behavior. - - - - Gets or sets a Boolean value that determines whether related objects are loaded automatically when a navigation property is accessed. - true if lazy loading is enabled; otherwise, false. - - - Gets or sets a Boolean value that determines whether proxy instances are created for custom data classes that are persistence ignorant. - true if proxies are created; otherwise, false. The default value is true. - - - Gets or sets a Boolean value that determines whether to use the legacy PreserveChanges behavior. - true if the legacy PreserveChanges behavior should be used; otherwise, false. - - - Gets or sets a Boolean value that determines whether to use the consistent NullReference behavior. - - If this flag is set to false then setting the Value property of the for an - FK relationship to null when it is already null will have no effect. When this flag is set to true, then - setting the value to null will always cause the FK to be nulled and the relationship to be deleted - even if the value is currently null. The default value is false when using ObjectContext and true - when using DbContext. - - true if the consistent NullReference behavior should be used; otherwise, false. - - - Gets or sets a Boolean value that determines whether to use the C# NullComparison behavior. - - This flag determines whether C# behavior should be exhibited when comparing null values in LinqToEntities. - If this flag is set, then any equality comparison between two operands, both of which are potentially - nullable, will be rewritten to show C# null comparison semantics. As an example: - (operand1 = operand2) will be rewritten as - (((operand1 = operand2) AND NOT (operand1 IS NULL OR operand2 IS NULL)) || (operand1 IS NULL && operand2 IS NULL)) - The default value is false when using . - - true if the C# NullComparison behavior should be used; otherwise, false. - - - - EventArgs for the ObjectMaterialized event. - - - - - Constructs new arguments for the ObjectMaterialized event. - - The object that has been materialized. - - - Gets the entity object that was created. - The entity object that was created. - - - - Delegate for the ObjectMaterialized event. - - The ObjectContext responsable for materializing the object. - EventArgs containing a reference to the materialized object. - - - - This class represents a query parameter at the object layer, which consists - of a Name, a Type and a Value. - - - - - Initializes a new instance of the class with the specified name and type. - - The parameter name. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. The first character of the expression must be a letter. Any successive characters in the expression must be either letters, numbers, or an underscore (_) character. - The common language runtime (CLR) type of the parameter. - If the value of either argument is null. - If the value of the name argument is invalid. Parameter names must start with a letter and can only contain letters, numbers, and underscores. - - - - Initializes a new instance of the class with the specified name and value. - - The parameter name. This name should not include the "@" parameter marker that is used in Entity SQL statements, only the actual name. The first character of the expression must be a letter. Any successive characters in the expression must be either letters, numbers, or an underscore (_) character. - The initial value (and inherently, the type) of the parameter. - If the value of either argument is null. - If the value of the name argument is not valid. Parameter names must start with a letter and can only contain letters, numbers, and underscores. - - - Gets the parameter name, which can only be set through a constructor. - The parameter name, which can only be set through a constructor. - - - Gets the parameter type. - - The of the parameter. - - - - Gets or sets the parameter value. - The parameter value. - - - - This class represents a collection of query parameters at the object layer. - - - - Gets the number of parameters currently in the collection. - - The number of objects that are currently in the collection. - - - - - This collection is read-write - parameters may be added, removed - and [somewhat] modified at will (value only) - provided that the - implementation the collection belongs to has not locked its parameters - because it's command definition has been prepared. - - - - Provides an indexer that allows callers to retrieve parameters by name. - - The instance. - - The name of the parameter to find. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. - No parameter with the specified name is found in the collection. - - - - Adds the specified to the collection. - - The parameter to add to the collection. - The parameter argument is null. - - The parameter argument already exists in the collection. This behavior differs from that of most collections that allow duplicate entries. -or-Another parameter with the same name as the parameter argument already exists in the collection. Note that the lookup is case-insensitive. This behavior differs from that of most collections, and is more like that of a - - . - - The type of the parameter is not valid. - - - - Deletes all instances from the collection. - - - - - Checks for the existence of a specified in the collection by reference. - - Returns true if the parameter object was found in the collection; otherwise, false. - - The to find in the collection. - - The parameter argument is null. - - - - Determines whether an with the specified name is in the collection. - - Returns true if a parameter with the specified name was found in the collection; otherwise, false. - The name of the parameter to look for in the collection. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. - The name parameter is null. - - - Allows the parameters in the collection to be copied into a supplied array, starting with the object at the specified index. - The array into which to copy the parameters. - The index in the array at which to start copying the parameters. - - - - Removes an instance of an from the collection by reference if it exists in the collection. - - Returns true if the parameter object was found and removed from the collection; otherwise, false. - An object to remove from the collection. - The parameter argument is null. - - - - These methods return enumerator instances, which allow the collection to - be iterated through and traversed. - - An object that can be used to iterate through the collection. - - - Returns an untyped enumerator over the collection. - - An instance. - - - - - This class implements untyped queries at the object-layer. - - - - Returns the command text for the query. - A string value. - - - Gets the object context associated with this object query. - - The associated with this - - instance. - - - - Gets or sets how objects returned from a query are added to the object context. - - The query . - - - - - Whether the query is streaming or buffering - - - - Gets the parameter collection for this object query. - - The parameter collection for this . - - - - Gets or sets a value that indicates whether the query plan should be cached. - A value that indicates whether the query plan should be cached. - - - Returns the commands to execute against the data source. - A string that represents the commands that the query executes against the data source. - - - Returns information about the result type of the query. - - A value that contains information about the result type of the query. - - - - Executes the untyped object query with the specified merge option. - - The to use when executing the query. - The default is . - - - An that contains a collection of entity objects returned by the query. - - - - - Asynchronously executes the untyped object query with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when executing the query. - The default is . - - - A task that represents the asynchronous operation. - The task result contains an - that contains a collection of entity objects returned by the query. - - - - - Asynchronously executes the untyped object query with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when executing the query. - The default is . - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an - that contains a collection of entity objects returned by the query. - - - - - Returns the collection as an used for data binding. - - - An of entity objects. - - - - - Gets the result element type for this query instance. - - - - - Gets the expression describing this query. For queries built using - LINQ builder patterns, returns a full LINQ expression tree; otherwise, - returns a constant expression wrapping this query. Note that the - default expression is not cached. This allows us to differentiate - between LINQ and Entity-SQL queries. - - - - - Gets the associated with this query instance. - - - - Returns an enumerator that iterates through a collection. - - An that can be used to iterate through the collection. - - - - - Returns an which when enumerated will execute the given SQL query against the database. - - The query results. - - - - ObjectQuery implements strongly-typed queries at the object-layer. - Queries are specified using Entity-SQL strings and may be created by calling - the Entity-SQL-based query builder methods declared by ObjectQuery. - - The result type of this ObjectQuery - - - - Creates a new instance using the specified Entity SQL command as the initial query. - - The Entity SQL query. - - The on which to execute the query. - - - - - Creates a new instance using the specified Entity SQL command as the initial query and the specified merge option. - - The Entity SQL query. - - The on which to execute the query. - - - Specifies how the entities that are retrieved through this query should be merged with the entities that have been returned from previous queries against the same - - . - - - - Gets or sets the name of this object query. - - A string value that is the name of this . - - The value specified on set is not valid. - - - Executes the object query with the specified merge option. - - The to use when executing the query. - The default is . - - - An that contains a collection of entity objects returned by the query. - - - - - Asynchronously executes the object query with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when executing the query. - The default is . - - - A task that represents the asynchronous operation. - The task result contains an - that contains a collection of entity objects returned by the query. - - - - - Asynchronously executes the object query with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when executing the query. - The default is . - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an - that contains a collection of entity objects returned by the query. - - - - Specifies the related objects to include in the query results. - - A new with the defined query path. - - Dot-separated list of related objects to return in the query results. - path is null. - path is empty. - - - Limits the query to unique results. - - A new instance that is equivalent to the original instance with SELECT DISTINCT applied. - - - - - This query-builder method creates a new query whose results are all of - the results of this query, except those that are also part of the other - query specified. - - A query representing the results to exclude. - a new ObjectQuery instance. - If the query parameter is null. - - - Groups the query results by the specified criteria. - - A new instance of type - - that is equivalent to the original instance with GROUP BY applied. - - The key columns by which to group the results. - The list of selected properties that defines the projection. - Zero or more parameters that are used in this method. - The query parameter is null or an empty string - or the projection parameter is null or an empty string. - - - - This query-builder method creates a new query whose results are those that - are both in this query and the other query specified. - - A query representing the results to intersect with. - a new ObjectQuery instance. - If the query parameter is null. - - - Limits the query to only results of a specific type. - - A new instance that is equivalent to the original instance with OFTYPE applied. - - - The type of the returned when the query is executed with the applied filter. - - The type specified is not valid. - - - Orders the query results by the specified criteria. - - A new instance that is equivalent to the original instance with ORDER BY applied. - - The key columns by which to order the results. - Zero or more parameters that are used in this method. - The keys or parameters parameter is null. - The key is an empty string. - - - Limits the query results to only the properties that are defined in the specified projection. - - A new instance of type - - that is equivalent to the original instance with SELECT applied. - - The list of selected properties that defines the projection. - Zero or more parameters that are used in this method. - projection is null or parameters is null. - The projection is an empty string. - - - Limits the query results to only the property specified in the projection. - - A new instance of a type compatible with the specific projection. The returned - - is equivalent to the original instance with SELECT VALUE applied. - - The projection list. - An optional set of query parameters that should be in scope when parsing. - - The type of the returned by the - - method. - - projection is null or parameters is null. - The projection is an empty string. - - - Orders the query results by the specified criteria and skips a specified number of results. - - A new instance that is equivalent to the original instance with both ORDER BY and SKIP applied. - - The key columns by which to order the results. - The number of results to skip. This must be either a constant or a parameter reference. - An optional set of query parameters that should be in scope when parsing. - Any argument is null. - keys is an empty string or count is an empty string. - - - Limits the query results to a specified number of items. - - A new instance that is equivalent to the original instance with TOP applied. - - The number of items in the results as a string. - An optional set of query parameters that should be in scope when parsing. - count is null. - count is an empty string. - - - - This query-builder method creates a new query whose results are all of - the results of this query, plus all of the results of the other query, - without duplicates (i.e., results are unique). - - A query representing the results to add. - a new ObjectQuery instance. - If the query parameter is null. - - - - This query-builder method creates a new query whose results are all of - the results of this query, plus all of the results of the other query, - including any duplicates (i.e., results are not necessarily unique). - - A query representing the results to add. - a new ObjectQuery instance. - If the query parameter is null. - - - Limits the query to results that match specified filtering criteria. - - A new instance that is equivalent to the original instance with WHERE applied. - - The filter predicate. - Zero or more parameters that are used in this method. - predicate is null or parameters is null. - The predicate is an empty string. - - - - Returns an which when enumerated will execute the given SQL query against the database. - - The query results. - - - - Returns an which when enumerated will execute the given SQL query against the database. - - The query results. - - - - This class implements IEnumerable and IDisposable. Instance of this class - is returned from ObjectQuery.Execute method. - - - - - This constructor is intended only for use when creating test doubles that will override members - with mocked or faked behavior. Use of this constructor for other purposes may result in unexpected - behavior including but not limited to throwing . - - - - - - - Returns an enumerator that iterates through the query results. - An enumerator that iterates through the query results. - - - - IListSource.ContainsListCollection implementation. Always returns false. - - - - Returns the results in a format useful for data binding. - - An of entity objects. - - - - - When overridden in a derived class, gets the type of the generic - - . - - - The type of the generic . - - - - Performs tasks associated with freeing, releasing, or resetting resources. - - - Releases the resources used by the object result. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the next result set of a stored procedure. - An ObjectResult that enumerates the values of the next result set. Null, if there are no more, or if the ObjectResult is not the result of a stored procedure call. - The type of the element. - - - - This class represents the result of the method. - - The type of the result. - - - - This constructor is intended only for use when creating test doubles that will override members - with mocked or faked behavior. Use of this constructor for other purposes may result in unexpected - behavior including but not limited to throwing . - - - - Returns an enumerator that iterates through the query results. - An enumerator that iterates through the query results. - - - - - - Releases the unmanaged resources used by the and optionally releases the managed resources. - true to release managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the type of the . - - - A that is the type of the . - - - - - Represents a typed entity set that is used to perform create, read, update, and delete operations. - - The type of the entity. - - - - Gets the metadata of the entity set represented by this instance. - - - An object. - - - - Adds an object to the object context in the current entity set. - The object to add. - - - Attaches an object or object graph to the object context in the current entity set. - The object to attach. - - - Marks an object for deletion. - - An object that represents the entity to delete. The object can be in any state except - - . - - - - Removes the object from the object context. - - Object to be detached. Only the entity is removed; if there are any related objects that are being tracked by the same - - , those will not be detached automatically. - - - - - Copies the scalar values from the supplied object into the object in the - - that has the same key. - - The updated object. - - The detached object that has property updates to apply to the original object. The entity key of currentEntity must match the - - property of an entry in the - - . - - - - - Sets the property of an - - to match the property values of a supplied object. - - The updated object. - - The detached object that has property updates to apply to the original object. The entity key of originalEntity must match the - - property of an entry in the - - . - - - - Creates a new entity type object. - The new entity type object, or an instance of a proxy type that corresponds to the entity type. - - - Creates an instance of the specified type. - An instance of the requested type T , or an instance of a proxy type that corresponds to the type T . - Type of object to be returned. - - - - Represents either a entity, entity stub or relationship - - - - - Gets the for the - - . - - - The for the - - . - - - - - Gets the for the object or relationship. - - - The for the object or relationship. - - - - - Gets the state of the . - - - The state of the . - - - - Gets the entity object. - The entity object. - - - Gets the entity key. - The entity key. - - - - Gets a value that indicates whether the represents a relationship. - - - true if the represents a relationship; otherwise, false. - - - - Gets the read-only version of original values of the object or relationship. - The read-only version of original values of the relationship set entry or entity. - - - - Gets the updatable version of original values of the object associated with this - - . - - The updatable original values of object data. - - - - Gets the current property values of the object or relationship associated with this - - . - - - A that contains the current values of the object or relationship associated with this - - . - - - - Accepts the current values as original values. - - - Marks an entity as deleted. - - - - Returns the names of an object’s properties that have changed since the last time - - was called. - - - An collection of names as string. - - - - Sets the state of the object or relationship to modify. - If State is not Modified or Unchanged - - - Marks the specified property as modified. - The name of the property. - If State is not Modified or Unchanged - - - Rejects any changes made to the property with the given name since the property was last loaded, attached, saved, or changes were accepted. The original value of the property is stored and the property will no longer be marked as modified. - The name of the property to change. - - - Uses DetectChanges to determine whether or not the current value of the property with the given name is different from its original value. Note that this may be different from the property being marked as modified since a property which has not changed can still be marked as modified. - - Note that this property always returns the same result as the modified state of the property for change tracking - proxies and entities that derive from the EntityObject base class. This is because original values are not tracked - for these entity types and hence there is no way to know if the current value is really different from the - original value. - - true if the property has changed; otherwise, false. - The name of the property. - - - - Gets the instance for the object represented by entry. - - - The object. - - The entry is a stub or represents a relationship - - - - Changes state of the entry to the specified value. - - - The value to set for the - - property of the entry. - - - - Sets the current values of the entry to match the property values of a supplied object. - The detached object that has updated values to apply to the object. currentEntity can also be the object’s entity key. - - - Sets the original values of the entry to match the property values of a supplied object. - The detached object that has original values to apply to the object. originalEntity can also be the object’s entity key. - - - - Used to report that a scalar entity property is about to change - The current value of the specified property is cached when this method is called. - - The name of the entity property that is changing - - - - Used to report that a scalar entity property has been changed - The property value that was cached during EntityMemberChanging is now - added to OriginalValues - - The name of the entity property that has changing - - - - Used to report that a complex property is about to change - The current value of the specified property is cached when this method is called. - - The name of the top-level entity property that is changing - The complex object that contains the property that is changing - The name of the property that is changing on complexObject - - - - Used to report that a complex property has been changed - The property value that was cached during EntityMemberChanging is now added to OriginalValues - - The name of the top-level entity property that has changed - The complex object that contains the property that changed - The name of the property that changed on complexObject - - - - Returns the EntityState from the ObjectStateEntry - - - - - Maintains object state and identity management for entity type instances and relationship instances. - - - - - Initializes a new instance of the class. - - - The , which supplies mapping and metadata information. - - - - - Gets the associated with this state manager. - - - The associated with this - - . - - - - Occurs when entities are added to or removed from the state manager. - - - - Returns a collection of objects for objects or relationships with the given state. - - - A collection of objects in the given - - . - - - An used to filter the returned - - objects. - - - When state is . - - - - - Changes state of the for a specific object to the specified entityState . - - - The for the supplied entity . - - The object for which the state must be changed. - The new state of the object. - When entity is null. - - When the object is not detached and does not have an entry in the state manager - or when you try to change the state to - from any other - or when state is not a valid value. - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and the name of the navigation property. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - The name of the navigation property on source that returns the specified target . - - The requested of the specified relationship. - - When source or target is null. - - When trying to change the state of the relationship to a state other than - or - when either source or target is in a state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an state - or when state is not a valid value - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and a LINQ expression that defines the navigation property. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - A LINQ expression that selects the navigation property on source that returns the specified target . - - The requested of the specified relationship. - - The entity type of the source object. - When source , target , or selector is null. - selector is malformed or cannot return a navigation property. - - When you try to change the state of the relationship to a state other than - or - when either source or target is in a - state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an state - or when state is not a valid value. - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and the properties of the relationship. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - The name of the relationship. - The role name at the target end of the relationship. - - The requested of the specified relationship. - - When source or target is null. - - When you try to change the state of the relationship to a state other than - or - when either source or target is in a state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an - state - or when state is not a valid value. - - - - - Returns an for the object or relationship entry with the specified key. - - - The corresponding for the given - - . - - - The . - - When key is null. - When the specified key cannot be found in the state manager. - - No entity with the specified exists in the - - . - - - - - Returns an for the specified object. - - - The corresponding for the given - - . - - - The to which the retrieved - - belongs. - - - No entity for the specified exists in the - - . - - - - - Tries to retrieve the corresponding for the specified - - . - - - A Boolean value that is true if there is a corresponding - - for the given object; otherwise, false. - - - The to which the retrieved - - belongs. - - - When this method returns, contains the for the given - - This parameter is passed uninitialized. - - - - - Tries to retrieve the corresponding for the object or relationship with the specified - - . - - - A Boolean value that is true if there is a corresponding - - for the given - - ; otherwise, false. - - - The given . - - - When this method returns, contains an for the given - - This parameter is passed uninitialized. - - A null (Nothing in Visual Basic) value is provided for key . - - - - Returns the that is used by the specified object. - - - The for the specified object. - - - The object for which to return the . - - - The entity does not implement IEntityWithRelationships and is not tracked by this ObjectStateManager - - - - - Returns the that is used by the specified object. - - - true if a instance was returned for the supplied entity ; otherwise false. - - - The object for which to return the . - - - When this method returns, contains the - - for the entity . - - - - - The original values of the properties of an entity when it was retrieved from the database. - - - - - A DataContractResolver that knows how to resolve proxy types created for persistent - ignorant classes to their base types. This is used with the DataContractSerializer. - - - - During deserialization, maps any xsi:type information to the actual type of the persistence-ignorant object. - Returns the type that the xsi:type is mapped to. Returns null if no known type was found that matches the xsi:type. - The xsi:type information to map. - The namespace of the xsi:type. - The declared type. - - An instance of . - - - - During serialization, maps actual types to xsi:type information. - true if the type was resolved; otherwise, false. - The actual type of the persistence-ignorant object. - The declared type. - - An instance of . - - When this method returns, contains a list of xsi:type declarations. - When this method returns, contains a list of namespaces used. - - - - Defines the different ways to handle modified properties when refreshing in-memory data from the database. - - - - - For unmodified client objects, same behavior as StoreWins. For modified client - objects, Refresh original values with store value, keeping all values on client - object. The next time an update happens, all the client change units will be - considered modified and require updating. - - - - - Discard all changes on the client and refresh values with store values. - Client original values is updated to match the store. - - - - - Flags used to modify behavior of ObjectContext.SaveChanges() - - - - - Changes are saved without the DetectChanges or the AcceptAllChangesAfterSave methods being called. - - - - - After changes are saved, the AcceptAllChangesAfterSave method is called, which resets change tracking in the ObjectStateManager. - - - - - Before changes are saved, the DetectChanges method is called to synchronize the property values of objects that are attached to the object context with data in the ObjectStateManager. - - - - - This exception is thrown when a update operation violates the concurrency constraint. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of that uses a specified error message, a reference to the inner exception, and an enumerable collection of - - objects. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - The enumerable collection of objects. - - - - - Property constraint exception class. Note that this class has state - so if you change even - its internals, it can be a breaking change - - - - - Initializes a new instance of the class with default message. - - - - - Initializes a new instance of the class with supplied message. - - A localized error message. - - - - Initializes a new instance of the class with supplied message and inner exception. - - A localized error message. - The inner exception. - - - - Initializes a new instance of the class. - - A localized error message. - The name of the property. - - - - Initializes a new instance of the class. - - A localized error message. - The name of the property. - The inner exception. - - - Gets the name of the property that violated the constraint. - The name of the property that violated the constraint. - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - This exception is thrown when the store provider exhibits a behavior incompatible with the entity client provider - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Used for conversion between different representations of bit array. - Returns (n+(div-1))/div, rearranged to avoid arithmetic overflow. - For example, in the bit to int case, the straightforward calc would - be (n+31)/32, but that would cause overflow. So instead it's - rearranged to ((n-1)/32) + 1, with special casing for 0. - - Usage: - GetArrayLength(77, BitsPerInt32): returns how many ints must be - allocated to store 77 bits. - - length of array - use a conversion constant, e.g. BytesPerInt32 to get - how many ints are required to store n bytes - length of the array - - - - Is this tree uses user-defined functions - Simplifying query with UDFs could caused to suboptimal plans - - Current subtree to process - Mapped variables - - - - - Exception during save changes to store - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of the class that uses a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class that uses a specified error message, a reference to the inner exception, and an enumerable collection of - - objects. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - The collection of objects. - - - - - Gets the objects for this - - . - - - A collection of objects comprised of either a single entity and 0 or more relationships, or 0 entities and 1 or more relationships. - - - - - Initializes a new instance of with serialized data. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - An implementation of IDatabaseInitializer that will recreate and optionally re-seed the - database only if the database does not exist. - To seed the database, create a derived class and override the Seed method. - - The type of the context. - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - An instance of this class is obtained from an object and can be used - to manage the actual database backing a DbContext or connection. - This includes creating, deleting, and checking for the existence of a database. - Note that deletion and checking for existence of a database can be performed using just a - connection (i.e. without a full context) by using the static methods of this class. - - - - - Gets the transaction the underlying store connection is enlisted in. May be null. - - - - - Enables the user to pass in a database transaction created outside of the object - if you want the Entity Framework to execute commands within that external transaction. - Alternatively, pass in null to clear the framework's knowledge of that transaction. - - the external transaction - Thrown if the transaction is already completed - - Thrown if the connection associated with the object is already enlisted in a - - transaction - - - Thrown if the connection associated with the object is already participating in a transaction - - Thrown if the connection associated with the transaction does not match the Entity Framework's connection - - - - Begins a transaction on the underlying store connection - - - a object wrapping access to the underlying store's transaction object - - - - - Begins a transaction on the underlying store connection using the specified isolation level - - The database isolation level with which the underlying store transaction will be created - - a object wrapping access to the underlying store's transaction object - - - - - Returns the connection being used by this context. This may cause the - connection to be created if it does not already exist. - - Thrown if the context has been disposed. - - - - Sets the database initializer to use for the given context type. The database initializer is called when a - the given type is used to access a database for the first time. - The default strategy for Code First contexts is an instance of . - - The type of the context. - The initializer to use, or null to disable initialization for the given context type. - - - - Runs the registered on this context. - If "force" is set to true, then the initializer is run regardless of whether or not it - has been run before. This can be useful if a database is deleted while an app is running - and needs to be reinitialized. - If "force" is set to false, then the initializer is only run if it has not already been - run for this context, model, and connection in this app domain. This method is typically - used when it is necessary to ensure that the database has been created and seeded - before starting some operation where doing so lazily will cause issues, such as when the - operation is part of a transaction. - - - If set to true the initializer is run even if it has already been run. - - - - - Checks whether or not the database is compatible with the current Code First model. - - - Model compatibility currently uses the following rules. - If the context was created using either the Model First or Database First approach then the - model is assumed to be compatible with the database and this method returns true. - For Code First the model is considered compatible if the model is stored in the database - in the Migrations history table and that model has no differences from the current model as - determined by Migrations model differ. - If the model is not stored in the database but an EF 4.1/4.2 model hash is found instead, - then this is used to check for compatibility. - - - If set to true then an exception will be thrown if no model metadata is found in the database. If set to false then this method will return true if metadata is not found. - - True if the model hash in the context and the database match; false otherwise. - - - - Creates a new database on the database server for the model defined in the backing context. - Note that calling this method before the database initialization strategy has run will disable - executing that strategy. - - - - - Creates a new database on the database server for the model defined in the backing context, but only - if a database with the same name does not already exist on the server. - - True if the database did not exist and was created; false otherwise. - - - - Checks whether or not the database exists on the server. - - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - Calling this method from outside of an initializer will mark the database as having - not been initialized. This means that if an attempt is made to use the database again - after it has been deleted, then any initializer set will run again and, usually, will - try to create the database again automatically. - - True if the database did exist and was deleted; false otherwise. - - - - Checks whether or not the database exists on the server. - The connection to the database is created using the given database name or connection string - in the same way as is described in the documentation for the class. - - The database name or a connection string to the database. - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - The connection to the database is created using the given database name or connection string - in the same way as is described in the documentation for the class. - - The database name or a connection string to the database. - True if the database did exist and was deleted; false otherwise. - - - - Checks whether or not the database exists on the server. - - An existing connection to the database. - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - - An existing connection to the database. - True if the database did exist and was deleted; false otherwise. - - - - The connection factory to use when creating a from just - a database name or a connection string. - - - This is used when just a database name or connection string is given to or when - the no database name or connection is given to DbContext in which case the name of - the context class is passed to this factory in order to generate a DbConnection. - By default, the instance to use is read from the application's .config - file from the "EntityFramework DefaultConnectionFactory" entry in appSettings. If no entry is found in - the config file then is used. Setting this property in code - always overrides whatever value is found in the config file. - - - - - Creates a raw SQL query that will return elements of the given generic type. - The type can be any type that has properties that match the names of the columns returned - from the query, or can be a simple primitive type. The type does not have to be an - entity type. The results of this query are never tracked by the context even if the - type of object returned is an entity type. Use the - method to return entities that are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The type of object returned by the query. - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values will - not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - Creates a raw SQL query that will return elements of the given type. - The type can be any type that has properties that match the names of the columns returned - from the query, or can be a simple primitive type. The type does not have to be an - entity type. The results of this query are never tracked by the context even if the - type of object returned is an entity type. Use the - method to return entities that are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The type of object returned by the query. - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - Executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - If there isn't an existing local or ambient transaction a new transaction will be used - to execute the command. - - The command string. - The parameters to apply to the command string. - The result returned by the database after executing the command. - - - - Executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - Controls the creation of a transaction for this command. - The command string. - The parameters to apply to the command string. - The result returned by the database after executing the command. - - - - Asynchronously executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command string. - The parameters to apply to the command string. - - A task that represents the asynchronous operation. - The task result contains the result returned by the database after executing the command. - - - - - Asynchronously executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - Controls the creation of a transaction for this command. - The command string. - The parameters to apply to the command string. - - A task that represents the asynchronous operation. - The task result contains the result returned by the database after executing the command. - - - - - Asynchronously executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command string. - - A to observe while waiting for the task to complete. - - The parameters to apply to the command string. - - A task that represents the asynchronous operation. - The task result contains the result returned by the database after executing the command. - - - - - Asynchronously executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - Controls the creation of a transaction for this command. - The command string. - - A to observe while waiting for the task to complete. - - The parameters to apply to the command string. - - A task that represents the asynchronous operation. - The task result contains the result returned by the database after executing the command. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets or sets the timeout value, in seconds, for all context operations. - The default value is null, where null indicates that the default value of the underlying - provider will be used. - - - The timeout, in seconds, or null to use the provider default. - - - - - Set this property to log the SQL generated by the to the given - delegate. For example, to log to the console, set this property to . - - - The format of the log text can be changed by creating a new formatter that derives from - and setting it with . - For more low-level control over logging/interception see and - . - - - - - A class derived from this class can be placed in the same assembly as a class derived from - to define Entity Framework configuration for an application. - Configuration is set by calling protected methods and setting protected properties of this - class in the constructor of your derived type. - The type to use can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Any class derived from must have a public parameterless constructor - and that constructor should call this constructor. - - - - - The Singleton instance of for this app domain. This can be - set at application start before any Entity Framework features have been used and afterwards - should be treated as read-only. - - The instance of . - - - - Attempts to discover and load the associated with the given - type. This method is intended to be used by tooling to ensure that - the correct configuration is loaded into the app domain. Tooling should use this method - before accessing the property. - - A type to use for configuration discovery. - - - - Attempts to discover and load the from the given assembly. - This method is intended to be used by tooling to ensure that the correct configuration is loaded into - the app domain. Tooling should use this method before accessing the - property. If the tooling knows the type being used, then the - method should be used since it gives a greater chance that - the correct configuration will be found. - - An to use for configuration discovery. - - - - Occurs during EF initialization after the DbConfiguration has been constructed but just before - it is locked ready for use. Use this event to inspect and/or override services that have been - registered before the configuration is locked. Note that this event should be used carefully - since it may prevent tooling from discovering the same configuration that is used at runtime. - - - Handlers can only be added before EF starts to use the configuration and so handlers should - generally be added as part of application initialization. Do not access the DbConfiguration - static methods inside the handler; instead use the members of - to get current services and/or add overrides. - - - - - Call this method from the constructor of a class derived from to - add a instance to the Chain of Responsibility of resolvers that - are used to resolve dependencies needed by the Entity Framework. - - - Resolvers are asked to resolve dependencies in reverse order from which they are added. This means - that a resolver can be added to override resolution of a dependency that would already have been - resolved in a different way. - The exceptions to this is that any dependency registered in the application's config file - will always be used in preference to using a dependency resolver added here. - - The resolver to add. - - - - Call this method from the constructor of a class derived from to - add a instance to the Chain of Responsibility of resolvers that - are used to resolve dependencies needed by the Entity Framework. Unlike the AddDependencyResolver - method, this method puts the resolver at the bottom of the Chain of Responsibility such that it will only - be used to resolve a dependency that could not be resolved by any of the other resolvers. - - - A implementation is automatically registered as a default resolver - when it is added with a call to . This allows EF providers to act as - resolvers for other services that may need to be overridden by the provider. - - The resolver to add. - - - - Gets the that is being used to resolve service - dependencies in the Entity Framework. - - - - - Call this method from the constructor of a class derived from to register - an Entity Framework provider. - - - Note that the provider is both registered as a service itself and also registered as a default resolver with - a call to AddDefaultResolver. This allows EF providers to act as resolvers for other services that - may need to be overridden by the provider. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - and also using AddDefaultResolver to add the provider as a default - resolver. This means that, if desired, the same functionality can be achieved using a custom resolver or a - resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The provider instance. - - - - Call this method from the constructor of a class derived from to register - an ADO.NET provider. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolvers for - and . This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The provider instance. - - - - Call this method from the constructor of a class derived from to register an - for use with the provider represented by the given invariant name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - A function that returns a new instance of an execution strategy. - - - - Call this method from the constructor of a class derived from to register an - for use with the provider represented by the given invariant name and - for a given server name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - A function that returns a new instance of an execution strategy. - A string that will be matched against the server name in the connection string. - - - - Call this method from the constructor of a class derived from to register a - . - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - A function that returns a new instance of a transaction handler. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this transaction handler will be used. - - A function that returns a new instance of a transaction handler. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name and - for a given server name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this transaction handler will be used. - - A function that returns a new instance of a transaction handler. - A string that will be matched against the server name in the connection string. - - - - Sets the that is used to create connections by convention if no other - connection string or connection is given to or can be discovered by . - Note that a default connection factory is set in the app.config or web.config file whenever the - EntityFramework NuGet package is installed. As for all config file settings, the default connection factory - set in the config file will take precedence over any setting made with this method. Therefore the setting - must be removed from the config file before calling this method will have any effect. - Call this method from the constructor of a class derived from to change - the default connection factory being used. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The connection factory. - - - - Call this method from the constructor of a class derived from to - set the pluralization service. - - The pluralization service to use. - - - - Call this method from the constructor of a class derived from to - set the database initializer to use for the given context type. The database initializer is called when a - the given type is used to access a database for the first time. - The default strategy for Code First contexts is an instance of . - - - Calling this method is equivalent to calling . - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The type of the context. - The initializer to use, or null to disable initialization for the given context type. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name. - - - This method is typically used by providers to register an associated SQL generator for Code First Migrations. - It is different from setting the generator in the because it allows - EF to use the Migrations pipeline to create a database even when there is no Migrations configuration in the project - and/or Migrations are not being explicitly used. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The invariant name of the ADO.NET provider for which this generator should be used. - A delegate that returns a new instance of the SQL generator each time it is called. - - - - Call this method from the constructor of a class derived from to set - an implementation of which allows provider manifest tokens to - be obtained from connections without necessarily opening the connection. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The manifest token resolver. - - - - Call this method from the constructor of a class derived from to set - a factory for implementations of which allows custom annotations - represented by instances to be serialized to and from the EDMX XML. - - - Note that an is not needed if the annotation uses a simple string value. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The name of custom annotation that will be handled by this serializer. - A delegate that will be used to create serializer instances. - - - - Call this method from the constructor of a class derived from to set - an implementation of which allows a - to be obtained from a in cases where the default implementation is not - sufficient. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The provider factory service. - - - - Call this method from the constructor of a class derived from to set - a as the model cache key factory which allows the key - used to cache the model behind a to be changed. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can - be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - The key factory. - - - - Call this method from the constructor of a class derived from to set - a delegate which can be used for - creation of the default for a any - . This default factory will only be used if no factory is - set explicitly in the and if no factory has been registered - for the provider in use using the - - method. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality - can be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - - A factory for creating instances for a given and - representing the default schema. - - - - - Call this method from the constructor of a class derived from to set - a delegate which allows for creation of a customized - for the given provider for any - that does not have an explicit factory set. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality - can be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - The invariant name of the ADO.NET provider for which this generator should be used. - - A factory for creating instances for a given and - representing the default schema. - - - - - Call this method from the constructor of a class derived from to set - the global instance of which will be used whenever a spatial provider is - required and a provider-specific spatial provider cannot be found. Normally, a provider-specific spatial provider - is obtained from the a implementation which is in turn returned by resolving - a service for passing the provider invariant name as a key. However, this - cannot work for stand-alone instances of and since - it is impossible to know the spatial provider to use. Therefore, when creating stand-alone instances - of and the global spatial provider is always used. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - an implementation of to use for a specific provider and provider - manifest token. - - - Use - to register spatial services for use only when a specific manifest token is returned by the provider. - Use to register global - spatial services to be used when provider information is not available or no provider-specific - spatial services are found. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The indicating the type of ADO.NET connection for which this spatial provider will be used. - - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - an implementation of to use for a specific provider with any - manifest token. - - - Use - to register spatial services for use when any manifest token is returned by the provider. - Use to register global - spatial services to be used when provider information is not available or no provider-specific - spatial services are found. - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this spatial provider will be used. - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - a factory for the type of to use with . - - - Note that setting the type of formatter to use with this method does change the way command are - logged when is used. It is still necessary to set a - instance onto before any commands will be logged. - For more low-level control over logging/interception see and - . - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - A delegate that will create formatter instances. - - - - Call this method from the constructor of a class derived from to - register an at application startup. Note that interceptors can also - be added and removed at any time using . - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The interceptor to register. - - - - Call this method from the constructor of a class derived from to set - a factory to allow to create instances of a context that does not have a public, - parameterless constructor. - - - This is typically needed to allow design-time tools like Migrations or scaffolding code to use contexts that - do not have public, parameterless constructors. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - with the context as the key. This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The context type for which the factory should be used. - The delegate to use to create context instances. - - - - Call this method from the constructor of a class derived from to set - a factory to allow to create instances of a context that does not have a public, - parameterless constructor. - - - This is typically needed to allow design-time tools like Migrations or scaffolding code to use contexts that - do not have public, parameterless constructors. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - with the context as the key. This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The context type for which the factory should be used. - The delegate to use to create context instances. - - - - Sets a singleton model store implementation (persisted model cache). - - The model store implementation. - - - - Call this method from the constructor of a class derived from to register - a database table existence checker for a given provider. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - and also using AddDefaultResolver to add the provider as a default - resolver. This means that, if desired, the same functionality can be achieved using a custom resolver or a - resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The table existence checker to use. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - This attribute can be placed on a subclass of to indicate that the subclass of - representing the code-based configuration for the application is in a different - assembly than the context type. - - - Normally a subclass of should be placed in the same assembly as - the subclass of used by the application. It will then be discovered automatically. - However, if this is not possible or if the application contains multiple context types in different - assemblies, then this attribute can be used to direct DbConfiguration discovery to the appropriate type. - An alternative to using this attribute is to specify the DbConfiguration type to use in the application's - config file. See http://go.microsoft.com/fwlink/?LinkId=260883 for more information. - - - - - Indicates that the given subclass of should be used for code-based configuration - for this application. - - - The type to use. - - - - - Indicates that the subclass of represented by the given assembly-qualified - name should be used for code-based configuration for this application. - - - The type to use. - - - - - Gets the subclass of that should be used for code-based configuration - for this application. - - - - - A DbContext instance represents a combination of the Unit Of Work and Repository patterns such that - it can be used to query from a database and group together changes that will then be written - back to the store as a unit. - DbContext is conceptually similar to ObjectContext. - - - DbContext is usually used with a derived type that contains properties for - the root entities of the model. These sets are automatically initialized when the - instance of the derived class is created. This behavior can be modified by applying the - attribute to either the entire derived context - class, or to individual properties on the class. - The Entity Data Model backing the context can be specified in several ways. When using the Code First - approach, the properties on the derived context are used to build a model - by convention. The protected OnModelCreating method can be overridden to tweak this model. More - control over the model used for the Model First approach can be obtained by creating a - explicitly from a and passing this model to one of the DbContext constructors. - When using the Database First or Model First approach the Entity Data Model can be created using the - Entity Designer (or manually through creation of an EDMX file) and then this model can be specified using - entity connection string or an object. - The connection to the database (including the name of the database) can be specified in several ways. - If the parameterless DbContext constructor is called from a derived context, then the name of the derived context - is used to find a connection string in the app.config or web.config file. If no connection string is found, then - the name is passed to the DefaultConnectionFactory registered on the class. The connection - factory then uses the context name as the database name in a default connection string. (This default connection - string points to (localdb)\MSSQLLocalDB unless a different DefaultConnectionFactory is registered.) - Instead of using the derived context name, the connection/database name can also be specified explicitly by - passing the name to one of the DbContext constructors that takes a string. The name can also be passed in - the form "name=myname", in which case the name must be found in the config file or an exception will be thrown. - Note that the connection found in the app.config or web.config file can be a normal database connection - string (not a special Entity Framework connection string) in which case the DbContext will use Code First. - However, if the connection found in the config file is a special Entity Framework connection string, then the - DbContext will use Database/Model First and the model specified in the connection string will be used. - An existing or explicitly created DbConnection can also be used instead of the database/connection name. - A can be applied to a class derived from DbContext to set the - version of conventions used by the context when it creates a model. If no attribute is applied then the - latest version of conventions will be used. - - - - - Constructs a new context instance using conventions to create the name of the database to - which a connection will be made. The by-convention name is the full name (namespace + class name) - of the derived context class. - See the class remarks for how this is used to create a connection. - - - - - Constructs a new context instance using conventions to create the name of the database to - which a connection will be made, and initializes it from the given model. - The by-convention name is the full name (namespace + class name) of the derived context class. - See the class remarks for how this is used to create a connection. - - The model that will back this context. - - - - Constructs a new context instance using the given string as the name or connection string for the - database to which a connection will be made. - See the class remarks for how this is used to create a connection. - - Either the database name or a connection string. - - - - Constructs a new context instance using the given string as the name or connection string for the - database to which a connection will be made, and initializes it from the given model. - See the class remarks for how this is used to create a connection. - - Either the database name or a connection string. - The model that will back this context. - - - - Constructs a new context instance using the existing connection to connect to a database. - The connection will not be disposed when the context is disposed if - is false. - - An existing connection to use for the new context. - - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - - Constructs a new context instance using the existing connection to connect to a database, - and initializes it from the given model. - The connection will not be disposed when the context is disposed if - is false. - - An existing connection to use for the new context. - The model that will back this context. - - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - - Constructs a new context instance around an existing ObjectContext. - - An existing ObjectContext to wrap with the new context. - - If set to true the ObjectContext is disposed when the DbContext is disposed, otherwise the caller must dispose the connection. - - - - - This method is called when the model for a derived context has been initialized, but - before the model has been locked down and used to initialize the context. The default - implementation of this method does nothing, but it can be overridden in a derived class - such that the model can be further configured before it is locked down. - - - Typically, this method is called only once when the first instance of a derived context - is created. The model for that context is then cached and is for all further instances of - the context in the app domain. This caching can be disabled by setting the ModelCaching - property on the given ModelBuilder, but note that this can seriously degrade performance. - More control over caching is provided through use of the DbModelBuilder and DbContextFactory - classes directly. - - The builder that defines the model for the context being created. - - - - Creates a Database instance for this context that allows for creation/deletion/existence checks - for the underlying database. - - - - - Returns a instance for access to entities of the given type in the context - and the underlying store. - - - Note that Entity Framework requires that this method return the same instance each time that it is called - for a given context instance and entity type. Also, the non-generic returned by the - method must wrap the same underlying query and set of entities. These invariants must - be maintained if this method is overridden for anything other than creating test doubles for unit testing. - See the class for more details. - - The type entity for which a set should be returned. - A set for the given entity type. - - - - Returns a non-generic instance for access to entities of the given type in the context - and the underlying store. - - The type of entity for which a set should be returned. - A set for the given entity type. - - Note that Entity Framework requires that this method return the same instance each time that it is called - for a given context instance and entity type. Also, the generic returned by the - method must wrap the same underlying query and set of entities. These invariants must - be maintained if this method is overridden for anything other than creating test doubles for unit testing. - See the class for more details. - - - - - Saves all changes made in this context to the underlying database. - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An error occurred sending updates to the database. - - A database command did not affect the expected number of rows. This usually indicates an optimistic - concurrency violation; that is, a row has been changed in the database since it was queried. - - - The save was aborted because validation of entity property values failed. - - - An attempt was made to use unsupported behavior such as executing multiple asynchronous commands concurrently - on the same context instance. - The context or connection have been disposed. - - Some error occurred attempting to process entities in the context either before or after sending commands - to the database. - - - - - Asynchronously saves all changes made in this context to the underlying database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An error occurred sending updates to the database. - - A database command did not affect the expected number of rows. This usually indicates an optimistic - concurrency violation; that is, a row has been changed in the database since it was queried. - - - The save was aborted because validation of entity property values failed. - - - An attempt was made to use unsupported behavior such as executing multiple asynchronous commands concurrently - on the same context instance. - The context or connection have been disposed. - - Some error occurred attempting to process entities in the context either before or after sending commands - to the database. - - - - - Asynchronously saves all changes made in this context to the underlying database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - Thrown if the context has been disposed. - - - - Returns the Entity Framework ObjectContext that is underlying this context. - - Thrown if the context has been disposed. - - - - Validates tracked entities and returns a Collection of containing validation results. - - Collection of validation results for invalid entities. The collection is never null and must not contain null values or results for valid entities. - - 1. This method calls DetectChanges() to determine states of the tracked entities unless - DbContextConfiguration.AutoDetectChangesEnabled is set to false. - 2. By default only Added on Modified entities are validated. The user is able to change this behavior - by overriding ShouldValidateEntity method. - - - - - Extension point allowing the user to override the default behavior of validating only - added and modified entities. - - DbEntityEntry instance that is supposed to be validated. - true to proceed with validation; false otherwise. - - - - Extension point allowing the user to customize validation of an entity or filter out validation results. - Called by . - - DbEntityEntry instance to be validated. - - User-defined dictionary containing additional info for custom validation. It will be passed to - - and will be exposed as - - . This parameter is optional and can be null. - - Entity validation result. Possibly null when overridden. - - - - Gets a object for the given entity providing access to - information about the entity and the ability to perform actions on the entity. - - The type of the entity. - The entity. - An entry for the entity. - - - - Gets a object for the given entity providing access to - information about the entity and the ability to perform actions on the entity. - - The entity. - An entry for the entity. - - - - Provides access to features of the context that deal with change tracking of entities. - - An object used to access features that deal with change tracking. - - - - Provides access to configuration options for the context. - - An object used to access configuration options. - - - - Calls the protected Dispose method. - - - - - Disposes the context. The underlying is also disposed if it was created - is by this context or ownership was passed to this context when this context was created. - The connection to the database ( object) is also disposed if it was created - is by this context or ownership was passed to this context when this context was created. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - - - - - - - - - - - - - Wraps access to the transaction object on the underlying store connection and ensures that the - Entity Framework executes commands on the database within the context of that transaction. - An instance of this class is retrieved by calling BeginTransaction() on the - - object. - - - - - Gets the database (store) transaction that is underlying this context transaction. - - - - - Commits the underlying store transaction - - - - - Rolls back the underlying store transaction - - - - - Cleans up this transaction object and ensures the Entity Framework - is no longer using that transaction. - - - - - Releases the resources used by this transaction object - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - - - - - - - - - - - - - Indicates that the given method is a proxy for an EDM function. - - - Note that this class was called EdmFunctionAttribute in some previous versions of Entity Framework. - - - - - Initializes a new instance of the class. - - The namespace of the mapped-to function. - The name of the mapped-to function. - - - The namespace of the mapped-to function. - The namespace of the mapped-to function. - - - The name of the mapped-to function. - The name of the mapped-to function. - - - - Provides common language runtime (CLR) methods that expose EDM canonical functions - for use in or LINQ to Entities queries. - - - Note that this class was called EntityFunctions in some previous versions of Entity Framework. - - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Left EDM function to return a given - number of the leftmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the left of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Right EDM function to return a given - number of the rightmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the right of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Reverse EDM function to return a given - string with the order of the characters reversed. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The input string with the order of the characters reversed. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to - return the number of minutes that the given date/time is offset from UTC. This is generally between +780 - and -780 (+ or - 13 hrs). - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The offset of the input from UTC. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTimeOffset EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The time zone offset part of the new date. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of hours between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of minutes between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of seconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of milliseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of microseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of nanoseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - The string to escape special characters with, must only be a single character. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a Unicode string. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a non-Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a non-Unicode string. - - - - DbModelBuilder is used to map CLR classes to a database schema. - This code centric approach to building an Entity Data Model (EDM) model is known as 'Code First'. - - - DbModelBuilder is typically used to configure a model by overriding - DbContext.OnModelCreating(DbModelBuilder) - . - You can also use DbModelBuilder independently of DbContext to build a model and then construct a - or . - The recommended approach, however, is to use OnModelCreating in as - the workflow is more intuitive and takes care of common tasks, such as caching the created model. - Types that form your model are registered with DbModelBuilder and optional configuration can be - performed by applying data annotations to your classes and/or using the fluent style DbModelBuilder - API. - When the Build method is called a set of conventions are run to discover the initial model. - These conventions will automatically discover aspects of the model, such as primary keys, and - will also process any data annotations that were specified on your classes. Finally - any configuration that was performed using the DbModelBuilder API is applied. - Configuration done via the DbModelBuilder API takes precedence over data annotations which - in turn take precedence over the default conventions. - - - - - Initializes a new instance of the class. - The process of discovering the initial model will use the set of conventions included - in the most recent version of the Entity Framework installed on your machine. - - - Upgrading to newer versions of the Entity Framework may cause breaking changes - in your application because new conventions may cause the initial model to be - configured differently. There is an alternate constructor that allows a specific - version of conventions to be specified. - - - - - Initializes a new instance of the class that will use - a specific set of conventions to discover the initial model. - - The version of conventions to be used. - - - - Excludes a type from the model. This is used to remove types from the model that were added - by convention during initial model discovery. - - The type to be excluded. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Configures the default database schema name. This default database schema name is used - for database objects that do not have an explicitly configured schema name. - - The name of the default database schema. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Excludes the specified type(s) from the model. This is used to remove types from the model that were added - by convention during initial model discovery. - - The types to be excluded from the model. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Registers an entity type as part of the model and returns an object that can be used to - configure the entity. This method can be called multiple times for the same entity to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified entity type. - - - - Registers an entity type as part of the model. - - The type to be registered. - - This method is provided as a convenience to allow entity types to be registered dynamically - without the need to use MakeGenericMethod in order to call the normal generic Entity method. - This method does not allow further configuration of the entity type using the fluent APIs since - these APIs make extensive use of generic type parameters. - - - - - Registers a type as a complex type in the model and returns an object that can be used to - configure the complex type. This method can be called multiple times for the same type to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified complex type. - - - - Begins configuration of a lightweight convention that applies to all entities and complex types in - the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all entities and complex types - in the model that inherit from or implement the type specified by the generic argument. - This method does not register types as part of the model. - - The type of the entities or complex types that this convention will apply to. - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all properties - in the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all primitive - properties of the specified type in the model. - - The type of the properties that the convention will apply to. - A configuration object for the convention. - - The convention will apply to both nullable and non-nullable properties of the - specified type. - - - - - Provides access to the settings of this DbModelBuilder that deal with conventions. - - - - - Gets the for this DbModelBuilder. - The registrar allows derived entity and complex type configurations to be registered with this builder. - - - - - Creates a based on the configuration performed using this builder. - The connection is used to determine the database provider being used as this - affects the database layer of the generated model. - - Connection to use to determine provider information. - The model that was built. - - - - Creates a based on the configuration performed using this builder. - Provider information must be specified because this affects the database layer of the generated model. - For SqlClient the invariant name is 'System.Data.SqlClient' and the manifest token is the version year (i.e. '2005', '2008' etc.) - - The database provider that the model will be used with. - The model that was built. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - A value from this enumeration can be provided directly to the - class or can be used in the applied to - a class derived from . The value used defines which version of - the DbContext and DbModelBuilder conventions should be used when building a model from - code--also known as "Code First". - - - Using DbModelBuilderVersion.Latest ensures that all the latest functionality is available - when upgrading to a new release of the Entity Framework. However, it may result in an - application behaving differently with the new release than it did with a previous release. - This can be avoided by using a specific version of the conventions, but if a version - other than the latest is set then not all the latest functionality will be available. - - - - - Indicates that the latest version of the and - conventions should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v4.1 - should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v5.0 - when targeting .Net Framework 4 should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v5.0 - should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v6.0 - should be used. - - - - - This attribute can be applied to a class derived from to set which - version of the DbContext and conventions should be used when building - a model from code--also known as "Code First". See the - enumeration for details about DbModelBuilder versions. - - - If the attribute is missing from DbContextthen DbContext will always use the latest - version of the conventions. This is equivalent to using DbModelBuilderVersion.Latest. - - - - - Initializes a new instance of the class. - - - The conventions version to use. - - - - - Gets the conventions version. - - - The conventions version. - - - - - A non-generic version of which can be used when the type of entity - is not known at build time. - - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for DbSets. Methods and properties that will be used by the - test double must be implemented by the test double except AsNoTracking, AsStreaming, an Include where - the default implementation is a no-op. - - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Asynchronously finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The values of the primary key for the entity to be found. - A task that represents the asynchronous find operation. The task result contains the entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Asynchronously finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - The values of the primary key for the entity to be found. - A task that represents the asynchronous find operation. The task result contains the entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Adds the given collection of entities into context underlying the set with each entity being put into - the Added state such that it will be inserted into the database when SaveChanges is called. - - The collection of entities to add. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before adding any entities and will not be called - again. This means that in some situations AddRange may perform significantly better than calling - Add multiple times would do. - Note that entities that are already in the context in some other state will have their state set to - Added. AddRange is a no-op for entities that are already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Removes the given collection of entities from the context underlying the set with each entity being put into - the Deleted state such that it will be deleted from the database when SaveChanges is called. - - The collection of entities to delete. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before delete any entities and will not be called - again. This means that in some situations RemoveRange may perform significantly better than calling - Remove multiple times would do. - Note that if any entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Returns the equivalent generic object. - - The type of entity for which the set was created. - The generic set object. - - - - Creates a raw SQL query that will return entities in this set. By default, the - entities returned are tracked by the context; this can be changed by calling - AsNoTracking on the returned. - Note that the entities returned are always of the type for this set and never of - a derived type. If the table or tables queried may contain data for other entity - types, then the SQL query must be written appropriately to ensure that only entities of - the correct type are returned. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - - - - - - - - - - A DbSet represents the collection of all entities in the context, or that can be queried from the - database, of a given type. DbSet objects are created from a DbContext using the DbContext.Set method. - - - Note that DbSet does not support MEST (Multiple Entity Sets per Type) meaning that there is always a - one-to-one correlation between a type and a set. - - The type that defines the set. - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for DbSets. Methods and properties that will be used by the - test double must be implemented by the test double except AsNoTracking, AsStreaming, an Include where - the default implementation is a no-op. - - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Asynchronously finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - The values of the primary key for the entity to be found. - A task that represents the asynchronous find operation. The task result contains the entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Asynchronously finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The values of the primary key for the entity to be found. - A task that represents the asynchronous find operation. The task result contains the entity found, or null. - - - - - - - - - - - - - Adds the given collection of entities into context underlying the set with each entity being put into - the Added state such that it will be inserted into the database when SaveChanges is called. - - The collection of entities to add. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before adding any entities and will not be called - again. This means that in some situations AddRange may perform significantly better than calling - Add multiple times would do. - Note that entities that are already in the context in some other state will have their state set to - Added. AddRange is a no-op for entities that are already in the context in the Added state. - - - - - - - - Removes the given collection of entities from the context underlying the set with each entity being put into - the Deleted state such that it will be deleted from the database when SaveChanges is called. - - The collection of entities to delete. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before delete any entities and will not be called - again. This means that in some situations RemoveRange may perform significantly better than calling - Remove multiple times would do. - Note that if any entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - - - - - - - Returns the equivalent non-generic object. - - The generic set object. - The non-generic set object. - - - - Creates a raw SQL query that will return entities in this set. By default, the - entities returned are tracked by the context; this can be changed by calling - AsNoTracking on the returned. - Note that the entities returned are always of the type for this set and never of - a derived type. If the table or tables queried may contain data for other entity - types, then the SQL query must be written appropriately to ensure that only entities of - the correct type are returned. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values will - not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - - - - - - - - - - An implementation of IDatabaseInitializer that will always recreate and optionally re-seed the - database the first time that a context is used in the app domain. - To seed the database, create a derived class and override the Seed method. - - The type of the context. - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - is - null - . - - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - An implementation of IDatabaseInitializer that will DELETE, recreate, and optionally re-seed the - database only if the model has changed since the database was created. - - The type of the context. - - Whether or not the model has changed is determined by the - method. - To seed the database create a derived class and override the Seed method. - - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - is - null - . - - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - Describes the state of an entity. - - - - - The entity is not being tracked by the context. - An entity is in this state immediately after it has been created with the new operator - or with one of the Create methods. - - - - - The entity is being tracked by the context and exists in the database, and its property - values have not changed from the values in the database. - - - - - The entity is being tracked by the context but does not yet exist in the database. - - - - - The entity is being tracked by the context and exists in the database, but has been marked - for deletion from the database the next time SaveChanges is called. - - - - - The entity is being tracked by the context and exists in the database, and some or all of its - property values have been modified. - - - - - A provider-independent service API for HierarchyId type support. - - - - - Returns a hierarchyid representing the nth ancestor of this. - - A hierarchyid representing the nth ancestor of this. - n - - - - Returns a child node of the parent. - - null or the hierarchyid of a child of the current node. - null or the hierarchyid of a child of the current node. - - Returns one child node that is a descendant of the parent. - If parent is null, returns null. - If parent is not null, and both child1 and child2 are null, returns a child of parent. - If parent and child1 are not null, and child2 is null, returns a child of parent greater than child1. - If parent and child2 are not null and child1 is null, returns a child of parent less than child2. - If parent, child1, and child2 are not null, returns a child of parent greater than child1 and less than child2. - If child1 is not null and not a child of parent, an exception is raised. - If child2 is not null and not a child of parent, an exception is raised. - If child1 >= child2, an exception is raised. - - - - - Returns an integer that represents the depth of the node this in the tree. - - An integer that represents the depth of the node this in the tree. - - - - Returns the root of the hierarchy tree. - - The root of the hierarchy tree. - - - - Returns true if this is a descendant of parent. - - True if this is a descendant of parent. - parent - - - - Returns a node whose path from the root is the path to newRoot, followed by the path from oldRoot to this. - - Hierarchyid value. - oldRoot - newRoot - - - - Converts the canonical string representation of a hierarchyid to a hierarchyid value. - - Hierarchyid value. - input - - - - Represents hierarchical data. - - - - - The Path separator character - - - - - Constructs an HierarchyId. - - - - - Constructs an HierarchyId with the given canonical string representation value. - - Hierarchyid value. - Canonical string representation - - - - Returns a hierarchyid representing the nth ancestor of this. - - A hierarchyid representing the nth ancestor of this. - n - - - - Returns a child node of the parent. - - null or the hierarchyid of a child of the current node. - null or the hierarchyid of a child of the current node. - - Returns one child node that is a descendant of the parent. - If parent is null, returns null. - If parent is not null, and both child1 and child2 are null, returns a child of parent. - If parent and child1 are not null, and child2 is null, returns a child of parent greater than child1. - If parent and child2 are not null and child1 is null, returns a child of parent less than child2. - If parent, child1, and child2 are not null, returns a child of parent greater than child1 and less than child2. - If child1 is not null and not a child of parent, an exception is raised. - If child2 is not null and not a child of parent, an exception is raised. - If child1 >= child2, an exception is raised. - - - - - Returns an integer that represents the depth of the node this in the tree. - - An integer that represents the depth of the node this in the tree. - - - - Returns the root of the hierarchy tree. - - The root of the hierarchy tree. - - - - Returns true if this is a descendant of parent. - - True if this is a descendant of parent. - parent - - - - Returns a node whose path from the root is the path to newRoot, followed by the path from oldRoot to this. - - Hierarchyid value. - oldRoot - newRoot - - - - Converts the canonical string representation of a hierarchyid to a hierarchyid value. - - Hierarchyid value. - input - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - A 32-bit signed integer that indicates the lexical relationship between the two comparands. - Value Condition Less than zero: hid1 is less than hid2. - Zero: hid1 equals hid2. - Greater than zero: hid1 is greater than hid2. - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - true if the first parameter is less than the second parameter, false otherwise - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - true if the first parameter is greater than the second parameter, false otherwise - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - true if the first parameter is less or equal than the second parameter, false otherwise - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - true if the first parameter is greater or equal than the second parameter, false otherwise - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - true if the two HierarchyIds are equal, false otherwise - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - true if the two HierarchyIds are not equal, false otherwise - - - - Compares this instance to a given HierarchyId by their values. - - the HierarchyId to compare against this instance - true if this instance is equal to the given HierarchyId, and false otherwise - - - - Returns a value-based hash code, to allow HierarchyId to be used in hash tables. - - the hash value of this HierarchyId - - - - Compares this instance to a given HierarchyId by their values. - - the HierarchyId to compare against this instance - true if this instance is equal to the given HierarchyId, and false otherwise - - - - Returns a string representation of the hierarchyid value. - - A string representation of the hierarchyid value. - - - - Implementation of IComparable.CompareTo() - - The object to compare to - 0 if the HierarchyIds are "equal" (i.e., have the same _hierarchyId value) - - - - An implementation of this interface is used to initialize the underlying database when - an instance of a derived class is used for the first time. - This initialization can conditionally create the database and/or seed it with data. - The strategy used is set using the static InitializationStrategy property of the - class. - The following implementations are provided: , - , . - - The type of the context. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - An represents the collection of all entities in the context, or that - can be queried from the database, of a given type. is a concrete - implementation of IDbSet. - - - was originally intended to allow creation of test doubles (mocks or - fakes) for . However, this approach has issues in that adding new members - to an interface breaks existing code that already implements the interface without the new members. - Therefore, starting with EF6, no new members will be added to this interface and it is recommended - that be used as the base class for test doubles. - - The type that defines the set. - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Inherit from this class to create a service that allows for code generation of custom annotations as part of - scaffolding Migrations. The derived class should be set onto the . - - - Note that an is not needed if the annotation uses a simple string value, - or if calling ToString on the annotation object is sufficient for use in the scaffolded Migration. - - - - - Override this method to return additional namespaces that should be included in the code generated for the - scaffolded migration. The default implementation returns an empty enumeration. - - The names of the annotations that are being included in the generated code. - A list of additional namespaces to include. - - - - Implement this method to generate code for the given annotation value. - - The name of the annotation for which a value is being generated. - The annotation value. - The writer to which generated code should be written. - - - - Represents a pair of annotation values in a scaffolded or hand-coded . - - - Code First allows for custom annotations to be associated with columns and tables in the - generated model. This class represents a pair of annotation values in a migration such - that when the Code First model changes the old annotation value and the new annotation - value can be provided to the migration and used in SQL generation. - - - - - Creates a new pair of annotation values. - - The old value of the annotation, which may be null if the annotation has just been created. - The new value of the annotation, which may be null if the annotation has been deleted. - - - - Gets the old value of the annotation, which may be null if the annotation has just been created. - - - - - Gets the new value of the annotation, which may be null if the annotation has been deleted. - - - - - - - - - - - Returns true if both annotation pairs contain the same values, otherwise false. - - A pair of annotation values. - A pair of annotation values. - True if both pairs contain the same values. - - - - Returns true if the two annotation pairs contain different values, otherwise false. - - A pair of annotation values. - A pair of annotation values. - True if the pairs contain different values. - - - - Returned by and related methods to indicate whether or - not one object does not conflict with another such that the two can be combined into one. - - - If the two objects are not compatible then information about why they are not compatible is contained - in the property. - - - - - Creates a new instance. - - Indicates whether or not the two tested objects are compatible. - - An error message indicating how the objects are not compatible. Expected to be null if isCompatible is true. - - - - - True if the two tested objects are compatible; otherwise false. - - - - - If is true, then returns an error message indicating how the two tested objects - are incompatible. - - - - - Implicit conversion to a bool to allow the result object to be used directly in checks. - - The object to convert. - True if the result is compatible; false otherwise. - - - - Types used as custom annotations can implement this interface to indicate that an attempt to use - multiple annotations with the same name on a given table or column may be possible by merging - the multiple annotations into one. - - - Normally there can only be one custom annotation with a given name on a given table or - column. If a table or column ends up with multiple annotations, for example, because - multiple CLR properties map to the same column, then an exception will be thrown. - However, if the annotation type implements this interface, then the two annotations will be - checked for compatibility using the method and, if compatible, - will be merged into one using the method. - - - - - Returns true if this annotation does not conflict with the given annotation such that - the two can be combined together using the method. - - The annotation to compare. - A CompatibilityResult indicating whether or not this annotation is compatible with the other. - - - - Merges this annotation with the given annotation and returns a new merged annotation. This method is - only expected to succeed if returns true. - - The annotation to merge with this one. - A new merged annotation. - - - - Instances of this class are used as custom annotations for representing database indexes in an - Entity Framework model. - - - An index annotation is added to a Code First model when an is placed on - a mapped property of that model. This is used by Entity Framework Migrations to create indexes on - mapped database columns. Note that multiple index attributes on a property will be merged into a - single annotation for the column. Similarly, index attributes on multiple properties that map to the - same column will be merged into a single annotation for the column. This means that one index - annotation can represent multiple indexes. Within an annotation there can be only one index with any - given name. - - - - - The name used when this annotation is stored in Entity Framework metadata or serialized into - an SSDL/EDMX file. - - - - - Creates a new annotation for the given index. - - An index attributes representing an index. - - - - Creates a new annotation for the given collection of indexes. - - Index attributes representing one or more indexes. - - - - Gets the indexes represented by this annotation. - - - - - Returns true if this annotation does not conflict with the given annotation such that - the two can be combined together using the method. - - - Each index annotation contains at most one with a given name. - Two annotations are considered compatible if each IndexAttribute with a given name is only - contained in one annotation or the other, or if both annotations contain an IndexAttribute - with the given name. - - The annotation to compare. - A CompatibilityResult indicating whether or not this annotation is compatible with the other. - - - - Merges this annotation with the given annotation and returns a new annotation containing the merged indexes. - - - Each index annotation contains at most one with a given name. - The merged annotation will contain IndexAttributes from both this and the other annotation. - If both annotations contain an IndexAttribute with the same name, then the merged annotation - will contain one IndexAttribute with that name. - - The annotation to merge with this one. - A new annotation with indexes from both annotations merged. - - The other annotation contains indexes that are not compatible with indexes in this annotation. - - - - - - - - This class is used to serialize and deserialize objects so that they - can be stored in the EDMX form of the Entity Framework model. - - - An example of the serialized format is: - { Name: 'MyIndex', Order: 7, IsClustered: True, IsUnique: False } { } { Name: 'MyOtherIndex' }. - Note that properties that have not been explicitly set in an index attribute will be excluded from - the serialized output. So, in the example above, the first index has all properties specified, - the second has none, and the third has just the name set. - - - - - Serializes the given into a string for storage in the EDMX XML. - - The name of the annotation that is being serialized. - The value to serialize which must be an IndexAnnotation object. - The serialized value. - - - - Deserializes the given string back into an object. - - The name of the annotation that is being deserialized. - The string to deserialize. - The deserialized annotation value. - If there is an error reading the serialized value. - - - - Returned by the ChangeTracker method of to provide access to features of - the context that are related to change tracking of entities. - - - - - Gets objects for all the entities tracked by this context. - - The entries. - - - - Gets objects for all the entities of the given type - tracked by this context. - - The type of the entity. - The entries. - - - - Checks if the is tracking any new, deleted, or changed entities or - relationships that will be sent to the database if is called. - - - Functionally, calling this method is equivalent to checking if there are any entities or - relationships in the Added, Updated, or Deleted state. - Note that this method calls unless - has been set to false. - - - True if underlying have changes, else false. - - - - - Detects changes made to the properties and relationships of POCO entities. Note that some types of - entity (such as change tracking proxies and entities that derive from - ) - report changes automatically and a call to DetectChanges is not normally needed for these types of entities. - Also note that normally DetectChanges is called automatically by many of the methods of - and its related classes such that it is rare that this method will need to be called explicitly. - However, it may be desirable, usually for performance reasons, to turn off this automatic calling of - DetectChanges using the AutoDetectChangesEnabled flag from . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - A non-generic version of the class. - - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - - - Asynchronously loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets or sets a value indicating whether all entities of this collection have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities of this collection from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded into this collection - and wants to prevent any other entities from being loaded automatically. - Note that explict loading using one of the Load methods will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity in the collection is detached the IsLoaded flag is reset to false indicating that the - not all related entities are now loaded. - - - true if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - Returns the query that would be used to load this collection from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database, such - as counting the number of entities in the collection in the database without actually loading them. - - A query for the collection. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the collection element. - The equivalent generic object. - - - - Instances of this class are returned from the Collection method of - and allow operations such as loading to - be performed on the an entity's collection navigation properties. - - The type of the entity to which this property belongs. - The type of the element in the collection of entities. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - - - Asynchronously loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets or sets a value indicating whether all entities of this collection have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities of this collection from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded into this collection - and wants to prevent any other entities from being loaded automatically. - Note that explict loading using one of the Load methods will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity in the collection is detached the IsLoaded flag is reset to false indicating that the - not all related entities are now loaded. - - - true if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - Returns the query that would be used to load this collection from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database, such - as counting the number of entities in the collection in the database without actually loading them. - - A query for the collection. - - - - Returns a new instance of the non-generic class for - the navigation property represented by this object. - - The object representing the navigation property. - A non-generic version. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - An immutable representation of an Entity Data Model (EDM) model that can be used to create an - or can be passed to the constructor of a . - For increased performance, instances of this type should be cached and re-used to construct contexts. - - - - - Creates an instance of ObjectContext or class derived from ObjectContext. Note that an instance - of DbContext can be created instead by using the appropriate DbContext constructor. - If a derived ObjectContext is used, then it must have a public constructor with a single - EntityConnection parameter. - The connection passed is used by the ObjectContext created, but is not owned by the context. The caller - must dispose of the connection once the context has been disposed. - - The type of context to create. - An existing connection to a database for use by the context. - The context. - - - - A non-generic version of the class. - - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The name of the nested property. - An object representing the nested property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the complex property. - The equivalent generic object. - - - - Instances of this class are returned from the ComplexProperty method of - and allow access to the state of a complex property. - - The type of the entity to which this property belongs. - The type of the property. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The type of the nested property. - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The type of the nested property. - An expression representing the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The type of the nested property. - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The type of the nested property. - An expression representing the nested property. - An object representing the nested property. - - - - Represents information about a database connection. - - - - - Creates a new instance of DbConnectionInfo representing a connection that is specified in the application configuration file. - - The name of the connection string in the application configuration. - - - - Creates a new instance of DbConnectionInfo based on a connection string. - - The connection string to use for the connection. - The name of the provider to use for the connection. Use 'System.Data.SqlClient' for SQL Server. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Describes the origin of the database connection string associated with a . - - - - - The connection string was created by convention. - - - - - The connection string was read from external configuration. - - - - - The connection string was explicitly specified at runtime. - - - - - The connection string was overridden by connection information supplied to DbContextInfo. - - - - - Returned by the Configuration method of to provide access to configuration - options for the context. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction. - - - This flag determines whether a new transaction will be started when methods such as - are executed outside of a transaction. - Note that this does not change the behavior of . - - - The default transactional behavior. - - - - - Gets or sets a value indicating whether lazy loading of relationships exposed as - navigation properties is enabled. Lazy loading is enabled by default. - - - true if lazy loading is enabled; otherwise, false . - - - - - Gets or sets a value indicating whether or not the framework will create instances of - dynamically generated proxy classes whenever it creates an instance of an entity type. - Note that even if proxy creation is enabled with this flag, proxy instances will only - be created for entity types that meet the requirements for being proxied. - Proxy creation is enabled by default. - - - true if proxy creation is enabled; otherwise, false . - - - - - Gets or sets a value indicating whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. The default value is false. - - For example (operand1 == operand2) will be translated as: - - (operand1 = operand2) - - if UseDatabaseNullSemantics is true, respectively - - (((operand1 = operand2) AND (NOT (operand1 IS NULL OR operand2 IS NULL))) OR ((operand1 IS NULL) AND (operand2 IS NULL))) - - if UseDatabaseNullSemantics is false. - - - true if database null comparison behavior is enabled, otherwise false . - - - - - By default expression like - .Select(x => NewProperty = func(x.Property)).Where(x => x.NewProperty == ...) - are simplified to avoid nested SELECT - In some cases, simplifying query with UDFs could caused to suboptimal plans due to calling UDF twice. - Also some SQL functions aren't allow in WHERE clause. - Disabling that behavior - - - - - Gets or sets a value indicating whether the - method is called automatically by methods of and related classes. - The default value is true. - - - true if should be called automatically; otherwise, false. - - - - - Gets or sets a value indicating whether tracked entities should be validated automatically when - is invoked. - The default value is true. - - - - - Provides runtime information about a given type. - - - - - Creates a new instance representing a given type. - - - The type deriving from . - - - - - Creates a new instance representing a given targeting a specific database. - - - The type deriving from . - - Connection information for the database to be used. - - - - Creates a new instance representing a given type. An external list of - connection strings can be supplied and will be used during connection string resolution in place - of any connection strings specified in external configuration files. - - - It is preferable to use the constructor that accepts the entire config document instead of using this - constructor. Providing the entire config document allows DefaultConnectionFactroy entries in the config - to be found in addition to explicitly specified connection strings. - - - The type deriving from . - - A collection of connection strings. - - - - Creates a new instance representing a given type. An external config - object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - - - The type deriving from . - - An object representing the config file. - - - - Creates a new instance representing a given , targeting a specific database. - An external config object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - - - The type deriving from . - - An object representing the config file. - Connection information for the database to be used. - - - - Creates a new instance representing a given type. A - can be supplied in order to override the default determined provider used when constructing - the underlying EDM model. - - - The type deriving from . - - - A specifying the underlying ADO.NET provider to target. - - - - - Creates a new instance representing a given type. An external config - object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - A can be supplied in order to override the default determined - provider used when constructing the underlying EDM model. This can be useful to prevent EF from - connecting to discover a manifest token. - - - The type deriving from . - - An object representing the config file. - - A specifying the underlying ADO.NET provider to target. - - - - - The concrete type. - - - - - Whether or not instances of the underlying type can be created. - - - - - The connection string used by the underlying type. - - - - - The connection string name used by the underlying type. - - - - - The ADO.NET provider name of the connection used by the underlying type. - - - - - The origin of the connection string used by the underlying type. - - - - - An action to be run on the DbModelBuilder after OnModelCreating has been run on the context. - - - - - If instances of the underlying type can be created, returns - a new instance; otherwise returns null. - - - A instance. - - - - - A non-generic version of the class. - - - - - Gets the entity. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - - The original values. - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - The store values. - - - - Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the store values. - - - - - Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the store values. - - - - - Reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - - - Asynchronously reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The name of the property. - An object representing the property. - - - - Gets an object that represents a complex property of this entity. - - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The name of the member. - An object representing the member. - - - - Returns a new instance of the generic class for the given - generic type for the tracked entity represented by this object. - Note that the type of the tracked entity must be compatible with the generic type or - an exception will be thrown. - - The type of the entity. - A generic version. - - - - Validates this instance and returns validation result. - - - Entity validation result. Possibly null if - DbContext.ValidateEntity(DbEntityEntry, IDictionary{object,object}) - method is overridden. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Returns a hash code for this instance. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Instances of this class provide access to information about and control of entities that - are being tracked by the . Use the Entity or Entities methods of - the context to obtain objects of this type. - - The type of the entity. - - - - Gets the entity. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - - The original values. - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - The store values. - - - - Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the store values. - - - - - Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the store values. - - - - - Reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - - - Asynchronously reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The type of the property. - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The type of the property. - An expression representing the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The type of elements in the collection. - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The type of elements in the collection. - An expression representing the navigation property. - An object representing the navigation property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The name of the property. - An object representing the property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The type of the property. - The name of the property. - An object representing the property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The type of the property. - An expression representing the property. - An object representing the property. - - - - Gets an object that represents a complex property of this entity. - - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a complex property of this entity. - - The type of the complex property. - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a complex property of this entity. - - The type of the complex property. - An expression representing the complex property. - An object representing the complex property. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The name of the member. - An object representing the member. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The type of the member. - The name of the member. - An object representing the member. - - - - Returns a new instance of the non-generic class for - the tracked entity represented by this object. - - The object representing the tracked entity. - A non-generic version. - - - - Validates this instance and returns validation result. - - - Entity validation result. Possibly null if - DbContext.ValidateEntity(DbEntityEntry, IDictionary{object, object}) - method is overridden. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Returns a hash code for this instance. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Provides the base implementation of the retry mechanism for unreliable operations and transient conditions that uses - exponentially increasing delays between retries. - - - A new instance will be created each time an operation is executed. - The following formula is used to calculate the delay after retryCount number of attempts: - min(random(1, 1.1) * (2 ^ retryCount - 1), maxDelay) - The retryCount starts at 0. - The random factor distributes uniformly the retry attempts from multiple simultaneous operations failing simultaneously. - - - - - Creates a new instance of . - - - The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor. - - - - - Creates a new instance of with the specified limits for number of retries and the delay between retries. - - The maximum number of retry attempts. - The maximum delay in milliseconds between retries. - - - - Returns true to indicate that might retry the execution after a failure. - - - - - Indicates whether the strategy is suspended. The strategy is typically suspending while executing to avoid - recursive execution from nested operations. - - - - - Repetitively executes the specified operation while it satisfies the current retry policy. - - A delegate representing an executable operation that doesn't return any results. - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Repetitively executes the specified operation while it satisfies the current retry policy. - - The type of result expected from the executable operation. - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Repetitively executes the specified asynchronous operation while it satisfies the current retry policy. - - A function that returns a started task. - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will become faulted and the exception must be observed. - - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Repeatedly executes the specified asynchronous operation while it satisfies the current retry policy. - - - The result type of the returned by . - - - A function that returns a started task of type . - - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will become faulted and the exception must be observed. - - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Determines whether the operation should be retried and the delay before the next attempt. - - The exception thrown during the last execution attempt. - - Returns the delay indicating how long to wait for before the next execution attempt if the operation should be retried; - null otherwise - - - - - Recursively gets InnerException from as long as it's an - , or - and passes it to - - The type of the unwrapped exception. - The exception to be unwrapped. - A delegate that will be called with the unwrapped exception. - - The result from . - - - - - Determines whether the specified exception represents a transient failure that can be compensated by a retry. - - The exception object to be verified. - - true if the specified exception is considered as transient, otherwise false. - - - - - This is an abstract base class use to represent a scalar or complex property, or a navigation property - of an entity. Scalar and complex properties use the derived class , - reference navigation properties use the derived class , and collection - navigation properties use the derived class . - - - - - Gets the name of the property. - - The property name. - - - - Gets or sets the current value of this property. - - The current value. - - - - The to which this member belongs. - - An entry for the entity that owns this member. - - - - Validates this property. - - - Collection of objects. Never null. If the entity is valid the collection will be empty. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - This is an abstract base class use to represent a scalar or complex property, or a navigation property - of an entity. Scalar and complex properties use the derived class , - reference navigation properties use the derived class , and collection - navigation properties use the derived class . - - The type of the entity to which this property belongs. - The type of the property. - - - Gets the name of the property. - The name of the property. - - - - Gets or sets the current value of this property. - - The current value. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - The to which this member belongs. - - An entry for the entity that owns this member. - - - - Validates this property. - - - Collection of objects. Never null. If the entity is valid the collection will be empty. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents an Entity Data Model (EDM) created by the . - The Compile method can be used to go from this EDM representation to a - which is a compiled snapshot of the model suitable for caching and creation of - or instances. - - - - - Gets the provider information. - - - - - Gets the provider manifest. - - - - - Gets the conceptual model. - - - - - Gets the store model. - - - - - Gets the mapping model. - - - - - Creates a for this mode which is a compiled snapshot - suitable for caching and creation of instances. - - The compiled model. - - - - Base class for persisted model cache. - - - - - Loads a model from the store. - - The type of context representing the model. - The loaded metadata model. - - - - Retrieves an edmx XDocument version of the model from the store. - - The type of context representing the model. - The loaded XDocument edmx. - - - - Saves a model to the store. - - The type of context representing the model. - The metadata model to save. - - - - Gets the default database schema used by a model. - - The type of context representing the model. - The default database schema. - - - - A non-generic version of the class. - - - - - Gets the property name. - - The property name. - - - - Gets or sets the original value of this property. - - The original value. - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets or sets a value indicating whether the value of this property has been modified since - it was loaded from the database. - - - Setting this value to false for a modified property will revert the change by setting the - current value to the original value. If the result is that no properties of the entity are - marked as modified, then the entity will be marked as Unchanged. - Setting this value to false for properties of Added, Unchanged, or Deleted entities - is a no-op. - - - true if this instance is modified; otherwise, false . - - - - - The to which this property belongs. - - An entry for the entity that owns this property. - - - - The of the property for which this is a nested property. - This method will only return a non-null entry for properties of complex objects; it will - return null for properties of the entity itself. - - An entry for the parent complex property, or null if this is an entity property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Instances of this class are returned from the Property method of - and allow access to the state of the scalar - or complex property. - - The type of the entity to which this property belongs. - The type of the property. - - - - Gets the property name. - - The property name. - - - - Gets or sets the original value of this property. - - The original value. - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets or sets a value indicating whether the value of this property has been modified since - it was loaded from the database. - - - true if this instance is modified; otherwise, false . - - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - The to which this property belongs. - - An entry for the entity that owns this property. - - - - The of the property for which this is a nested property. - This method will only return a non-null entry for properties of complex objects; it will - return null for properties of the entity itself. - - An entry for the parent complex property, or null if this is an entity property. - - - - A collection of all the properties for an underlying entity or complex object. - - - An instance of this class can be converted to an instance of the generic class - using the Cast method. - Complex properties in the underlying entity or complex object are represented in - the property values as nested instances of this class. - - - - - Creates an object of the underlying type for this dictionary and hydrates it with property - values from this dictionary. - - The properties of this dictionary copied into a new object. - - - - Sets the values of this dictionary by reading values out of the given object. - The given object can be of any type. Any property on the object with a name that - matches a property name in the dictionary and can be read will be read. Other - properties will be ignored. This allows, for example, copying of properties from - simple Data Transfer Objects (DTOs). - - The object to read values from. - - - - Creates a new dictionary containing copies of all the properties in this dictionary. - Changes made to the new dictionary will not be reflected in this dictionary and vice versa. - - A clone of this dictionary. - - - - Sets the values of this dictionary by reading values from another dictionary. - The other dictionary must be based on the same type as this dictionary, or a type derived - from the type for this dictionary. - - The dictionary to read values from. - - - - Gets the set of names of all properties in this dictionary as a read-only set. - - The property names. - - - - Gets or sets the value of the property with the specified property name. - The value may be a nested instance of this class. - - The property name. - The value of the property. - - - - Gets the value of the property just like using the indexed property getter but - typed to the type of the generic parameter. This is useful especially with - nested dictionaries to avoid writing expressions with lots of casts. - - The type of the property. - Name of the property. - The value of the property. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Groups a pair of strings that identify a provider and server version together into a single object. - - - Instances of this class act as the key for resolving a for a specific - provider from a . This is typically used when registering spatial services - in or when the spatial services specific to a provider is - resolved by an implementation of . - - - - - Creates a new object for a given provider invariant name and manifest token. - - - A string that identifies that provider. For example, the SQL Server - provider uses the string "System.Data.SqlCient". - - - A string that identifies that version of the database server being used. For example, the SQL Server - provider uses the string "2008" for SQL Server 2008. This cannot be null but may be empty. - The manifest token is sometimes referred to as a version hint. - - - - - A string that identifies that provider. For example, the SQL Server - provider uses the string "System.Data.SqlCient". - - - - - A string that identifies that version of the database server being used. For example, the SQL Server - provider uses the string "2008" for SQL Server 2008. This cannot be null but may be empty. - - - - - - - - - - - Represents a non-generic LINQ to Entities query against a DbContext. - - - - - Returns false. - - - false . - - - - - Throws an exception indicating that binding directly to a store query is not supported. - Instead populate a DbSet with data, for example by using the Load extension method, and - then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to - DbSet.Local.ToBindingList(). - - Never returns; always throws. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - The IQueryable element type. - - - - - The IQueryable LINQ Expression. - - - - - The IQueryable provider. - - - - - Specifies the related objects to include in the query results. - - - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the DbQuery<T>. Other instances of DbQuery<T> and the object context itself are not affected. - Because the Include method returns the query object, you can call this method multiple times on an DbQuery<T> to - specify multiple paths for the query. - - The dot-separated list of related objects to return in the query results. - - A new DbQuery<T> with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns the equivalent generic object. - - The type of element for which the query was created. - The generic set object. - - - - Returns a representation of the underlying query. - - The query string. - - - - Gets a representation of the underlying query. - - - - - - - - - - - - - - Represents a LINQ to Entities query against a DbContext. - - The type of entity to query for. - - - - Specifies the related objects to include in the query results. - - - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the DbQuery<T>. Other instances of DbQuery<T> and the object context itself are not affected. - Because the Include method returns the query object, you can call this method multiple times on an DbQuery<T> to - specify multiple paths for the query. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns false. - - - false . - - - - - Throws an exception indicating that binding directly to a store query is not supported. - Instead populate a DbSet with data, for example by using the Load extension method, and - then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to - DbSet.Local.ToBindingList(). - - Never returns; always throws. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - The IQueryable element type. - - - - - The IQueryable LINQ Expression. - - - - - The IQueryable provider. - - - - - Returns a representation of the underlying query. - - The query string. - - - - Gets a representation of the underlying query. - - - - - Returns a new instance of the non-generic class for this query. - - The query. - A non-generic version. - - - - - - - - - - - - - Represents a SQL query for non-entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance. - The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for entities are created using . - See for a generic version of this class. - - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The action to perform on each element. - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The action to perform on each element. - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Creates a from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the query. - - - - - Creates a from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the query. - - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Returns false. - - - false . - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - Never returns; always throws. - - - - - - - - - - - - - Represents a SQL query for non-entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance. - The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for entities are created using . - See for a non-generic version of this class. - - The type of elements returned by the query. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The action to be executed. - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The action to be executed. - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Creates a from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates a from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates an array from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains an array that contains elements from the input sequence. - - - - - Creates an array from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an array that contains elements from the input sequence. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - A function to extract a key from each element. - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - A function to extract a key from each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function and a comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - A function to extract a key from each element. - - An to compare keys. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function and a comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - A function to extract a key from each element. - - An to compare keys. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - - The type of the value returned by . - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the query. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - - The type of the value returned by . - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the query. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function, a comparer, and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - - The type of the value returned by . - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - An to compare keys. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function, a comparer, and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - - The type of the value returned by . - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - An to compare keys. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Asynchronously returns the first element of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the first element in the query result. - - The query result is empty. - - - - Asynchronously returns the first element of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the first element in the query result. - - The query result is empty. - - - - Asynchronously returns the first element of the query that satisfies a specified condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the first element in the query result that satisfies a specified condition. - - - - is - null - . - - The query result is empty. - - - - Asynchronously returns the first element of the query that satisfies a specified condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the first element in the query result that satisfies a specified condition. - - - - is - null - . - - The query result is empty. - - - - Asynchronously returns the first element of the query, or a default value if the query result contains no elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if query result is empty; - otherwise, the first element in the query result. - - - - - Asynchronously returns the first element of the query, or a default value if the query result contains no elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if query result is empty; - otherwise, the first element in the query result. - - - - - Asynchronously returns the first element of the query that satisfies a specified condition - or a default value if no such element is found. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains default ( ) if query result is empty - or if no element passes the test specified by ; otherwise, the first element - in the query result that passes the test specified by . - - - - is - null - . - - - - - Asynchronously returns the first element of the query that satisfies a specified condition - or a default value if no such element is found. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if query result is empty - or if no element passes the test specified by ; otherwise, the first element - in the query result that passes the test specified by . - - - - is - null - . - - - - - Asynchronously returns the only element of the query, and throws an exception - if there is not exactly one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result. - - The query result has more than one element. - The query result is empty. - - - - Asynchronously returns the only element of the query, and throws an exception - if there is not exactly one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result. - - The query result has more than one element. - The query result is empty. - - - - Asynchronously returns the only element of the query that satisfies a specified condition, - and throws an exception if more than one such element exists. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the single element of the query result that satisfies the condition in - . - - - - is - null - . - - - No element satisfies the condition in - - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of the query that satisfies a specified condition, - and throws an exception if more than one such element exists. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result that satisfies the condition in - . - - - - is - null - . - - - No element satisfies the condition in - - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of a sequence, or a default value if the sequence is empty; - this method throws an exception if there is more than one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result, or default () - if the sequence contains no elements. - - The query result has more than one element. - - - - Asynchronously returns the only element of a sequence, or a default value if the sequence is empty; - this method throws an exception if there is more than one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result, or default () - if the sequence contains no elements. - - The query result has more than one element. - - - - Asynchronously returns the only element of the query that satisfies a specified condition or - a default value if no such element exists; this method throws an exception if more than one element - satisfies the condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the single element of the query result that satisfies the condition in - , or default ( ) if no such element is found. - - - - is - null - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of the query that satisfies a specified condition or - a default value if no such element exists; this method throws an exception if more than one element - satisfies the condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result that satisfies the condition in - , or default ( ) if no such element is found. - - - - is - null - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously determines whether the query contains a specified element by using the default equality comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The object to locate in the query result. - - A task that represents the asynchronous operation. - The task result contains true if the query result contains the specified value; otherwise, false. - - - - - Asynchronously determines whether the query contains a specified element by using the default equality comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The object to locate in the query result. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the query result contains the specified value; otherwise, false. - - - - - Asynchronously determines whether the query contains any elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains true if the query result contains any elements; otherwise, false. - - - - - Asynchronously determines whether the query contains any elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the query result contains any elements; otherwise, false. - - - - - Asynchronously determines whether any element of the query satisfies a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains true if any elements in the query result pass the test in the specified predicate; otherwise, false. - - - - - Asynchronously determines whether any element of the query satisfies a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if any elements in the query result pass the test in the specified predicate; otherwise, false. - - - - - Asynchronously determines whether all the elements of the query satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains true if every element of the query result passes the test in the specified predicate; otherwise, false. - - - - is - null - . - - - - - Asynchronously determines whether all the elements of the query satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if every element of the query result passes the test in the specified predicate; otherwise, false. - - - - is - null - . - - - - - Asynchronously returns the number of elements in the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result. - - - The number of elements in the query result is larger than - - . - - - - - Asynchronously returns the number of elements in the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result. - - - The number of elements in the query result is larger than - - . - - - - - Asynchronously returns the number of elements in the query that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result that satisfy the condition in the predicate function. - - - The number of elements in the query result that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns the number of elements in the query that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result that satisfy the condition in the predicate function. - - - The number of elements in the query result that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns an that represents the total number of elements in the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result. - - - The number of elements in the query result is larger than - - . - - - - - Asynchronously returns an that represents the total number of elements in the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result. - - - The number of elements in the query result is larger than - - . - - - - - Asynchronously returns an that represents the number of elements in the query - that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result that satisfy the condition in the predicate function. - - - The number of elements in the query result that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns an that represents the number of elements in the query - that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result that satisfy the condition in the predicate function. - - - The number of elements in the query result that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns the minimum value of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the query result. - - - - - Asynchronously returns the minimum value of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the query result. - - - - - Asynchronously returns the maximum value of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the query result. - - - - - Asynchronously returns the maximum value of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the query result. - - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Returns false. - - - false . - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - Never returns; always throws. - - - - - - - - - - - - - A non-generic version of the class. - - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - - - Asynchronously loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets or sets a value indicating whether the entity has been loaded from the database. - - - Loading the related entity from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entity from being lazy-loaded. - Note that explict loading using one of the Load methods will load the related entity from the database - regardless of whether or not IsLoaded is true. - When a related entity is detached the IsLoaded flag is reset to false indicating that the related entity is - no longer loaded. - - - true if the entity is loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - Returns the query that would be used to load this entity from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database. - - A query for the entity. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Instances of this class are returned from the Reference method of - and allow operations such as loading to - be performed on the an entity's reference navigation properties. - - The type of the entity to which this property belongs. - The type of the property. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - - - Asynchronously loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets or sets a value indicating whether the entity has been loaded from the database. - - - Loading the related entity from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entity from being lazy-loaded. - Note that explict loading using one of the Load methods will load the related entity from the database - regardless of whether or not IsLoaded is true. - When a related entity is detached the IsLoaded flag is reset to false indicating that the related entity is - no longer loaded. - - - true if the entity is loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - Returns the query that would be used to load this entity from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database. - - A query for the entity. - - - - Returns a new instance of the non-generic class for - the navigation property represented by this object. - - The object representing the navigation property. - A non-generic version. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Represents a SQL query for entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance for the - entity type. The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for non-entities are created using . - See for a generic version of this class. - - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for . Methods and properties - that will be used by the test double must be implemented by the test double except AsNoTracking - and AsStreaming where the default implementation is a no-op. - - - - - Returns a new query where the results of the query will not be tracked by the associated - . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - - - - - - - - - - - - - Represents a SQL query for entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance for the - entity type. The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for non-entities are created using . - See for a non-generic version of this class. - - The type of entities returned by the query. - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for . Methods and properties - that will be used by the test double must be implemented by the test double except AsNoTracking and - AsStreaming where the default implementation is a no-op. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - - - - - - - - - - - - - Exception thrown by when it was expected that SaveChanges for an entity would - result in a database update but in fact no rows in the database were affected. This usually indicates - that the database has been concurrently updated such that a concurrency token that was expected to match - did not actually match. - Note that state entries referenced by this exception are not serialized due to security and accesses to - the state entries after serialization will return null. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the DbUpdateConcurrencyException class with the specified serialization information and context. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - Exception thrown by when the saving of changes to the database fails. - Note that state entries referenced by this exception are not serialized due to security and accesses to the - state entries after serialization will return null. - - - - - Gets objects that represents the entities that could not - be saved to the database. - - The entries representing the entities that could not be saved. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the DbUpdateException class with the specified serialization information and context. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - Loads or saves models from/into .edmx files at a specified location. - - - - - Initializes a new DefaultDbModelStore instance. - - The parent directory for the .edmx files. - - - - Gets the location of the .edmx files. - - - - - Loads a model from the store. - - The type of context representing the model. - The loaded metadata model. - - - - Retrieves an edmx XDocument version of the model from the store. - - The type of context representing the model. - The loaded XDocument edmx. - - - - Saves a model to the store. - - The type of context representing the model. - The metadata model to save. - - - - Gets the path of the .edmx file corresponding to the specified context type. - - A context type. - The .edmx file path. - - - - Validates the model store is valid. - The default implementation verifies that the .edmx file was last - written after the context assembly was last written. - - The type of context representing the model. - The path of the stored model. - Whether the edmx file should be invalidated. - - - - An that doesn't retry operations if they fail. - - - - - Returns false to indicate that will not retry the execution after a failure. - - - - - Executes the specified operation once. - - A delegate representing an executable operation that doesn't return any results. - - - - Executes the specified operation once and returns the result. - - - The return type of . - - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - - - - Executes the specified asynchronous operation once, without retrying on failure. - - A function that returns a started task. - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully. - - - - - Executes the specified asynchronous operation once, without retrying on failure. - - - The result type of the returned by . - - A function that returns a started task. - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully. - - - - - A default implementation of that uses the - underlying provider to get the manifest token. - Note that to avoid multiple queries, this implementation using caching based on the actual type of - instance, the property, - and the property. - - - - - - - - Event arguments passed to event handlers. - - - - - Returns a snapshot of the that is about to be locked. - Use the GetService methods on this object to get services that have been registered. - - - - - Call this method to add a instance to the Chain of - Responsibility of resolvers that are used to resolve dependencies needed by the Entity Framework. - - - Resolvers are asked to resolve dependencies in reverse order from which they are added. This means - that a resolver can be added to override resolution of a dependency that would already have been - resolved in a different way. - The only exception to this is that any dependency registered in the application's config file - will always be used in preference to using a dependency resolver added here, unless the - overrideConfigFile is set to true in which case the resolver added here will also override config - file settings. - - The resolver to add. - If true, then the resolver added will take precedence over settings in the config file. - - - - Call this method to add a instance to the Chain of Responsibility - of resolvers that are used to resolve dependencies needed by the Entity Framework. Unlike the AddDependencyResolver - method, this method puts the resolver at the bottom of the Chain of Responsibility such that it will only - be used to resolve a dependency that could not be resolved by any of the other resolvers. - - The resolver to add. - - - - Adds a wrapping resolver to the configuration that is about to be locked. A wrapping - resolver is a resolver that incepts a service would have been returned by the resolver - chain and wraps or replaces it with another service of the same type. - - The type of service to wrap or replace. - A delegate that takes the unwrapped service and key and returns the wrapped or replaced service. - - - - - - - - - - - - - - - - An implementation used for resolving - factories. - - - This class can be used by to aid in the resolving - of factories as a default service for the provider. - - The type of execution strategy that is resolved. - - - - Initializes a new instance of - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - - A string that will be matched against the server name in the connection string. null will match anything. - - A function that returns a new instance of an execution strategy. - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return null. When the given type is - Func{IExecutionStrategy}, then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An , or null. - - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return an empty enumeration. When the given type is - Func{IExecutionStrategy}, then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An enumerable of , or an empty enumeration. - - - - - This interface is implemented by any object that can resolve a dependency, either directly - or through use of an external container. - - - The public services currently resolved using IDbDependencyResolver are documented here: - http://msdn.microsoft.com/en-us/data/jj680697 - - - - - Attempts to resolve a dependency for a given contract type and optionally a given key. - If the resolver cannot resolve the dependency then it must return null and not throw. This - allows resolvers to be used in a Chain of Responsibility pattern such that multiple resolvers - can be asked to resolve a dependency until one finally does. - - The interface or abstract base class that defines the dependency to be resolved. The returned object is expected to be an instance of this type. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - The resolved dependency, which must be an instance of the given contract type, or null if the dependency could not be resolved. - - - - Attempts to resolve a dependencies for a given contract type and optionally a given key. - If the resolver cannot resolve the dependency then it must return an empty enumeration and - not throw. This method differs from in that it returns all registered - services for the given type and key combination. - - The interface or abstract base class that defines the dependency to be resolved. Every returned object is expected to be an instance of this type. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - All services that resolve the dependency, which must be instances of the given contract type, or an empty enumeration if the dependency could not be resolved. - - - - Extension methods to call the method using - a generic type parameter and/or no name. - - - - - Calls passing the generic type of the method and the given - name as arguments. - - The contract type to resolve. - The resolver to use. - The key of the dependency to resolve. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the generic type of the method as - the type argument and null for the name argument. - - The contract type to resolve. - The resolver to use. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the given type argument and using - null for the name argument. - - The resolver to use. - The contract type to resolve. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the generic type of the method and the given - name as arguments. - - The contract type to resolve. - The resolver to use. - The key of the dependency to resolve. - All resolved dependencies, or an if no services are resolved. - - - - Calls passing the generic type of the method as - the type argument and null for the name argument. - - The contract type to resolve. - The resolver to use. - All resolved dependencies, or an if no services are resolved. - - - - Calls passing the given type argument and using - null for the name argument. - - The resolver to use. - The contract type to resolve. - All resolved dependencies, or an if no services are resolved. - - - - Implements to resolve a dependency such that it always returns - the same instance. - - The type that defines the contract for the dependency that will be resolved. - - This class is immutable such that instances can be accessed by multiple threads at the same time. - - - - - Constructs a new resolver that will return the given instance for the contract type - regardless of the key passed to the Get method. - - The instance to return. - - - - Constructs a new resolver that will return the given instance for the contract type - if the given key matches exactly the key passed to the Get method. - - The instance to return. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - - - - Constructs a new resolver that will return the given instance for the contract type - if the given key matches the key passed to the Get method based on the given predicate. - - The instance to return. - A predicate that takes the key object and returns true if and only if it matches. - - - - - - - - - - An implementation used for resolving - factories. - - - - - Initializes a new instance of - - A function that returns a new instance of a transaction handler. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which the transaction handler will be used. - null will match anything. - - - A string that will be matched against the server name in the connection string. null will match anything. - - - - - If the given type is , then this method will attempt - to return the service to use, otherwise it will return null. When the given type is - , then the key is expected to be a . - - The service type to resolve. - A key used to make a determination of the service to return. - - An , or null. - - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return an empty enumeration. When the given type is - , then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An enumerable of , or an empty enumeration. - - - - - - - - - - - Provides utility methods for reading from an App.config or Web.config file. - - - - - Initializes a new instance of . - - The configuration to read from. - - - - Gets the specified provider services from the configuration. - - The invariant name of the provider services. - The provider services type name, or null if not found. - - - - Used for design-time scenarios where the user's code needs to be executed inside - of an isolated, runtime-like . - - Instances of this class should be created inside of the guest domain. - Handlers should be created inside of the host domain. To invoke operations, - create instances of the nested classes inside - - - - - Initializes a new instance of the class. Do this inside of the guest - domain. - - The path for the assembly containing the user's code. - The parameter is not used. - - - - Used to get the assembly-qualified name of the DbProviderServices type for the - specified provider invariant name. - - - - - Represents an operation. - - - - - Initializes a new instance of the class. - - An object to handle callbacks during the operation. - - - - Executes an action passing exceptions to the handler. - - The action to execute. - - - - Executes an action passing the result or exceptions to the handler. - - The result type. - The action to execute. - - - - Executes an action passing results or exceptions to the handler. - - The type of results. - The action to execute. - - - - Base handler type. Handlers aren't required to use this exact type. Only the - namespace, name, and member signatures need to be the same. This also applies to - handler contracts types - - - - - Indicates whether the specified contract is implemented by this handler. - - The full name of the contract interface. - True if the contract is implemented, otherwise false. - - - - Used to handle reported design-time activity. - - - - - Invoked when an error is reported. - - The message. - - - - Invoked when a warning is reported. - - The message. - - - - Invoked when information is reported. - - The message. - - - - Invoked when verbose information is reported. - - The message. - - - - A contract handlers can use to accept a single result. - - - - - - Sets the result. - - The result. - - - - Invoked when an error occurs. - - The exception type. - The error message. - The stack trace. - true if the error was handled; otherwise, false. - - - - Used to handle reported design-time activity. - - - - - Initializes a new instance of the class. - - A callback for . - A callback for . - A callback for . - A callback for . - - - - Invoked when an error is reported. - - The message. - - - - Invoked when a warning is reported. - - The message. - - - - Invoked when information is reported. - - The message. - - - - Invoked when verbose information is reported. - - The message. - - - - Used with to handle operation results. - - - - - Gets a value indicating whether a result is available. - - A value indicating whether a result is available. - - - - Gets the result. - - The result. - - - - Gets the type of the exception if any. - - The exception type. - - - - Gets the error message if any. - - The error message. - - - - Get the error stack trace if any. - - The stack trace. - - - - Invoked when a result is available. - - The result. - - - - Invoked when an error occurs. - - The exception type. - The error message. - The stack trace. - - - - Represents an entity used to store metadata about an EDM in the database. - - - - - Gets or sets the ID of the metadata entity, which is currently always 1. - - The id. - - - - Gets or sets the model hash which is used to check whether the model has - changed since the database was created from it. - - The model hash. - - - - Attempts to get the model hash calculated by Code First for the given context. - This method will return null if the context is not being used in Code First mode. - - The context. - The hash string. - - - - Utility class for reading a metadata model from .edmx. - - - - - Reads a metadata model from .edmx. - - XML reader for the .edmx - Default database schema used by the model. - The loaded metadata model. - - - - Contains methods used to access the Entity Data Model created by Code First in the EDMX form. - These methods are typically used for debugging when there is a need to look at the model that - Code First creates internally. - - - - - Uses Code First with the given context and writes the resulting Entity Data Model to the given - writer in EDMX form. This method can only be used with context instances that use Code First - and create the model internally. The method cannot be used for contexts created using Database - First or Model First, for contexts created using a pre-existing , or - for contexts created using a pre-existing . - - The context. - The writer. - - - - Writes the Entity Data Model represented by the given to the - given writer in EDMX form. - - An object representing the EDM. - The writer. - - - - A key used for resolving . It consists of the ADO.NET provider invariant name - and the database server name as specified in the connection string. - - - - - Initializes a new instance of - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - A string that will be matched against the server name in the connection string. - - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - - - - A string that will be matched against the server name in the connection string. - - - - - - - - - - - Asynchronous version of the interface that allows elements to be retrieved asynchronously. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - - - - Gets an enumerator that can be used to asynchronously enumerate the sequence. - - Enumerator for asynchronous enumeration over the sequence. - - - - Asynchronous version of the interface that allows elements of the enumerable sequence to be retrieved asynchronously. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - The type of objects to enumerate. - - - - Gets an enumerator that can be used to asynchronously enumerate the sequence. - - Enumerator for asynchronous enumeration over the sequence. - - - - Asynchronous version of the interface that allows elements to be retrieved asynchronously. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - - - - Advances the enumerator to the next element in the sequence, returning the result asynchronously. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the sequence. - - - - - Gets the current element in the iteration. - - - - - Asynchronous version of the interface that allows elements to be retrieved asynchronously. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - The type of objects to enumerate. - - - - Gets the current element in the iteration. - - - - - Defines methods to create and asynchronously execute queries that are described by an - object. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - - - - Asynchronously executes the query represented by a specified expression tree. - - An expression tree that represents a LINQ query. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the value that results from executing the specified query. - - - - - Asynchronously executes the strongly-typed query represented by a specified expression tree. - - The type of the value that results from executing the query. - An expression tree that represents a LINQ query. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the value that results from executing the specified query. - - - - - Implementations of this interface are used to create DbConnection objects for - a type of database server based on a given database name. - An Instance is set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use a certain type of database server by default. - Two implementations of this interface are provided: - is used to create connections to Microsoft SQL Server, including EXPRESS editions. - is used to create connections to Microsoft SQL - Server Compact Editions. - Other implementations for other database servers can be added as needed. - Note that implementations should be thread safe or immutable since they may - be accessed by multiple threads at the same time. - - - - - Creates a connection based on the given database name or connection string. - - The database name or connection string. - An initialized DbConnection. - - - - A factory for creating derived instances. Implement this - interface to enable design-time services for context types that do not have a - public default constructor. - At design-time, derived instances can be created in order to enable specific - design-time experiences such as model rendering, DDL generation etc. To enable design-time instantiation - for derived types that do not have a public, default constructor, implement - this interface. Design-time services will auto-discover implementations of this interface that are in the - same assembly as the derived type. - - The type of the context. - - - - Creates a new instance of a derived type. - - An instance of TContext - - - - A strategy that is used to execute a command or query against the database, possibly with logic to retry when a failure occurs. - - - - - Indicates whether this might retry the execution after a failure. - - - - - Executes the specified operation. - - A delegate representing an executable operation that doesn't return any results. - - - - Executes the specified operation and returns the result. - - - The return type of . - - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - - - - Executes the specified asynchronous operation. - - A function that returns a started task. - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will become faulted and the exception must be observed. - - - - - Executes the specified asynchronous operation and returns the result. - - - The result type of the returned by . - - - A function that returns a started task of type . - - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will become faulted and the exception must be observed. - - - - - Represents a key value that uniquely identifies an Entity Framework model that has been loaded into memory. - - - - Determines whether the current cached model key is equal to the specified cached model key. - true if the current cached model key is equal to the specified cached model key; otherwise, false. - The cached model key to compare to the current cached model key. - - - Returns the hash function for this cached model key. - The hash function for this cached model key. - - - - Implement this interface on your context to use custom logic to calculate the key used to lookup an already created model in the cache. - This interface allows you to have a single context type that can be used with different models in the same AppDomain, - or multiple context types that use the same model. - - - - Gets the cached key associated with the provider. - The cached key associated with the provider. - - - - A service for obtaining the correct from a given - . - - - On .NET 4.5 the provider is publicly accessible from the connection. On .NET 4 the - default implementation of this service uses some heuristics to find the matching - provider. If these fail then a new implementation of this service can be registered - on to provide an appropriate resolution. - - - - - Returns the for the given connection. - - The connection. - The provider factory for the connection. - - - - A service for getting a provider manifest token given a connection. - The class is used by default and makes use of the - underlying provider to get the token which often involves opening the connection. - A different implementation can be used instead by adding an - to that may use any information in the connection to return - the token. For example, if the connection is known to point to a SQL Server 2008 database then - "2008" can be returned without opening the connection. - - - - - Returns the manifest token to use for the given connection. - - The connection for which a manifest token is required. - The manifest token to use. - - - - Implement this interface to allow custom annotations represented by instances to be - serialized to and from the EDMX XML. Usually a serializer instance is set using the - method. - - - - - Serializes the given annotation value into a string for storage in the EDMX XML. - - The name of the annotation that is being serialized. - The value to serialize. - The serialized value. - - - - Deserializes the given string back into the expected annotation value. - - The name of the annotation that is being deserialized. - The string to deserialize. - The deserialized annotation value. - - - - This convention causes DbModelBuilder to include metadata about the model - when it builds the model. When creates a model by convention it will - add this convention to the list of those used by the DbModelBuilder. This will then result in - model metadata being written to the database if the DbContext is used to create the database. - This can then be used as a quick check to see if the model has changed since the last time it was - used against the database. - This convention can be removed from the conventions by overriding - the OnModelCreating method on a derived DbContext class. - - - - - Represents contextual information associated with calls to - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - The that will be used or has been used to start a transaction. - - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The isolation level to associate. - A new interception context associated with the given isolation level. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - This is the default log formatter used when some is set onto the - property. A different formatter can be used by creating a class that inherits from this class and overrides - some or all methods to change behavior. - - - To set the new formatter create a code-based configuration for EF using and then - set the formatter class to use with . - Note that setting the type of formatter to use with this method does change the way command are - logged when is used. It is still necessary to set a - onto before any commands will be logged. - For more low-level control over logging/interception see and - . - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Creates a formatter that will not filter by any and will instead log every command - from any context and also commands that do not originate from a context. - - - This constructor is not used when a delegate is set on . Instead it can be - used by setting the formatter directly using . - - The delegate to which output will be sent. - - - - Creates a formatter that will only log commands the come from the given instance. - - - This constructor must be called by a class that inherits from this class to override the behavior - of . - - - The context for which commands should be logged. Pass null to log every command - from any context and also commands that do not originate from a context. - - The delegate to which output will be sent. - - - - The context for which commands are being logged, or null if commands from all contexts are - being logged. - - - - - Writes the given string to the underlying write delegate. - - The string to write. - - - - This property is obsolete. Using it can result in logging incorrect execution times. Call - instead. - - - - - The stopwatch used to time executions. This stopwatch is started at the end of - , , and - methods and is stopped at the beginning of the , , - and methods. If these methods are overridden and the stopwatch is being used - then the overrides should either call the base method or start/stop the stopwatch themselves. - - The interception context for which the stopwatch will be obtained. - The stopwatch. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - Called whenever a command is about to be executed. The default implementation of this method - filters by set into , if any, and then calls - . This method would typically only be overridden to change the - context filtering behavior. - - The type of the operation's results. - The command that will be executed. - Contextual information associated with the command. - - - - Called whenever a command has completed executing. The default implementation of this method - filters by set into , if any, and then calls - . This method would typically only be overridden to change the context - filtering behavior. - - The type of the operation's results. - The command that was executed. - Contextual information associated with the command. - - - - Called to log a command that is about to be executed. Override this method to change how the - command is logged to . - - The type of the operation's results. - The command to be logged. - Contextual information associated with the command. - - - - Called by to log each parameter. This method can be called from an overridden - implementation of to log parameters, and/or can be overridden to - change the way that parameters are logged to . - - The type of the operation's results. - The command being logged. - Contextual information associated with the command. - The parameter to log. - - - - Called to log the result of executing a command. Override this method to change how results are - logged to . - - The type of the operation's results. - The command being logged. - Contextual information associated with the command. - - - - Does not write to log unless overridden. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - Called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that began the transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection being opened. - Contextual information associated with the call. - - - - Called after or its async counterpart is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that was opened. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection being closed. - Contextual information associated with the call. - - - - Called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that was closed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Called before is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection being disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection that was disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction being committed. - Contextual information associated with the call. - - - - This method is called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction that was committed. - Contextual information associated with the call. - - - - This method is called before is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction being disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction that was disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction being rolled back. - Contextual information associated with the call. - - - - This method is called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - - - - - - - - - - - - A simple logger for logging SQL and other database operations to the console or a file. - A logger can be registered in code or in the application's web.config /app.config file. - - - - - Creates a new logger that will send log output to the console. - - - - - Creates a new logger that will send log output to a file. If the file already exists then - it is overwritten. - - A path to the file to which log output will be written. - - - - Creates a new logger that will send log output to a file. - - A path to the file to which log output will be written. - True to append data to the file if it exists; false to overwrite the file. - - - - Stops logging and closes the underlying file if output is being written to a file. - - - - - Stops logging and closes the underlying file if output is being written to a file. - - - True to release both managed and unmanaged resources; False to release only unmanaged resources. - - - - - Starts logging. This method is a no-op if logging is already started. - - - - - Stops logging. This method is a no-op if logging is not started. - - - - - Called to start logging during Entity Framework initialization when this logger is registered. - as an . - - Arguments to the event that this interceptor mirrors. - Contextual information about the event. - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the fluent API. - - - This class is used internally by Entity Framework when executing commands. It is provided publicly so that - code that runs outside of the core EF assemblies can opt-in to command interception/tracing. This is - typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The cancellation token for the asynchronous operation. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The cancellation token for the asynchronous operation. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The cancellation token for the asynchronous operation. - The result of the operation, which may have been modified by interceptors. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls into - implementations. - - - An instance of this class is passed to the dispatch methods of - and does not contain mutable information such as the result of the operation. This mutable information - is obtained from the that is passed to the interceptors. - Instances of this class are publicly immutable. To add contextual information use one of the - With... or As... methods to create a new interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - The that will be used or has been used to execute the command with a - . This property is only used for - and its async counterparts. - - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The command behavior to associate. - A new interception context associated with the given command behavior. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - Represents contextual information associated with calls into - implementations including the result of the operation. - - The type of the operation's results. - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - If execution of the operation completes without throwing, then this property will contain - the result of the operation. If the operation was suppressed or did not fail, then this property - will always contain the default value for the generic type. - - - When an operation completes without throwing both this property and the - property are set. However, the property can be set or changed by interceptors, - while this property will always represent the actual result returned by the operation, if any. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set result will be returned instead. Otherwise, if the operation succeeds, then - this property will be set to the returned result. In either case, interceptors that run - after the operation can change this property to change the result that will be returned. - - - When an operation completes without throwing both this property and the - property are set. However, this property can be set or changed by interceptors, while the - property will always represent the actual result returned by the - operation, if any. - - - - - When true, this flag indicates that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - , by setting an to be thrown, or - by setting the operation result using . - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The command behavior to associate. - A new interception context associated with the given command behavior. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Base class that implements . This class is a convenience for - use when only one or two methods of the interface actually need to have any implementation. - - - - - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls into - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - The original tree created by Entity Framework. Interceptors can change the - property to change the tree that will be used, but the - will always be the tree created by Entity Framework. - - - - - The command tree that will be used by Entity Framework. This starts as the tree contained in the - the property but can be set by interceptors to change - the tree that will be used by Entity Framework. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - Represents contextual information associated with calls into - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - - - - Creates a new that contains all the contextual information in - this interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in - this interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in - this interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the fluent API. - - - This class is used internally by Entity Framework when interacting with . - It is provided publicly so that code that runs outside of the core EF assemblies can opt-in to command - interception/tracing. This is typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - setting . - - The connection on which the operation will be executed. - Information about the context of the call being made, including the value to be set. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The cancellation token. - A task that represents the asynchronous operation. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls to that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to property setters of type on a . - - The type of the target property. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the given property value. - - The value that will be assigned to the target property. - A new interception context associated with the given property value. - - - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Provides access to all dispatchers through the fluent API. - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - This is the registration point for interceptors. Interceptors - receive notifications when EF performs certain operations such as executing commands against - the database. For example, see . - - - - - Registers a new to receive notifications. Note that the interceptor - must implement some interface that extends from to be useful. - - The interceptor to add. - - - - Removes a registered so that it will no longer receive notifications. - If the given interceptor is not registered, then this is a no-op. - - The interceptor to remove. - - - - This is the entry point for dispatching to interceptors. This is usually only used internally by - Entity Framework but it is provided publicly so that other code can make sure that registered - interceptors are called when operations are performed on behalf of EF. For example, EF providers - a may make use of this when executing commands. - - - - - Represents contextual information associated with calls into - implementations. - - - Note that specific types/operations that can be intercepted may use a more specific - interception context derived from this class. For example, if SQL is being executed by - a , then the DbContext will be contained in the - instance that is passed to the methods - of . - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. See - - The context from which to copy state. - - - - Gets all the instances associated with this interception context. - - - This list usually contains zero or one items. However, it can contain more than one item if - a single has been used to construct multiple - instances. - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Gets all the instances associated with this interception context. - - - This list usually contains zero or one items. However, it can contain more than one item when - EF has created a new for use in database creation and initialization, or - if a single is used with multiple . - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - True if the operation is being executed asynchronously, otherwise false. - - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - Call this method when creating a copy of an interception context in order to add new state - to it. Using this method instead of calling the constructor directly ensures virtual dispatch - so that the new type will have the same type (and any specialized state) as the context that - is being cloned. - - A new context with all state copied. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the fluent API. - - - This class is used internally by Entity Framework when interacting with . - It is provided publicly so that code that runs outside of the core EF assemblies can opt-in to command - interception/tracing. This is typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls to that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - The connection on which the transaction was started - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The connection on which the transaction was started. - A new interception context that also contains the connection on which the transaction was started. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - The that will be used or has been used to enlist a connection. - - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The transaction to be used in the invocation. - A new interception context associated with the given isolation level. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework executes commands. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework creates command trees. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - This method is called after a new has been created. - The tree that is used after interception can be changed by setting - while intercepting. - - - Command trees are created for both queries and insert/update/delete commands. However, query - command trees are cached by model which means that command tree creation only happens the - first time a query is executed and this notification will only happen at that time - - Contextual information associated with the call. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework loads the application's . - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Occurs during EF initialization after the has been constructed but just before - it is locked ready for use. Use this event to inspect and/or override services that have been - registered before the configuration is locked. Note that an interceptor of this type should be used carefully - since it may prevent tooling from discovering the same configuration that is used at runtime. - - - Handlers can only be added before EF starts to use the configuration and so handlers should - generally be added as part of application initialization. Do not access the DbConfiguration - static methods inside the handler; instead use the members of - to get current services and/or add overrides. - - Arguments to the event that this interceptor mirrors. - Contextual information about the event. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework performs operations on a . - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Called before is invoked. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - Called after is invoked. - The transaction used by Entity Framework can be changed by setting - . - - The connection that began the transaction. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection being closed. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection that was closed. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is set. - - The connection. - Contextual information associated with the call. - - - - Called after is set. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection being disposed. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection that was disposed. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection. - Contextual information associated with the call. - - - - Called before or its async counterpart is invoked. - - The connection being opened. - Contextual information associated with the call. - - - - Called after or its async counterpart is invoked. - - The connection that was opened. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - This is the base interface for all interfaces that provide interception points for various - different types and operations. For example, see . - Interceptors are registered on the class. - - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework commits or rollbacks a transaction. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Called before is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called after is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called before is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called after is retrieved. - - The transaction. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being committed. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was committed. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being disposed. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was disposed. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being rolled back. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - Represents contextual information associated with calls that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - When true, this flag indicates that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - or by setting an to be thrown - - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Represents contextual information associated with calls with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - If execution of the operation completes without throwing, then this property will contain - the result of the operation. If the operation was suppressed or did not fail, then this property - will always contain the default value for the generic type. - - - When an operation completes without throwing both this property and the - property are set. However, the property can be set or changed by interceptors, - while this property will always represent the actual result returned by the operation, if any. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set result will be returned instead. Otherwise, if the operation succeeds, then - this property will be set to the returned result. In either case, interceptors that run - after the operation can change this property to change the result that will be returned. - - - When an operation completes without throwing both this property and the - property are set. However, this property can be set or changed by interceptors, while the - property will always represent the actual result returned by the - operation, if any. - - - - - When true, this flag indicates that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - , by setting an to be thrown, or - by setting the operation result using . - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Represents contextual information associated with calls to property setters of type . - - - An instance of this class is passed to the dispatch methods and does not contain mutable information such as - the result of the operation. This mutable information is obtained from the - that is passed to the interceptors. Instances of this class are publicly immutable. To add contextual information - use one of the With... or As... methods to create a new interception context containing the new information. - - The type of the target property. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - The value that will be assigned to the target property. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given property value. - - The value that will be assigned to the target property. - A new interception context associated with the given property value. - - - - - - - When true, this flag indicates that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - or by setting an to be thrown - - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Interface implemented by objects that can provide an instance. - The class implements this interface to provide access to the underlying - ObjectContext. - - - - - Gets the object context. - - The object context. - - - - Used by and when resolving - a provider invariant name from a . - - - - Gets the name of the provider. - The name of the provider. - - - - Instances of this class are used to create DbConnection objects for - SQL Server LocalDb based on a given database name or connection string. - - - An instance of this class can be set on the class or in the - app.config/web.config for the application to cause all DbContexts created with no - connection information or just a database name to use SQL Server LocalDb by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance of the connection factory for the given version of LocalDb. - For SQL Server 2012 LocalDb use "v11.0". - For SQL Server 2014 and later LocalDb use "mssqllocaldb". - - The LocalDb version to use. - - - - Creates a new instance of the connection factory for the given version of LocalDb. - For SQL Server 2012 LocalDb use "v11.0". - For SQL Server 2014 and later LocalDb use "mssqllocaldb". - - The LocalDb version to use. - The connection string to use for options to the database other than the 'Initial Catalog', 'Data Source', and 'AttachDbFilename'. The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the database name when CreateConnection is called. The 'Data Source' will be set based on the LocalDbVersion argument. - - - - The connection string to use for options to the database other than the 'Initial Catalog', - 'Data Source', and 'AttachDbFilename'. - The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the - database name when CreateConnection is called. - The 'Data Source' will be set based on the LocalDbVersion argument. - The default is 'Integrated Security=True;'. - - - - - Creates a connection for SQL Server LocalDb based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - Represents a mapping view. - - - - - Creates a instance having the specified entity SQL. - - A string that specifies the entity SQL. - - - - Gets the entity SQL. - - - - - Base abstract class for mapping view cache implementations. - Derived classes must have a parameterless constructor if used with . - - - - - Gets a hash value computed over the mapping closure. - - - - - Gets a view corresponding to the specified extent. - - An that specifies the extent. - A that specifies the mapping view, - or null if the extent is not associated with a mapping view. - - - - Specifies the means to create concrete instances. - - - - - Creates a generated view cache instance for the container mapping specified by - the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - - A that specifies the generated view cache. - - - - - Defines a custom attribute that specifies the mapping view cache type (subclass of ) - associated with a context type (subclass of or ). - The cache type is instantiated at runtime and used to retrieve pre-generated views in the - corresponding context. - - - - - Creates a instance that associates a context type - with a mapping view cache type. - - - A subclass of or . - - - A subclass of . - - - - - Creates a instance that associates a context type - with a mapping view cache type. - - - A subclass of or . - - The assembly qualified full name of the cache type. - - - - This convention uses the name of the derived - class as the container for the conceptual model built by - Code First. - - - - - Applies the convention to the given model. - - The container to apply the convention to. - The model. - - - - This convention uses the namespace of the derived - class as the namespace of the conceptual model built by - Code First. - - - - - Compares objects using reference equality. - - - - - Gets the default instance. - - - - - Represents a custom pluralization term to be used by the - - - - - Get the singular. - - - - - Get the plural. - - - - - Create a new instance - - A non null or empty string representing the singular. - A non null or empty string representing the plural. - - - - Default pluralization service implementation to be used by Entity Framework. This pluralization - service is based on English locale. - - - - - Constructs a new instance of default pluralization service - used in Entity Framework. - - - - - Constructs a new instance of default pluralization service - used in Entity Framework. - - - A collection of user dictionary entries to be used by this service.These inputs - can customize the service according the user needs. - - - - Returns the plural form of the specified word. - The plural form of the input parameter. - The word to be made plural. - - - Returns the singular form of the specified word. - The singular form of the input parameter. - The word to be made singular. - - - - Pluralization services to be used by the EF runtime implement this interface. - By default the is used, but the pluralization service to use - can be set in a class derived from . - - - - - Pluralize a word using the service. - - The word to pluralize. - The pluralized word - - - - Singularize a word using the service. - - The word to singularize. - The singularized word. - - - - Instances of this class are used internally to create constant expressions for - that are inserted into the expression tree to replace references to - and . - - The type of the element. - - - - The public property expected in the LINQ expression tree. - - The query. - - - - The exception that is thrown when the action failed again after being retried the configured number of times. - - - - - Initializes a new instance of the class with no error message. - - - - - Initializes a new instance of the class with a specified error message. - - The message that describes the error. - - - - Initializes a new instance of the class. - - The message that describes the error. - The exception that is the cause of the current exception. - - - - Instances of this class are used to create DbConnection objects for - SQL Server Compact Edition based on a given database name or connection string. - - - It is necessary to provide the provider invariant name of the SQL Server Compact - Edition to use when creating an instance of this class. This is because different - versions of SQL Server Compact Editions use different invariant names. - An instance of this class can be set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use SQL Server Compact Edition by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Creates a new connection factory with empty (default) DatabaseDirectory and BaseConnectionString - properties. - - The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. - - - - Creates a new connection factory with the given DatabaseDirectory and BaseConnectionString properties. - - The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. - The path to prepend to the database name that will form the file name used by SQL Server Compact Edition when it creates or reads the database file. An empty string means that SQL Server Compact Edition will use its default for the database file location. - The connection string to use for options to the database other than the 'Data Source'. The Data Source will be prepended to this string based on the database name when CreateConnection is called. - - - - The path to prepend to the database name that will form the file name used by - SQL Server Compact Edition when it creates or reads the database file. - The default value is "|DataDirectory|", which means the file will be placed - in the designated data directory. - - - - - The connection string to use for options to the database other than the 'Data Source'. - The Data Source will be prepended to this string based on the database name when - CreateConnection is called. - The default is the empty string, which means no other options will be used. - - - - - The provider invariant name that specifies the version of SQL Server Compact Edition - that should be used. - - - - - Creates a connection for SQL Server Compact Edition based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - Instances of this class are used to create DbConnection objects for - SQL Server based on a given database name or connection string. By default, the connection is - made to '.\SQLEXPRESS'. This can be changed by changing the base connection - string when constructing a factory instance. - - - An instance of this class can be set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use SQL Server by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Creates a new connection factory with a default BaseConnectionString property of - 'Data Source=.\SQLEXPRESS; Integrated Security=True; MultipleActiveResultSets=True;'. - - - - - Creates a new connection factory with the given BaseConnectionString property. - - The connection string to use for options to the database other than the 'Initial Catalog'. The 'Initial Catalog' will be prepended to this string based on the database name when CreateConnection is called. - - - - The connection string to use for options to the database other than the 'Initial Catalog'. - The 'Initial Catalog' will be prepended to this string based on the database name when - CreateConnection is called. - The default is 'Data Source=.\SQLEXPRESS; Integrated Security=True;'. - - - - - Creates a connection for SQL Server based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - This attribute can be applied to either an entire derived class or to - individual or properties on that class. When applied - any discovered or properties will still be included - in the model but will not be automatically initialized. - - - - - Implemented by Entity Framework providers and used to check whether or not tables exist - in a given database. This is used by database initializers when determining whether or not to - treat an existing database as empty such that tables should be created. - - - - - When overridden in a derived class checks where the given tables exist in the database - for the given connection. - - - The context for which table checking is being performed, usually used to obtain an appropriate - . - - - A connection to the database. May be open or closed; should be closed again if opened. Do not - dispose. - - The tables to check for existence. - The name of the EdmMetadata table to check for existence. - True if any of the model tables or EdmMetadata table exists. - - - - Helper method to get the table name for the given s-space . - - The s-space entity set for the table. - The table name. - - - - Thrown when an error occurs committing a . - - - - - Initializes a new instance of - - - - - Initializes a new instance of - - The exception message. - - - - Initializes a new instance of - - The exception message. - The inner exception. - - - - Initializes a new instance of the class. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - A transaction handler that allows to gracefully recover from connection failures - during transaction commit by storing transaction tracing information in the database. - It needs to be registered by using . - - - This transaction handler uses to store the transaction information - the schema used can be configured by creating a class derived from - that overrides and passing it to the constructor of this class. - - - - - Initializes a new instance of the class using the default . - - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Initializes a new instance of the class. - - The transaction context factory. - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Gets the transaction context. - - - The transaction context. - - - - - The map between the store transactions and the transaction tracking objects - - - - - Creates a new instance of an to use for quering the transaction log. - If null the default will be used. - - An instance or null. - - - - - - - - - - Gets the number of transactions to be executed on the context before the transaction log will be cleaned. - The default value is 20. - - - - - - - - - - - Stores the tracking information for the new transaction to the database in the same transaction. - - The connection that began the transaction. - Contextual information associated with the call. - - - - - If there was an exception thrown checks the database for this transaction and rethrows it if not found. - Otherwise marks the commit as succeeded and queues the transaction information to be deleted. - - The transaction that was committed. - Contextual information associated with the call. - - - - - Stops tracking the transaction that was rolled back. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - Stops tracking the transaction that was disposed. - - The transaction that was disposed. - Contextual information associated with the call. - - - - - Removes all the transaction history. - - - This method should only be invoked when there are no active transactions to remove any leftover history - that was not deleted due to catastrophic failures - - - - - Asynchronously removes all the transaction history. - - - This method should only be invoked when there are no active transactions to remove any leftover history - that was not deleted due to catastrophic failures - - A task that represents the asynchronous operation. - - - - Asynchronously removes all the transaction history. - - - This method should only be invoked when there are no active transactions to remove any leftover history - that was not deleted due to catastrophic failures - - The cancellation token. - A task that represents the asynchronous operation. - - - - Adds the specified transaction to the list of transactions that can be removed from the database - - The transaction to be removed from the database. - - - - Removes the transactions marked for deletion. - - - - - Asynchronously removes the transactions marked for deletion. - - A task that represents the asynchronous operation. - - - - Asynchronously removes the transactions marked for deletion. - - The cancellation token. - A task that represents the asynchronous operation. - - - - Removes the transactions marked for deletion if their number exceeds . - - - if set to true will remove all the old transactions even if their number does not exceed . - - - if set to true the operation will be executed using the associated execution strategy - - - - - Removes the transactions marked for deletion if their number exceeds . - - - if set to true will remove all the old transactions even if their number does not exceed . - - - if set to true the operation will be executed using the associated execution strategy - - The cancellation token. - A task that represents the asynchronous operation. - - - - Gets the associated with the if there is one; - otherwise returns null. - - The context - The associated . - - - - Gets the associated with the if there is one; - otherwise returns null. - - The context - The associated . - - - - This class is used by to write and read transaction tracing information - from the database. - To customize the definition of the transaction table you can derive from - this class and override . Derived classes can be registered - using . - - - By default EF will poll the resolved to check wether the database schema is compatible and - will try to modify it accordingly if it's not. To disable this check call - Database.SetInitializer<TTransactionContext>(null) where TTransactionContext is the type of the resolved context. - - - - - Initializes a new instance of the class. - - The connection used by the context for which the transactions will be recorded. - - - - Gets or sets a that can be used to read and write instances. - - - - - - - - The base class for interceptors that handle the transaction operations. Derived classes can be registered using - or - . - - - - - Initializes a new instance of the class. - - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Initializes this instance using the specified context. - - The context for which transaction operations will be handled. - - - - Initializes this instance using the specified context. - - The context for which transaction operations will be handled. - The connection to use for the initialization. - - This method is called by migrations. It is important that no action is performed on the - specified context that causes it to be initialized. - - - - - Gets the context. - - - The for which the transaction operations will be handled. - - - - - Gets the context. - - - The for which the transaction operations will be handled, could be null. - - - - - Gets the connection. - - - The for which the transaction operations will be handled. - - - This connection object is only used to determine whether a particular operation needs to be handled - in cases where a context is not available. - - - - - - - - Gets or sets a value indicating whether this transaction handler is disposed. - - - true if disposed; otherwise, false. - - - - - Releases the resources used by this transaction handler. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - Checks whether the supplied interception context contains the target context - or the supplied connection is the same as the one used by the target context. - - A connection. - An interception context. - - true if the supplied interception context contains the target context or - the supplied connection is the same as the one used by the target context if - the supplied interception context doesn't contain any contexts; false otherwise. - - - Note that calling this method will trigger initialization of any DbContext referenced from the - - - - - When implemented in a derived class returns the script to prepare the database - for this transaction handler. - - A script to change the database schema for this transaction handler. - - - - Can be implemented in a derived class. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that began the transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being closed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that was closed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being disposed. - Contextual information associated with the call. - - - - Can be implemented in a derived class. - - The connection that was disposed. - Contextual information associated with the call. - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being opened. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that was opened. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being committed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was committed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being disposed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was disposed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being rolled back. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - Rrepresents a transaction - - - - - A unique id assigned to a transaction object. - - - - - The local time when the transaction was started. - - - - - - - - - - - Thrown when a context is generated from the templates in Database First or Model - First mode and is then used in Code First mode. - - - Code generated using the T4 templates provided for Database First and Model First use may not work - correctly if used in Code First mode. To use these classes with Code First please add any additional - configuration using attributes or the DbModelBuilder API and then remove the code that throws this - exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The object that holds the serialized object data. - The contextual information about the source or destination. - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Allows configuration to be performed for an complex type in a model. - A ComplexTypeConfiguration can be obtained via the ComplexType method on - or a custom type derived from ComplexTypeConfiguration - can be registered via the Configurations property on . - - The complex type to be configured. - - - - Initializes a new instance of ComplexTypeConfiguration - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The same ComplexTypeConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Allows derived configuration classes for entities and complex types to be registered with a - . - - - Derived configuration classes are created by deriving from - or and using a type to be included in the model as the generic - parameter. - Configuration can be performed without creating derived configuration classes via the Entity and ComplexType - methods on . - - - - - Discovers all types that inherit from or - in the given assembly and adds an instance - of each discovered type to this registrar. - - - Note that only types that are abstract or generic type definitions are skipped. Every - type that is discovered and added must provide a parameterless constructor. - - The assembly containing model configurations to add. - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - Adds an to the . - Only one can be added for each type in a model. - - The entity type being configured. - The entity type configuration to be added. - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - Adds an to the . - Only one can be added for each type in a model. - - The complex type being configured. - The complex type configuration to be added - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows the conventions used by a instance to be customized. - The default conventions can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. - - - - - Discover all conventions in the given assembly and add them to the . - - - This method add all conventions ordered by type name. The order in which conventions are added - can have an impact on how they behave because it governs the order in which they are run. - All conventions found must have a parameterless public constructor. - - The assembly containing conventions to be added. - - - - Enables one or more conventions for the . - - The conventions to be enabled. - - - - Enables a convention for the . - - The type of the convention to be enabled. - - - - Enables a convention for the . This convention - will run after the one specified. - - The type of the convention after which the enabled one will run. - The convention to enable. - - - - Enables a configuration convention for the . This convention - will run before the one specified. - - The type of the convention before which the enabled one will run. - The convention to enable. - - - - Disables one or more conventions for the . - - The conventions to be disabled. - - - - Disables a convention for the . - The default conventions that are available for removal can be found in the - System.Data.Entity.ModelConfiguration.Conventions namespace. - - The type of the convention to be disabled. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the properties in a model. - - - - - Filters the properties that this convention applies to based on a predicate. - - A function to test each property for a condition. - - A instance so that multiple calls can be chained. - - - - - Filters the properties that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each property. If the value is null, the - property will be filtered out. - - - A instance so that multiple calls can be chained. - - - - - Allows configuration of the properties that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the properties of entity types in a model and a captured value. - - The type of the captured value. - - - - Allows configuration of the properties that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model. - - - - - Filters the entity types that this convention applies to based on a - predicate. - - A function to test each entity type for a condition. - - An instance so that multiple calls can be chained. - - - - - Filters the entity types that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each entity type. If the value is null, the - entity type will be filtered out. - - - An instance so that multiple calls can be chained. - - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model that inherit from a common, specified type. - - The common type of the entity types that this convention applies to. - - - - Filters the entity types that this convention applies to based on a - predicate. - - A function to test each entity type for a condition. - - An instance so that multiple calls can be chained. - - - - - Filters the entity types that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each entity type. If the value is null, the - entity type will be filtered out. - - - An instance so that multiple calls can be chained. - - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model and a captured value. - - Type of the captured value. - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model that inherit from a common, specified type and a - captured value. - - The common type of the entity types that this convention applies to. - Type of the captured value. - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a stored procedure that is used to modify a relationship. - - The type of the entity that the relationship is being configured from. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - The type of the property. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - The type of the property. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - - Creates a convention that configures stored procedures to be used to delete entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - - - - - - - - - - - - - - Creates a convention that configures stored procedures to be used to insert entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the result for. - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The property to configure the result for. - The name of the result column. - - - - - - - - - - - - - - - - Creates a convention that configures stored procedures to be used to modify entities in the database. - - - - - Creates a convention that configures stored procedures to be used to modify entities in the database. - - - - Configures stored procedure used to insert entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to update entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a convention that configures stored procedures to be used to update entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The current value parameter name. - The original value parameter name. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the result for. - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The property to configure the result for. - The name of the result column. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to delete entities. - - The type of the entity that the stored procedure can be used to delete. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to insert entities. - - The type of the entity that the stored procedure can be used to insert. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to modify a many to many relationship. - - The type of the entity that the relationship is being configured from. - The type of the entity that the other end of the relationship targets. - - - - Sets the name of the stored procedure. - - Name of the procedure. - The same configuration instance so that multiple calls can be chained. - - - - Sets the name of the stored procedure. - - Name of the procedure. - Name of the schema. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to modify a many to many relationship. - - The type of the entity that the relationship is being configured from. - The type of the entity that the other end of the relationship targets. - - - Configures stored procedure used to insert relationships. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete relationships. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Performs configuration of a stored procedure uses to modify an entity in the database. - - - - - Allows configuration to be performed for a stored procedure that is used to modify entities. - - The type of the entity that the stored procedure can be used to modify. - - - Configures stored procedure used to insert entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to update entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a stored procedure that is used to update entities. - - The type of the entity that the stored procedure can be used to update. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Configures the table and column mapping for an entity type or a sub-set of properties from an entity type. - This configuration functionality is available via the Code First Fluent API, see . - - The entity type to be mapped. - - - Initializes a new instance of the class. - - - - Configures the properties that will be included in this mapping fragment. - If this method is not called then all properties that have not yet been - included in a mapping fragment will be configured. - - An anonymous type including the properties to be mapped. - A lambda expression to an anonymous type that contains the properties to be mapped. C#: t => new { t.Id, t.Property1, t.Property2 } VB.Net: Function(t) New With { p.Id, t.Property1, t.Property2 } - - - - Configures a property that is included in this mapping fragment. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Re-maps all properties inherited from base types. - When configuring a derived type to be mapped to a separate table this will cause all properties to - be included in the table rather than just the non-inherited properties. This is known as - Table per Concrete Type (TPC) mapping. - - The same configuration instance so that multiple calls can be chained. - - - - Configures the table name to be mapped to. - - Name of the table. - The same configuration instance so that multiple calls can be chained. - - - - Configures the table name and schema to be mapped to. - - Name of the table. - Schema of the table. - The same configuration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the discriminator column used to differentiate between types in an inheritance hierarchy. - - The name of the discriminator column. - A configuration object to further configure the discriminator column and values. - - - - Configures the discriminator condition used to differentiate between types in an inheritance hierarchy. - - The type of the property being used to discriminate between types. - A lambda expression representing the property being used to discriminate between types. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object to further configure the discriminator condition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a column with length facets for an entity type or complex type. This configuration functionality is exposed by the Code First Fluent API, see . - - - - Configures the column to allow the maximum length supported by the database provider. - The same instance so that multiple calls can be chained. - - - Configures the column to have the specified maximum length. - The same instance so that multiple calls can be chained. - The maximum length for the column. Setting the value to null will remove any maximum length restriction from the column and a default length will be used for the database column. - - - Configures the column to be fixed length. - The same instance so that multiple calls can be chained. - - - Configures the column to be variable length. - The same instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Configures a condition used to discriminate between types in an inheritance hierarchy based on the values assigned to a property. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the condition to require a value in the property. - Rows that do not have a value assigned to column that this property is stored in are - assumed to be of the base type of this entity type. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a primitive column from an entity type. - - - - Configures the primitive column to be optional. - The same instance so that multiple calls can be chained. - - - Configures the primitive column to be required. - The same instance so that multiple calls can be chained. - - - Configures the data type of the primitive column used to store the property. - The same instance so that multiple calls can be chained. - The name of the database provider specific data type. - - - Configures the order of the primitive column used to store the property. This method is also used to specify key ordering when an entity type has a composite key. - The same instance so that multiple calls can be chained. - The order that this column should appear in the database table. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a database column used to store a string values. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the column to allow the maximum length supported by the database provider. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - - The maximum length for the property. Setting 'null' will result in a default length being used for the column. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be variable length. - Columns are variable length by default. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be optional. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be required. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column. - - Name of the database provider specific data type. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column. - - The order that this column should appear in the database table. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to support Unicode string content. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the column supports Unicode string content. - - Value indicating if the column supports Unicode string content or not. Specifying 'null' will remove the Unicode facet from the column. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Configures a discriminator column used to differentiate between types in an inheritance hierarchy. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - Type of the discriminator value. - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - Type of the discriminator value. - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an index. - - - - - Configures the index to be unique. - - The same IndexConfiguration instance so that multiple calls can be chained. - - - - Configures whether the index will be unique. - - Value indicating if the index should be unique or not. - The same IndexConfiguration instance so that multiple calls can be chained. - - - - Configures the index to be clustered. - - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures whether or not the index will be clustered. - - Value indicating if the index should be clustered or not. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures the index to have a specific name. - - Value indicating what the index name should be. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures a primary key index. - - - - - Configures the index to be clustered. - - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures whether or not the index will be clustered. - - Value indicating if the index should be clustered or not. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures the index to have a specific name. - - Value indicating what the index name should be. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures a many relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be many:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:required with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:required without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:optional with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:optional without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an optional relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be optional:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:required with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:required without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional with a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional without a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional with a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A lambda expression representing the navigation property on the other end of the relationship. - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional without a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an required relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be required:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:optional with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:optional without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required with a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required without a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required with a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required without a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Base class for performing configuration of a relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures a relationship that can support cascade on delete functionality. - - - - - Configures cascade delete to be on for the relationship. - - - - - Configures whether or not cascade delete is on for the relationship. - - Value indicating if cascade delete is on or not. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a relationship that can support foreign key properties that are exposed in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - The dependent entity type. - - - - Configures the relationship to use foreign key property(s) that are exposed in the object model. - If the foreign key property(s) are not exposed in the object model then use the Map method. - - The type of the key. - A lambda expression representing the property to be used as the foreign key. If the foreign key is made up of multiple properties then specify an anonymous type including the properties. When using multiple foreign key properties, the properties must be specified in the same order that the primary key properties were configured for the principal entity type. - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Configures the table and column mapping of a relationship that does not expose foreign key properties in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the name of the column(s) for the foreign key. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the primary key properties were configured for the target entity type. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for a database column that has been configured with . - The annotation value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The name of the column that was configured with the HasKey method. - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that the foreign key column(s) reside in. - The table that is specified must already be mapped for the entity type. - If you want the foreign key(s) to reside in their own table then use the Map method - on to perform - entity splitting to create the table with just the primary key property. Foreign keys can - then be added to the table via this method. - - Name of the table. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table name and schema that the foreign key column(s) reside in. - The table that is specified must already be mapped for the entity type. - If you want the foreign key(s) to reside in their own table then use the Map method - on to perform - entity splitting to create the table with just the primary key property. Foreign keys can - then be added to the table via this method. - - Name of the table. - Schema of the table. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - - - - Configures a relationship that can only support foreign key properties that are not exposed in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the relationship to use foreign key property(s) that are not exposed in the object model. - The column(s) and table can be customized by specifying a configuration action. - If an empty configuration action is specified then column name(s) will be generated by convention. - If foreign key properties are exposed in the object model then use the HasForeignKey method. - Not all relationships support exposing foreign key properties in the object model. - - Action that configures the foreign key column(s) and table. - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Configures the table and column mapping of a many:many relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the join table name for the relationship. - - Name of the table. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the join table name and schema for the relationship. - - Name of the table. - Schema of the table. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the join table. The annotation value can later be used when - processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the name of the column(s) for the left foreign key. - The left foreign key points to the parent entity of the navigation property specified in the HasMany call. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the primary key properties were configured for the target entity type. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the column(s) for the right foreign key. - The right foreign key points to the parent entity of the navigation property specified in the WithMany call. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the primary key properties were configured for the target entity type. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - - - Determines whether the specified object is equal to the current object. - true if the specified object is equal to the current object; otherwise, false. - The object to compare with the current object. - - - - - - - - - - - - - Configures a many:many relationship. - This configuration functionality is available via the Code First Fluent API, see . - - The type of the parent entity of the navigation property specified in the HasMany call. - The type of the parent entity of the navigation property specified in the WithMany call. - - - - Configures the foreign key column(s) and table used to store the relationship. - - Action that configures the foreign key column(s) and table. - The same instance so that multiple calls can be chained. - - - - Configures stored procedures to be used for modifying this relationship. - The default conventions for procedure and parameter names will be used. - - The same instance so that multiple calls can be chained. - - - - Configures stored procedures to be used for modifying this relationship. - - - Configuration to override the default conventions for procedure and parameter names. - - The same instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to allow the maximum length supported by the database provider. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - properties are variable length by default. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - properties are optional by default. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be a row version in the database. - The actual data type will vary depending on the database provider being used. - Setting the property to be a row version will automatically configure it to be an - optimistic concurrency token. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - properties are required by default. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the precision of the property. - If the database provider does not support precision for the data type of the column then the value is ignored. - - Precision of the property. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - properties are required by default. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the precision and scale of the property. - - The precision of the property. - The scale of the property. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property with length facets for an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to allow the maximum length supported by the database provider. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property and a default length will be used for the database column. - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - Properties are variable length by default. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a primitive property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the parameter used in stored procedures for this property. - - Name of the parameter. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a property in a mapping fragment. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the name of the database column used to store the property, in a mapping fragment. - - The name of the column. - The same PropertyMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same PropertyMappingConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to allow the maximum length supported by the database provider. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property and a default length will be used for the database column.. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - properties are variable length by default. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - properties are optional by default. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to support Unicode string content. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property supports Unicode string content. - - Value indicating if the property supports Unicode string content or not. Specifying 'null' will remove the Unicode facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a primitive property of an entity type or complex type. - This configuration functionality is available via lightweight conventions. - - - - - Gets the for this property. - - - - - Configures the name of the database column used to store the property. - - The name of the column. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the name of the parameter used in stored procedures for this property. - - Name of the parameter. - - The same instance so that multiple calls can be chained. - - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be used as an optimistic concurrency token. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures how values for the property are generated by the database. - - The pattern used to generate values for the property in the database. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to support Unicode string content. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures whether or not the property supports Unicode string content. - - Value indicating if the property supports Unicode string content or not. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to be variable length. - Properties are variable length by default. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to allow the maximum length supported by the database provider. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the precision of the property. - If the database provider does not support precision for the data type of the column then the value is ignored. - - Precision of the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method will throw if the property is not a . - - - - - Configures the precision and scale of the property. - - The precision of the property. - The scale of the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method will throw if the property is not a . - - - - - Configures the property to be a row version in the database. - The actual data type will vary depending on the database provider being used. - Setting the property to be a row version will automatically configure it to be an - optimistic concurrency token. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures this property to be part of the entity type's primary key. - - - The same instance so that - multiple calls can be chained. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for an entity type in a model. - This configuration functionality is available via lightweight conventions. - - - - - Gets the of this entity type. - - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Excludes this entity type from the model so that it will not be mapped to the database. - - - The same instance so that multiple calls can be chained. - - - - - Changes this entity type to a complex type. - - - The same instance so that multiple calls can be chained. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The name of the property to be configured. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect if the property does not exist. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The property to be configured. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect if the property does not exist. - - - - - Configures a property that is defined on this type. - - The name of the property being configured. - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - The property being configured. - A configuration object that can be used to configure the property. - - - - Configures the primary key property for this entity type. - - The name of the property to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property for this entity type. - - The property to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property(s) for this entity type. - - The names of the properties to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property(s) for this entity type. - - The properties to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured or if any - property does not exist. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for an entity type in a model. - This configuration functionality is available via lightweight conventions. - - A type inherited by the entity type. - - - - Gets the of this entity type. - - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Excludes this entity type from the model so that it will not be mapped to the database. - - - The same instance so that multiple calls can be chained. - - - - - Changes this entity type to a complex type. - - - The same instance so that multiple calls can be chained. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - - The same instance so that multiple calls can be chained. - - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a type in a model. - - The type to be configured. - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - A general purpose class for Code First conventions that read attributes from .NET properties - and generate column annotations based on those attributes. - - The type of attribute to discover. - The type of annotation that will be created. - - - - Constructs a convention that will create column annotations with the given name and - using the given factory delegate. - - The name of the annotations to create. - A factory for creating the annotation on each column. - - - - A general purpose class for Code First conventions that read attributes from .NET types - and generate table annotations based on those attributes. - - The type of attribute to discover. - The type of annotation that will be created. - - - - Constructs a convention that will create table annotations with the given name and - using the given factory delegate. - - The name of the annotations to create. - A factory for creating the annotation on each table. - - - - Convention to process instances of found on properties in the model - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on foreign key properties in the model. - - - - - - - - A convention for discovering attributes on properties and generating - column annotations in the model. - - - - - Constructs a new instance of the convention. - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Base class for conventions that process CLR attributes found on primitive properties in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a property that has an attribute of type TAttribute applied. - - The configuration for the property that has the attribute. - The attribute. - - - - Base class for conventions that process CLR attributes found on properties of types in the model. - - - Note that the derived convention will be applied for any non-static property on the mapped type that has - the specified attribute, even if it wasn't included in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a property that has an attribute of type TAttribute applied. - - The member info for the property that has the attribute. - The configuration for the class that contains the property. - The attribute. - - - - Convention to process instances of found on navigation properties in the model. - - - - - Convention to process instances of found on primitive properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Base class for conventions that process CLR attributes found in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a class that has an attribute of type TAttribute applied. - - The configuration for the class that contains the property. - The attribute. - - - - A convention that doesn't override configuration. - - - - - The derived class can use the default constructor to apply a set rule of that change the model configuration. - - - - - Begins configuration of a lightweight convention that applies to all mapped types in - the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all mapped types in - the model that derive from or implement the specified type. - - The type of the entities that this convention will apply to. - A configuration object for the convention. - This method does not add new types to the model. - - - - Begins configuration of a lightweight convention that applies to all properties - in the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all primitive - properties of the specified type in the model. - - The type of the properties that the convention will apply to. - A configuration object for the convention. - - The convention will apply to both nullable and non-nullable properties of the - specified type. - - - - - Convention to detect navigation properties to be inverses of each other when only one pair - of navigation properties exists between the related types. - - - - - - - - Convention to configure a type as a complex type if it has no primary key, no mapped base type and no navigation properties. - - - - - - - - Convention to apply column ordering specified via - - or the API. - - - - - - - - Validates the ordering configuration supplied for columns. - This base implementation is a no-op. - - The name of the table that the columns belong to. - The definition of the table. - - - - Convention to apply column ordering specified via - - or the API. This convention throws if a duplicate configured column order - is detected. - - - - - Validates the ordering configuration supplied for columns to ensure - that the same ordinal was not supplied for two columns. - - The name of the table that the columns belong to. - The definition of the table. - - - - Convention to introduce indexes for foreign keys. - - - - - - - - Convention to add a cascade delete to the join table from both tables involved in a many to many relationship. - - - - - Convention to ensure an invalid/unsupported mapping is not created when mapping inherited properties - - - - - Convention to set the table name to be a pluralized version of the entity type name. - - - - - - - - Convention to set precision to 18 and scale to 2 for decimal properties. - - - - - Initializes a new instance of with the default precision and scale. - - - - - Initializes a new instance of with the specified precision and scale. - - Precision - Scale - - - - - - - Convention to move primary key properties to appear first. - - - - - - - - Convention to distinguish between optional and required relationships based on CLR nullability of the foreign key property. - - - - - - - - Base class for conventions that discover foreign key properties. - - - - - Returns true if the convention supports pairs of entity types that have multiple associations defined between them. - - - - - When overridden returns true if should be part of the foreign key. - - The association type being configured. - The dependent end. - The candidate property on the dependent end. - The principal end entity type. - A key property on the principal end that is a candidate target for the foreign key. - true if dependentProperty should be a part of the foreign key; otherwise, false. - - - - - - - Convention to process instances of found on navigation properties in the model. - - - - - - - - Convention to detect primary key properties. - Recognized naming patterns in order of precedence are: - 1. 'Id' - 2. [type name]Id - Primary key detection is case insensitive. - - - - - - - - Base class for conventions that discover primary key properties. - - - - - - - - When overridden returns the subset of properties that will be part of the primary key. - - The entity type. - The primitive types of the entities - The properties that should be part of the primary key. - - - - Convention to discover foreign key properties whose names are a combination - of the dependent navigation property name and the principal type primary key property name(s). - - - - - - - - - - - Convention to enable cascade delete for any required relationships. - - - - - - - - Convention to configure the primary key(s) of the dependent entity type as foreign key(s) in a one:one relationship. - - - - - - - - Convention to set the entity set name to be a pluralized version of the entity type name. - - - - - - - - Convention to discover foreign key properties whose names match the principal type primary key property name(s). - - - - - - - - Convention to set a maximum length for properties whose type supports length facets. The default value is 128. - - - - - Initializes a new instance of with the default length. - - - - - Initializes a new instance of with the specified length. - - The maximum length of properties. - - - - - - - - - - - - - Convention to set a default maximum length of 4000 for properties whose type supports length facets when SqlCe is the provider. - - - - - Initializes a new instance of with the default length. - - - - - Initializes a new instance of with the specified length. - - The default maximum length for properties. - - - - - - - - - - Convention to configure integer primary keys to be identity. - - - - - - - - Convention to discover foreign key properties whose names are a combination - of the principal type name and the principal type primary key property name(s). - - - - - - - - A convention that operates on the conceptual section of the model after the model is created. - - The type of metadata item that this convention operates on. - - - - Applies this convention to an item in the model. - - The item to apply the convention to. - The model. - - - - Identifies conventions that can be added to or removed from a instance. - - - Note that implementations of this interface must be immutable. - - - - - A convention that operates on the database section of the model after the model is created. - - The type of metadata item that this convention operates on. - - - - Applies this convention to an item in the model. - - The item to apply the convention to. - The model. - - - - Allows configuration to be performed for an entity type in a model. - An EntityTypeConfiguration can be obtained via the Entity method on - or a custom type derived from EntityTypeConfiguration - can be registered via the Configurations property on . - - The entity type being configured. - - - - Initializes a new instance of EntityTypeConfiguration - - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - A builder to configure the key. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures index property(s) for this entity type. - - The type of the index. - A lambda expression representing the property to apply an index to. C#: t => t.Id VB.Net: Function(t) t.Id If the index is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The IndexConfiguration instance so that the index can be further configured. - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - Allows advanced configuration related to how this entity type is mapped to the database schema. - By default, any configuration will also apply to any type derived from this entity type. - Derived types can be configured via the overload of Map that configures a derived type or - by using an EntityTypeConfiguration for the derived type. - The properties of an entity can be split between multiple tables using multiple Map calls. - Calls to Map are additive, subsequent calls will not override configuration already preformed via Map. - - - An action that performs configuration against an - - . - - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Allows advanced configuration related to how a derived entity type is mapped to the database schema. - Calls to Map are additive, subsequent calls will not override configuration already preformed via Map. - - The derived entity type to be configured. - - An action that performs configuration against an - - . - - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures an optional relationship from this entity type. - Instances of the entity type will be able to be saved to the database without this relationship being specified. - The foreign key in the database will be nullable. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures a required relationship from this entity type. - Instances of the entity type will not be able to be saved to the database unless this relationship is specified. - The foreign key in the database will be non-nullable. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures a many relationship from this entity type. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Exception thrown by during model creation when an invalid model is generated. - - - - - Initializes a new instance of ModelValidationException - - - - - Initializes a new instance of ModelValidationException - - The exception message. - - - - Initializes a new instance of ModelValidationException - - The exception message. - The inner exception. - - - Initializes a new instance of class serialization info and streaming context. - The serialization info. - The streaming context. - - - - By default expression like - .Select(x => NewProperty = func(x.Property)).Where(x => x.NewProperty == ...) - are simplified to avoid nested SELECT - In some cases, simplifying query with UDFs could caused to suboptimal plans due to calling UDF twice. - Also some SQL functions aren't allow in WHERE clause. - Disabling that behavior - - - - - An implementation of that will use Code First Migrations - to update the database to the latest version. - - The type of the context. - The type of the migrations configuration to use during initialization. - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class that will use - the connection information from a context constructed using the default constructor - or registered factory if applicable - - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class specifying whether to - use the connection information from the context that triggered initialization to perform the migration. - - - If set to true the initializer is run using the connection information from the context that - triggered initialization. Otherwise, the connection information will be taken from a context constructed - using the default constructor or registered factory if applicable. - - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class specifying whether to - use the connection information from the context that triggered initialization to perform the migration. - Also allows specifying migrations configuration to use during initialization. - - - If set to true the initializer is run using the connection information from the context that - triggered initialization. Otherwise, the connection information will be taken from a context constructed - using the default constructor or registered factory if applicable. - - Migrations configuration to use during initialization. - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class that will - use a specific connection string from the configuration file to connect to - the database to perform the migration. - - The name of the connection string to use for migration. - - - - - - - Helper class that is used to configure a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a new column definition to store Binary data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The maximum allowable length of the array data. - Value indicating whether or not all data should be padded to the maximum length. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - Value indicating whether or not this column should be configured as a timestamp. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Boolean data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Byte data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store DateTime data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Decimal data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The numeric precision of the column. - The numeric scale of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Value indicating whether or not the database will generate values for this column during insert. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Double data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store GUID data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Single data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Short data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Integer data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Long data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store String data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The maximum allowable length of the string data. - Value indicating whether or not all data should be padded to the maximum length. - Value indicating whether or not the column supports Unicode content. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Time data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store DateTimeOffset data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store hierarchyid data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store geography data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store geometry data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Helper class that is used to configure a parameter. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a new parameter definition to pass Binary data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The maximum allowable length of the array data. - Value indicating whether or not all data should be padded to the maximum length. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Boolean data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Byte data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass DateTime data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Decimal data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The numeric precision of the parameter. - The numeric scale of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Double data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass GUID data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Single data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Short data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Integer data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Long data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass String data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The maximum allowable length of the string data. - Value indicating whether or not all data should be padded to the maximum length. - Value indicating whether or not the parameter supports Unicode content. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Time data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass DateTimeOffset data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass geography data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass geometry data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Helper class that is used to further configure a table being created from a CreateTable call on - - . - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The type that represents the table's columns. - - - - Initializes a new instance of the TableBuilder class. - - The table creation operation to be further configured. - The migration the table is created in. - - - - Specifies a primary key for the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The name of the primary key. If null is supplied, a default name will be generated. - A value indicating whether or not this is a clustered primary key. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - Specifies an index to be created on the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A lambda expression representing the property to be indexed. C#: t => t.PropertyOne VB.Net: Function(t) t.PropertyOne If multiple properties are to be indexed then specify an anonymous type including the properties. C#: t => new { t.PropertyOne, t.PropertyTwo } VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo } - The name of the index. - A value indicating whether or not this is a unique index. - A value indicating whether or not this is a clustered index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - Specifies a foreign key constraint to be created on the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table that the foreign key constraint targets. - A lambda expression representing the properties of the foreign key. C#: t => t.PropertyOne VB.Net: Function(t) t.PropertyOne If multiple properties make up the foreign key then specify an anonymous type including the properties. C#: t => new { t.PropertyOne, t.PropertyTwo } VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo } - A value indicating whether or not cascade delete should be configured on the foreign key constraint. - The name of this foreign key constraint. If no name is supplied, a default name will be calculated. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Base class for code-based migrations. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Operations to be performed during the upgrade process. - - - - - Operations to be performed during the downgrade process. - - - - - Adds an operation to create a new stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The action that specifies the parameters of the stored procedure. - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - The parameters in this create stored procedure operation. You do not need to specify this - type, it will be inferred from the parameter you supply. - - - - - Adds an operation to alter a stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to alter a stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The parameters in this alter stored procedure operation. You do not need to specify this - type, it will be inferred from the parameter you supply. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The action that specifies the parameters of the stored procedure. - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing stored procedure with the specified name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the procedure to drop. Schema name is optional, if no schema is specified then dbo is - assumed. - - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this create table operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - An object that allows further configuration of the table creation operation. - - - - Adds an operation to create a new table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this create table operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - Custom annotations that exist on the table to be created. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - An object that allows further configuration of the table creation operation. - - - - Adds an operation to handle changes in the annotations defined on tables. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - The custom annotations on the table that have changed. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new foreign key constraint. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - The column this foreign key references. If no value is supplied the primary key of the - principal table will be referenced. - - - A value indicating if cascade delete should be configured for the foreign key - relationship. If no value is supplied, cascade delete will be off. - - - The name of the foreign key constraint in the database. If no value is supplied a unique name will - be generated. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new foreign key constraint. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key columns. - - The table that contains the columns this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - The columns this foreign key references. If no value is supplied the primary key of the - principal table will be referenced. - - - A value indicating if cascade delete should be configured for the foreign key - relationship. If no value is supplied, cascade delete will be off. - - - The name of the foreign key constraint in the database. If no value is supplied a unique name will - be generated. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on its name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The name of the foreign key constraint in the database. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the column it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the column it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. - Schema name is optional, if no schema is specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. - Schema name is optional, if no schema is specified then dbo is assumed. - - The columns this foreign key references. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the columns it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key columns. - - The table that contains the columns this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to move a table to a new schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be moved. Schema name is optional, if no schema is specified then dbo is - assumed. - - The schema the table is to be moved to. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to move a stored procedure to a new schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure to be moved. Schema name is optional, if no schema is specified - then dbo is assumed. - - The schema the stored procedure is to be moved to. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a table. To change the schema of a table use MoveTable. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be renamed. Schema name is optional, if no schema is specified then dbo is - assumed. - - - The new name for the table. Schema name is optional, if no schema is specified then dbo is - assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a stored procedure. To change the schema of a stored procedure use MoveStoredProcedure - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure to be renamed. Schema name is optional, if no schema is specified - then dbo is assumed. - - - The new name for the stored procedure. Schema name is optional, if no schema is specified then - dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table that contains the column to be renamed. Schema name is optional, if no - schema is specified then dbo is assumed. - - The name of the column to be renamed. - The new name for the column. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to add a column to an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to add the column to. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be added. - - An action that specifies the column to be added. i.e. c => c.Int(nullable: false, - defaultValue: 3) - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the column from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the column from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to alter the definition of an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table the column exists in. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be changed. - - An action that specifies the new definition for the column. i.e. c => c.String(nullable: - false, defaultValue: "none") - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - The primary key column. - - The name of the primary key in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered primary key. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new primary key based on multiple columns. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The primary key columns. - - The name of the primary key in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered primary key. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing primary key that does not have the default name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the primary key to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing primary key that was created with the default name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create an index on a single column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to create the index on. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to create the index on. - - A value indicating if this is a unique index. If no value is supplied a non-unique index will be - created. - - - The name to use for the index in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create an index on multiple columns. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to create the index on. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the columns to create the index on. - - A value indicating if this is a unique index. If no value is supplied a non-unique index will be - created. - - - The name to use for the index in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an index based on its name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the index from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the index to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an index based on the columns it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the index from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column(s) the index targets. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename an index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table that contains the index to be renamed. Schema name is optional, if no - schema is specified then dbo is assumed. - - The name of the index to be renamed. - The new name for the index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL command or set of SQL commands. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The SQL to be executed. - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL file. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The SQL file to be executed. Relative paths are assumed to be relative to the current AppDomain's BaseDirectory. - - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL resource file. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The manifest resource name of the SQL resource file to be executed. - - The assembly containing the resource file. The calling assembly is assumed if not provided. - - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - - - - - - - - - - - - - - - - - - - Configuration relating to the use of migrations for a given model. - You will typically create a configuration class that derives - from rather than - using this class. - - - - - The default directory that migrations are stored in. - - - - - Initializes a new instance of the DbMigrationsConfiguration class. - - - - - Gets or sets a value indicating if automatic migrations can be used when migrating the database. - - - - - Gets or sets the string used to distinguish migrations belonging to this configuration - from migrations belonging to other configurations using the same database. - This property enables migrations from multiple different models to be applied to a single database. - - - - - Gets or sets a value indicating if data loss is acceptable during automatic migration. - If set to false an exception will be thrown if data loss may occur as part of an automatic migration. - - - - - Adds a new SQL generator to be used for a given database provider. - - Name of the database provider to set the SQL generator for. - The SQL generator to be used. - - - - Gets the SQL generator that is set to be used with a given database provider. - - Name of the database provider to get the SQL generator for. - The SQL generator that is set for the database provider. - - - - Adds a new factory for creating instances to be used for a given database provider. - - Name of the database provider to set the SQL generator for. - - A factory for creating instances for a given and - representing the default schema. - - - - - Gets the history context factory that is set to be used with a given database provider. - - Name of the database provider to get thefactory for. - The history context factory that is set for the database provider. - - - - Gets or sets the derived DbContext representing the model to be migrated. - - - - - Gets or sets the namespace used for code-based migrations. - - - - - Gets or sets the sub-directory that code-based migrations are stored in. - Note that this property must be set to a relative path for a sub-directory under the - Visual Studio project root; it cannot be set to an absolute path. - - - - - Gets or sets the code generator to be used when scaffolding migrations. - - - - - Gets or sets the assembly containing code-based migrations. - - - - - Gets or sets a value to override the connection of the database to be migrated. - - - - - Gets or sets the timeout value used for the individual commands within a - migration. - - - The time in seconds to wait for the command to execute. A null value indicates - that the default value of the underlying provider will be used. - - - - - Configuration relating to the use of migrations for a given model. - - The context representing the model that this configuration applies to. - - - - Initializes a new instance of the DbMigrationsConfiguration class. - - - - - Runs after upgrading to the latest migration to allow seed data to be updated. - - - Note that the database may already contain seed data when this method runs. This means that - implementations of this method must check whether or not seed data is present and/or up-to-date - and then only make changes if necessary and in a non-destructive way. The - - can be used to help with this, but for seeding large amounts of data it may be necessary to do less - granular checks if performance is an issue. - If the database - initializer is being used, then this method will be called each time that the initializer runs. - If one of the , , - or initializers is being used, then this method will not be - called and the Seed method defined in the initializer should be used instead. - - Context to be used for updating seed data. - - - - - - - - - - - - - - - - - - - DbMigrator is used to apply existing migrations to a database. - DbMigrator can be used to upgrade and downgrade to any given migration. - To scaffold migrations based on changes to your model use - - - - - Migration Id representing the state of the database before any migrations are applied. - - - - - Initializes a new instance of the DbMigrator class. - - Configuration to be used for the migration process. - - - - Initializes a new instance of the DbMigrator class using the supplied context. - Use this constructor when applying migrations from code to avoid having migrations attempt - to create a context/connection for you. - - Configuration to be used for the migration process. - The to use. - - - - Gets the configuration that is being used for the migration process. - - - - - Gets all migrations that are defined in the configured migrations assembly. - - The list of migrations. - - - - Gets all migrations that have been applied to the target database. - - The list of migrations. - - - - Gets all migrations that are defined in the assembly but haven't been applied to the target database. - - The list of migrations. - - - - Updates the target database to a given migration. - - The migration to upgrade/downgrade to. - - - - A set of extension methods for - - - - - Adds or updates entities by key when SaveChanges is called. Equivalent to an "upsert" operation - from database terminology. - This method can be useful when seeding data using Migrations. - - The type of entities to add or update. - The set to which the entities belong. - The entities to add or update. - - When the parameter is a custom or fake IDbSet implementation, this method will - attempt to locate and invoke a public, instance method with the same signature as this extension method. - - - - - Adds or updates entities by a custom identification expression when SaveChanges is called. - Equivalent to an "upsert" operation from database terminology. - This method can useful when seeding data using Migrations. - - The type of entities to add or update. - The set to which the entities belong. - An expression specifying the properties that should be used when determining whether an Add or Update operation should be performed. - The entities to add or update. - - When the parameter is a custom or fake IDbSet implementation, this method will - attempt to locate and invoke a public, instance method with the same signature as this extension method. - - - - - Generates C# code for a code-based migration. - - - - - - - - Generates the primary code file that the user can view and edit. - - Operations to be performed by the migration. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates the code behind file with migration metadata. - - Unique identifier of the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates a property to return the source or target model in the code behind file. - - Name of the property. - Value to be returned. - Text writer to add the generated code to. - - - - Generates class attributes. - - Text writer to add the generated code to. - A value indicating if this class is being generated for a code-behind file. - - - - Generates a namespace, using statements and class definition. - - Namespace that code should be generated in. - Name of the class that should be generated. - Text writer to add the generated code to. - Base class for the generated class. - A value indicating if this class is being generated for a code-behind file. - Namespaces for which using directives will be added. If null, then the namespaces returned from GetDefaultNamespaces will be used. - - - - Generates the closing code for a class that was started with WriteClassStart. - - Namespace that code should be generated in. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for the given annotation value, which may be null. The default behavior is to use an - if one is registered, otherwise call ToString on the annotation value. - - - Note that a can be registered to generate code for custom annotations - without the need to override the entire code generator. - - The name of the annotation for which code is needed. - The annotation value to generate. - The writer to which generated code should be written. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to specify the definition for a . - The parameter definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for an . - - The operation for which code should be generated. - The writer to which generated code should be written. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify a set of column names using a lambda expression. - - The columns to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify the definition for a . - - The column definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column of unknown data type. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Removes any invalid characters from the name of an database artifact. - - The name to be scrubbed. - The scrubbed name. - - - - Gets the type name to use for a column of the given data type. - - The data type to translate. - The type name to use in the generated migration. - - - - Quotes an identifier using appropriate escaping to allow it to be stored in a string. - - The identifier to be quoted. - The quoted identifier. - - - - Base class for providers that generate code for code-based migrations. - - - - - Generates the code that should be added to the users project. - - Unique identifier of the migration. - Operations to be performed by the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Gets the namespaces that must be output as "using" or "Imports" directives to handle - the code generated by the given operations. - - The operations for which code is going to be generated. - An ordered list of namespace names. - - - - Gets the default namespaces that must be output as "using" or "Imports" directives for - any code generated. - - A value indicating if this class is being generated for a code-behind file. - An ordered list of namespace names. - - - - Gets the instances that are being used. - - - - - Scaffolds code-based migrations to apply pending model changes to the database. - - - - - Initializes a new instance of the MigrationScaffolder class. - - Configuration to be used for scaffolding. - - - - Gets or sets the namespace used in the migration's generated code. - By default, this is the same as MigrationsNamespace on the migrations - configuration object passed into the constructor. For VB.NET projects, this - will need to be updated to take into account the project's root namespace. - - - - - Scaffolds a code based migration to apply any pending model changes to the database. - - The name to use for the scaffolded migration. - The scaffolded migration. - - - - Scaffolds a code based migration to apply any pending model changes to the database. - - The name to use for the scaffolded migration. - Whether or not to include model changes. - The scaffolded migration. - - - - Scaffolds the initial code-based migration corresponding to a previously run database initializer. - - The scaffolded migration. - - - - Represents a code-based migration that has been scaffolded and is ready to be written to a file. - - - - - Gets or sets the unique identifier for this migration. - Typically used for the file name of the generated code. - - - - - Gets or sets the scaffolded migration code that the user can edit. - - - - - Gets or sets the scaffolded migration code that should be stored in a code behind file. - - - - - Gets or sets the programming language used for this migration. - Typically used for the file extension of the generated code. - - - - - Gets or sets the subdirectory in the user's project that this migration should be saved in. - - - - - Gets a dictionary of string resources to add to the migration resource file. - - - - - Gets or sets whether the migration was re-scaffolded. - - - - - Represents an exception that occurred while running an operation in another AppDomain in the - . - - - - - Initializes a new instance of the ToolingException class. - - - - - Initializes a new instance of the class with a specified error message. - - The message that describes the error. - - - - Initializes a new instance of the ToolingException class. - - Error that explains the reason for the exception. - The type of the exception that was thrown. - The stack trace of the exception that was thrown. - - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Gets the type of the exception that was thrown. - - - - - Gets the stack trace of the exception that was thrown. - - - - - Helper class that is used by design time tools to run migrations related - commands that need to interact with an application that is being edited - in Visual Studio. - Because the application is being edited the assemblies need to - be loaded in a separate AppDomain to ensure the latest version - is always loaded. - The App/Web.config file from the startup project is also copied - to ensure that any configuration is applied. - - - - - Gets or sets an action to be run to log information. - - - - - Gets or sets an action to be run to log warnings. - - - - - Gets or sets an action to be run to log verbose information. - - - - - Initializes a new instance of the ToolingFacade class. - - The name of the assembly that contains the migrations configuration to be used. - The name of the assembly that contains the DbContext to be used. - The namespace qualified name of migrations configuration to be used. - The working directory containing the compiled assemblies. - The path of the config file from the startup project. - The path of the application data directory from the startup project. Typically the App_Data directory for web applications or the working directory for executables. - The connection to the database to be migrated. If null is supplied, the default connection for the context will be used. - - - - Releases all unmanaged resources used by the facade. - - - - - Gets the fully qualified name of all types deriving from . - - All context types found. - - - - Gets the fully qualified name of a type deriving from . - - The name of the context type. If null, the single context type found in the assembly will be returned. - The context type found. - - - - Gets a list of all migrations that have been applied to the database. - - Ids of applied migrations. - - - - Gets a list of all migrations that have not been applied to the database. - - Ids of pending migrations. - - - - Updates the database to the specified migration. - - The Id of the migration to migrate to. If null is supplied, the database will be updated to the latest migration. - Value indicating if data loss during automatic migration is acceptable. - - - - Generates a SQL script to migrate between two migrations. - - The migration to update from. If null is supplied, a script to update the current database will be produced. - The migration to update to. If null is supplied, a script to update to the latest migration will be produced. - Value indicating if data loss during automatic migration is acceptable. - The generated SQL script. - - - - Scaffolds a code-based migration to apply any pending model changes. - - The name for the generated migration. - The programming language of the generated migration. - The root namespace of the project the migration will be added to. - Whether or not to include model changes. - The scaffolded migration. - - - - Scaffolds the initial code-based migration corresponding to a previously run database initializer. - - The programming language of the generated migration. - The root namespace of the project the migration will be added to. - The scaffolded migration. - - - - - - - Releases all resources used by the facade. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - Generates VB.Net code for a code-based migration. - - - - - - - - Generates the primary code file that the user can view and edit. - - Operations to be performed by the migration. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates the code behind file with migration metadata. - - Unique identifier of the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates a property to return the source or target model in the code behind file. - - Name of the property. - Value to be returned. - Text writer to add the generated code to. - - - - Generates class attributes. - - Text writer to add the generated code to. - A value indicating if this class is being generated for a code-behind file. - - - - Generates a namespace, using statements and class definition. - - Namespace that code should be generated in. - Name of the class that should be generated. - Text writer to add the generated code to. - Base class for the generated class. - A value indicating if this class is being generated for a code-behind file. - Namespaces for which Imports directives will be added. If null, then the namespaces returned from GetDefaultNamespaces will be used. - - - - Generates the closing code for a class that was started with WriteClassStart. - - Namespace that code should be generated in. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for the given annotation value, which may be null. The default behavior is to use an - if one is registered, otherwise call ToString on the annotation value. - - - Note that a can be registered to generate code for custom annotations - without the need to override the entire code generator. - - The name of the annotation for which code is needed. - The annotation value to generate. - The writer to which generated code should be written. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The parameter model definition to generate code for. - Text writer to add the generated code to. - true to include the column name in the definition; otherwise, false. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for an . - - The operation for which code should be generated. - The writer to which generated code should be written. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify a set of column names using a lambda expression. - - The columns to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify the definition for a . - - The column definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column of unknown data type. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Removes any invalid characters from the name of an database artifact. - - The name to be scrubbed. - The scrubbed name. - - - - Gets the type name to use for a column of the given data type. - - The data type to translate. - The type name to use in the generated migration. - - - - Quotes an identifier using appropriate escaping to allow it to be stored in a string. - - The identifier to be quoted. - The quoted identifier. - - - - This class is used by Code First Migrations to read and write migration history - from the database. - To customize the definition of the migrations history table you can derive from - this class and override OnModelCreating. Derived instances can either be registered - on a per migrations configuration basis using , - or globally using . - - - - - The default name used for the migrations history table. - - - - - Initializes a new instance of the HistoryContext class. - If you are creating a derived history context you will generally expose a constructor - that accepts these same parameters and passes them to this base constructor. - - - An existing connection to use for the new context. - - - The default schema of the model being migrated. - This schema will be used for the migrations history table unless a different schema is configured in OnModelCreating. - - - - - Gets the key used to locate a model that was previously built for this context. This is used - to avoid processing OnModelCreating and calculating the model every time a new context instance is created. - By default this property returns the default schema. - In most cases you will not need to override this property. However, if your implementation of OnModelCreating - contains conditional logic that results in a different model being built for the same database provider and - default schema you should override this property and calculate an appropriate key. - - - - - Gets the default schema of the model being migrated. - This schema will be used for the migrations history table unless a different schema is configured in OnModelCreating. - - - - - Gets or sets a that can be used to read and write instances. - - - - - Applies the default configuration for the migrations history table. If you override - this method it is recommended that you call this base implementation before applying your - custom configuration. - - The builder that defines the model for the context being created. - - - - This class is used by Code First Migrations to read and write migration history - from the database. - - - - - Gets or sets the Id of the migration this row represents. - - - - - Gets or sets a key representing to which context the row applies. - - - - - Gets or sets the state of the model after this migration was applied. - - - - - Gets or sets the version of Entity Framework that created this entry. - - - - - Represents an error that occurs when an automatic migration would result in data loss. - - - - - Initializes a new instance of the AutomaticDataLossException class. - - - - - Initializes a new instance of the AutomaticDataLossException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents an error that occurs when there are pending model changes after applying the last migration and automatic migration is disabled. - - - - - Initializes a new instance of the AutomaticMigrationsDisabledException class. - - - - - Initializes a new instance of the AutomaticMigrationsDisabledException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Explicitly implemented by to prevent certain members from showing up - in the IntelliSense of scaffolded migrations. - - - - - Adds a custom to the migration. - Custom operation implementors are encouraged to create extension methods on - that provide a fluent-style API for adding new operations. - - The operation to add. - - - - Provides additional metadata about a code-based migration. - - - - - Gets the unique identifier for the migration. - - - - - Gets the state of the model before this migration is run. - - - - - Gets the state of the model after this migration is run. - - - - - Represents errors that occur inside the Code First Migrations pipeline. - - - - - Initializes a new instance of the MigrationsException class. - - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the MigrationsException class with serialized data. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - Base class for loggers that can be used for the migrations process. - - - - - Logs an informational message. - - The message to be logged. - - - - Logs a warning that the user should be made aware of. - - The message to be logged. - - - - Logs some additional information that should only be presented to the user if they request verbose output. - - The message to be logged. - - - - Thrown when an operation can't be performed because there are existing migrations that have not been applied to the database. - - - - - Initializes a new instance of the MigrationsPendingException class. - - - - - Initializes a new instance of the MigrationsPendingException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsPendingException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Base class for decorators that wrap the core - - - - - Initializes a new instance of the MigratorBase class. - - The migrator that this decorator is wrapping. - - - - Gets a list of the pending migrations that have not been applied to the database. - - List of migration Ids - - - - Gets the configuration being used for the migrations process. - - - - - Updates the target database to the latest migration. - - - - - Updates the target database to a given migration. - - The migration to upgrade/downgrade to. - - - - Gets a list of the migrations that are defined in the assembly. - - List of migration Ids - - - - Gets a list of the migrations that have been applied to the database. - - List of migration Ids - - - - Decorator to provide logging during migrations operations.. - - - - - Initializes a new instance of the MigratorLoggingDecorator class. - - The migrator that this decorator is wrapping. - The logger to write messages to. - - - - Decorator to produce a SQL script instead of applying changes to the database. - Using this decorator to wrap will prevent - from applying any changes to the target database. - - - - - Initializes a new instance of the MigratorScriptingDecorator class. - - The migrator that this decorator is wrapping. - - - - Produces a script to update the database. - - - The migration to update from. If null is supplied, a script to update the - current database will be produced. - - - The migration to update to. If null is supplied, - a script to update to the latest migration will be produced. - - The generated SQL script. - - - - Represents a column being added to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be added to. - Details of the column being added. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column should be added to. - - - - - Gets the details of the column being added. - - - - - Gets an operation that represents dropping the added column. - - - - - - - - Represents a foreign key constraint being added to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddForeignKeyOperation class. - The PrincipalTable, PrincipalColumns, DependentTable and DependentColumns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - The names of the column(s) that the foreign key constraint should target. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating if cascade delete should be configured on the foreign key constraint. - - - - - Gets an operation to create an index on the foreign key column(s). - - An operation to add the index. - - - - Gets an operation to drop the foreign key constraint. - - - - - - - - Represents adding a primary key to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddPrimaryKeyOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the primary key. - - - - - Represents altering an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AlterColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table that the column belongs to. - Details of what the column should be altered to. - Value indicating if this change will result in data loss. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the AlterColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table that the column belongs to. - Details of what the column should be altered to. - Value indicating if this change will result in data loss. - An operation to revert this alteration of the column. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table that the column belongs to. - - - - - Gets the new definition for the column. - - - - - Gets an operation that represents reverting the alteration. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents altering an existing stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation that will revert this operation. - Always returns a . - - - - - Represents changes made to custom annotations on a table. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AlterTableOperation class. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table on which annotations have changed. - The custom annotations on the table that have changed. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table on which annotations have changed. - - - - - Gets the columns to be included in the table for which annotations have changed. - - - - - Gets the custom annotations that have changed on the table. - - - - - Gets an operation that is the inverse of this one such that annotations will be changed back to how - they were before this operation was applied. - - - - - - - - Represents information about a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ColumnModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this column. - - - - Initializes a new instance of the ColumnModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this column. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets the CLR type corresponding to the database type of this column. - - - - - Gets the default value for the CLR type corresponding to the database type of this column. - - - - - Gets or sets a value indicating if this column can store null values. - - - - - Gets or sets a value indicating if values for this column will be generated by the database using the identity pattern. - - - - - Gets or sets a value indicating if this property model should be configured as a timestamp. - - - - - Gets or sets the custom annotations that have changed on the column. - - - - - Determines if this column is a narrower data type than another column. - Used to determine if altering the supplied column definition to this definition will result in data loss. - - The column to compare to. - Details of the database provider being used. - True if this column is of a narrower data type. - - - - Represents creating a database index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the CreateIndexOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets a value indicating if this is a unique index. - - - - - Gets an operation to drop this index. - - - - - - - - Gets or sets whether this is a clustered index. - - - - - A migration operation to add a new stored procedure to the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the stored procedure. - - - - - Represents creating a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the CreateTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be created. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the CreateTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be created. - Custom annotations that exist on the table to be created. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be created. - - - - - Gets the columns to be included in the new table. - - - - - Gets or sets the primary key for the new table. - - - - - Gets custom annotations that exist on the table to be created. - - - - - Gets an operation to drop the table. - - - - - - - - Represents a column being dropped from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - The operation that represents reverting the drop operation. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - The operation that represents reverting the drop operation. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column should be dropped from. - - - - - Gets the name of the column to be dropped. - - - - - Gets custom annotations that exist on the column that is being dropped. - - - - - Gets an operation that represents reverting dropping the column. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents a foreign key constraint being dropped from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropForeignKeyOperation class. - The PrincipalTable, DependentTable and DependentColumns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropForeignKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc.. - - The operation that represents reverting dropping the foreign key constraint. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the associated index on the foreign key column(s). - - An operation to drop the index. - - - - Gets an operation that represents reverting dropping the foreign key constraint. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents dropping an existing index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The operation that represents reverting dropping the index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation that represents reverting dropping the index. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents dropping a primary key from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropPrimaryKeyOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to add the primary key. - - - - - Used when altering the migrations history table so that the table can be rebuilt rather than just dropping and adding the primary key. - - - The create table operation for the migrations history table. - - - - - Drops a stored procedure from the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to drop. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to drop. - - - The name of the stored procedure to drop. - - - - - Gets an operation that will revert this operation. - Always returns a . - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents dropping an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - An operation that represents reverting dropping the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - An operation that represents reverting dropping the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be dropped. - - - - - Gets custom annotations that exist on the table that is being dropped. - - - - - Gets custom annotations that exist on columns of the table that is being dropped. - - - - - Gets an operation that represents reverting dropping the table. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Base class for changes that affect foreign key constraints. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ForeignKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets the name of the table that the foreign key constraint targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the name of the table that the foreign key columns exist in. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - The names of the foreign key column(s). - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this foreign key constraint. - - - - - Gets or sets the name of this foreign key constraint. - If no name is supplied, a default name will be calculated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Operation representing DML changes to the migrations history table. - The migrations history table is used to store a log of the migrations that have been applied to the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the HistoryOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A sequence of command trees representing the operations being applied to the history table. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - A sequence of commands representing the operations being applied to the history table. - - - - - - - - Common base class for operations affecting indexes. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a default index name based on the supplied column names. - - The column names used to create a default index name. - A default index name. - - - - Initializes a new instance of the IndexOperation class. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets or sets the table the index belongs to. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets the columns that are indexed. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this index. - - - - - Gets or sets the name of this index. - If no name is supplied, a default name will be calculated. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Represents an operation to modify a database schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the MigrationOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" - }'. - - - - - Gets additional arguments that may be processed by providers. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. - - - - - Represents moving a stored procedure to a new schema in the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to move. - The new schema for the stored procedure. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to move. - - - The name of the stored procedure to move. - - - - - Gets the new schema for the stored procedure. - - - The new schema for the stored procedure. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents moving a table from one schema to another. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the MoveTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be moved. - Name of the schema to move the table to. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be moved. - - - - - Gets the name of the schema to move the table to. - - - - - Gets an operation that moves the table back to its original schema. - - - - - - - - Used when altering the migrations history table so that data can be moved to the new table. - - - The context key for the model. - - - - - Gets a value that indicates whether this is a system table. - - - true if the table is a system table; otherwise, false. - - - - - Used when altering the migrations history table so that the table can be rebuilt rather than just dropping and adding the primary key. - - - The create table operation for the migrations history table. - - - - - Represents a migration operation that can not be performed, possibly because it is not supported by the targeted database provider. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents information about a parameter. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ParameterModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this parameter. - - - - Initializes a new instance of the ParameterModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this parameter. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets or sets a value indicating whether this instance is out parameter. - - - true if this instance is out parameter; otherwise, false. - - - - - Common base class to represent operations affecting primary keys. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Returns the default name for the primary key. - - The target table name. - The default primary key name. - - - - Initializes a new instance of the PrimaryKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets the name of the table that contains the primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets the column(s) that make up the primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this primary key. - - - - - Gets or sets the name of this primary key. - If no name is supplied, a default name will be calculated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - - - - Gets or sets whether this is a clustered primary key. - - - - - A migration operation that affects stored procedures. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure. - - - The name of the stored procedure. - - - - - Gets the body of the stored procedure expressed in SQL. - - - The body of the stored procedure expressed in SQL. - - - - - Gets the parameters of the stored procedure. - - - The parameters of the stored procedure. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents information about a property of an entity. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the PropertyModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this property model. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets the data type for this property model. - - - - - Gets additional details about the data type of this property model. - This includes details such as maximum length, nullability etc. - - - - - Gets or sets the name of the property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a provider specific data type to use for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the maximum length for this property model. - Only valid for array data types. - - - - - Gets or sets the precision for this property model. - Only valid for decimal data types. - - - - - Gets or sets the scale for this property model. - Only valid for decimal data types. - - - - - Gets or sets a constant value to use as the default value for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a SQL expression used as the default value for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating if this property model is fixed length. - Only valid for array data types. - - - - - Gets or sets a value indicating if this property model supports Unicode characters. - Only valid for textual data types. - - - - - Represents renaming an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table the column belongs to. - Name of the column to be renamed. - New name for the column. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column belongs to. - - - - - Gets the name of the column to be renamed. - - - - - Gets the new name for the column. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents renaming an existing index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table the index belongs to. - Name of the index to be renamed. - New name for the index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the index belongs to. - - - - - Gets the name of the index to be renamed. - - - - - Gets the new name for the index. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents renaming a stored procedure in the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to rename. - The new name for the stored procedure. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to rename. - - - The name of the stored procedure to rename. - - - - - Gets the new name for the stored procedure. - - - The new name for the stored procedure. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents renaming an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be renamed. - New name for the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be renamed. - - - - - Gets the new name for the table. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents a provider specific SQL statement to be executed directly against the target database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the SqlOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The SQL to be executed. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the SQL to be executed. - - - - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - - - - Used when scripting an update database operation to store the operations that would have been performed against the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Represents a migration to be applied to the database. - - - - - Gets the id of the migration. - - - The id of the migration. - - - - - Gets the individual operations applied by this migration. - - - The individual operations applied by this migration. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The queries used to determine if this migration needs to be applied to the database. - This is used to generate an idempotent SQL script that can be run against a database at any version. - - - - - The queries used to determine if this migration needs to be applied to the database. - This is used to generate an idempotent SQL script that can be run against a database at any version. - - - - - Gets the migrations applied during the update database operation. - - - The migrations applied during the update database operation. - - - - - Adds a migration to this update database operation. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The id of the migration. - The individual operations applied by the migration. - - - - Gets a value indicating if any of the operations may result in data loss. - - - - - Common base class for providers that convert provider agnostic migration - operations into database provider specific SQL commands. - - - - - Gets or sets the provider manifest. - - - The provider manifest. - - - - - Converts a set of migration operations into database provider specific SQL. - - The operations to be converted. - Token representing the version of the database being targeted. - A list of SQL statements to be executed to perform the migration operations. - - - - Generates the SQL body for a stored procedure. - - The command trees representing the commands for an insert, update or delete operation. - The rows affected parameter name. - The provider manifest token. - The SQL body for the stored procedure. - - - - Determines if a provider specific exception corresponds to a database-level permission denied error. - - The database exception. - true if the supplied exception corresponds to a database-level permission denied error; otherwise false. - - - - Builds the store type usage for the specified using the facets from the specified . - - Name of the store type. - The target property. - A store-specific TypeUsage - - - - Represents a migration operation that has been translated into a SQL statement. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the SQL to be executed to perform this migration operation. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - Gets or sets the batch terminator for the database provider. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The batch terminator for the database provider. - - - - - The same as but works in partial trust and adds explicit caching of - generated indentation string and also recognizes writing a string that contains just \r\n or \n as a write-line to ensure - we indent the next line properly. - - - - - Specifies the default tab string. This field is constant. - - - - - Specifies the culture what will be used by the underlying TextWriter. This static property is read-only. - Note that any writer passed to one of the constructors of must use this - same culture. The culture is . - - - - - Gets the encoding for the text writer to use. - - - An that indicates the encoding for the text writer to use. - - - - - Gets or sets the new line character to use. - - The new line character to use. - - - - Gets or sets the number of spaces to indent. - - The number of spaces to indent. - - - - Gets the to use. - - - The to use. - - - - - Initializes a new instance of the IndentedTextWriter class using the specified text writer and default tab string. - Note that the writer passed to this constructor must use the specified by the - property. - - - The to use for output. - - - - - Initializes a new instance of the IndentedTextWriter class using the specified text writer and tab string. - Note that the writer passed to this constructor must use the specified by the - property. - - - The to use for output. - - The tab string to use for indentation. - - - - Closes the document being written to. - - - - - Flushes the stream. - - - - - Outputs the tab string once for each level of indentation according to the - - property. - - - - - Builds a string representing the current indentation level for a new line. - - - Does NOT check if tabs are currently pending, just returns a string that would be - useful in replacing embedded newline characters. - - An empty string, or a string that contains .Indent level's worth of specified tab-string. - - - - Writes the specified string to the text stream. - - The string to write. - - - - Writes the text representation of a Boolean value to the text stream. - - The Boolean value to write. - - - - Writes a character to the text stream. - - The character to write. - - - - Writes a character array to the text stream. - - The character array to write. - - - - Writes a subarray of characters to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes the text representation of a Double to the text stream. - - The double to write. - - - - Writes the text representation of a Single to the text stream. - - The single to write. - - - - Writes the text representation of an integer to the text stream. - - The integer to write. - - - - Writes the text representation of an 8-byte integer to the text stream. - - The 8-byte integer to write. - - - - Writes the text representation of an object to the text stream. - - The object to write. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string. - The object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string to use. - The first object to write into the formatted string. - The second object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string to use. - The argument array to output. - - - - Writes the specified string to a line without tabs. - - The string to write. - - - - Writes the specified string, followed by a line terminator, to the text stream. - - The string to write. - - - - Writes a line terminator. - - - - - Writes the text representation of a Boolean, followed by a line terminator, to the text stream. - - The Boolean to write. - - - - Writes a character, followed by a line terminator, to the text stream. - - The character to write. - - - - Writes a character array, followed by a line terminator, to the text stream. - - The character array to write. - - - - Writes a subarray of characters, followed by a line terminator, to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes the text representation of a Double, followed by a line terminator, to the text stream. - - The double to write. - - - - Writes the text representation of a Single, followed by a line terminator, to the text stream. - - The single to write. - - - - Writes the text representation of an integer, followed by a line terminator, to the text stream. - - The integer to write. - - - - Writes the text representation of an 8-byte integer, followed by a line terminator, to the text stream. - - The 8-byte integer to write. - - - - Writes the text representation of an object, followed by a line terminator, to the text stream. - - The object to write. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string. - The object to write into the formatted string. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string to use. - The first object to write into the formatted string. - The second object to write into the formatted string. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string to use. - The argument array to output. - - - - Writes the text representation of a UInt32, followed by a line terminator, to the text stream. - - A UInt32 to output. - - - - An implementation of that does nothing. Using this - initializer disables database initialization for the given context type. Passing an instance - of this class to is equivalent to passing null. - When is being used to resolve initializers an instance of - this class must be used to disable initialization. - - The type of the context. - - - - - - - Extension methods for . - - - - - Returns an implementation that stays in sync with the given - . - - The element type. - The collection that the binding list will stay in sync with. - The binding list. - - - - Useful extension methods for use with Entity Framework LINQ queries. - - - - - Specifies the related objects to include in the query results. - - - This extension method calls the Include(String) method of the source object, - if such a method exists. If the source does not have a matching method, - then this method does nothing. The , , - and types all have an appropriate Include method to call. - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the . Other instances of - and the object context itself are not affected. Because the Include method returns the query object, - you can call this method multiple times on an to specify multiple paths for the query. - - The type of entity being queried. - - The source on which to call Include. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Specifies the related objects to include in the query results. - - - This extension method calls the Include(String) method of the source object, - if such a method exists. If the source does not have a matching method, - then this method does nothing. The , , - and types all have an appropriate Include method to call. - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the . Other instances of - and the object context itself are not affected. Because the Include method returns the query object, - you can call this method multiple times on an to specify multiple paths for the query. - - - The source on which to call Include. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Specifies the related objects to include in the query results. - - - The path expression must be composed of simple property access expressions together with calls to Select for - composing additional includes after including a collection proprty. Examples of possible include paths are: - To include a single reference: query.Include(e => e.Level1Reference) - To include a single collection: query.Include(e => e.Level1Collection) - To include a reference and then a reference one level down: query.Include(e => e.Level1Reference.Level2Reference) - To include a reference and then a collection one level down: query.Include(e => e.Level1Reference.Level2Collection) - To include a collection and then a reference one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference)) - To include a collection and then a collection one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection)) - To include a collection and then a reference one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference)) - To include a collection and then a collection one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection)) - To include a collection, a reference, and a reference two levels down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference.Level3Reference)) - To include a collection, a collection, and a reference two levels down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection.Select(l2 => l2.Level3Reference))) - This extension method calls the Include(String) method of the source IQueryable object, if such a method exists. - If the source IQueryable does not have a matching method, then this method does nothing. - The Entity Framework ObjectQuery, ObjectSet, DbQuery, and DbSet types all have an appropriate Include method to call. - When you call the Include method, the query path is only valid on the returned instance of the IQueryable<T>. Other - instances of IQueryable<T> and the object context itself are not affected. Because the Include method returns the - query object, you can call this method multiple times on an IQueryable<T> to specify multiple paths for the query. - - The type of entity being queried. - The type of navigation property being included. - The source IQueryable on which to call Include. - A lambda expression representing the path to include. - - A new IQueryable<T> with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the - or . This method works by calling the AsNoTracking method of the - underlying query object. If the underlying query object does not have an AsNoTracking method, - then calling this method will have no affect. - - The element type. - The source query. - A new query with NoTracking applied, or the source query if NoTracking is not supported. - - - - Returns a new query where the entities returned will not be cached in the - or . This method works by calling the AsNoTracking method of the - underlying query object. If the underlying query object does not have an AsNoTracking method, - then calling this method will have no affect. - - The source query. - A new query with NoTracking applied, or the source query if NoTracking is not supported. - - - - Returns a new query that will stream the results instead of buffering. This method works by calling - the AsStreaming method of the underlying query object. If the underlying query object does not have - an AsStreaming method, then calling this method will have no affect. - - - The type of the elements of . - - - An to apply AsStreaming to. - - A new query with AsStreaming applied, or the source query if AsStreaming is not supported. - - - - Returns a new query that will stream the results instead of buffering. This method works by calling - the AsStreaming method of the underlying query object. If the underlying query object does not have - an AsStreaming method, then calling this method will have no affect. - - - An to apply AsStreaming to. - - A new query with AsStreaming applied, or the source query if AsStreaming is not supported. - - - - Enumerates the query such that for server queries such as those of , - - , - , and others the results of the query will be loaded into the associated - - , - or other cache on the client. - This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. - - The source query. - - - - Asynchronously enumerates the query such that for server queries such as those of , - - , - , and others the results of the query will be loaded into the associated - - , - or other cache on the client. - This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. - - The source query. - - A task that represents the asynchronous operation. - - - - - Asynchronously enumerates the query such that for server queries such as those of , - - , - , and others the results of the query will be loaded into the associated - - , - or other cache on the client. - This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. - - The source query. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - An to enumerate. - - The action to perform on each element. - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - An to enumerate. - - The action to perform on each element. - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to enumerate. - - The action to perform on each element. - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to enumerate. - - The action to perform on each element. - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Creates a from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - An to create a from. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates a from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - An to create a from. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates a from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to create a from. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates a from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to create a list from. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates an array from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to create an array from. - - - A task that represents the asynchronous operation. - The task result contains an array that contains elements from the input sequence. - - - - - Creates an array from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to create an array from. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an array that contains elements from the input sequence. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - An to create a from. - - A function to extract a key from each element. - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - An to create a from. - - A function to extract a key from each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function and a comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - An to create a from. - - A function to extract a key from each element. - - An to compare keys. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function and a comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - An to create a from. - - A function to extract a key from each element. - - An to compare keys. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - The type of the value returned by . - - - An to create a from. - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - The type of the value returned by . - - - An to create a from. - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function, a comparer, and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - The type of the value returned by . - - - An to create a from. - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - An to compare keys. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function, a comparer, and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - The type of the value returned by . - - - An to create a from. - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - An to compare keys. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Asynchronously returns the first element of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - - A task that represents the asynchronous operation. - The task result contains the first element in . - - - is null. - - - doesn't implement . - - The source sequence is empty. - - - - Asynchronously returns the first element of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the first element in . - - - - is - null - . - - - - doesn't implement - - . - - The source sequence is empty. - - - - Asynchronously returns the first element of a sequence that satisfies a specified condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the first element in that passes the test in - . - - - - or - - is - null - . - - - - doesn't implement - - . - - - No element satisfies the condition in - - . - - - - - Asynchronously returns the first element of a sequence that satisfies a specified condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the first element in that passes the test in - . - - - - or - - is - null - . - - - - doesn't implement - - . - - - No element satisfies the condition in - - . - - - - - Asynchronously returns the first element of a sequence, or a default value if the sequence contains no elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if - is empty; otherwise, the first element in . - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the first element of a sequence, or a default value if the sequence contains no elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if - is empty; otherwise, the first element in . - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the first element of a sequence that satisfies a specified condition - or a default value if no such element is found. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains default ( ) if - is empty or if no element passes the test specified by ; otherwise, the first - element in that passes the test specified by . - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the first element of a sequence that satisfies a specified condition - or a default value if no such element is found. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if - is empty or if no element passes the test specified by ; otherwise, the first - element in that passes the test specified by . - - - - or - - is - null - . - - - - doesn't implement - - . - - - - has more than one element. - - - - - Asynchronously returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - The source sequence is empty. - - - - Asynchronously returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - has more than one element. - - The source sequence is empty. - - - - Asynchronously returns the only element of a sequence that satisfies a specified condition, - and throws an exception if more than one such element exists. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - A function to test an element for a condition. - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence that satisfies the condition in - . - - - - or - - is - null - . - - - - doesn't implement - - . - - - No element satisfies the condition in - - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of a sequence that satisfies a specified condition, - and throws an exception if more than one such element exists. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - A function to test an element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence that satisfies the condition in - . - - - - or - - is - null - . - - - - doesn't implement - - . - - - No element satisfies the condition in - - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of a sequence, or a default value if the sequence is empty; - this method throws an exception if there is more than one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence, or default () - if the sequence contains no elements. - - - - is - null - . - - - - doesn't implement - - . - - - - has more than one element. - - - - - Asynchronously returns the only element of a sequence, or a default value if the sequence is empty; - this method throws an exception if there is more than one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence, or default () - if the sequence contains no elements. - - - - is - null - . - - - - doesn't implement - - . - - - - has more than one element. - - - - - Asynchronously returns the only element of a sequence that satisfies a specified condition or - a default value if no such element exists; this method throws an exception if more than one element - satisfies the condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - A function to test an element for a condition. - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence that satisfies the condition in - , or default ( ) if no such element is found. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the only element of a sequence that satisfies a specified condition or - a default value if no such element exists; this method throws an exception if more than one element - satisfies the condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - A function to test an element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence that satisfies the condition in - , or default ( ) if no such element is found. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether a sequence contains a specified element by using the default equality comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - The object to locate in the sequence. - - A task that represents the asynchronous operation. - The task result contains true if the input sequence contains the specified value; otherwise, false. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether a sequence contains a specified element by using the default equality comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - The object to locate in the sequence. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the input sequence contains the specified value; otherwise, false. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether a sequence contains any elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to check for being empty. - - - A task that represents the asynchronous operation. - The task result contains true if the source sequence contains any elements; otherwise, false. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether a sequence contains any elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to check for being empty. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the source sequence contains any elements; otherwise, false. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether any element of a sequence satisfies a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An whose elements to test for a condition. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether any element of a sequence satisfies a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An whose elements to test for a condition. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether all the elements of a sequence satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An whose elements to test for a condition. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains true if every element of the source sequence passes the test in the specified predicate; otherwise, false. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether all the elements of a sequence satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An whose elements to test for a condition. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if every element of the source sequence passes the test in the specified predicate; otherwise, false. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the number of elements in a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously returns the number of elements in a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously returns the number of elements in a sequence that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the number of elements in the sequence that satisfy the condition in the predicate function. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns the number of elements in a sequence that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the sequence that satisfy the condition in the predicate function. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns an that represents the total number of elements in a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously returns an that represents the total number of elements in a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously returns an that represents the number of elements in a sequence - that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the number of elements in the sequence that satisfy the condition in the predicate function. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns an that represents the number of elements in a sequence - that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the sequence that satisfy the condition in the predicate function. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns the minimum value of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to determine the minimum of. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the minimum value of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to determine the minimum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously invokes a projection function on each element of a sequence and returns the minimum resulting value. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the value returned by the function represented by . - - - An that contains the elements to determine the minimum of. - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the minimum value in the sequence. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously invokes a projection function on each element of a sequence and returns the minimum resulting value. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the value returned by the function represented by . - - - An that contains the elements to determine the minimum of. - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the sequence. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the maximum value of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to determine the maximum of. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the maximum value of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to determine the maximum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously invokes a projection function on each element of a sequence and returns the maximum resulting value. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the value returned by the function represented by . - - - An that contains the elements to determine the maximum of. - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the maximum value in the sequence. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously invokes a projection function on each element of a sequence and returns the maximum resulting value. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the value returned by the function represented by . - - - An that contains the elements to determine the maximum of. - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the sequence. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Bypasses a specified number of elements in a sequence and then returns the remaining elements. - - The type of the elements of source. - A sequence to return elements from. - An expression that evaluates to the number of elements to skip. - A sequence that contains elements that occur after the specified index in the - input sequence. - - - - Returns a specified number of contiguous elements from the start of a sequence. - - The type of the elements of source. - The sequence to return elements from. - An expression that evaluates to the number of elements - to return. - A sequence that contains the specified number of elements from the - start of the input sequence. - - - - Represents data in a geodetic (round earth) coordinate system. - - - - Gets the default coordinate system id (SRID) for geography values (WGS 84) - The default coordinate system id (SRID) for geography values (WGS 84) - - - Gets a representation of this DbGeography value that is specific to the underlying provider that constructed it. - A representation of this DbGeography value. - - - - Gets the spatial provider that will be used for operations on this spatial type. - - - - Gets or sets a data contract serializable well known representation of this DbGeography value. - A data contract serializable well known representation of this DbGeography value. - - - - Creates a new value based on the specified well known binary value. - - - A new DbGeography value as defined by the well known binary value with the default geography coordinate system identifier (SRID)( - - ). - - A byte array that contains a well known binary representation of the geography value. - - - - Creates a new value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new line value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new point value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new polygon value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Returns the multiline value from a binary value. - The multiline value from a binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multipoint value from a well-known binary value. - The multipoint value from a well-known binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multi polygon value from a well-known binary value. - The multi polygon well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new DbGeography value as defined by the GML value with the default geography coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geography value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the GML value with the specified coordinate system identifier. - A string that contains a Geography Markup Language (GML) representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new value based on the specified well known text value. - - - A new DbGeography value as defined by the well known text value with the default geography coordinate system identifier (SRID) ( - - ). - - A string that contains a well known text representation of the geography value. - - - - Creates a new value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new line value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new point value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new polygon value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Returns the multiline value from a well-known text value. - The multiline value from a well-known text value. - The well-known text. - The coordinate system identifier. - - - Returns the multipoint value from a well-known text value. - The multipoint value from a well-known text value. - The well-known text value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known text value. - The multi polygon value from a well-known text value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Gets the identifier associated with the coordinate system. - The identifier associated with the coordinate system. - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of the given value. - - - - Gets the spatial type name of the DBGeography. - The spatial type name of the DBGeography. - - - Gets a nullable Boolean value indicating whether this DbGeography value is empty. - True if this DbGeography value is empty; otherwise, false. - - - Generates the well known text representation of this DbGeography value. Includes only Longitude and Latitude for points. - A string containing the well known text representation of this DbGeography value. - - - Generates the well known binary representation of this DbGeography value. - The well-known binary representation of this DbGeography value. - - - Generates the Geography Markup Language (GML) representation of this DbGeography value. - A string containing the GML representation of this DbGeography value. - - - Determines whether this DbGeography is spatially equal to the specified DbGeography argument. - true if other is spatially equal to this geography value; otherwise false. - The geography value that should be compared with this geography value for equality. - - - Determines whether this DbGeography is spatially disjoint from the specified DbGeography argument. - true if other is disjoint from this geography value; otherwise false. - The geography value that should be compared with this geography value for disjointness. - - - Determines whether this DbGeography value spatially intersects the specified DbGeography argument. - true if other intersects this geography value; otherwise false. - The geography value that should be compared with this geography value for intersection. - - - Returns a geography object that represents the union of all points whose distance from a geography instance is less than or equal to a specified value. - A geography object that represents the union of all points - The distance. - - - Computes the distance between the closest points in this DbGeography value and another DbGeography value. - A double value that specifies the distance between the two closest points in this geography value and other. - The geography value for which the distance from this value should be computed. - - - Computes the intersection of this DbGeography value and another DbGeography value. - A new DbGeography value representing the intersection between this geography value and other. - The geography value for which the intersection with this value should be computed. - - - Computes the union of this DbGeography value and another DbGeography value. - A new DbGeography value representing the union between this geography value and other. - The geography value for which the union with this value should be computed. - - - Computes the difference of this DbGeography value and another DbGeography value. - A new DbGeography value representing the difference between this geography value and other. - The geography value for which the difference with this value should be computed. - - - Computes the symmetric difference of this DbGeography value and another DbGeography value. - A new DbGeography value representing the symmetric difference between this geography value and other. - The geography value for which the symmetric difference with this value should be computed. - - - Gets the number of elements in this DbGeography value, if it represents a geography collection. <returns>The number of elements in this geography value, if it represents a collection of other geography values; otherwise null.</returns> - The number of elements in this DbGeography value. - - - Returns an element of this DbGeography value from a specific position, if it represents a geography collection. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a collection of other geography values; otherwise null.</returns> - An element of this DbGeography value from a specific position - The index. - - - Gets the Latitude coordinate of this DbGeography value, if it represents a point. <returns>The Latitude coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The Latitude coordinate of this DbGeography value. - - - Gets the Longitude coordinate of this DbGeography value, if it represents a point. <returns>The Longitude coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The Longitude coordinate of this DbGeography value. - - - Gets the elevation (Z coordinate) of this DbGeography value, if it represents a point. <returns>The elevation (Z coordinate) value of this geography value, if it represents a point; otherwise null.</returns> - The elevation (Z coordinate) of this DbGeography value. - - - Gets the M (Measure) coordinate of this DbGeography value, if it represents a point. <returns>The M (Measure) coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The M (Measure) coordinate of this DbGeography value. - - - Gets a nullable double value that indicates the length of this DbGeography value, which may be null if this value does not represent a curve. - A nullable double value that indicates the length of this DbGeography value. - - - Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve. - A DbGeography value representing the start point of this value. - - - Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve. - A DbGeography value representing the start point of this value. - - - Gets a nullable Boolean value indicating whether this DbGeography value is closed, which may be null if this value does not represent a curve. - True if this DbGeography value is closed; otherwise, false. - - - Gets the number of points in this DbGeography value, if it represents a linestring or linear ring. <returns>The number of elements in this geography value, if it represents a linestring or linear ring; otherwise null.</returns> - The number of points in this DbGeography value. - - - Returns an element of this DbGeography value from a specific position, if it represents a linestring or linear ring. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a linestring or linear ring; otherwise null.</returns> - An element of this DbGeography value from a specific position - The index. - - - Gets a nullable double value that indicates the area of this DbGeography value, which may be null if this value does not represent a surface. - A nullable double value that indicates the area of this DbGeography value. - - - Returns a string representation of the geography value. - A string representation of the geography value. - - - - A data contract serializable representation of a value. - - - - Gets or sets the coordinate system identifier (SRID) of this value. - - - Gets or sets the well known text representation of this value. - - - Gets or sets the well known binary representation of this value. - - - - Represents geometric shapes. - - - - Gets the default coordinate system id (SRID) for geometry values. - The default coordinate system id (SRID) for geometry values. - - - Gets a representation of this DbGeometry value that is specific to the underlying provider that constructed it. - A representation of this DbGeometry value. - - - - Gets the spatial provider that will be used for operations on this spatial type. - - - - Gets or sets a data contract serializable well known representation of this DbGeometry value. - A data contract serializable well known representation of this DbGeometry value. - - - - Creates a new value based on the specified well known binary value. - - - A new DbGeometry value as defined by the well known binary value with the default geometry coordinate system identifier ( - - ). - - A byte array that contains a well known binary representation of the geometry value. - wellKnownBinary - - - - Creates a new value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - wellKnownBinary - coordinateSystemId - - - - Creates a new line value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - lineWellKnownBinary - coordinateSystemId - - - - Creates a new point value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - pointWellKnownBinary - coordinateSystemId - - - - Creates a new polygon value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - polygonWellKnownBinary - coordinateSystemId - - - Returns the multiline value from a binary value. - The multiline value from a binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multipoint value from a well-known binary value. - The multipoint value from a well-known binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multipoint value from a well-known text value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryCollectionWellKnownBinary - coordinateSystemId - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new DbGeometry value as defined by the GML value with the default geometry coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - geometryMarkup - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the GML value with the specified coordinate system identifier. - A string that contains a Geography Markup Language (GML) representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryMarkup - coordinateSystemId - - - - Creates a new value based on the specified well known text value. - - - A new DbGeometry value as defined by the well known text value with the default geometry coordinate system identifier (SRID) ( - - ). - - A string that contains a well known text representation of the geometry value. - wellKnownText - - - - Creates a new value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - wellKnownText - coordinateSystemId - - - - Creates a new line value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - lineWellKnownText - coordinateSystemId - - - - Creates a new point value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - pointWellKnownText - coordinateSystemId - - - - Creates a new polygon value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - polygonWellKnownText - coordinateSystemId - - - Returns the multiline value from a well-known text value. - The multiline value from a well-known text value. - The well-known text. - The coordinate system identifier. - - - Returns the multipoint value from a well-known text value. - The multipoint value from a well-known text value. - The well-known text value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multi polygon value from a well-known binary value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryCollectionWellKnownText - coordinateSystemId - - - Gets the coordinate system identifier of the DbGeometry object. - The coordinate system identifier of the DbGeometry object. - - - Gets the boundary of the DbGeometry objects. - The boundary of the DbGeometry objects. - - - - Gets the dimension of the given value or, if the value is a collection, the dimension of its largest element. - - - The dimension of the given value. - - - - Gets the envelope (minimum bounding box) of this DbGeometry value, as a geometry value. - The envelope (minimum bounding box) of this DbGeometry value. - - - Gets a spatial type name representation of this DbGeometry value. - A spatial type name representation of this DbGeometry value. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is empty, which may be null if this value does not represent a curve. - True if this DbGeometry value is empty; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is simple. - True if this DbGeometry value is simple; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is valid. - True if this DbGeometry value is valid; otherwise, false. - - - Generates the well known text representation of this DbGeometry value. Includes only X and Y coordinates for points. - A string containing the well known text representation of this DbGeometry value. - - - Generates the well known binary representation of this DbGeometry value. - The well-known binary representation of this DbGeometry value. - - - Generates the Geography Markup Language (GML) representation of this DbGeometry value. - A string containing the GML representation of this DbGeometry value. - - - Determines whether this DbGeometry is spatially equal to the specified DbGeometry argument. - true if other is spatially equal to this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for equality. - other - - - Determines whether this DbGeometry is spatially disjoint from the specified DbGeometry argument. - true if other is disjoint from this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for disjointness. - other - - - Determines whether this DbGeometry value spatially intersects the specified DbGeometry argument. - true if other intersects this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for intersection. - other - - - Determines whether this DbGeometry value spatially touches the specified DbGeometry argument. - true if other touches this geometry value; otherwise false. - The geometry value that should be compared with this geometry value. - other - - - Determines whether this DbGeometry value spatially crosses the specified DbGeometry argument. - true if other crosses this geometry value; otherwise false. - The geometry value that should be compared with this geometry value. - other - - - Determines whether this DbGeometry value is spatially within the specified DbGeometry argument. - true if this geometry value is within other; otherwise false. - The geometry value that should be compared with this geometry value for containment. - other - - - Determines whether this DbGeometry value spatially contains the specified DbGeometry argument. - true if this geometry value contains other; otherwise false. - The geometry value that should be compared with this geometry value for containment. - other - - - Determines whether this DbGeometry value spatially overlaps the specified DbGeometry argument. - true if this geometry value overlaps other; otherwise false. - The geometry value that should be compared with this geometry value for overlap. - other - - - Determines whether this DbGeometry value spatially relates to the specified DbGeometry argument according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern. - true if this geometry value relates to other according to the specified intersection pattern matrix; otherwise false. - The geometry value that should be compared with this geometry value for relation. - A string that contains the text representation of the (DE-9IM) intersection pattern that defines the relation. - other - matrix - - - Returns a geometry object that represents the union of all points whose distance from a geometry instance is less than or equal to a specified value. - A geometry object that represents the union of all points. - The distance. - - - Computes the distance between the closest points in this DbGeometry value and another DbGeometry value. - A double value that specifies the distance between the two closest points in this geometry value and other. - The geometry value for which the distance from this value should be computed. - other - - - Gets the convex hull of this DbGeometry value as another DbGeometry value. - The convex hull of this DbGeometry value as another DbGeometry value. - - - Computes the intersection of this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the intersection between this geometry value and other. - The geometry value for which the intersection with this value should be computed. - other - - - Computes the union of this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the union between this geometry value and other. - The geometry value for which the union with this value should be computed. - other - - - Computes the difference between this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the difference between this geometry value and other. - The geometry value for which the difference with this value should be computed. - other - - - Computes the symmetric difference between this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the symmetric difference between this geometry value and other. - The geometry value for which the symmetric difference with this value should be computed. - other - - - Gets the number of elements in this DbGeometry value, if it represents a geometry collection. <returns>The number of elements in this geometry value, if it represents a collection of other geometry values; otherwise null.</returns> - The number of elements in this DbGeometry value. - - - Returns an element of this DbGeometry value from a specific position, if it represents a geometry collection. <param name="index">The position within this geometry value from which the element should be taken.</param><returns>The element in this geometry value at the specified position, if it represents a collection of other geometry values; otherwise null.</returns> - An element of this DbGeometry value from a specific position. - The index. - - - Gets the X coordinate of this DbGeometry value, if it represents a point. <returns>The X coordinate value of this geometry value, if it represents a point; otherwise null.</returns> - The X coordinate of this DbGeometry value. - - - Gets the Y coordinate of this DbGeometry value, if it represents a point. <returns>The Y coordinate value of this geometry value, if it represents a point; otherwise null.</returns> - The Y coordinate of this DbGeometry value. - - - Gets the elevation (Z coordinate) of this DbGeometry value, if it represents a point. <returns>The elevation (Z coordinate) of this geometry value, if it represents a point; otherwise null.</returns> - The elevation (Z coordinate) of this DbGeometry value. - - - Gets the Measure (M coordinate) of this DbGeometry value, if it represents a point. <returns>The Measure (M coordinate) value of this geometry value, if it represents a point; otherwise null.</returns> - The Measure (M coordinate) of this DbGeometry value. - - - Gets a nullable double value that indicates the length of this DbGeometry value, which may be null if this value does not represent a curve. - The length of this DbGeometry value. - - - Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve. - A DbGeometry value representing the start point of this value. - - - Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve. - A DbGeometry value representing the start point of this value. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is closed, which may be null if this value does not represent a curve. - True if this DbGeometry value is closed; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is a ring, which may be null if this value does not represent a curve. - True if this DbGeometry value is a ring; otherwise, false. - - - Gets the number of points in this DbGeometry value, if it represents a linestring or linear ring. <returns>The number of elements in this geometry value, if it represents a linestring or linear ring; otherwise null.</returns> - The number of points in this DbGeometry value. - - - Returns an element of this DbGeometry value from a specific position, if it represents a linestring or linear ring. <param name="index">The position within this geometry value from which the element should be taken.</param><returns>The element in this geometry value at the specified position, if it represents a linestring or linear ring; otherwise null.</returns> - An element of this DbGeometry value from a specific position. - The index. - - - Gets a nullable double value that indicates the area of this DbGeometry value, which may be null if this value does not represent a surface. - A nullable double value that indicates the area of this DbGeometry value. - - - Gets the DbGeometry value that represents the centroid of this DbGeometry value, which may be null if this value does not represent a surface. - The DbGeometry value that represents the centroid of this DbGeometry value. - - - Gets a point on the surface of this DbGeometry value, which may be null if this value does not represent a surface. - A point on the surface of this DbGeometry value. - - - Gets the DbGeometry value that represents the exterior ring of this DbGeometry value, which may be null if this value does not represent a polygon. - The DbGeometry value that represents the exterior ring of this DbGeometry value. - - - Gets the number of interior rings in this DbGeometry value, if it represents a polygon. <returns>The number of elements in this geometry value, if it represents a polygon; otherwise null.</returns> - The number of interior rings in this DbGeometry value. - - - Returns an interior ring from this DbGeometry value at a specific position, if it represents a polygon. <param name="index">The position within this geometry value from which the interior ring should be taken.</param><returns>The interior ring in this geometry value at the specified position, if it represents a polygon; otherwise null.</returns> - An interior ring from this DbGeometry value at a specific position. - The index. - - - Returns a string representation of the geometry value. - A string representation of the geometry value. - - - - A data contract serializable representation of a value. - - - - Gets or sets the coordinate system identifier (SRID) of this value. - - - Gets or sets the well known text representation of this value. - - - Gets or sets the well known binary representation of this value. - - - - A provider-independent service API for geospatial (Geometry/Geography) type support. - - - - - When implemented in derived types, reads an instance of from the column at the specified column ordinal. - - The instance of DbGeography at the specified column value - The ordinal of the column that contains the geography value - - - - Asynchronously reads an instance of from the column at the specified column ordinal. - - - Providers should override with an appropriate implementation. - The default implementation invokes the synchronous method and returns - a completed task, blocking the calling thread. - - The ordinal of the column that contains the geography value. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the instance of at the specified column value. - - - - - When implemented in derived types, reads an instance of from the column at the specified column ordinal. - - The instance of DbGeometry at the specified column value - The ordinal of the data record column that contains the provider-specific geometry data - - - - Asynchronously reads an instance of from the column at the specified column ordinal. - - - Providers should override with an appropriate implementation. - The default implementation invokes the synchronous method and returns - a completed task, blocking the calling thread. - - The ordinal of the data record column that contains the provider-specific geometry data. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the instance of at the specified column value. - - - - - Returns whether the column at the specified column ordinal is of geography type - - The column ordinal. - - true if the column at the specified column ordinal is of geography type; - false otherwise. - - - - - Returns whether the column at the specified column ordinal is of geometry type - - The column ordinal. - - true if the column at the specified column ordinal is of geometry type; - false otherwise. - - - - - A provider-independent service API for geospatial (Geometry/Geography) type support. - - - - - Gets the default services for the . - - The default services. - - - - Override this property to allow the spatial provider to fail fast when native types or other - resources needed for the spatial provider to function correctly are not available. - The default value is true which means that EF will continue with the assumption - that the provider has the necessary types/resources rather than failing fast. - - - - - This method is intended for use by derived implementations of - - after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation. - - - A new instance that contains the specified providerValue and uses the specified spatialServices as its spatial implementation. - - - The spatial services instance that the returned value will depend on for its implementation of spatial functionality. - - The provider value. - - - - Creates a new value based on a provider-specific value that is compatible with this spatial services implementation. - - - A new value backed by this spatial services implementation and the specified provider value. - - A provider-specific value that this spatial services implementation is capable of interpreting as a geography value. - A new DbGeography value backed by this spatial services implementation and the specified provider value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known - - representation. - - A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation. - - An instance of that contains the well-known representation of a geography value. - - - - - Creates an instance of that represents the specified - - value using one or both of the standard well-known spatial formats. - - - The well-known representation of geographyValue, as a new - - . - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on the specified well-known binary value. - - - A new value as defined by the well-known binary value with the default - - coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - - - Creates a new value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known binary value and coordinate system identifier. - - - The new multiline value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known binary value and coordinate system identifier. - - - A new multipoint value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known binary value and coordinate system identifier. - - - A new multi polygon value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified well-known text value. - - - A new value as defined by the well-known text value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - - - Creates a new value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known text value and coordinate system identifier. - - - A new multiline value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known text value and coordinate system identifier. - - - A new multipoint value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known text value and coordinate system identifier. - - - A new multi polygon value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new value as defined by the GML value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a Geometry Markup Language (GML) representation of the geography value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - - A new value as defined by the GML value with the specified coordinate system identifier (SRID). - - A string that contains a Geometry Markup Language (GML) representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Returns the coordinate system identifier of the given value. - - - The coordinate system identifier of the given value. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of geographyValue, or the largest element dimension if - - is a collection. - - The geography value for which the dimension value should be retrieved. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that indicates the spatial type name of the given - - value. - - - The spatial type name of the given value. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is empty. - - - True if the given value is empty; otherwise, false. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known text representation of the given value. This value should include only the Longitude and Latitude of points. - - A string containing the well-known text representation of geographyValue. - The geography value for which the well-known text should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a text representation of with elevation and measure. - - - A text representation of . - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known binary representation of the given value. - - - The well-known binary representation of the given value. - - The geography value for which the well-known binary should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Generates the Geography Markup Language (GML) representation of this - - value. - - A string containing the GML representation of this DbGeography value. - The geography value for which the GML should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially equal. - - true if geographyValue is spatially equal to otherGeography; otherwise false. - The first geography value to compare for equality. - The second geography value to compare for equality. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially disjoint. - - true if geographyValue is disjoint from otherGeography; otherwise false. - The first geography value to compare for disjointness. - The second geography value to compare for disjointness. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially intersect. - - true if geographyValue intersects otherGeography; otherwise false. - The first geography value to compare for intersection. - The second geography value to compare for intersection. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Creates a geography value representing all points less than or equal to distance from the given - - value. - - A new DbGeography value representing all points less than or equal to distance from geographyValue. - The geography value. - A double value specifying how far from geographyValue to buffer. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the distance between the closest points in two values. - - A double value that specifies the distance between the two closest points in geographyValue and otherGeography. - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the intersection of two values. - - - A new value representing the intersection of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the union of two values. - - - A new value representing the union of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the difference of two values. - - A new DbGeography value representing the difference of geographyValue and otherGeography. - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the symmetric difference of two values. - - - A new value representing the symmetric difference of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns the number of elements in the given value, if it represents a geography collection. - - The number of elements in geographyValue, if it represents a collection of other geography values; otherwise null. - The geography value, which need not represent a geography collection. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an element of the given value, if it represents a geography collection. - - The element in geographyValue at position index, if it represents a collection of other geography values; otherwise null. - The geography value, which need not represent a geography collection. - The position within the geography value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Latitude coordinate of the given value, if it represents a point. - - - The Latitude coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Longitude coordinate of the given value, if it represents a point. - - - The Longitude coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the elevation (Z coordinate) of the given value, if it represents a point. - - The elevation (Z coordinate) of geographyValue, if it represents a point; otherwise null. - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the M (Measure) coordinate of the given value, if it represents a point. - - - The M (Measure) coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the length of the given - - value, which may be null if the value does not represent a curve. - - - The length of the given value. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the start point of the given DbGeography value, which may be null if the value does not represent a curve. - - - The start point of the given value. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the end point of the given DbGeography value, which may be null if the value does not represent a curve. - - The end point of geographyValue, if it represents a curve; otherwise null. - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is closed, which may be null if the value does not represent a curve. - - - True if the given value is closed; otherwise, false. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of points in the given value, if it represents a linestring or linear ring. - - - The number of points in the given value. - - The geography value, which need not represent a linestring or linear ring. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a point element of the given value, if it represents a linestring or linear ring. - - The point in geographyValue at position index, if it represents a linestring or linear ring; otherwise null. - The geography value, which need not represent a linestring or linear ring. - The position within the geography value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the area of the given - - value, which may be null if the value does not represent a surface. - - - A nullable double value that indicates the area of the given value. - - The geography value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - This method is intended for use by derived implementations of - - after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation. - - - A new instance that contains the specified providerValue and uses the specified spatialServices as its spatial implementation. - - - The spatial services instance that the returned value will depend on for its implementation of spatial functionality. - - A provider value. - - - - Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known - - representation. - - A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation. - - An instance of that contains the well-known representation of a geometry value. - - - - - Creates an instance of that represents the specified - - value using one or both of the standard well-known spatial formats. - - - The well-known representation of geometryValue, as a new - - . - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on a provider-specific value that is compatible with this spatial services implementation. - - - A new value backed by this spatial services implementation and the specified provider value. - - A provider-specific value that this spatial services implementation is capable of interpreting as a geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on the specified well-known binary value. - - - A new value as defined by the well-known binary value with the default - - coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - - - Creates a new value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known binary value and coordinate system identifier. - - - The new multiline value - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known binary value and coordinate system identifier. - - - A new multipoint value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known binary value and coordinate system identifier. - - - A new multi polygon value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified well-known text value. - - - A new value as defined by the well-known text value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - - - Creates a new value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known text value and coordinate system identifier. - - - A new multiline value - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known text value and coordinate system identifier. - - - A new multipoint value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known text value and coordinate system identifier. - - - A new multi polygon value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new value as defined by the GML value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - - A new value as defined by the GML value with the specified coordinate system identifier (SRID). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Returns the coordinate system identifier of the given value. - - - The coordinate system identifier of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the boundary of the given - - value. - - - The boundary of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of geometryValue, or the largest element dimension if - - is a collection. - - The geometry value for which the dimension value should be retrieved. - - - - Gets the envelope (minimum bounding box) of the given value, as a geometry value. - - - The envelope of geometryValue, as a value. - - The geometry value for which the envelope value should be retrieved. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that indicates the spatial type name of the given - - value. - - - The spatial type name of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is empty. - - - True if the given value is empty; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is simple. - - - True if the given value is simple; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is valid. - - - True if the given value is valid; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known text representation of the given value, including only X and Y coordinates for points. - - A string containing the well-known text representation of geometryValue. - The geometry value for which the well-known text should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a text representation of with elevation and measure. - - - A text representation of with elevation and measure. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known binary representation of the given value. - - - The well-known binary representation of the given value. - - The geometry value for which the well-known binary should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Generates the Geography Markup Language (GML) representation of this - - value. - - A string containing the GML representation of this DbGeometry value. - The geometry value for which the GML should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially equal. - - true if geometryValue is spatially equal to otherGeometry; otherwise false. - The first geometry value to compare for equality. - The second geometry value to compare for equality. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially disjoint. - - true if geometryValue is disjoint from otherGeometry; otherwise false. - The first geometry value to compare for disjointness. - The second geometry value to compare for disjointness. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially intersect. - - true if geometryValue intersects otherGeometry; otherwise false. - The first geometry value to compare for intersection. - The second geometry value to compare for intersection. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially touch. - - true if geometryValue touches otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially cross. - - true if geometryValue crosses otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether one value is spatially within the other. - - true if geometryValue is within otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether one value spatially contains the other. - - true if geometryValue contains otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially overlap. - - true if geometryValue overlaps otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially related according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern. - - true if this geometryValue value relates to otherGeometry according to the specified intersection pattern matrix; otherwise false. - The first geometry value. - The geometry value that should be compared with the first geometry value for relation. - A string that contains the text representation of the (DE-9IM) intersection pattern that defines the relation. - - - , - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Creates a geometry value representing all points less than or equal to distance from the given - - value. - - A new DbGeometry value representing all points less than or equal to distance from geometryValue. - The geometry value. - A double value specifying how far from geometryValue to buffer. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the distance between the closest points in two values. - - A double value that specifies the distance between the two closest points in geometryValue and otherGeometry. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the convex hull of the given - - value. - - - The convex hull of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the intersection of two values. - - - A new value representing the intersection of geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the union of two values. - - - A new value representing the union of geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the difference between two values. - - A new DbGeometry value representing the difference between geometryValue and otherGeometry. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the symmetric difference between two values. - - - A new value representing the symmetric difference between geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns the number of elements in the given value, if it represents a geometry collection. - - The number of elements in geometryValue, if it represents a collection of other geometry values; otherwise null. - The geometry value, which need not represent a geometry collection. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an element of the given value, if it represents a geometry collection. - - The element in geometryValue at position index, if it represents a collection of other geometry values; otherwise null. - The geometry value, which need not represent a geometry collection. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the X coordinate of the given value, if it represents a point. - - - The X coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Y coordinate of the given value, if it represents a point. - - - The Y coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the elevation (Z) of the given value, if it represents a point. - - The elevation (Z) of geometryValue, if it represents a point; otherwise null. - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the M (Measure) coordinate of the given value, if it represents a point. - - - The M (Measure) coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the length of the given - - value, which may be null if the value does not represent a curve. - - - The length of the given value. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the start point of the given DbGeometry value, which may be null if the value does not represent a curve. - - - The start point of the given value. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the end point of the given DbGeometry value, which may be null if the value does not represent a curve. - - The end point of geometryValue, if it represents a curve; otherwise null. - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is closed, which may be null if the value does not represent a curve. - - - True if the given value is closed; otherwise, false. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is a ring, which may be null if the value does not represent a curve. - - - True if the given value is a ring; otherwise, false. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of points in the given value, if it represents a linestring or linear ring. - - - The number of points in the given value. - - The geometry value, which need not represent a linestring or linear ring. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a point element of the given value, if it represents a linestring or linear ring. - - The point in geometryValue at position index, if it represents a linestring or linear ring; otherwise null. - The geometry value, which need not represent a linestring or linear ring. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the area of the given - - value, which may be null if the value does not represent a surface. - - - A nullable double value that indicates the area of the given value. - - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the centroid of the given DbGeometry value, which may be null if the value does not represent a surface. - - The centroid of geometryValue, if it represents a surface; otherwise null. - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents a point on the surface of the given DbGeometry value, which may be null if the value does not represent a surface. - - - A value that represents a point on the surface of the given DbGeometry value. - - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the exterior ring of the given DbGeometry value, which may be null if the value does not represent a polygon. - - A DbGeometry value representing the exterior ring on geometryValue, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of interior rings in the given value, if it represents a polygon. - - The number of elements in geometryValue, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an interior ring from the given value, if it represents a polygon. - - The interior ring in geometryValue at position index, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Controls the transaction creation behavior while executing a database command or query. - - - - - If no transaction is present then a new transaction will be used for the operation. - - - - - If an existing transaction is present then use it, otherwise execute the command or query without a transaction. - - - - - Contains extension methods for the class. - - - - - Configures an awaiter used to await this to avoid - marshalling the continuation - back to the original context, but preserve the current culture and UI culture. - - - The type of the result produced by the associated . - - The task to be awaited on. - An object used to await this task. - - - - Configures an awaiter used to await this to avoid - marshalling the continuation - back to the original context, but preserve the current culture and UI culture. - - The task to be awaited on. - An object used to await this task. - - - - Provides an awaitable object that allows for awaits on that - preserve the culture. - - - The type of the result produced by the associated . - - This type is intended for compiler use only. - - - - Constructs a new instance of the class. - - The task to be awaited on. - - - Gets an awaiter used to await this . - An awaiter instance. - This method is intended for compiler user rather than use directly in code. - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was canceled. - The task completed in a Faulted state. - - - This method is not implemented and should not be called. - The action to invoke when the await operation completes. - - - - Schedules the continuation onto the associated with this - . - - The action to invoke when the await operation completes. - - The argument is null - (Nothing in Visual Basic). - - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - - Provides an awaitable object that allows for awaits on that - preserve the culture. - - This type is intended for compiler use only. - - - - Constructs a new instance of the class. - - The task to be awaited on. - - - Gets an awaiter used to await this . - An awaiter instance. - This method is intended for compiler user rather than use directly in code. - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was canceled. - The task completed in a Faulted state. - - - This method is not implemented and should not be called. - The action to invoke when the await operation completes. - - - - Schedules the continuation onto the associated with this - . - - The action to invoke when the await operation completes. - - The argument is null - (Nothing in Visual Basic). - - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - - Exception thrown from when validating entities fails. - - - - - Initializes a new instance of DbEntityValidationException. - - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - Validation results. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - The inner exception. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - Validation results. - The inner exception. - - - - Initializes a new instance of the DbEntityValidationException class with the specified serialization information and context. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - Validation results. - - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - Represents validation results for single entity. - - - - - Creates an instance of class. - - Entity entry the results applies to. Never null. - - List of instances. Never null. Can be empty meaning the entity is valid. - - - - - Gets an instance of the results applies to. - - - - - Gets validation errors. Never null. - - - - - Gets an indicator if the entity is valid. - - - - - Exception thrown from when an exception is thrown from the validation - code. - - - - - Initializes a new instance of DbUnexpectedValidationException. - - - - - Initializes a new instance of DbUnexpectedValidationException. - - The exception message. - - - - Initializes a new instance of DbUnexpectedValidationException. - - The exception message. - The inner exception. - - - - Initializes a new instance of DbUnexpectedValidationException with the specified serialization info and - context. - - The serialization info. - The streaming context. - - - - Validation error. Can be either entity or property level validation error. - - - - - Creates an instance of . - - Name of the invalid property. Can be null. - Validation error message. Can be null. - - - - Gets name of the invalid property. - - - - - Gets validation error message. - - - - - When this attribute is placed on a property it indicates that the database column to which the - property is mapped has an index. - - - This attribute is used by Entity Framework Migrations to create indexes on mapped database columns. - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - Creates a instance for an index that will be named by convention and - has no column order, clustering, or uniqueness specified. - - - - - Creates a instance for an index with the given name and - has no column order, clustering, or uniqueness specified. - - The index name. - - - - Creates a instance for an index with the given name and column order, - but with no clustering or uniqueness specified. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - The index name. - A number which will be used to determine column ordering for multi-column indexes. - - - - The index name. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - A number which will be used to determine column ordering for multi-column indexes. This will be -1 if no - column order has been specified. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - Set this property to true to define a clustered index. Set this property to false to define a - non-clustered index. - - - The value of this property is only relevant if returns true. - If returns false, then the value of this property is meaningless. - - - - - Returns true if has been set to a value. - - - - - Set this property to true to define a unique index. Set this property to false to define a - non-unique index. - - - The value of this property is only relevant if returns true. - If returns false, then the value of this property is meaningless. - - - - - Returns true if has been set to a value. - - - - - Returns a different ID for each object instance such that type descriptors won't - attempt to combine all IndexAttribute instances into a single instance. - - - - - Returns true if this attribute specifies the same name and configuration as the given attribute. - - The attribute to compare. - True if the other object is equal to this object; otherwise false. - - - - - - - Returns true if this attribute specifies the same name and configuration as the given attribute. - - The attribute to compare. - True if the other object is equal to this object; otherwise false. - - - - - - diff --git a/app/packages/EntityFramework.6.4.4/lib/netstandard2.1/EntityFramework.SqlServer.dll b/app/packages/EntityFramework.6.4.4/lib/netstandard2.1/EntityFramework.SqlServer.dll deleted file mode 100644 index 0036529..0000000 Binary files a/app/packages/EntityFramework.6.4.4/lib/netstandard2.1/EntityFramework.SqlServer.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/lib/netstandard2.1/EntityFramework.SqlServer.xml b/app/packages/EntityFramework.6.4.4/lib/netstandard2.1/EntityFramework.SqlServer.xml deleted file mode 100644 index ea081f1..0000000 --- a/app/packages/EntityFramework.6.4.4/lib/netstandard2.1/EntityFramework.SqlServer.xml +++ /dev/null @@ -1,2156 +0,0 @@ - - - - EntityFramework.SqlServer - - - - - An that retries actions that throw exceptions caused by SQL Azure transient failures. - - - This execution strategy will retry the operation on and - if the contains any of the following error numbers: - 40613, 40501, 40197, 10929, 10928, 10060, 10054, 10053, 233, 64 and 20 - - - - - Creates a new instance of . - - - The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor. - - - - - Creates a new instance of with the specified limits for - number of retries and the delay between retries. - - The maximum number of retry attempts. - The maximum delay in milliseconds between retries. - - - - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Returns the checksum of the values in a collection. Null values are ignored. - The checksum computed from the input collection. - The collection of values over which the checksum is computed. - - - Returns the checksum of the values in a collection. Null values are ignored. - The checksum computed from the input collection. - The collection of values over which the checksum is computed. - - - Returns the ASCII code value of the left-most character of a character expression. - The ASCII code of the first character in the input string. - A valid string. - - - Returns the character that corresponds to the specified integer ASCII value. - The character that corresponds to the specified ASCII value. - An ASCII code. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - - A of value that is the starting position of toFind if it is found in toSearch . - - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns the starting position of one expression found within another expression. - The starting position of toFind if it is found in toSearch . - The string expression to be found. - The string expression to be searched. - The character position in toSearch where searching begins. - - - Returns an integer value that indicates the difference between the SOUNDEX values of two character expressions. - The SOUNDEX difference between the two strings. - The first string. - The second string. - - - Returns the Unicode character with the specified integer code, as defined by the Unicode standard. - The character that corresponds to the input character code. - A character code. - - - Returns the starting position of the first occurrence of a pattern in a specified expression, or zeros if the pattern is not found, on all valid text and character data types. - The starting character position where the string pattern was found. - A string pattern to search for. - The string to search. - - - Returns a Unicode string with the delimiters added to make the input string a valid Microsoft SQL Server delimited identifier. - The original string with brackets added. - The expression that quote characters will be added to. - - - Returns a Unicode string with the delimiters added to make the input string a valid Microsoft SQL Server delimited identifier. - The original string with the specified quote characters added. - The expression that quote characters will be added to. - The one-character string to use as the delimiter. It can be a single quotation mark ( ' ), a left or right bracket ( [ ] ), or a double quotation mark ( " ). If quote_character is not specified, brackets are used. - - - Repeats a string value a specified number of times. - The target string, repeated the number of times specified by count . - A valid string. - The value that specifies how many time to repeat target . - - - Converts an alphanumeric string to a four-character (SOUNDEX) code to find similar-sounding words or names. - The SOUNDEX code of the input string. - A valid string. - - - Returns a string of repeated spaces. - A string that consists of the specified number of spaces. - The number of spaces. If negative, a null string is returned. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - - - Returns character data converted from numeric data. - The numeric input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point. - - - Returns character data converted from numeric data. - The input expression converted to a string. - A numeric expression. - The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10. - The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point. - - - Inserts a string into another string. It deletes a specified length of characters in the target string at the start position and then inserts the second string into the target string at the start position. - A string consisting of the two strings. - The target string. - The character position in stringinput where the replacement string is to be inserted. - The number of characters to delete from stringInput . If length is longer than stringInput , deletion occurs up to the last character in stringReplacement . - The substring to be inserted into stringInput . - - - Returns the integer value, as defined by the Unicode standard, for the first character of the input expression. - The character code for the first character in the input string. - A valid string. - - - A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine. - The angle, in radians, defined by the input cosine value. - The cosine of an angle. - - - A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine. - An angle, measured in radians. - The cosine of an angle. - - - A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine. - An angle, measured in radians. - The sine of an angle. - - - A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine. - An angle, measured in radians. - The sine of an angle. - - - A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent. - An angle, measured in radians. - The tangent of an angle. - - - A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent. - An angle, measured in radians. - The tangent of an angle. - - - Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value. - An angle, measured in radians. - The y-coordinate of a point. - The x-coordinate of a point. - - - Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value. - An angle, measured in radians. - The y-coordinate of a point. - The x-coordinate of a point. - - - Returns the trigonometric cosine of the specified angle, in radians, in the specified expression. - The trigonometric cosine of the specified angle. - An angle, measured in radians. - - - Returns the trigonometric cosine of the specified angle, in radians, in the specified expression. - The trigonometric cosine of the specified angle. - An angle, measured in radians. - - - A mathematical function that returns the trigonometric cotangent of the specified angle, in radians. - The trigonometric cotangent of the specified angle. - An angle, measured in radians. - - - A mathematical function that returns the trigonometric cotangent of the specified angle, in radians. - The trigonometric cotangent of the specified angle. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the corresponding angle in degrees for an angle specified in radians. - The specified angle converted to degrees. - An angle, measured in radians. - - - Returns the exponential value of the specified float expression. - The constant e raised to the power of the input value. - The input value. - - - Returns the exponential value of the specified float expression. - The constant e raised to the power of the input value. - The input value. - - - Returns the natural logarithm of the specified input value. - The natural logarithm of the input value. - A numeric expression. - - - Returns the natural logarithm of the specified input value. - The natural logarithm of the input value. - A numeric expression. - - - Returns the base-10 logarithm of the specified input value. - The base-10 logarithm of the input value. - A numeric expression. - - - Returns the base-10 logarithm of the specified input value. - The base-10 logarithm of the input value. - A numeric expression. - - - Returns the constant value of pi. - The numeric value of pi. - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees. - - - Returns the radian measure corresponding to the specified angle in degrees. - The radian measure of the specified angle. - The angle, measured in degrees. - - - Returns a pseudo-random float value from 0 through 1, exclusive. - The pseudo-random value. - - - Returns a pseudo-random float value from 0 through 1, exclusive. - The pseudo-random value. - The seed value. If seed is not specified, the SQL Server Database Engine assigns a seed value at random. For a specified seed value, the result returned is always the same. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression. - The sign of the input expression. - A numeric expression. - - - Returns the trigonometric sine of the specified angle. - The trigonometric sine of the input expression. - An angle, measured in radians. - - - Returns the trigonometric sine of the specified angle. - The trigonometric sine of the input expression. - An angle, measured in radians. - - - Returns the square root of the specified number. - The square root of the input value. - A numeric expression. - - - Returns the square root of the specified number. - The square root of the input value. - A numeric expression. - - - Returns the square of the specified number. - The square of the input value. - A numeric expression. - - - Returns the square of the specified number. - The square of the input value. - A numeric expression. - - - Returns the trigonometric tangent of the input expression. - The tangent of the input angle. - An angle, measured in radians. - - - Returns the trigonometric tangent of the input expression. - The tangent of the input angle. - An angle, measured in radians. - - - Returns a new datetime value based on adding an interval to the specified date. - The new date. - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns a new time span value based on adding an interval to the specified time span. - The new time span. - The part of the date to increment. - The value used to increment a date by a specified amount. - The time span to increment. - - - Returns a new date value based on adding an interval to the specified date. - The new point in time, expressed as a date and time of day, relative to Coordinated Universal Time (UTC). - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns a new datetime value based on adding an interval to the specified date. - - A of value that is the new date. - - The part of the date to increment. - The value used to increment a date by a specified amount. - The date to increment. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The value specifying the number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two Dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns the count of the specified datepart boundaries crossed between the specified start date and end date. - The number of time intervals between the two dates. - The part of the date to calculate the differing number of time intervals. - The first date. - The second date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns a character string that represents the specified datepart of the specified date. - The specified part of the specified date. - The part of the date to calculate the differing number of time intervals. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns an integer that represents the specified datepart of the specified date. - The specified datepart of the specified date. - The part of the date to return the value. - The date. - - - Returns the current database system timestamp as a datetime value without the database time zone offset. This value is derived from the operating system of the computer on which the instance of SQL Server is running. - The current database timestamp. - - - Returns the current database system timestamp as a datetime value. The database time zone offset is not included. This value represents the current UTC time (Coordinated Universal Time). This value is derived from the operating system of the computer on which the instance of SQL Server is running. - The current database UTC timestamp. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for length. - - - Returns the number of bytes used to represent any expression. - The number of bytes in the input value. - The value to be examined for data length. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input values. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input argument. - The checksum computed over the input value. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - The character array for which the checksum is calculated. - - - Returns the checksum value computed over the input arguments. - The checksum computed over the input values. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - The value for which the checksum is calculated. - - - Returns the current date and time. - The current date and time. - - - Returns the name of the current user. - The name of the current user. - - - Returns the workstation name. - The name of the workstation. - - - Returns a database user name corresponding to a specified identification number. - The user name. - A user ID. - - - Returns a database user name corresponding to a specified identification number. - The user name. - - - Indicates whether the input value is a valid numeric type. - 1 if the input expression is a valid numeric data type; otherwise, 0. - A string expression. - - - Indicates whether the input value is a valid date or time. - 1 if the input expression is a valid date or time value of datetime or smalldatetime data types; otherwise, 0. - The tested value. - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Returns a hierarchyid representing the nth ancestor of this. - A hierarchyid representing the nth ancestor of this. - The hierarchyid value. - n - - - Returns a child node of the parent. - The hierarchyid value. - null or the hierarchyid of a child of the current node. - null or the hierarchyid of a child of the current node. - - Returns one child node that is a descendant of the parent. - If parent is null, returns null. - If parent is not null, and both child1 and child2 are null, returns a child of parent. - If parent and child1 are not null, and child2 is null, returns a child of parent greater than child1. - If parent and child2 are not null and child1 is null, returns a child of parent less than child2. - If parent, child1, and child2 are not null, returns a child of parent greater than child1 and less than child2. - If child1 is not null and not a child of parent, an exception is raised. - If child2 is not null and not a child of parent, an exception is raised. - If child1 >= child2, an exception is raised. - - - - Returns an integer that represents the depth of the node this in the tree. - An integer that represents the depth of the node this in the tree. - The hierarchyid value. - - - Returns the root of the hierarchy tree. - The root of the hierarchy tree. - - - Returns true if this is a descendant of parent. - True if this is a descendant of parent. - The hierarchyid value. - parent - - - Returns a node whose path from the root is the path to newRoot, followed by the path from oldRoot to this. - Hierarchyid value. - The hierarchyid value. - oldRoot - newRoot - - - Converts the canonical string representation of a hierarchyid to a hierarchyid value. - Hierarchyid value. - input - - - - Indicates if the provider supports the parameter optimization described in EntityFramework6 GitHub issue #195. - - True since this provider supports the parameter optimization. - - - - The DbProviderServices implementation for the SqlClient provider for SQL Server. - - - Note that instance of this type also resolve additional provider services for Microsoft SQL Server - when this type is registered as an EF provider either using an entry in the application's config file - or through code-based registration in . - The services resolved are: - Requests for are resolved to a Singleton instance of - to create connections to LocalDB by default. - Requests for for the invariant name "System.Data.SqlClient" - for any server name are resolved to a delegate that returns a - to provide a non-retrying policy for SQL Server. - Requests for for the invariant name "System.Data.SqlClient" are - resolved to instances to provide default Migrations SQL - generation for SQL Server. - Requests for for the invariant name "System.Data.SqlClient" are - resolved to a Singleton instance of to provide default spatial - services for SQL Server. - - - - - This is the well-known string using in configuration files and code-based configuration as - the "provider invariant name" used to specify Microsoft SQL Server for ADO.NET and - Entity Framework provider services. - - - - - The Singleton instance of the SqlProviderServices type. - - - - - Set to the full name of the Microsoft.SqlServer.Types assembly to override the default selection - - - - - Get or sets a value indicating whether parameter values are truncated to - the scale (number of decimal places) defined for their corresponding columns when they are sent - to the database. A value of true indicates that objects - created for columns will have their - properties set, which will cause the parameter values to be truncated. If set to false - then the properties will not be set, avoiding the truncation - behavior of and allowing SQL Server to round values if necessary. - The default value is true to prevent breaking existing applications that depend on this - behavior. - - - - - Gets or sets a value indicating whether to use the SCOPE_IDENTITY() function to retrieve values - generated by the database for numeric columns during an INSERT operation. The default value of - true is recommended and can provide better performance if all numeric values are generated - using IDENTITY columns. If set to false, an OUTPUT clause will be used instead. An OUTPUT - clause makes it possible to retrieve values generated by sequences or other means. - - - - - Gets or sets a value indicating whether the ROW_NUMBER() function is used in sort expression - passed to the ORDER BY clause when OFFSET is present in query. The default value of true - is recommended to obtain query results that are stable for paging operations. The value of - false can be used for compatibility with previous versions of EF and will cause the sort - expression to be passed unmodified to the ORDER BY clause, which can lead to unstable results - if the ordering is ambiguous. - - - This flag only applies to SQL Server 2012 or later. This flag does not affect queries that have - already been translated to SQL and cached, therefore applications that need to set the value to - false for compatibility should do so before executing any queries. - - - - - Registers a handler to process non-error messages coming from the database provider. - - The connection to receive information for. - The handler to process messages. - - - - Create a Command Definition object, given the connection and command tree - - provider manifest that was determined from metadata - command tree for the statement - an executable command definition object - - - - See issue 2390 - cloning the DesignTimeVisible property on the - can cause deadlocks. - So here overriding to provide a method that does not clone DesignTimeVisible. - - the object to clone - a clone of the - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - - Returns provider manifest token for a given connection. - - Connection to find manifest token from. - The provider manifest token for the specified connection. - - - - Returns the provider manifest by using the specified version information. - - The token information associated with the provider manifest. - The provider manifest by using the specified version information. - - - - Gets a spatial data reader for SQL Server. - - The reader where the spatial data came from. - The manifest token associated with the provider manifest. - The spatial data reader. - - - - Gets a spatial data reader for SQL Server. - - The manifest token associated with the provider manifest. - The spatial data reader. - - - - Generates a data definition language (DDL) script that creates schema objects - (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection - parameter and targeted for the version of the database corresponding to the provider manifest token. - - The provider manifest token identifying the target version. - The structure of the database. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter - and targeted for the version of the database corresponding to the provider manifest token. - - - - - Create the database and the database objects. - If initial catalog is not specified, but AttachDBFilename is specified, we generate a random database name based on the AttachDBFilename. - Note: this causes pollution of the db, as when the connection string is later used, the mdf will get attached under a different name. - However if we try to replicate the name under which it would be attached, the following scenario would fail: - The file does not exist, but registered with database. - The user calls: If (DatabaseExists) DeleteDatabase - CreateDatabase - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - - Determines whether the database for the given connection exists. - There are three cases: - 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 then true, - if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise - if the there are no databases corresponding to the given file return false, otherwise throw. - Note: We open the connection to cover the scenario when the mdf exists, but is not attached. - Given that opening the connection would auto-attach it, it would not be appropriate to return false in this case. - Also note that checking for the existence of the file does not work for a remote server. (Dev11 #290487) - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - True if the provider can deduce the database only based on the connection. - - - - Determines whether the database for the given connection exists. - There are three cases: - 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 then true, - if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 - 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise - if the there are no databases corresponding to the given file return false, otherwise throw. - Note: We open the connection to cover the scenario when the mdf exists, but is not attached. - Given that opening the connection would auto-attach it, it would not be appropriate to return false in this case. - Also note that checking for the existence of the file does not work for a remote server. (Dev11 #290487) - For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 - - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - True if the provider can deduce the database only based on the connection. - - - - Delete the database for the given connection. - There are three cases: - 1. If Initial Catalog is specified (X) drop database X - 2. Else if AttachDBFilename is specified (F) drop all the databases corresponding to F - if none throw - 3. If niether the catalog not the file name is specified - throw - Note that directly deleting the files does not work for a remote server. However, even for not attached - databases the current logic would work assuming the user does: if (DatabaseExists) DeleteDatabase - - Connection - Timeout for internal commands. - Item Collection. - - - - Clones the connection. - - The original connection. - The factory to use. - Cloned connection - - - - Provider to convert provider agnostic migration operations into SQL commands - that can be run against a Microsoft SQL Server database. - - - - - Determines if a provider specific exception corresponds to a database-level permission denied error. - - The database exception. - true if the supplied exception corresponds to a database-level permission denied error; otherwise false. - - - - Converts a set of migration operations into Microsoft SQL Server specific SQL. - - The operations to be converted. - Token representing the version of SQL Server being targeted (i.e. "2005", "2008"). - A list of SQL statements to be executed to perform the migration operations. - - - - Generates the SQL body for a stored procedure. - - The command trees representing the commands for an insert, update or delete operation. - The rows affected parameter name. - The provider manifest token. - The SQL body for the stored procedure. - - - - Generates the specified update database operation which represents applying a series of migrations. - The generated script is idempotent, meaning it contains conditional logic to check if individual migrations - have already been applied and only apply the pending ones. - - The update database operation. - - - - Generates SQL for a . - Allows derived providers to handle additional operation types. - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Creates an empty connection for the current provider. - Allows derived providers to use connection other than . - - An empty connection for the current provider. - - - - Generates the specified create procedure operation. - - The create procedure operation. - - - - Generates the specified alter procedure operation. - - The alter procedure operation. - - - - Generates the specified drop procedure operation. - - The drop procedure operation. - - - - Generates SQL for a . This method differs from - in that it will - create the target database schema if it does not already exist. - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Writes CREATE TABLE SQL to the target writer. - - The operation to produce SQL for. - The target writer. - - - - Override this method to generate SQL when the definition of a table or its attributes are changed. - The default implementation of this method does nothing. - - The operation describing changes to the table. - - - - Generates SQL to mark a table as a system table. - Generated SQL should be added using the Statement method. - - The table to mark as a system table. - The to write the generated SQL to. - - - - Generates SQL to create a database schema. - Generated SQL should be added using the Statement method. - - The name of the schema to create. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Call this method to generate SQL that will attempt to drop the default constraint created - when a column is created. This method is usually called by code that overrides the creation or - altering of columns. - - The table to which the constraint applies. - The column to which the constraint applies. - The writer to which generated SQL should be written. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement or StatementBatch methods. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates the specified rename procedure operation. - - The rename procedure operation. - - - - Generates the specified move procedure operation. - - The move procedure operation. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for the given column model. This method is called by other methods that - process columns and can be overridden to change the SQL generated. - - The column for which SQL is being generated. - The writer to which generated SQL should be written. - - - - Returns the column default value to use for store-generated GUID columns when - no default value is explicitly specified in the migration. - Returns newsequentialid() for on-premises SQL Server 2005 and later. - Returns newid() for SQL Azure. - - Either newsequentialid() or newid() as described above. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL to specify a constant byte[] default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant bool default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant DateTime default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant DateTimeOffset default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant Guid default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant string default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant TimeSpan default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant hierarchyid default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant geogrpahy default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant geometry default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify the data type of a column. - This method just generates the actual type, not the SQL to create the column. - - The definition of the column. - SQL representing the data type. - - - - Generates a quoted name. The supplied name may or may not contain the schema. - - The name to be quoted. - The quoted name. - - - - Quotes an identifier for SQL Server. - - The identifier to be quoted. - The quoted identifier. - - - - Adds a new Statement to be executed against the database. - - The statement to be executed. - Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. - The batch terminator for the database provider. - - - - Gets a new that can be used to build SQL. - This is just a helper method to create a writer. Writing to the writer will - not cause SQL to be registered for execution. You must pass the generated - SQL to the Statement method. - - An empty text writer to use for SQL generation. - - - - Adds a new Statement to be executed against the database. - - The writer containing the SQL to be executed. - The batch terminator for the database provider. - - - - Breaks sql string into one or more statements, handling T-SQL utility statements as necessary. - - The SQL to split into one ore more statements to be executed. - Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails. - - - - Contains function stubs that expose SqlServer methods in Linq to Entities. - - - - Constructs a geography instance representing a Point instance from its x and y values and a spatial reference ID (SRID). - The constructed geography instance. - The x-coordinate of the Point being generated. - The y-coordinate of the Point being generated - The SRID of the geography instance. - - - Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance. - The Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance. - The geography value. - - - Returns a geometric object representing the union of all point values whose distance from a geography instance is less than or equal to a specified value, allowing for a specified tolerance. - The union of all point values whose distance from a geography instance is less than or equal to a specified value - The geography value. - The distance. - The specified tolerance. - Specifying whether the tolerance value is relative or absolute. - - - Returns the maximum angle between the point returned by EnvelopeCenter() and a point in the geography instance in degrees. - the maximum angle between the point returned by EnvelopeCenter(). - The geography value. - - - Returns a point that can be used as the center of a bounding circle for the geography instance. - A SqlGeography value that specifies the location of the center of a bounding circle. - The geography value. - - - Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available. - True if a geography instance potentially intersects another SqlGeography instance; otherwise, false. - The geography value. - Another geography instance to compare against the instance on which Filter is invoked. - - - Tests if the SqlGeography instance is the same as the specified type. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - The geography value. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - - - Returns the total number of rings in a Polygon instance. - The total number of rings. - The geography value. - - - Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance. - - Returns . - - The geography value. - The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number. - - - Returns the specified ring of the SqlGeography instance: 1 ≤ n ≤ NumRings(). - A SqlGeography object that represents the ring specified by n. - The geography value. - An int expression between 1 and the number of rings in a polygon instance. - - - Constructs a geometry instance representing a Point instance from its x and y values and a spatial reference ID (SRID). - The constructed geometry instance. - The x-coordinate of the Point being generated. - The y-coordinate of the Point being generated - The SRID of the geography instance. - - - Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance. - The Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geometry instance. - The geometry value. - - - Returns a geometric object representing the union of all point values whose distance from a geometry instance is less than or equal to a specified value, allowing for a specified tolerance. - The union of all point values whose distance from a geometry instance is less than or equal to a specified value - The geometry value. - The distance. - The specified tolerance. - Specifying whether the tolerance value is relative or absolute. - - - Tests if the SqlGeometry instance is the same as the specified type. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - The geometry value. - A string that specifies one of the 12 types exposed in the geography type hierarchy. - - - Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available. - True if a geography instance potentially intersects another SqlGeography instance; otherwise, false. - The geometry value. - Another geography instance to compare against the instance on which Filter is invoked. - - - Converts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium (OGC) type. - The converted geometry instance. - The geometry value. - - - Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance. - - Returns . - - The geometry value. - The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number. - - - - An implementation of to provide support for geospatial types when using - Entity Framework with Microsoft SQL Server. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Contains extension methods for the class. - - - - - Configures an awaiter used to await this to avoid - marshalling the continuation - back to the original context, but preserve the current culture and UI culture. - - - The type of the result produced by the associated . - - The task to be awaited on. - An object used to await this task. - - - - Configures an awaiter used to await this to avoid - marshalling the continuation - back to the original context, but preserve the current culture and UI culture. - - The task to be awaited on. - An object used to await this task. - - - - Provides an awaitable object that allows for awaits on that - preserve the culture. - - - The type of the result produced by the associated . - - This type is intended for compiler use only. - - - - Constructs a new instance of the class. - - The task to be awaited on. - - - Gets an awaiter used to await this . - An awaiter instance. - This method is intended for compiler user rather than use directly in code. - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was canceled. - The task completed in a Faulted state. - - - This method is not implemented and should not be called. - The action to invoke when the await operation completes. - - - - Schedules the continuation onto the associated with this - . - - The action to invoke when the await operation completes. - - The argument is null - (Nothing in Visual Basic). - - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - - Provides an awaitable object that allows for awaits on that - preserve the culture. - - This type is intended for compiler use only. - - - - Constructs a new instance of the class. - - The task to be awaited on. - - - Gets an awaiter used to await this . - An awaiter instance. - This method is intended for compiler user rather than use directly in code. - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was canceled. - The task completed in a Faulted state. - - - This method is not implemented and should not be called. - The action to invoke when the await operation completes. - - - - Schedules the continuation onto the associated with this - . - - The action to invoke when the await operation completes. - - The argument is null - (Nothing in Visual Basic). - - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - diff --git a/app/packages/EntityFramework.6.4.4/lib/netstandard2.1/EntityFramework.dll b/app/packages/EntityFramework.6.4.4/lib/netstandard2.1/EntityFramework.dll deleted file mode 100644 index 6c00a5d..0000000 Binary files a/app/packages/EntityFramework.6.4.4/lib/netstandard2.1/EntityFramework.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/lib/netstandard2.1/EntityFramework.xml b/app/packages/EntityFramework.6.4.4/lib/netstandard2.1/EntityFramework.xml deleted file mode 100644 index f1bed65..0000000 --- a/app/packages/EntityFramework.6.4.4/lib/netstandard2.1/EntityFramework.xml +++ /dev/null @@ -1,53958 +0,0 @@ - - - - EntityFramework - - - - - An abstract base type for types that implement the IExpressionVisitor interface to derive from. - - - - Implements the visitor pattern for the set clause. - The set clause. - - - Implements the visitor pattern for the modification clause. - The modification clause. - - - Implements the visitor pattern for the collection of modification clauses. - The modification clauses. - - - Implements the visitor pattern for the command tree. - The command tree. - - - Implements the visitor pattern for the delete command tree. - The delete command tree. - - - Implements the visitor pattern for the function command tree. - The function command tree. - - - Implements the visitor pattern for the insert command tree. - The insert command tree. - - - Implements the visitor pattern for the query command tree. - The query command tree. - - - Implements the visitor pattern for the update command tree. - The update command tree. - - - - An abstract base type for types that implement the IExpressionVisitor interface to derive from. - - - - - Convenience method to visit the specified . - - The DbUnaryExpression to visit. - - - is null - - - - - Convenience method to visit the specified . - - The DbBinaryExpression to visit. - - - is null - - - - - Convenience method to visit the specified . - - The DbExpressionBinding to visit. - - - is null - - - - - Convenience method for post-processing after a DbExpressionBinding has been visited. - - The previously visited DbExpressionBinding. - - - - Convenience method to visit the specified . - - The DbGroupExpressionBinding to visit. - - - is null - - - - - Convenience method indicating that the grouping keys of a have been visited and the aggregates are now about to be visited. - - The DbGroupExpressionBinding of the DbGroupByExpression - - - - Convenience method for post-processing after a DbGroupExpressionBinding has been visited. - - The previously visited DbGroupExpressionBinding. - - - - Convenience method indicating that the body of a Lambda is now about to be visited. - - The DbLambda that is about to be visited - - - is null - - - - - Convenience method for post-processing after a DbLambda has been visited. - - The previously visited DbLambda. - - - - Convenience method to visit the specified , if non-null. - - The expression to visit. - - - is null - - - - - Convenience method to visit each in the given list, if the list is non-null. - - The list of expressions to visit. - - - is null - - - - - Convenience method to visit each in the list, if the list is non-null. - - The list of aggregates to visit. - - - is null - - - - - Convenience method to visit the specified . - - The aggregate to visit. - - - is null - - - - - Called when an of an otherwise unrecognized type is encountered. - - The expression - - - is null - - - Always thrown if this method is called, since it indicates that - - is of an unsupported type - - - - - Visitor pattern method for . - - The DbConstantExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNullExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbVariableReferenceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbParameterReferenceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbFunctionExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLambdaExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbPropertyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbComparisonExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLikeExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbLimitExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsNullExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbArithmeticExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbAndExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbOrExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbInExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNotExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbDistinctExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbElementExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsEmptyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbUnionAllExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIntersectExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbExceptExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbOfTypeExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbTreatExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCastExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbIsOfExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCaseExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbNewInstanceExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRelationshipNavigationExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DeRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbRefKeyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbEntityRefExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbScanExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbFilterExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbProjectExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbCrossJoinExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbJoinExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbApplyExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbSkipExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbSortExpression that is being visited. - - - is null - - - - - Visitor pattern method for . - - The DbQuantifierExpression that is being visited. - - - is null - - - - Implements the basic functionality required by aggregates in a GroupBy clause. - - - - Gets the result type of this . - - - The result type of this . - - - - - Gets the list of expressions that define the arguments to this - - . - - - The list of expressions that define the arguments to this - - . - - - - Represents the logical AND of two Boolean arguments. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by the visitor . - visitor is null. - - - Represents an apply operation, which is the invocation of the specified function for each element in the specified input set. This class cannot be inherited. - - - - Gets the that specifies the function that is invoked for each element in the input set. - - - The that specifies the function that is invoked for each element in the input set. - - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by the visitor . - visitor is null. - - - - Represents an arithmetic operation applied to numeric arguments. - Addition, subtraction, multiplication, division, modulo, and negation are arithmetic operations. - This class cannot be inherited. - - - - - Gets the list of elements that define the current arguments. - - - A fixed-size list of elements. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Implements the basic functionality required by expressions that accept two expression operands. - - - - Gets the that defines the left argument. - - - The that defines the left argument. - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the required type for the left argument. - - - - - Gets the that defines the right argument. - - - The that defines the right argument. - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the required type for the right argument. - - - - - Represents the When, Then, and Else clauses of the - - . This class cannot be inherited. - - - - - Gets the When clauses of this . - - - The When clauses of this . - - - - - Gets the Then clauses of this . - - - The Then clauses of this . - - - - - Gets the Else clause of this . - - - The Else clause of this . - - The expression is null. - - The expression is not associated with the command tree of the - - ,or its result type is not equal or promotable to the result type of the - - . - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the type conversion of a single argument to the specified type. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - An immutable class that implements the basic functionality for the Query, Insert, Update, Delete, and function invocation command tree types. - - - - Gets a value indicating whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. The default value is true. - - For example (operand1 == operand2) will be translated as: - - (operand1 = operand2) - - if UseDatabaseNullSemantics is true, respectively - - (((operand1 = operand2) AND (NOT (operand1 IS NULL OR operand2 IS NULL))) OR ((operand1 IS NULL) AND (operand2 IS NULL))) - - if UseDatabaseNullSemantics is false. - - - true if database null comparison behavior is enabled, otherwise false . - - - - - Gets the name and corresponding type of each parameter that can be referenced within this - - . - - - The name and corresponding type of each parameter that can be referenced within this - - . - - - - - Gets the kind of this command tree. - - - - - Gets the metadata workspace used by this command tree. - - - - - Gets the data space in which metadata used by this command tree must reside. - - - - - Returns a that represents this command. - - - A that represents this command. - - - - - Describes the different "kinds" (classes) of command trees. - - - - - A query to retrieve data - - - - - Update existing data - - - - - Insert new data - - - - - Deleted existing data - - - - - Call a function - - - - Represents a comparison operation applied to two arguments. Equality, greater than, greater than or equal, less than, less than or equal, and inequality are comparison operations. This class cannot be inherited. - - DbComparisonExpression requires that its arguments have a common result type - that is equality comparable (for .Equals and .NotEquals), - order comparable (for .GreaterThan and .LessThan), - or both (for .GreaterThanOrEquals and .LessThanOrEquals). - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents different kinds of constants (literals). This class cannot be inherited. - - - Gets the constant value. - The constant value. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents an unconditional join operation between the given collection arguments. This class cannot be inherited. - - - - Gets a list that provides the input sets to the join. - - - A list that provides the input sets to the join. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents a single row delete operation expressed as a command tree. This class cannot be inherited. - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - A predicate used to determine which members of the target collection should be deleted. - - - - Gets an that specifies the predicate used to determine which members of the target collection should be deleted. - - - The predicate can include only the following elements: - - Equality expression - Constant expression - IsNull expression - Property expression - Reference expression to the target - And expression - Or expression - Not expression - - - - An that specifies the predicate used to determine which members of the target collection should be deleted. - - - - Gets the kind of this command tree. - The kind of this command tree. - - - Represents the an expression that retrieves an entity based on the specified reference. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Removes duplicate elements from the specified set argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the conversion of the specified set argument to a singleton. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents an expression that extracts a reference from the underlying entity instance. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the set subtraction operation between the left and right operands. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor. - visitor is null. - - - Represents the base type for all expressions. - - - Gets the type metadata for the result type of the expression. - The type metadata for the result type of the expression. - - - Gets the kind of the expression, which indicates the operation of this expression. - The kind of the expression, which indicates the operation of this expression. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - The type of the result produced by . - - - An instance of . - - The type of the result produced by visitor. - - - - Determines whether the specified is equal to the current DbExpression instance. - - - True if the specified is equal to the current DbExpression instance; otherwise, false. - - - The object to compare to the current . - - - - Serves as a hash function for the type. - A hash code for the current expression. - - - - Creates a that represents the specified binary value, which may be null - - - A that represents the specified binary value. - - The binary value on which the returned expression should be based. - - - - Enables implicit casting from a byte array. - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Boolean value. - - - A that represents the specified Boolean value. - - The Boolean value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) byte value. - - - A that represents the specified byte value. - - The byte value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified DateTime value. - - The DateTime value on which the returned expression should be based. - - - - Enables implicit casting from . - - The expression to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified DateTimeOffset value. - - The DateTimeOffset value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) decimal value. - - - A that represents the specified decimal value. - - The decimal value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) double value. - - - A that represents the specified double value. - - The double value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified - - value, which may be null. - - - A that represents the specified DbGeography value. - - The DbGeography value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified - - value, which may be null. - - - A that represents the specified DbGeometry value. - - The DbGeometry value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) - - value. - - - A that represents the specified Guid value. - - The Guid value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int16 value. - - - A that represents the specified Int16 value. - - The Int16 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int32 value. - - - A that represents the specified Int32 value. - - The Int32 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Int64 value. - - - A that represents the specified Int64 value. - - The Int64 value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified (nullable) Single value. - - - A that represents the specified Single value. - - The Single value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Creates a that represents the specified string value. - - - A that represents the specified string value. - - The string value on which the returned expression should be based. - - - - Enables implicit casting from . - - The value to be converted. - The converted value. - - - - Describes a binding for an expression. Conceptually similar to a foreach loop - in C#. The DbExpression property defines the collection being iterated over, - while the Var property provides a means to reference the current element - of the collection during the iteration. DbExpressionBinding is used to describe the set arguments - to relational expressions such as , - and . - - - - - - - Gets the that defines the input set. - - - The that defines the input set. - - The expression is null. - The expression is not associated with the command tree of the binding, or its result type is not equal or promotable to the result type of the current value of the property. - - - Gets the name assigned to the element variable. - The name assigned to the element variable. - - - Gets the type metadata of the element variable. - The type metadata of the element variable. - - - - Gets the that references the element variable. - - The variable reference. - - - - Contains values that each expression class uses to denote the operation it represents. The - - property of an - - can be retrieved to determine which operation that expression represents. - - - - - True for all. - - - - - Logical And. - - - - - True for any. - - - - - Conditional case statement. - - - - - Polymorphic type cast. - - - - - A constant value. - - - - - Cross apply - - - - - Cross join - - - - - Dereference. - - - - - Duplicate removal. - - - - - Division. - - - - - Set to singleton conversion. - - - - - Entity ref value retrieval. - - - - - Equality - - - - - Set subtraction - - - - - Restriction. - - - - - Full outer join - - - - - Invocation of a stand-alone function - - - - - Greater than. - - - - - Greater than or equal. - - - - - Grouping. - - - - - Inner join - - - - - Set intersection. - - - - - Empty set determination. - - - - - Null determination. - - - - - Type comparison (specified Type or Subtype). - - - - - Type comparison (specified Type only). - - - - - Left outer join - - - - - Less than. - - - - - Less than or equal. - - - - - String comparison. - - - - - Result count restriction (TOP n). - - - - - Subtraction. - - - - - Modulo. - - - - - Multiplication. - - - - - Instance, row, and set construction. - - - - - Logical Not. - - - - - Inequality. - - - - - Null. - - - - - Set members by type (or subtype). - - - - - Set members by (exact) type. - - - - - Logical Or. - - - - - Outer apply. - - - - - A reference to a parameter. - - - - - Addition. - - - - - Projection. - - - - - Retrieval of a static or instance property. - - - - - Reference. - - - - - Ref key value retrieval. - - - - - Navigation of a (composition or association) relationship. - - - - - Entity or relationship set scan. - - - - - Skip elements of an ordered collection. - - - - - Sorting. - - - - - Type conversion. - - - - - Negation. - - - - - Set union (with duplicates). - - - - - A reference to a variable. - - - - - Application of a lambda function - - - - - In. - - - - Defines the basic functionality that should be implemented by visitors that do not return a result value. - - - When overridden in a derived class, handles any expression of an unrecognized type. - The expression to be handled. - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - - The that is visited. - - - - - Visitor pattern method for DbInExpression. - - The DbInExpression that is being visited. - - - Defines the basic functionality that should be implemented by visitors that return a result value of a specific type. - The type of the result produced by the visitor. - - - When overridden in a derived class, handles any expression of an unrecognized type. - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern method for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - When overridden in a derived class, implements the visitor pattern for - - . - - A result value of a specific type. - - The that is being visited. - - - - - Typed visitor pattern method for DbInExpression. - - The DbInExpression that is being visited. - An instance of TResultType. - - - Represents a predicate applied to filter an input set. This produces the set of elements that satisfy the predicate. This class cannot be inherited. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets the that specifies the predicate used to filter the input set. - - - The that specifies the predicate used to filter the input set. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a Boolean type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Supports standard aggregate functions, such as MIN, MAX, AVG, SUM, and so on. This class cannot be inherited. - - - Gets a value indicating whether this aggregate is a distinct aggregate. - true if the aggregate is a distinct aggregate; otherwise, false. - - - Gets the method metadata that specifies the aggregate function to invoke. - The method metadata that specifies the aggregate function to invoke. - - - Represents the invocation of a database function. - - - - Constructs a new DbFunctionCommandTree that uses the specified metadata workspace, data space and function metadata - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - The that represents the function that is being invoked. - The expected result type for the function’s first result set. - The function's parameters. - - , or is null - - - does not represent a valid data space or - is a composable function - - - - - Gets the that represents the function that is being invoked. - - - The that represents the function that is being invoked. - - - - Gets the expected result type for the function’s first result set. - The expected result type for the function’s first result set. - - - Gets or sets the command tree kind. - The command tree kind. - - - Represents an invocation of a function. This class cannot be inherited. - - - Gets the metadata for the function to invoke. - The metadata for the function to invoke. - - - - Gets an list that provides the arguments to the function. - - - An list that provides the arguments to the function. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a collection of elements that compose a group. - - - Represents a group by operation. A group by operation is a grouping of the elements in the input set based on the specified key expressions followed by the application of the specified aggregates. This class cannot be inherited. - - - - Gets the that specifies the input set and provides access to the set element and group element variables. - - - The that specifies the input set and provides access to the set element and group element variables. - - - - - Gets a list that provides grouping keys. - - - A list that provides grouping keys. - - - - - Gets a list that provides the aggregates to apply. - - - A list that provides the aggregates to apply. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Defines the binding for the input set to a . - In addition to the properties of , DbGroupExpressionBinding - also provides access to the group element via the variable reference - and to the group aggregate via the property. - - - - - Gets the that defines the input set. - - - The that defines the input set. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the result type of the current value of the property. - - - - Gets the name assigned to the element variable. - The name assigned to the element variable. - - - Gets the type metadata of the element variable. - The type metadata of the element variable. - - - - Gets the that references the element variable. - - A reference to the element variable. - - - Gets the name assigned to the group element variable. - The name assigned to the group element variable. - - - Gets the type metadata of the group element variable. - The type metadata of the group element variable. - - - - Gets the that references the group element variable. - - A reference to the group element variable. - - - - Gets the that represents the collection of elements in the group. - - The elements in the group. - - - - Represents a boolean expression that tests whether a specified item matches any element in a list. - - - - - Gets a DbExpression that specifies the item to be matched. - - - - - Gets the list of DbExpression to test for a match. - - - - - The visitor pattern method for expression visitors that do not produce a result value. - - An instance of DbExpressionVisitor. - - - is null - - - - - The visitor pattern method for expression visitors that produce a result value of a specific type. - - An instance of a typed DbExpressionVisitor that produces a result value of type TResultType. - - The type of the result produced by - - - - is null - - - An instance of . - - - - Represents a single row insert operation expressed as a command tree. This class cannot be inherited. - - Represents a single row insert operation expressed as a canonical command tree. - When the property is set, the command returns a reader; otherwise, - it returns a scalar value indicating the number of rows affected. - - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - The list of insert set clauses that define the insert operation. . - A that specifies a projection of results to be returned, based on the modified rows. - - - Gets the list of insert set clauses that define the insert operation. - The list of insert set clauses that define the insert operation. - - - - Gets an that specifies a projection of results to be returned based on the modified rows. - - - An that specifies a projection of results to be returned based on the modified rows. null indicates that no results should be returned from this command. - - - - Gets the command tree kind. - The command tree kind. - - - Represents the set intersection operation between the left and right operands. This class cannot be inherited. - - DbIntersectExpression requires that its arguments have a common collection result type - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents an empty set determination applied to a single set argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents null determination applied to a single argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the type comparison of a single argument against the specified type. This class cannot be inherited. - - - Gets the type metadata that the type metadata of the argument should be compared to. - The type metadata that the type metadata of the argument should be compared to. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition. - - - - Gets the that provides the left input. - - - The that provides the left input. - - - - - Gets the that provides the right input. - - - The that provides the right input. - - - - Gets the join condition to apply. - The join condition to apply. - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a Boolean type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents a Lambda function that can be invoked to produce a - - . - - - - Gets the body of the lambda expression. - - A that represents the body of the lambda function. - - - - Gets the parameters of the lambda expression. - The list of lambda function parameters represented as DbVariableReferenceExpression objects. - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters - An expression that defines the logic of the Lambda function - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - - - is null or contains null, or - - is null - - - - contains more than one element with the same variable name. - - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters - An expression that defines the logic of the Lambda function - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - - - is null or contains null, or - - is null. - - - - contains more than one element with the same variable name. - - - - - Creates a new with a single argument of the specified type, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and single formal parameter. - - A that defines the EDM type of the argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A that defines the EDM type of the fifteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - or - - is null or produces a result of null. - - - - - Creates a new with arguments of the specified types, as defined by the specified function. - - A new DbLambda that describes an inline Lambda function with the specified body and formal parameters. - - A that defines the EDM type of the first argument to the Lambda function - - - A that defines the EDM type of the second argument to the Lambda function - - - A that defines the EDM type of the third argument to the Lambda function - - - A that defines the EDM type of the fourth argument to the Lambda function - - - A that defines the EDM type of the fifth argument to the Lambda function - - - A that defines the EDM type of the sixth argument to the Lambda function - - - A that defines the EDM type of the seventh argument to the Lambda function - - - A that defines the EDM type of the eighth argument to the Lambda function - - - A that defines the EDM type of the ninth argument to the Lambda function - - - A that defines the EDM type of the tenth argument to the Lambda function - - - A that defines the EDM type of the eleventh argument to the Lambda function - - - A that defines the EDM type of the twelfth argument to the Lambda function - - - A that defines the EDM type of the thirteenth argument to the Lambda function - - - A that defines the EDM type of the fourteenth argument to the Lambda function - - - A that defines the EDM type of the fifteenth argument to the Lambda function - - - A that defines the EDM type of the sixteenth argument to the Lambda function - - - A function that defines the logic of the Lambda function as a - - - - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, - - is null, or - - is null or produces a result of null. - - - - - Allows the application of a lambda function to arguments represented by - - objects. - - - - - Gets the representing the Lambda function applied by this expression. - - - The representing the Lambda function applied by this expression. - - - - - Gets a list that provides the arguments to which the Lambda function should be applied. - - - The list. - - - - The visitor pattern method for expression visitors that do not produce a result value. - - An instance of . - - visitor is null - - - The visitor pattern method for expression visitors that produce a result value of a specific type. - The type of the result produced by the expression visitor. - - An instance of a typed that produces a result value of type TResultType. - - The type of the result produced by visitor - visitor is null - - - Represents a string comparison against the specified pattern with an optional escape string. This class cannot be inherited. - - - Gets an expression that specifies the string to compare against the given pattern. - An expression that specifies the string to compare against the given pattern. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Gets an expression that specifies the pattern against which the given string should be compared. - An expression that specifies the pattern against which the given string should be compared. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Gets an expression that provides an optional escape string to use for the comparison. - An expression that provides an optional escape string to use for the comparison. - The expression is null. - - The expression is not associated with the command tree of - - , or its result type is not a string type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the restriction of the number of elements in the argument collection to the specified limit value. - - - Gets an expression that specifies the input collection. - An expression that specifies the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not a collection type. - - - - Gets an expression that specifies the limit on the number of elements returned from the input collection. - An expression that specifies the limit on the number of elements returned from the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - , or is not one of - - or - - , or its result type is not equal or promotable to a 64-bit integer type. - - - - - Gets whether the limit operation will include tied results. Including tied results might produce more results than specified by the - - value. - - true if the limit operation will include tied results; otherwise, false. The default is false. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Specifies a single clause in an insert or update modification operation, see - and - - - An abstract base class allows the possibility of patterns other than - Property = Value in future versions, e.g., - update SomeTable - set ComplexTypeColumn.SomeProperty() - where Id = 2 - - - - Represents a data manipulation language (DML) operation expressed as a command tree. - - - - Gets the that specifies the target table for the data manipulation language (DML) operation. - - - The that specifies the target table for the DML operation. - - - - Represents the construction of a new instance of a given type, including set and record types. This class cannot be inherited. - - - - Gets an list that provides the property/column values or set elements for the new instance. - - - An list that provides the property/column values or set elements for the new instance. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the logical NOT of a single Boolean argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a reference to a typed null literal. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the retrieval of elements of the specified type from the given set argument. This class cannot be inherited. - - - Gets the metadata of the type of elements that should be retrieved from the set argument. - The metadata of the type of elements that should be retrieved from the set argument. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the logical OR of two Boolean arguments. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a reference to a parameter declared on the command tree that contains this expression. This class cannot be inherited. - - - Gets the name of the referenced parameter. - The name of the referenced parameter. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the projection of a given input set over the specified expression. This class cannot be inherited. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets the that defines the projection. - - - The that defines the projection. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the reference type of the current projection. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Provides methods and properties for retrieving an instance property. This class cannot be inherited. - - - Gets the property metadata for the property to retrieve. - The property metadata for the property to retrieve. - - - - Gets a that defines the instance from which the property should be retrieved. - - - A that defines the instance from which the property should be retrieved. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the type that defines the property. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Creates a new key/value pair based on this property expression. - - A new key/value pair with the key and value derived from the - - . - - - - - Enables implicit casting to . - - The expression to be converted. - The converted value. - - - Represents a quantifier operation of the specified kind over the elements of the specified input set. This class cannot be inherited. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - Gets the Boolean predicate that should be evaluated for each element in the input set. - The Boolean predicate that should be evaluated for each element in the input set. - The expression is null. - - The expression is not associated with the command tree for the - - ,or its result type is not a Boolean type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a query operation expressed as a command tree. This class cannot be inherited. - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - A boolean that indicates whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. - A boolean that indicates whether - filter over projection simplification should be used. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - A boolean that indicates whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - When set to false the validation of the tree is turned off. - - - or - - is null - - - - does not represent a valid data space - - - - - Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics. - - The metadata workspace that the command tree should use. - The logical 'space' that metadata in the expressions used in this command tree must belong to. - - A that defines the logic of the query. - - - - or - - is null - - - - does not represent a valid data space - - - - - Gets an that defines the logic of the query operation. - - - An that defines the logic of the query operation. - - The expression is null. - The expression is associated with a different command tree. - - - Gets the kind of this command tree. - The kind of this command tree. - - - Represents a strongly typed reference to a specific instance within an entity set. This class cannot be inherited. - - - Gets the metadata for the entity set that contains the instance. - The metadata for the entity set that contains the instance. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents the retrieval of the key value of the specified Reference as a row. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents the navigation of a relationship. This class cannot be inherited. - - - Gets the metadata for the relationship over which navigation occurs. - The metadata for the relationship over which navigation occurs. - - - Gets the metadata for the relationship end to navigate from. - The metadata for the relationship end to navigate from. - - - Gets the metadata for the relationship end to navigate to. - The metadata for the relationship end to navigate to. - - - - Gets an that specifies the starting point of the navigation and must be a reference to an entity instance. - - - An that specifies the instance of the source relationship end from which navigation should occur. - - The expression is null. - - The expression is not associated with the command tree of the - - , or its result type is not equal or promotable to the reference type of the - - property. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Represents a 'scan' of all elements of a given entity set. - - - - Gets the metadata for the referenced entity or relationship set. - The metadata for the referenced entity or relationship set. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Specifies the clause in a modification operation that sets the value of a property. This class cannot be inherited. - - - - Gets an that specifies the property that should be updated. - - - An that specifies the property that should be updated. - - - - - Gets an that specifies the new value with which to update the property. - - - An that specifies the new value with which to update the property. - - - - - Skips a specified number of elements in the input set. - - can only be used after the input collection has been sorted as specified by the sort keys. - - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets a list that defines the sort order. - - - A list that defines the sort order. - - - - Gets an expression that specifies the number of elements to skip from the input collection. - An expression that specifies the number of elements to skip from the input collection. - The expression is null. - - The expression is not associated with the command tree of the - - ; the expression is not either a - - or a - - ; or the result type of the expression is not equal or promotable to a 64-bit integer type. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - - Specifies a sort key that can be used as part of the sort order in a - - . This class cannot be inherited. - - - - Gets a Boolean value indicating whether or not this sort key uses an ascending sort order. - true if this sort key uses an ascending sort order; otherwise, false. - - - Gets a string value that specifies the collation for this sort key. - A string value that specifies the collation for this sort key. - - - - Gets the that provides the value for this sort key. - - - The that provides the value for this sort key. - - - - Represents a sort operation applied to the elements of the specified input set based on the given sort keys. This class cannot be inherited. - - - - Gets the that specifies the input set. - - - The that specifies the input set. - - - - - Gets a list that defines the sort order. - - - A list that defines the sort order. - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by - visitor - - - visitor - is null. - - - Represents a type conversion operation applied to a polymorphic argument. This class cannot be inherited. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Implements the basic functionality required by expressions that accept a single expression argument. - - - - Gets the that defines the argument. - - - The that defines the argument. - - The expression is null. - - The expression is not associated with the command tree of a - - , or its result type is not equal or promotable to the required type for the argument. - - - - - Represents the set union (without duplicate removal) operation between the left and right operands. - - - DbUnionAllExpression requires that its arguments have a common collection result type - - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Represents a single-row update operation expressed as a command tree. This class cannot be inherited. - - Represents a single-row update operation expressed as a canonical command tree. - When the property is set, the command returns a reader; otherwise, - it returns a scalar indicating the number of rows affected. - - - - - Initializes a new instance of the class. - - The model this command will operate on. - The data space. - The target table for the data manipulation language (DML) operation. - A predicate used to determine which members of the target collection should be updated. - The list of update set clauses that define the update operation. - A that specifies a projection of results to be returned, based on the modified rows. - - - Gets the list of update set clauses that define the update operation. - The list of update set clauses that define the update operation. - - - - Gets an that specifies a projection of results to be returned, based on the modified rows. - - - An that specifies a projection of results to be returned based, on the modified rows. null indicates that no results should be returned from this command. - - - - - Gets an that specifies the predicate used to determine which members of the target collection should be updated. - - - An that specifies the predicate used to determine which members of the target collection should be updated. - - - - Gets the kind of this command tree. - The kind of this command tree. - - - Represents a reference to a variable that is currently in scope. This class cannot be inherited. - - - Gets the name of the referenced variable. - The name of the referenced variable. - - - Implements the visitor pattern for expressions that do not produce a result value. - - An instance of . - - visitor is null. - - - Implements the visitor pattern for expressions that produce a result value of a specific type. - - A result value of a specific type produced by - - . - - - An instance of a typed that produces a result value of a specific type. - - The type of the result produced by visitor . - visitor is null. - - - Visits each element of an expression tree from a given root expression. If any element changes, the tree is rebuilt back to the root and the new root expression is returned; otherwise the original root expression is returned. - - - - Initializes a new instance of the - - class. - - - - Replaces an old expression with a new one for the expression visitor. - The old expression. - The new expression. - - - Represents an event when the variable is rebound for the expression visitor. - The location of the variable. - The reference of the variable where it is rebounded. - - - Represents an event when entering the scope for the expression visitor with specified scope variables. - The collection of scope variables. - - - Exits the scope for the expression visitor. - - - Implements the visitor pattern for the expression. - The implemented visitor pattern. - The expression. - - - Implements the visitor pattern for the expression list. - The implemented visitor pattern. - The expression list. - - - Implements the visitor pattern for expression binding. - The implemented visitor pattern. - The expression binding. - - - Implements the visitor pattern for the expression binding list. - The implemented visitor pattern. - The expression binding list. - - - Implements the visitor pattern for the group expression binding. - The implemented visitor pattern. - The binding. - - - Implements the visitor pattern for the sort clause. - The implemented visitor pattern. - The sort clause. - - - Implements the visitor pattern for the sort order. - The implemented visitor pattern. - The sort order. - - - Implements the visitor pattern for the aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the function aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the group aggregate. - The implemented visitor pattern. - The aggregate. - - - Implements the visitor pattern for the Lambda function. - The implemented visitor pattern. - The lambda function. - - - Implements the visitor pattern for the type. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the type usage. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the entity set. - The implemented visitor pattern. - The entity set. - - - Implements the visitor pattern for the function. - The implemented visitor pattern. - The function metadata. - - - Implements the visitor pattern for the basic functionality required by expression types. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the different kinds of constants. - The implemented visitor. - The constant expression. - - - Implements the visitor pattern for a reference to a typed null literal. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a reference to a variable that is currently in scope. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a reference to a parameter declared on the command tree that contains this expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for an invocation of a function. - The implemented visitor. - The function expression. - - - Implements the visitor pattern for the application of a lambda function to arguments represented by DbExpression objects. - The implemented visitor. - The expression. - - - Implements the visitor pattern for retrieving an instance property. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the comparison operation applied to two arguments. - The implemented visitor. - The cast expression. - - - Implements the visitor pattern for a string comparison against the specified pattern with an optional escape string. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the restriction of the number of elements in the argument collection to the specified limit value. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the null determination applied to a single argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the arithmetic operation applied to numeric arguments. - The implemented visitor. - The arithmetic expression. - - - Implements the visitor pattern for the logical AND expression. - The implemented visitor. - The logical AND expression. - - - Implements the visitor pattern for the logical OR of two Boolean arguments. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the DbInExpression. - The implemented visitor. - The DbInExpression that is being visited. - - - Implements the visitor pattern for the logical NOT of a single Boolean argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the removed duplicate elements from the specified set argument. - The implemented visitor. - The distinct expression. - - - Implements the visitor pattern for the conversion of the specified set argument to a singleton the conversion of the specified set argument to a singleton. - The implemented visitor. - The element expression. - - - Implements the visitor pattern for an empty set determination applied to a single set argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set union operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set intersection operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the set subtraction operation between the left and right operands. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a type conversion operation applied to a polymorphic argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the type comparison of a single argument against the specified type. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the type conversion of a single argument to the specified type. - The implemented visitor. - The cast expression. - - - Implements the visitor pattern for the When, Then, and Else clauses. - The implemented visitor. - The case expression. - - - Implements the visitor pattern for the retrieval of elements of the specified type from the given set argument. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the construction of a new instance of a given type, including set and record types. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a strongly typed reference to a specific instance within an entity set. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the navigation of a relationship. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the expression that retrieves an entity based on the specified reference. - The implemented visitor. - The DEREF expression. - - - Implements the visitor pattern for the retrieval of the key value from the underlying reference value. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the expression that extracts a reference from the underlying entity instance. - The implemented visitor. - The entity reference expression. - - - Implements the visitor pattern for a scan over an entity set or relationship set, as indicated by the Target property. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a predicate applied to filter an input set. - The implemented visitor. - The filter expression. - - - Implements the visitor pattern for the projection of a given input set over the specified expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the unconditional join operation between the given collection arguments. - The implemented visitor. - The join expression. - - - Implements the visitor pattern for an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the invocation of the specified function for each element in the specified input set. - The implemented visitor. - The APPLY expression. - - - Implements the visitor pattern for a group by operation. - The implemented visitor. - The expression. - - - Implements the visitor pattern for the skip expression. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a sort key that can be used as part of the sort order. - The implemented visitor. - The expression. - - - Implements the visitor pattern for a quantifier operation of the specified kind over the elements of the specified input set. - The implemented visitor. - The expression. - - - - Provides an API to construct s and allows that API to be accessed as extension methods on the expression type itself. - - - - Returns the specified arguments as a key/value pair object. - A key/value pair object. - The value in the key/value pair. - The key in the key/value pair. - - - Returns the specified arguments as a key/value pair object. - A key/value pair object. - The value in the key/value pair. - The key in the key/value pair. - - - - Creates a new that uses a generated variable name to bind the given expression. - - A new expression binding with the specified expression and a generated variable name. - The expression to bind. - input is null. - input does not have a collection result. - - - - Creates a new that uses the specified variable name to bind the given expression - - A new expression binding with the specified expression and variable name. - The expression to bind. - The variable name that should be used for the binding. - input or varName is null. - input does not have a collection result. - - - Creates a new group expression binding that uses generated variable and group variable names to bind the given expression. - A new group expression binding with the specified expression and a generated variable name and group variable name. - The expression to bind. - input is null. - input does not have a collection result type. - - - - Creates a new that uses the specified variable name and group variable names to bind the given expression. - - A new group expression binding with the specified expression, variable name and group variable name. - The expression to bind. - The variable name that should be used for the binding. - The variable name that should be used to refer to the group when the new group expression binding is used in a group-by expression. - input, varName or groupVarName is null. - input does not have a collection result type. - - - - Creates a new . - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value false. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new that is applied in a distinct fashion. - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value true. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument is null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new . - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value false. - The function that defines the aggregate operation. - The argument over which the aggregate function should be calculated. - function or argument null. - function is not an aggregate function or has more than one argument, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new that is applied in a distinct fashion. - - A new function aggregate with a reference to the given function and argument. The function aggregate's Distinct property will have the value true. - The function that defines the aggregate operation. - The arguments over which the aggregate function should be calculated. - function or argument is null. - function is not an aggregate function, or the result type of argument is not equal or promotable to the parameter type of function. - - - - Creates a new over the specified argument - - The argument over which to perform the nest operation - A new group aggregate representing the elements of the group referenced by the given argument. - - - is null - - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new expression that describes an inline Lambda function with the specified body and formal parameters. - An expression that defines the logic of the Lambda function. - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - variables is null or contains null, or body is null. - variables contains more than one element with the same variable name. - - - - Creates a with the specified inline Lambda function implementation and formal parameters. - - A new expression that describes an inline Lambda function with the specified body and formal parameters. - An expression that defines the logic of the Lambda function. - - A collection that represents the formal parameters to the Lambda function. These variables are valid for use in the body expression. - - variables is null or contains null, or body is null. - variables contains more than one element with the same variable name. - - - - Creates a new with an ascending sort order and default collation. - - A new sort clause with the given sort key and ascending sort order. - The expression that defines the sort key. - key is null. - key does not have an order-comparable result type. - - - - Creates a new with a descending sort order and default collation. - - A new sort clause with the given sort key and descending sort order. - The expression that defines the sort key. - key is null. - key does not have an order-comparable result type. - - - - Creates a new with an ascending sort order and the specified collation. - - A new sort clause with the given sort key and collation, and ascending sort order. - The expression that defines the sort key. - The collation to sort under. - key is null. - collation is empty or contains only space characters. - key does not have an order-comparable result type. - - - - Creates a new with a descending sort order and the specified collation. - - A new sort clause with the given sort key and collation, and descending sort order. - The expression that defines the sort key. - The collation to sort under. - key is null. - collation is empty or contains only space characters. - key does not have an order-comparable result type. - - - - Creates a new that determines whether the given predicate holds for all elements of the input set. - - A new DbQuantifierExpression that represents the All operation. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - predicate does not have a Boolean result type. - - - - Creates a new that determines whether the given predicate holds for any element of the input set. - - A new DbQuantifierExpression that represents the Any operation. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - An that specifies the input set. - - - An that specifies logic to evaluate once for each member of the input set. - - input or apply is null. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set have an apply column value of null. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of OuterApply. - - - An that specifies the input set. - - - An that specifies logic to evaluate once for each member of the input set. - - input or apply is null. - - - - Creates a new that unconditionally joins the sets specified by the list of input expression bindings. - - - A new DbCrossJoinExpression, with an of CrossJoin, that represents the unconditional join of the input sets. - - A list of expression bindings that specifies the input sets. - inputs is null or contains null element. - inputs contains fewer than 2 expression bindings. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using LeftOuterJoin as the - - . - - - A new DbJoinExpression, with an of LeftOuterJoin, that represents the left outer join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expression bindings, on the specified join condition, using FullOuterJoin as the - - . - - - A new DbJoinExpression, with an of FullOuterJoin, that represents the full outer join operation applied to the left and right input sets under the given join condition. - - - An that specifies the left set argument. - - - An that specifies the right set argument. - - An expression that specifies the condition on which to join. - left, right or joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that filters the elements in the given input set using the specified predicate. - - A new DbFilterExpression that produces the filtered set. - An expression binding that specifies the input set. - An expression representing a predicate to evaluate for each member of the input set. - input or predicate is null. - predicate does not have a Boolean result type. - - - - Creates a new that groups the elements of the input set according to the specified group keys and applies the given aggregates. - - A new DbGroupByExpression with the specified input set, grouping keys and aggregates. - - A that specifies the input set. - - A list of string-expression pairs that define the grouping columns. - A list of expressions that specify aggregates to apply. - input, keys or aggregates is null, keys contains a null column key or expression, or aggregates contains a null aggregate column name or aggregate. - Both keys and aggregates are empty, or an invalid or duplicate column name was specified. - - - - Creates a new that projects the specified expression over the given input set. - - A new DbProjectExpression that represents the projection operation. - An expression binding that specifies the input set. - An expression to project over the set. - input or projection is null. - - - - Creates a new that sorts the given input set by the given sort specifications before skipping the specified number of elements. - - A new DbSkipExpression that represents the skip operation. - An expression binding that specifies the input set. - A list of sort specifications that determine how the elements of the input set should be sorted. - An expression the specifies how many elements of the ordered set to skip. - input, sortOrder or count is null, or sortOrder contains null. - - sortOrder is empty, or count is not or - - or has a result type that is not equal or promotable to a 64-bit integer type. - - - - - Creates a new that sorts the given input set by the specified sort specifications. - - A new DbSortExpression that represents the sort operation. - An expression binding that specifies the input set. - A list of sort specifications that determine how the elements of the input set should be sorted. - input or sortOrder is null, or sortOrder contains null. - sortOrder is empty. - - - - Creates a new , which represents a typed null value. - - An instance of DbNullExpression. - The type of the null value. - nullType is null. - - - - Gets a with the Boolean value true. - - - A with the Boolean value true. - - - - - Gets a with the Boolean value false. - - - A with the Boolean value false. - - - - - Creates a new with the given constant value. - - A new DbConstantExpression with the given value. - The constant value to represent. - value is null. - value is not an instance of a valid constant type. - - - - Creates a new of the specified primitive type with the given constant value. - - A new DbConstantExpression with the given value and a result type of constantType. - The type of the constant value. - The constant value to represent. - value or constantType is null. - value is not an instance of a valid constant type, constantType does not represent a primitive type, or value is of a different primitive type than that represented by constantType. - - - - Creates a new that references a parameter with the specified name and type. - - A DbParameterReferenceExpression that represents a reference to a parameter with the specified name and type. The result type of the expression will be the same as type. - The type of the referenced parameter. - The name of the referenced parameter. - - - - Creates a new that references a variable with the specified name and type. - - A DbVariableReferenceExpression that represents a reference to a variable with the specified name and type. The result type of the expression will be the same as type. - The type of the referenced variable. - The name of the referenced variable. - - - - Creates a new that references the specified entity or relationship set. - - A new DbScanExpression based on the specified entity or relationship set. - Metadata for the entity or relationship set to reference. - targetSet is null. - - - - Creates an that performs the logical And of the left and right arguments. - - A new DbAndExpression with the specified arguments. - A Boolean expression that specifies the left argument. - A Boolean expression that specifies the right argument. - left or right is null. - left and right does not have a Boolean result type. - - - - Creates an that performs the logical Or of the left and right arguments. - - A new DbOrExpression with the specified arguments. - A Boolean expression that specifies the left argument. - A Boolean expression that specifies the right argument. - left or right is null. - left or right does not have a Boolean result type. - - - - Creates a that matches the result of the specified - expression with the results of the constant expressions in the specified list. - - A DbExpression to be matched. - A list of DbConstantExpression to test for a match. - - A new DbInExpression with the specified arguments. - - - - or - - is null. - - - The result type of - - is different than the result type of an expression from - . - - - - - Creates a that performs the logical negation of the given argument. - - A new DbNotExpression with the specified argument. - A Boolean expression that specifies the argument. - argument is null. - argument does not have a Boolean result type. - - - - Creates a new that divides the left argument by the right argument. - - A new DbArithmeticExpression representing the division operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left or right. - - - - Creates a new that subtracts the right argument from the left argument. - - A new DbArithmeticExpression representing the subtraction operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that computes the remainder of the left argument divided by the right argument. - - A new DbArithmeticExpression representing the modulo operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that multiplies the left argument by the right argument. - - A new DbArithmeticExpression representing the multiplication operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that adds the left argument to the right argument. - - A new DbArithmeticExpression representing the addition operation. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common numeric result type exists between left and right. - - - - Creates a new that negates the value of the argument. - - A new DbArithmeticExpression representing the negation operation. - An expression that specifies the argument. - argument is null. - No numeric result type exists for argument. - - - - Creates a new that negates the value of the argument. - - A new DbArithmeticExpression representing the negation operation. - An expression that specifies the argument. - argument is null. - No numeric result type exists for argument. - - - - Creates a new that compares the left and right arguments for equality. - - A new DbComparisonExpression representing the equality comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common equality-comparable result type exists between left and right. - - - - Creates a new that compares the left and right arguments for inequality. - - A new DbComparisonExpression representing the inequality comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common equality-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is greater than the right argument. - - A new DbComparisonExpression representing the greater-than comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is less than the right argument. - - A new DbComparisonExpression representing the less-than comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is greater than or equal to the right argument. - - A new DbComparisonExpression representing the greater-than-or-equal-to comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common order-comparable result type exists between left and right. - - - - Creates a new that determines whether the left argument is less than or equal to the right argument. - - A new DbComparisonExpression representing the less-than-or-equal-to comparison. - An expression that specifies the left argument. - An expression that specifies the right argument. - left or right is null. - No common result type that is both equality- and order-comparable exists between left and right. - - - - Creates a new that determines whether the specified argument is null. - - A new DbIsNullExpression with the specified argument. - An expression that specifies the argument. - argument is null. - argument has a collection result type. - - - - Creates a new that compares the specified input string to the given pattern. - - A new DbLikeExpression with the specified input, pattern and a null escape. - An expression that specifies the input string. - An expression that specifies the pattern string. - Argument or pattern is null. - Argument or pattern does not have a string result type. - - - - Creates a new that compares the specified input string to the given pattern using the optional escape. - - A new DbLikeExpression with the specified input, pattern and escape. - An expression that specifies the input string. - An expression that specifies the pattern string. - An optional expression that specifies the escape string. - argument, pattern or escape is null. - argument, pattern or escape does not have a string result type. - - - - Creates a new that applies a cast operation to a polymorphic argument. - - A new DbCastExpression with the specified argument and target type. - The argument to which the cast should be applied. - Type metadata that specifies the type to cast to. - Argument or toType is null. - The specified cast is not valid. - - - - Creates a new . - - A new DbTreatExpression with the specified argument and type. - An expression that specifies the instance. - Type metadata for the treat-as type. - argument or treatType is null. - treatType is not in the same type hierarchy as the result type of argument. - - - - Creates a new that produces a set consisting of the elements of the given input set that are of the specified type. - - - A new DbOfTypeExpression with the specified set argument and type, and an ExpressionKind of - - . - - - A that specifies the input set. - - Type metadata for the type that elements of the input set must have to be included in the resulting set. - argument or type is null. - argument does not have a collection result type, or type is not a type in the same type hierarchy as the element type of the collection result type of argument. - - - - Creates a new that produces a set consisting of the elements of the given input set that are of exactly the specified type. - - - A new DbOfTypeExpression with the specified set argument and type, and an ExpressionKind of - - . - - - An that specifies the input set. - - Type metadata for the type that elements of the input set must match exactly to be included in the resulting set. - argument or type is null. - argument does not have a collection result type, or type is not a type in the same type hierarchy as the element type of the collection result type of argument. - - - - Creates a new that determines whether the given argument is of the specified type or a subtype. - - A new DbIsOfExpression with the specified instance and type and DbExpressionKind IsOf. - An expression that specifies the instance. - Type metadata that specifies the type that the instance's result type should be compared to. - argument or type is null. - type is not in the same type hierarchy as the result type of argument. - - - - Creates a new expression that determines whether the given argument is of the specified type, and only that type (not a subtype). - - A new DbIsOfExpression with the specified instance and type and DbExpressionKind IsOfOnly. - An expression that specifies the instance. - Type metadata that specifies the type that the instance's result type should be compared to. - argument or type is null. - type is not in the same type hierarchy as the result type of argument. - - - - Creates a new that retrieves a specific Entity given a reference expression. - - A new DbDerefExpression that retrieves the specified Entity. - - An that provides the reference. This expression must have a reference Type. - - argument is null. - argument does not have a reference result type. - - - - Creates a new that retrieves the ref of the specified entity in structural form. - - A new DbEntityRefExpression that retrieves a reference to the specified entity. - The expression that provides the entity. This expression must have an entity result type. - argument is null. - argument does not have an entity result type. - - - - Creates a new that encodes a reference to a specific entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet is null, or keyValues is null or contains null. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet is null, or keyValues is null or contains null. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity of a given type based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - The specific type of the referenced entity. This must be an entity type from the same hierarchy as the entity set's element type. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet or entityType is null, or keyValues is null or contains null. - entityType is not from the same type hierarchy (a subtype, supertype, or the same type) as entitySet's element type. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific entity of a given type based on key values. - - A new DbRefExpression that references the element with the specified key values in the given entity set. - The entity set in which the referenced element resides. - The specific type of the referenced entity. This must be an entity type from the same hierarchy as the entity set's element type. - - A collection of s that provide the key values. These expressions must match (in number, type, and order) the key properties of the referenced entity type. - - entitySet or entityType is null, or keyValues is null or contains null. - entityType is not from the same type hierarchy (a subtype, supertype, or the same type) as entitySet's element type. - The count of keyValues does not match the count of key members declared by the entitySet’s element type, or keyValues contains an expression with a result type that is not compatible with the type of the corresponding key member. - - - - Creates a new that encodes a reference to a specific Entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given Entity set. - The Entity set in which the referenced element resides. - - A that constructs a record with columns that match (in number, type, and order) the Key properties of the referenced Entity type. - - entitySet or keyRow is null. - keyRow does not have a record result type that matches the key properties of the referenced entity set's entity type. - - - - Creates a new that encodes a reference to a specific Entity based on key values. - - A new DbRefExpression that references the element with the specified key values in the given Entity set. - The Entity set in which the referenced element resides. - - A that constructs a record with columns that match (in number, type, and order) the Key properties of the referenced Entity type. - - The type of the Entity that the reference should refer to. - entitySet, keyRow or entityType is null. - entityType is not in the same type hierarchy as the entity set's entity type, or keyRow does not have a record result type that matches the key properties of the referenced entity set's entity type. - - - - Creates a new that retrieves the key values of the specified reference in structural form. - - A new DbRefKeyExpression that retrieves the key values of the specified reference. - The expression that provides the reference. This expression must have a reference Type with an Entity element type. - argument is null. - argument does not have a reference result type. - - - - Creates a new representing the navigation of a composition or association relationship. - - A new DbRelationshipNavigationExpression representing the navigation of the specified from and to relation ends of the specified relation type from the specified navigation source instance. - An expression that specifies the instance from which navigation should occur. - Metadata for the property that represents the end of the relationship from which navigation should occur. - Metadata for the property that represents the end of the relationship to which navigation should occur. - fromEnd, toEnd or navigateFrom is null. - fromEnd and toEnd are not declared by the same relationship type, or navigateFrom has a result type that is not compatible with the property type of fromEnd. - - - - Creates a new representing the navigation of a composition or association relationship. - - A new DbRelationshipNavigationExpression representing the navigation of the specified from and to relation ends of the specified relation type from the specified navigation source instance. - Metadata for the relation type that represents the relationship. - The name of the property of the relation type that represents the end of the relationship from which navigation should occur. - The name of the property of the relation type that represents the end of the relationship to which navigation should occur. - An expression the specifies the instance from which navigation should occur. - type, fromEndName, toEndName or navigateFrom is null. - type is not associated with this command tree's metadata workspace or navigateFrom is associated with a different command tree, or type does not declare a relation end property with name toEndName or fromEndName, or navigateFrom has a result type that is not compatible with the property type of the relation end property with name fromEndName. - - - - Creates a new that removes duplicates from the given set argument. - - A new DbDistinctExpression that represents the distinct operation applied to the specified set argument. - An expression that defines the set over which to perform the distinct operation. - argument is null. - argument does not have a collection result type. - - - - Creates a new that converts a set into a singleton. - - A DbElementExpression that represents the conversion of the set argument to a singleton. - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that determines whether the specified set argument is an empty set. - - A new DbIsEmptyExpression with the specified argument. - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that computes the subtraction of the right set argument from the left set argument. - - A new DbExceptExpression that represents the difference of the left argument from the right argument. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type exists between left and right. - - - - Creates a new that computes the intersection of the left and right set arguments. - - A new DbIntersectExpression that represents the intersection of the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type exists between left or right. - - - - Creates a new that computes the union of the left and right set arguments and does not remove duplicates. - - A new DbUnionAllExpression that union, including duplicates, of the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type with an equality-comparable element type exists between left and right. - - - - Creates a new that restricts the number of elements in the Argument collection to the specified count Limit value. Tied results are not included in the output. - - A new DbLimitExpression with the specified argument and count limit values that does not include tied results. - An expression that specifies the input collection. - An expression that specifies the limit value. - argument or count is null. - argument does not have a collection result type, or count does not have a result type that is equal or promotable to a 64-bit integer type. - - - - Creates a new . - - A new DbCaseExpression with the specified cases and default result. - A list of expressions that provide the conditional for of each case. - A list of expressions that provide the result of each case. - An expression that defines the result when no case is matched. - whenExpressions or thenExpressions is null or contains null, or elseExpression is null. - whenExpressions or thenExpressions is empty or whenExpressions contains an expression with a non-Boolean result type, or no common result type exists for all expressions in thenExpressions and elseExpression. - - - - Creates a new representing the invocation of the specified function with the given arguments. - - A new DbFunctionExpression representing the function invocation. - Metadata for the function to invoke. - A list of expressions that provide the arguments to the function. - function is null, or arguments is null or contains null. - The count of arguments does not equal the number of parameters declared by function, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding function parameter type. - - - - Creates a new representing the invocation of the specified function with the given arguments. - - A new DbFunctionExpression representing the function invocation. - Metadata for the function to invoke. - Expressions that provide the arguments to the function. - function is null, or arguments is null or contains null. - The count of arguments does not equal the number of parameters declared by function, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding function parameter type. - - - - Creates a new representing the application of the specified Lambda function to the given arguments. - - A new Expression representing the Lambda function application. - - A instance representing the Lambda function to apply. - - A list of expressions that provide the arguments. - lambda or arguments is null. - The count of arguments does not equal the number of variables declared by lambda, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding variable type. - - - - Creates a new representing the application of the specified Lambda function to the given arguments. - - A new expression representing the Lambda function application. - - A instance representing the Lambda function to apply. - - Expressions that provide the arguments. - lambda or arguments is null. - The count of arguments does not equal the number of variables declared by lambda, or arguments contains an expression that has a result type that is not equal or promotable to the corresponding variable type. - - - - Creates a new . If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance. - - A new DbNewInstanceExpression with the specified type and arguments. - The type of the new instance. - Expressions that specify values of the new instances, interpreted according to the instance's type. - instanceType or arguments is null, or arguments contains null. - arguments is empty or the result types of the contained expressions do not match the requirements of instanceType (as explained in the remarks section). - - - - Creates a new . If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance. - - A new DbNewInstanceExpression with the specified type and arguments. - The type of the new instance. - Expressions that specify values of the new instances, interpreted according to the instance's type. - instanceType or arguments is null, or arguments contains null. - arguments is empty or the result types of the contained expressions do not match the requirements of instanceType (as explained in the remarks section). - - - - Creates a new that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown. - - A new DbNewInstanceExpression with the specified collection type and arguments. - A list of expressions that provide the elements of the collection. - elements is null, or contains null. - elements is empty or contains expressions for which no common result type exists. - - - - Creates a new that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown. - - A new DbNewInstanceExpression with the specified collection type and arguments. - A list of expressions that provide the elements of the collection. - elements is null, or contains null.. - elements is empty or contains expressions for which no common result type exists. - - - - Creates a new that constructs an empty collection of the specified collection type. - - A new DbNewInstanceExpression with the specified collection type and an empty Arguments list. - The type metadata for the collection to create - collectionType is null. - collectionType is not a collection type. - - - - Creates a new that produces a row with the specified named columns and the given values, specified as expressions. - - A new DbNewInstanceExpression that represents the construction of the row. - A list of string-DbExpression key-value pairs that defines the structure and values of the row. - columnValues is null or contains an element with a null column name or expression. - columnValues is empty, or contains a duplicate or invalid column name. - - - - Creates a new representing the retrieval of the specified property. - - A new DbPropertyExpression representing the property retrieval. - The instance from which to retrieve the property. May be null if the property is static. - Metadata for the property to retrieve. - propertyMetadata is null or instance is null and the property is not static. - - - - Creates a new representing the retrieval of the specified navigation property. - - A new DbPropertyExpression representing the navigation property retrieval. - The instance from which to retrieve the navigation property. - Metadata for the navigation property to retrieve. - navigationProperty or instance is null. - - - - Creates a new representing the retrieval of the specified relationship end member. - - A new DbPropertyExpression representing the relationship end member retrieval. - The instance from which to retrieve the relationship end member. - Metadata for the relationship end member to retrieve. - relationshipEnd is null or instance is null and the property is not static. - - - - Creates a new representing the retrieval of the instance property with the specified name from the given instance. - - A new DbPropertyExpression that represents the property retrieval. - The instance from which to retrieve the property. - The name of the property to retrieve. - propertyName is null or instance is null and the property is not static. - No property with the specified name is declared by the type of instance. - - - - Creates a new representing setting a property to a value. - - The property to be set. - The value to set the property to. - The newly created set clause. - - - - Creates a new that determines whether the given predicate holds for all elements of the input set. - - A new DbQuantifierExpression that represents the All operation. - An expression that specifies the input set. - A method representing a predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - source does not have a collection result type. - The expression produced by Predicate does not have a Boolean result type. - - - - Creates a new that determines whether the specified set argument is non-empty. - - - A new applied to a new - - with the specified argument. - - An expression that specifies the input set. - source is null. - source does not have a collection result type. - - - - Creates a new that determines whether the specified set argument is non-empty. - - - A new applied to a new - - with the specified argument. - - An expression that specifies the input set. - argument is null. - argument does not have a collection result type. - - - - Creates a new that determines whether the given predicate holds for any element of the input set. - - A new DbQuantifierExpression that represents the Any operation. - An expression that specifies the input set. - A method representing the predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - source does not have a collection result type. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that specifies the logic to evaluate once for each member of the input set. - source or apply is null. - source does not have a collection result type. - The result of apply contains a name or expression that is null. - The result of apply contains a name or expression that is not valid in an expression binding. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set have an apply column value of null. - - - An new DbApplyExpression with the specified input and apply bindings and an - - of OuterApply. - - - A that specifies the input set. - - A method that specifies the logic to evaluate once for each member of the input set. - source or apply is null. - Source does not have a collection result type. - The result of apply contains a name or expression that is null. - The result of apply contains a name or expression that is not valid in an expression binding. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using FullOuterJoin as the - - . - - - A new DbJoinExpression, with an of FullOuterJoin, that represents the full outer join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the left and right expressions, on the specified join condition, using LeftOuterJoin as the - - . - - - A new DbJoinExpression, with an of LeftOuterJoin, that represents the left outer join operation applied to the left and right input sets under the given join condition. - - - A that specifies the left set argument. - - - A that specifies the right set argument. - - A method representing the condition on which to join. This method must produce an expression with a Boolean result type that provides the logic of the join condition. - left, right or joinCondition is null. - left or right does not have a collection result type. - The expression produced by joinCondition is null. - The expression produced by joinCondition does not have a Boolean result type. - - - - Creates a new that joins the sets specified by the outer and inner expressions, on an equality condition between the specified outer and inner keys, using InnerJoin as the - - . - - - A new DbJoinExpression, with an of InnerJoin, that represents the inner join operation applied to the left and right input sets under a join condition that compares the outer and inner key values for equality. - - - A that specifies the outer set argument. - - - A that specifies the inner set argument. - - A method that specifies how the outer key value should be derived from an element of the outer set. - A method that specifies how the inner key value should be derived from an element of the inner set. - outer, inner, outerKey or innerKey is null. - outer or inner does not have a collection result type. - The expression produced by outerKey or innerKey is null. - The expressions produced by outerKey and innerKey are not comparable for equality. - - - - Creates a new that projects the specified selector over the sets specified by the outer and inner expressions, joined on an equality condition between the specified outer and inner keys, using InnerJoin as the - - . - - - A new DbProjectExpression with the specified selector as its projection, and a new DbJoinExpression as its input. The input DbJoinExpression is created with an - - of InnerJoin, that represents the inner join operation applied to the left and right input sets under a join condition that compares the outer and inner key values for equality. - - - A that specifies the outer set argument. - - - A that specifies the inner set argument. - - A method that specifies how the outer key value should be derived from an element of the outer set. - A method that specifies how the inner key value should be derived from an element of the inner set. - - A method that specifies how an element of the result set should be derived from elements of the inner and outer sets. This method must produce an instance of a type that is compatible with Join and can be resolved into a - - . Compatibility requirements for TSelector are described in remarks. - - The type of the selector . - outer, inner, outerKey, innerKey or selector is null. - outer or inner does not have a collection result type. - The expression produced by outerKey or innerKey is null. - The result of selector is null after conversion to DbExpression. - The expressions produced by outerKey and innerKey is not comparable for equality. - The result of Selector is not compatible with SelectMany. - - - - Creates a new that sorts the given input set by the specified sort key, with ascending sort order and default collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that sorts the given input set by the specified sort key, with ascending sort order and the specified collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that sorts the given input set by the specified sort key, with descending sort order and default collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that sorts the given input set by the specified sort key, with descending sort order and the specified collation. - - A new DbSortExpression that represents the order-by operation. - An expression that specifies the input set. - A method that specifies how to derive the sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that selects the specified expression over the given input set. - - A new DbProjectExpression that represents the select operation. - An expression that specifies the input set. - - A method that specifies how to derive the projected expression given a member of the input set. This method must produce an instance of a type that is compatible with Select and can be resolved into a - - . Compatibility requirements for TProjection are described in remarks. - - The method result type of projection. - source or projection is null. - The result of projection is null. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. A - - is then created that selects the apply column from each row, producing the overall collection of apply results. - - - An new DbProjectExpression that selects the apply column from a new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that represents the logic to evaluate once for each member of the input set. - source or apply is null. - The expression produced by apply is null. - source does not have a collection result type. - The expression produced by apply does not have a collection type. - - - - Creates a new that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. A - - is then created that selects the specified selector over each row, producing the overall collection of results. - - - An new DbProjectExpression that selects the result of the given selector from a new DbApplyExpression with the specified input and apply bindings and an - - of CrossApply. - - - A that specifies the input set. - - A method that represents the logic to evaluate once for each member of the input set. - - A method that specifies how an element of the result set should be derived given an element of the input and apply sets. This method must produce an instance of a type that is compatible with SelectMany and can be resolved into a - - . Compatibility requirements for TSelector are described in remarks. - - The method result type of selector. - source, apply or selector is null. - The expression produced by apply is null. - The result of selector is null on conversion to DbExpression. - source does not have a collection result type. - The expression produced by apply does not have a collection type. does not have a collection type. - - - - Creates a new that skips the specified number of elements from the given sorted input set. - - A new DbSkipExpression that represents the skip operation. - - A that specifies the sorted input set. - - An expression the specifies how many elements of the ordered set to skip. - argument or count is null. - - count is not or - - or has a result type that is not equal or promotable to a 64-bit integer type. - - - - - Creates a new that restricts the number of elements in the Argument collection to the specified count Limit value. Tied results are not included in the output. - - A new DbLimitExpression with the specified argument and count limit values that does not include tied results. - An expression that specifies the input collection. - An expression that specifies the limit value. - argument or count is null. - argument does not have a collection result type, count does not have a result type that is equal or promotable to a 64-bit integer type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in ascending sort order and with default collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - sortKey does not have an order-comparable result type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in ascending sort order and with the specified collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in descending sort order and with default collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - source or sortKey is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable result type. - - - - Creates a new that with a sort order that includes the sort order of the given order input set together with the specified sort key in descending sort order and with the specified collation. - - A new DbSortExpression that represents the new overall order-by operation. - A DbSortExpression that specifies the ordered input set. - A method that specifies how to derive the additional sort key expression given a member of the input set. This method must produce an expression with an order-comparable result type that provides the sort key definition. - The collation to sort under. - source, sortKey or collation is null. - The expression produced by sortKey is null. - source does not have a collection result type. - The expression produced by sortKey does not have an order-comparable string result type. - collation is empty or contains only space characters. - - - - Creates a new that filters the elements in the given input set using the specified predicate. - - A new DbQuantifierExpression that represents the Any operation. - An expression that specifies the input set. - A method representing the predicate to evaluate for each member of the input set. This method must produce an expression with a Boolean result type that provides the predicate logic. - source or predicate is null. - The expression produced by predicate is null. - The expression produced by predicate does not have a Boolean result type. - - - - Creates a new that computes the union of the left and right set arguments with duplicates removed. - - A new DbExpression that computes the union, without duplicates, of the left and right arguments. - An expression that defines the left set argument. - An expression that defines the right set argument. - left or right is null. - No common collection result type with an equality-comparable element type exists between left and right. - - - - Provides an API to construct s that invoke canonical EDM functions, and allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'Avg' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the average value. - An expression that specifies the collection from which the average value should be computed. - - - - Creates a that invokes the canonical 'Count' function over the specified collection. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that produces the count value. - An expression that specifies the collection over which the count value should be computed. - - - - Creates a that invokes the canonical 'BigCount' function over the specified collection. The result type of the expression is Edm.Int64. - - A new DbFunctionExpression that produces the count value. - An expression that specifies the collection over which the count value should be computed. - - - - Creates a that invokes the canonical 'Max' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the maximum value. - An expression that specifies the collection from which the maximum value should be retrieved - - - - Creates a that invokes the canonical 'Min' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the minimum value. - An expression that specifies the collection from which the minimum value should be retrieved. - - - - Creates a that invokes the canonical 'Sum' function over the specified collection. The result type of the expression is the same as the element type of the collection. - - A new DbFunctionExpression that produces the sum. - An expression that specifies the collection from which the sum should be computed. - - - - Creates a that invokes the canonical 'StDev' function over the non-null members of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the standard deviation value over non-null members of the collection. - An expression that specifies the collection for which the standard deviation should be computed. - - - - Creates a that invokes the canonical 'StDevP' function over the population of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the standard deviation value. - An expression that specifies the collection for which the standard deviation should be computed. - - - - Creates a that invokes the canonical 'Var' function over the non-null members of the specified collection. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that produces the statistical variance value for the non-null members of the collection. - An expression that specifies the collection for which the statistical variance should be computed. - - - - Creates a that invokes the canonical 'VarP' function over the population of the specified collection. The result type of the expression Edm.Double. - - A new DbFunctionExpression that produces the statistical variance value. - An expression that specifies the collection for which the statistical variance should be computed. - - - - Creates a that invokes the canonical 'Concat' function with the specified arguments, which must each have a string result type. The result type of the expression is string. - - A new DbFunctionExpression that produces the concatenated string. - An expression that specifies the string that should appear first in the concatenated result string. - An expression that specifies the string that should appear second in the concatenated result string. - - - - Creates a that invokes the canonical 'Contains' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not searchedForString occurs within searchedString. - An expression that specifies the string to search for any occurrence of searchedForString. - An expression that specifies the string to search for in searchedString. - - - - Creates a that invokes the canonical 'EndsWith' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not stringArgument ends with suffix. - An expression that specifies the string that is searched at the end for string suffix. - An expression that specifies the target string that is searched for at the end of stringArgument. - - - - Creates a that invokes the canonical 'IndexOf' function with the specified arguments, which must each have a string result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the first index of stringToFind in searchString. - An expression that specifies the string to search for stringToFind. - An expression that specifies the string to locate within searchString should be checked. - - - - Creates a that invokes the canonical 'Left' function with the specified arguments, which must have a string and integer numeric result type. The result type of the expression is string. - - A new DbFunctionExpression that returns the leftmost substring of length from stringArgument. - An expression that specifies the string from which to extract the leftmost substring. - An expression that specifies the length of the leftmost substring to extract from stringArgument. - - - - Creates a that invokes the canonical 'Length' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the length of stringArgument. - An expression that specifies the string for which the length should be computed. - - - - Creates a that invokes the canonical 'Replace' function with the specified arguments, which must each have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression than returns a new string based on stringArgument where every occurrence of toReplace is replaced by replacement. - An expression that specifies the string in which to perform the replacement operation. - An expression that specifies the string that is replaced. - An expression that specifies the replacement string. - - - - Creates a that invokes the canonical 'Reverse' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that produces the reversed value of stringArgument. - An expression that specifies the string to reverse. - - - - Creates a that invokes the canonical 'Right' function with the specified arguments, which must have a string and integer numeric result type. The result type of the expression is string. - - A new DbFunctionExpression that returns the rightmost substring of length from stringArgument. - An expression that specifies the string from which to extract the rightmost substring. - An expression that specifies the length of the rightmost substring to extract from stringArgument. - - - - Creates a that invokes the canonical 'StartsWith' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether or not stringArgument starts with prefix. - An expression that specifies the string that is searched at the start for string prefix. - An expression that specifies the target string that is searched for at the start of stringArgument. - - - - Creates a that invokes the canonical 'Substring' function with the specified arguments, which must have a string and integer numeric result types. The result type of the expression is string. - - A new DbFunctionExpression that returns the substring of length from stringArgument starting at start. - An expression that specifies the string from which to extract the substring. - An expression that specifies the starting index from which the substring should be taken. - An expression that specifies the length of the substring. - - - - Creates a that invokes the canonical 'ToLower' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument converted to lower case. - An expression that specifies the string that should be converted to lower case. - - - - Creates a that invokes the canonical 'ToUpper' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument converted to upper case. - An expression that specifies the string that should be converted to upper case. - - - - Creates a that invokes the canonical 'Trim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with leading and trailing space removed. - An expression that specifies the string from which leading and trailing space should be removed. - - - - Creates a that invokes the canonical 'RTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with trailing space removed. - An expression that specifies the string from which trailing space should be removed. - - - - Creates a that invokes the canonical 'LTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string. - - A new DbFunctionExpression that returns value of stringArgument with leading space removed. - An expression that specifies the string from which leading space should be removed. - - - - Creates a that invokes the canonical 'Year' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer year value from dateValue. - An expression that specifies the value from which the year should be retrieved. - - - - Creates a that invokes the canonical 'Month' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer month value from dateValue. - An expression that specifies the value from which the month should be retrieved. - - - - Creates a that invokes the canonical 'Day' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer day value from dateValue. - An expression that specifies the value from which the day should be retrieved. - - - - Creates a that invokes the canonical 'DayOfYear' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer day of year value from dateValue. - An expression that specifies the value from which the day within the year should be retrieved. - - - - Creates a that invokes the canonical 'Hour' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer hour value from timeValue. - An expression that specifies the value from which the hour should be retrieved. - - - - Creates a that invokes the canonical 'Minute' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer minute value from timeValue. - An expression that specifies the value from which the minute should be retrieved. - - - - Creates a that invokes the canonical 'Second' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer second value from timeValue. - An expression that specifies the value from which the second should be retrieved. - - - - Creates a that invokes the canonical 'Millisecond' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer millisecond value from timeValue. - An expression that specifies the value from which the millisecond should be retrieved. - - - - Creates a that invokes the canonical 'GetTotalOffsetMinutes' function with the specified argument, which must have a DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of minutes dateTimeOffsetArgument is offset from GMT. - An expression that specifies the DateTimeOffset value from which the minute offset from GMT should be retrieved. - - - - Creates a that gets local DateTime using CAST expressions from specified argument, which must have a DateTimeOffset result type. The result type of the expression is DateTime. - - A new DbFunctionExpression that casts DATETIMEOFFSET to DATETIME2, discarding offset part - An expression that specifies the DateTimeOffset value. - - - - Creates a that gets UTC DateTime using CAST expressions from specified argument, which must have a DateTimeOffset result type. The result type of the expression is DateTime. - - A new DbFunctionExpression that casts DATETIMEOFFSET to Utc DATETIME2 - An expression that specifies the DateTimeOffset value. - - - - Creates a that invokes the canonical 'CurrentDateTime' function. - - A new DbFunctionExpression that returns the current date and time as an Edm.DateTime instance. - - - - Creates a that invokes the canonical 'CurrentDateTimeOffset' function. - - A new DbFunctionExpression that returns the current date and time as an Edm.DateTimeOffset instance. - - - - Creates a that invokes the canonical 'CurrentUtcDateTime' function. - - A new DbFunctionExpression that returns the current UTC date and time as an Edm.DateTime instance. - - - - Creates a that invokes the canonical 'TruncateTime' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that returns the value of dateValue with time set to zero. - An expression that specifies the value for which the time portion should be truncated. - - - - Creates a that invokes the canonical 'CreateDateTime' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.DateTime. - - A new DbFunctionExpression that returns a new DateTime based on the specified values. - An expression that provides the year value for the new DateTime instance. - An expression that provides the month value for the new DateTime instance. - An expression that provides the day value for the new DateTime instance. - An expression that provides the hour value for the new DateTime instance. - An expression that provides the minute value for the new DateTime instance. - An expression that provides the second value for the new DateTime instance. - - - - Creates a that invokes the canonical 'CreateDateTimeOffset' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.DateTimeOffset. - - A new DbFunctionExpression that returns a new DateTimeOffset based on the specified values. - An expression that provides the year value for the new DateTimeOffset instance. - An expression that provides the month value for the new DateTimeOffset instance. - An expression that provides the day value for the new DateTimeOffset instance. - An expression that provides the hour value for the new DateTimeOffset instance. - An expression that provides the minute value for the new DateTimeOffset instance. - An expression that provides the second value for the new DateTimeOffset instance. - An expression that provides the number of minutes in the time zone offset value for the new DateTimeOffset instance. - - - - Creates a that invokes the canonical 'CreateTime' function with the specified arguments. second must have a result type of Edm.Double, while all other arguments must have a result type of Edm.Int32. The result type of the expression is Edm.Time. - - A new DbFunctionExpression that returns a new Time based on the specified values. - An expression that provides the hour value for the new DateTime instance. - An expression that provides the minute value for the new DateTime instance. - An expression that provides the second value for the new DateTime instance. - - - - Creates a that invokes the canonical 'AddYears' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of years specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of years to add to dateValue. - - - - Creates a that invokes the canonical 'AddMonths' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of months specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of months to add to dateValue. - - - - Creates a that invokes the canonical 'AddDays' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. - - A new DbFunctionExpression that adds the number of days specified by addValue to the value specified by dateValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of days to add to dateValue. - - - - Creates a that invokes the canonical 'AddHours' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of hours specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of hours to add to timeValue. - - - - Creates a that invokes the canonical 'AddMinutes' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of minutes specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of minutes to add to timeValue. - - - - Creates a that invokes the canonical 'AddSeconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of seconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of seconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddMilliseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of milliseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of milliseconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddMicroseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of microseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of microseconds to add to timeValue. - - - - Creates a that invokes the canonical 'AddNanoseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. - - A new DbFunctionExpression that adds the number of nanoseconds specified by addValue to the value specified by timeValue. - An expression that specifies the value to which addValueshould be added. - An expression that specifies the number of nanoseconds to add to timeValue. - - - - Creates a that invokes the canonical 'DiffYears' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of years that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffMonths' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of months that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffDays' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of days that is the difference between dateValue1 and dateValue2. - An expression that specifies the first date value argument. - An expression that specifies the second date value argument. - - - - Creates a that invokes the canonical 'DiffHours' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of hours that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMinutes' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of minutes that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffSeconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of seconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMilliseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of milliseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffMicroseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of microseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'DiffNanoseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the number of nanoseconds that is the difference between timeValue1 and timeValue2. - An expression that specifies the first time value argument. - An expression that specifies the second time value argument. - - - - Creates a that invokes the canonical 'Round' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that rounds the specified argument to the nearest integer value. - An expression that specifies the numeric value to round. - - - - Creates a that invokes the canonical 'Round' function with the specified arguments, which must have a single, double or decimal, and integer result types. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that rounds the specified argument to the nearest integer value, with precision as specified by digits. - An expression that specifies the numeric value to round. - An expression that specifies the number of digits of precision to use when rounding. - - - - Creates a that invokes the canonical 'Floor' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the largest integer value not greater than value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Ceiling' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the smallest integer value not less than the value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Abs' function with the specified argument, which must each have a numeric result type. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that returns the absolute value of value. - An expression that specifies the numeric value. - - - - Creates a that invokes the canonical 'Truncate' function with the specified arguments, which must have a single, double or decimal, and integer result types. The result type of the expression is the same as the result type of value. - - A new DbFunctionExpression that truncates the specified argument to the nearest integer value, with precision as specified by digits. - An expression that specifies the numeric value to truncate. - An expression that specifies the number of digits of precision to use when truncating. - - - - Creates a that invokes the canonical 'Power' function with the specified arguments, which must have numeric result types. The result type of the expression is the same as the result type of baseArgument. - - A new DbFunctionExpression that returns the value of baseArgument raised to the power specified by exponent. - An expression that specifies the numeric value to raise to the given power. - An expression that specifies the power to which baseArgument should be raised. - - - - Creates a that invokes the canonical 'BitwiseAnd' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise AND of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'BitwiseOr' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise OR of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'BitwiseNot' function with the specified argument, which must have an integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise NOT of value. - An expression that specifies the first operand. - - - - Creates a that invokes the canonical 'BitwiseXor' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. - - A new DbFunctionExpression that returns the value produced by performing the bitwise XOR (exclusive OR) of value1 and value2. - An expression that specifies the first operand. - An expression that specifies the second operand. - - - - Creates a that invokes the canonical 'NewGuid' function. - - A new DbFunctionExpression that returns a new GUID value. - - - - Provides an API to construct s that invoke hierarchyid realted canonical EDM functions, and, where appropriate, allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'HierarchyIdParse' function with the - specified argument, which must have a string result type. - The result type of the expression is Edm.HierarchyId. - - An expression that provides the canonical representation of the hierarchyid value. - A new DbFunctionExpression that returns a new hierarchyid value based on the specified value. - - - is null. - - - No overload of the canonical 'HierarchyIdParse' function accept an argument with the result type of - - . - - - - - Creates a that invokes the canonical 'HierarchyIdGetRoot' function. - The result type of the expression is Edm.HierarchyId. - - A new DbFunctionExpression that returns a new root hierarchyid value. - - - - Creates a that invokes the canonical 'GetAncestor' function with the - specified argument, which must have an Int32 result type. - The result type of the expression is Edm.HierarchyId. - - An expression that specifies the hierarchyid value. - An expression that provides an integer value. - A new DbFunctionExpression that returns a hierarchyid. - - - or - - is null. - - - No overload of the canonical 'GetAncestor' function accept an argument with the result type of - - . - - - - - Creates a that invokes the canonical 'GetDescendant' function with the - specified argument, which must have a HierarchyId result type. - The result type of the expression is Edm.HierarchyId. - - An expression that specifies the hierarchyid value. - An expression that provides a hierarchyid value. - An expression that provides a hierarchyid value. - A new DbFunctionExpression that returns a hierarchyid. - - - or - - or - - is null. - - - No overload of the canonical 'GetDescendant' function accept an argument with the result type of - - and - - . - - - - - Creates a that invokes the canonical 'GetLevel' function. - The result type of the expression is Int32. - - An expression that specifies the hierarchyid value. - A new DbFunctionExpression that returns the level of the given hierarchyid. - - - is null. - - - - - Creates a that invokes the canonical 'IsDescendantOf' function with the - specified argument, which must have a HierarchyId result type. - The result type of the expression is Int32. - - An expression that specifies the hierarchyid value. - An expression that provides a hierarchyid value. - A new DbFunctionExpression that returns an integer value. - - - or - - is null. - - - No overload of the canonical 'IsDescendantOf' function accept an argument with the result type of - - . - - - - - Creates a that invokes the canonical 'GetReparentedValue' function with the - specified arguments, which must have a HierarchyId result type. - The result type of the expression is Edm.HierarchyId. - - An expression that specifies the hierarchyid value. - An expression that provides a hierarchyid value. - An expression that provides a hierarchyid value. - A new DbFunctionExpression that returns a hierarchyid. - - - or - - or - - is null. - - - No overload of the canonical 'GetReparentedValue' function accept an argument with the result type of - - and - - . - - - - - Provides a constructor-like means of calling - - . - - - - - Initializes a new instance of the class with the specified first column value and optional successive column values. - - A key-value pair that provides the first column in the new row instance. (required) - A key-value pairs that provide any subsequent columns in the new row instance. (optional) - - - - Creates a new that constructs a new row based on the columns contained in this Row instance. - - A new DbNewInstanceExpression that constructs a row with the same column names and DbExpression values as this Row instance. - - - - Converts the given Row instance into an instance of - - The Row instance. - A DbExpression based on the Row instance - - - is null. - - - - - - Provides an API to construct s that invoke spatial realted canonical EDM functions, and, where appropriate, allows that API to be accessed as extension methods on the expression type itself. - - - - - Creates a that invokes the canonical 'GeometryFromText' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geometry. Its value has the default coordinate system id (SRID) of the underlying provider. - - A new DbFunctionExpression that returns a new geometry value based on the specified value. - An expression that provides the well known text representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromText' function with the specified arguments. wellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the well known text representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPointFromText' function with the specified arguments. pointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry point value based on the specified values. - An expression that provides the well known text representation of the geometry point value. - An expression that provides the coordinate system id (SRID) of the geometry point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryLineFromText' function with the specified arguments. lineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry line value based on the specified values. - An expression that provides the well known text representation of the geometry line value. - An expression that provides the coordinate system id (SRID) of the geometry line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPolygonFromText' function with the specified arguments. polygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry polygon value based on the specified values. - An expression that provides the well known text representation of the geometry polygon value. - An expression that provides the coordinate system id (SRID) of the geometry polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPointFromText' function with the specified arguments. multiPointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-point value based on the specified values. - An expression that provides the well known text representation of the geometry multi-point value. - An expression that provides the coordinate system id (SRID) of the geometry multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiLineFromText' function with the specified arguments. multiLineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-line value based on the specified values. - An expression that provides the well known text representation of the geometry multi-line value. - An expression that provides the coordinate system id (SRID) of the geometry multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPolygonFromText' function with the specified arguments. multiPolygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-polygon value based on the specified values. - An expression that provides the well known text representation of the geometry multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geometry multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryCollectionFromText' function with the specified arguments. geometryCollectionWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry collection value based on the specified values. - An expression that provides the well known text representation of the geometry collection value. - An expression that provides the coordinate system id (SRID) of the geometry collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryFromBinary' function with the specified argument, which must have a binary result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified binary value. - An expression that provides the well known binary representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromBinary' function with the specified arguments. wellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the well known binary representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPointFromBinary' function with the specified arguments. pointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry point value based on the specified values. - An expression that provides the well known binary representation of the geometry point value. - An expression that provides the coordinate system id (SRID) of the geometry point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryLineFromBinary' function with the specified arguments. lineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry line value based on the specified values. - An expression that provides the well known binary representation of the geometry line value. - An expression that provides the coordinate system id (SRID) of the geometry line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryPolygonFromBinary' function with the specified arguments. polygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry polygon value based on the specified values. - An expression that provides the well known binary representation of the geometry polygon value. - An expression that provides the coordinate system id (SRID) of the geometry polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPointFromBinary' function with the specified arguments. multiPointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-point value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-point value. - An expression that provides the coordinate system id (SRID) of the geometry multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiLineFromBinary' function with the specified arguments. multiLineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-line value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-line value. - An expression that provides the coordinate system id (SRID) of the geometry multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryMultiPolygonFromBinary' function with the specified arguments. multiPolygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry multi-polygon value based on the specified values. - An expression that provides the well known binary representation of the geometry multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geometry multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryCollectionFromBinary' function with the specified arguments. geometryCollectionWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry collection value based on the specified values. - An expression that provides the well known binary representation of the geometry collection value. - An expression that provides the coordinate system id (SRID) of the geometry collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeometryFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified value with the default coordinate system id (SRID) of the underlying provider. - An expression that provides the Geography Markup Language (GML) representation of the geometry value. - - - - Creates a that invokes the canonical 'GeometryFromGml' function with the specified arguments. geometryMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a new geometry value based on the specified values. - An expression that provides the Geography Markup Language (GML) representation of the geometry value. - An expression that provides the coordinate system id (SRID) of the geometry value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromText' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography. Its value has the default coordinate system id (SRID) of the underlying provider. - - A new DbFunctionExpression that returns a new geography value based on the specified value. - An expression that provides the well known text representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromText' function with the specified arguments. wellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the well known text representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPointFromText' function with the specified arguments. - - The canonical 'GeographyPointFromText' function. - An expression that provides the well-known text representation of the geography point value. - An expression that provides the coordinate system id (SRID) of the geography point value's coordinate systempointWellKnownTextValue. - - - - Creates a that invokes the canonical 'GeographyLineFromText' function with the specified arguments. lineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography line value based on the specified values. - An expression that provides the well known text representation of the geography line value. - An expression that provides the coordinate system id (SRID) of the geography line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPolygonFromText' function with the specified arguments. polygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography polygon value based on the specified values. - An expression that provides the well known text representation of the geography polygon value. - An expression that provides the coordinate system id (SRID) of the geography polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPointFromText' function with the specified arguments. multiPointWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-point value based on the specified values. - An expression that provides the well known text representation of the geography multi-point value. - An expression that provides the coordinate system id (SRID) of the geography multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiLineFromText' function with the specified arguments. multiLineWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-line value based on the specified values. - An expression that provides the well known text representation of the geography multi-line value. - An expression that provides the coordinate system id (SRID) of the geography multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPolygonFromText' function with the specified arguments. multiPolygonWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-polygon value based on the specified values. - An expression that provides the well known text representation of the geography multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geography multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyCollectionFromText' function with the specified arguments. geographyCollectionWellKnownText must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography collection value based on the specified values. - An expression that provides the well known text representation of the geography collection value. - An expression that provides the coordinate system id (SRID) of the geography collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromBinary' function with the specified argument, which must have a binary result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified binary value. - An expression that provides the well known binary representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromBinary' function with the specified arguments. wellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the well known binary representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPointFromBinary' function with the specified arguments. pointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography point value based on the specified values. - An expression that provides the well known binary representation of the geography point value. - An expression that provides the coordinate system id (SRID) of the geography point value's coordinate systempointWellKnownBinaryValue. - - - - Creates a that invokes the canonical 'GeographyLineFromBinary' function with the specified arguments. lineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography line value based on the specified values. - An expression that provides the well known binary representation of the geography line value. - An expression that provides the coordinate system id (SRID) of the geography line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyPolygonFromBinary' function with the specified arguments. polygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography polygon value based on the specified values. - An expression that provides the well known binary representation of the geography polygon value. - An expression that provides the coordinate system id (SRID) of the geography polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPointFromBinary' function with the specified arguments. multiPointWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-point value based on the specified values. - An expression that provides the well known binary representation of the geography multi-point value. - An expression that provides the coordinate system id (SRID) of the geography multi-point value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiLineFromBinary' function with the specified arguments. multiLineWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-line value based on the specified values. - An expression that provides the well known binary representation of the geography multi-line value. - An expression that provides the coordinate system id (SRID) of the geography multi-line value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyMultiPolygonFromBinary' function with the specified arguments. multiPolygonWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography multi-polygon value based on the specified values. - An expression that provides the well known binary representation of the geography multi-polygon value. - An expression that provides the coordinate system id (SRID) of the geography multi-polygon value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyCollectionFromBinary' function with the specified arguments. geographyCollectionWellKnownBinaryValue must have a binary result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography collection value based on the specified values. - An expression that provides the well known binary representation of the geography collection value. - An expression that provides the coordinate system id (SRID) of the geography collection value's coordinate system. - - - - Creates a that invokes the canonical 'GeographyFromGml' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified value with the default coordinate system id (SRID) of the underlying provider. - An expression that provides the Geography Markup Language (GML) representation of the geography value. - - - - Creates a that invokes the canonical 'GeographyFromGml' function with the specified arguments. geographyMarkup must have a string result type, while coordinateSystemId must have an integer numeric result type. The result type of the expression is Edm.Geography. - - A new DbFunctionExpression that returns a new geography value based on the specified values. - An expression that provides the Geography Markup Language (GML) representation of the geography value. - An expression that provides the coordinate system id (SRID) of the geography value's coordinate system. - - - - Creates a that invokes the canonical 'CoordinateSystemId' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the integer SRID value from spatialValue. - An expression that specifies the value from which the coordinate system id (SRID) should be retrieved. - - - - Creates a that invokes the canonical 'SpatialTypeName' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the string Geometry Type name from spatialValue. - An expression that specifies the value from which the Geometry Type name should be retrieved. - - - - Creates a that invokes the canonical 'SpatialDimension' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns the Dimension value from spatialValue. - An expression that specifies the value from which the Dimension value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialEnvelope' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the minimum bounding box for geometryValue. - An expression that specifies the value from which the Envelope value should be retrieved. - - - - Creates a that invokes the canonical 'AsBinary' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Binary. - - A new DbFunctionExpression that returns the well known binary representation of spatialValue. - An expression that specifies the spatial value from which the well known binary representation should be produced. - - - - Creates a that invokes the canonical 'AsGml' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the Geography Markup Language (GML) representation of spatialValue. - An expression that specifies the spatial value from which the Geography Markup Language (GML) representation should be produced. - - - - Creates a that invokes the canonical 'AsText' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. - - A new DbFunctionExpression that returns the well known text representation of spatialValue. - An expression that specifies the spatial value from which the well known text representation should be produced. - - - - Creates a that invokes the canonical 'IsEmptySpatial' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue is empty. - An expression that specifies the spatial value from which the IsEmptySpatial value should be retrieved. - - - - Creates a that invokes the canonical 'IsSimpleGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue is a simple geometry. - The geometry value. - - - - Creates a that invokes the canonical 'SpatialBoundary' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the boundary for geometryValue. - An expression that specifies the geometry value from which the SpatialBoundary value should be retrieved. - - - - Creates a that invokes the canonical 'IsValidGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue is valid. - An expression that specifies the geometry value which should be tested for spatial validity. - - - - Creates a that invokes the canonical 'SpatialEquals' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 are equal. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for equality. - - - - Creates a that invokes the canonical 'SpatialDisjoint' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 are spatially disjoint. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for disjointness. - - - - Creates a that invokes the canonical 'SpatialIntersects' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether spatialValue1 and spatialValue2 intersect. - An expression that specifies the first spatial value. - An expression that specifies the spatial value that should be compared with spatialValue1 for intersection. - - - - Creates a that invokes the canonical 'SpatialTouches' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 touches geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialCrosses' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 crosses geometryValue2 intersect. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialWithin' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 is spatially within geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialContains' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 spatially contains geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialOverlaps' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 spatially overlaps geometryValue2. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - - - - Creates a that invokes the canonical 'SpatialRelate' function with the specified arguments, which must have Edm.Geometry and string result types. The result type of the expression is Edm.Boolean. - - A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 is spatially related to geometryValue2 according to the spatial relationship designated by intersectionPatternMatrix. - An expression that specifies the first geometry value. - An expression that specifies the geometry value that should be compared with geometryValue1. - An expression that specifies the text representation of the Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern used to compare geometryValue1 and geometryValue2. - - - - Creates a that invokes the canonical 'SpatialBuffer' function with the specified arguments, which must have a Edm.Geography or Edm.Geometry and Edm.Double result types. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns a geometry value representing all points less than or equal to distance from spatialValue. - An expression that specifies the spatial value. - An expression that specifies the buffer distance. - - - - Creates a that invokes the canonical 'Distance' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns the distance between the closest points in spatialValue1 and spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value from which the distance from spatialValue1 should be measured. - - - - Creates a that invokes the canonical 'SpatialConvexHull' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns the convex hull for geometryValue. - An expression that specifies the geometry value from which the convex hull value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialIntersection' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the spatial value representing the intersection of spatialValue1 and spatialValue2. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the intersection with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialUnion' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the spatial value representing the union of spatialValue1 and spatialValue2. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the union with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialDifference' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the geometry value representing the difference of spatialValue2 with spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the difference with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialSymmetricDifference' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. - - A new DbFunctionExpression that returns the geometry value representing the symmetric difference of spatialValue2 with spatialValue1. - An expression that specifies the first spatial value. - An expression that specifies the spatial value for which the symmetric difference with spatialValue1 should be computed. - - - - Creates a that invokes the canonical 'SpatialElementCount' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of elements in spatialValue or null if spatialValue is not a collection. - An expression that specifies the geography or geometry collection value from which the number of elements should be retrieved. - - - - Creates a that invokes the canonical 'SpatialElementAt' function with the specified arguments. The first argument must have an Edm.Geography or Edm.Geometry result type. The second argument must have an integer numeric result type. The result type of the expression is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the collection element at position indexValue in spatialValue or null if spatialValue is not a collection. - An expression that specifies the geography or geometry collection value. - An expression that specifies the position of the element to be retrieved from within the geometry or geography collection. - - - - Creates a that invokes the canonical 'XCoordinate' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the X co-ordinate value of geometryValue or null if geometryValue is not a point. - An expression that specifies the geometry point value from which the X co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'YCoordinate' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Y co-ordinate value of geometryValue or null if geometryValue is not a point. - An expression that specifies the geometry point value from which the Y co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'Elevation' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the elevation value of spatialValue or null if spatialValue is not a point. - An expression that specifies the spatial point value from which the elevation (Z co-ordinate) value should be retrieved. - - - - Creates a that invokes the canonical 'Measure' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Measure of spatialValue or null if spatialValue is not a point. - An expression that specifies the spatial point value from which the Measure (M) co-ordinate value should be retrieved. - - - - Creates a that invokes the canonical 'Latitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Latitude value of geographyValue or null if geographyValue is not a point. - An expression that specifies the geography point value from which the Latitude value should be retrieved. - - - - Creates a that invokes the canonical 'Longitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the Longitude value of geographyValue or null if geographyValue is not a point. - An expression that specifies the geography point value from which the Longitude value should be retrieved. - - - - Creates a that invokes the canonical 'SpatialLength' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the length of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the length should be retrieved. - - - - Creates a that invokes the canonical 'StartPoint' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the start point of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the start point should be retrieved. - - - - Creates a that invokes the canonical 'EndPoint' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the end point of spatialValue or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the end point should be retrieved. - - - - Creates a that invokes the canonical 'IsClosedSpatial' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is Edm.Boolean. - - A new DbFunctionExpression that returns either a Boolean value indicating whether spatialValue is closed, or null if spatialValue is not a curve. - An expression that specifies the spatial curve value from which the IsClosedSpatial value should be retrieved. - - - - Creates a that invokes the canonical 'IsRing' function with the specified argument, which must have an Edm.Geometry result type. The result type is Edm.Boolean. - - A new DbFunctionExpression that returns either a Boolean value indicating whether geometryValue is a ring (both closed and simple), or null if geometryValue is not a curve. - An expression that specifies the geometry curve value from which the IsRing value should be retrieved. - - - - Creates a that invokes the canonical 'PointCount' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of points in spatialValue or null if spatialValue is not a line string. - An expression that specifies the spatial line string value from which the number of points should be retrieved. - - - - Creates a that invokes the canonical 'PointAt' function with the specified arguments. The first argument must have an Edm.Geography or Edm.Geometry result type. The second argument must have an integer numeric result type. The result type of the expression is the same as that of spatialValue. - - A new DbFunctionExpression that returns either the point at position indexValue in spatialValue or null if spatialValue is not a line string. - An expression that specifies the spatial line string value. - An expression that specifies the position of the point to be retrieved from within the line string. - - - - Creates a that invokes the canonical 'Area' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. - - A new DbFunctionExpression that returns either the area of spatialValue or null if spatialValue is not a surface. - An expression that specifies the spatial surface value for which the area should be calculated. - - - - Creates a that invokes the canonical 'Centroid' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the centroid point of geometryValue (which may not be on the surface itself) or null if geometryValue is not a surface. - An expression that specifies the geometry surface value from which the centroid should be retrieved. - - - - Creates a that invokes the canonical 'PointOnSurface' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either a point guaranteed to be on the surface geometryValue or null if geometryValue is not a surface. - An expression that specifies the geometry surface value from which the point should be retrieved. - - - - Creates a that invokes the canonical 'ExteriorRing' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the exterior ring of the polygon geometryValue or null if geometryValue is not a polygon. - The geometry value. - - - - Creates a that invokes the canonical 'InteriorRingCount' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Int32. - - A new DbFunctionExpression that returns either the number of interior rings in the polygon geometryValue or null if geometryValue is not a polygon. - The geometry value. - - - - Creates a that invokes the canonical 'InteriorRingAt' function with the specified arguments. The first argument must have an Edm.Geometry result type. The second argument must have an integer numeric result types. The result type of the expression is Edm.Geometry. - - A new DbFunctionExpression that returns either the interior ring at position indexValue in geometryValue or null if geometryValue is not a polygon. - The geometry value. - An expression that specifies the position of the interior ring to be retrieved from within the polygon. - - - - Ensures that all metadata in a given expression tree is from the specified metadata workspace, - potentially rebinding and rebuilding the expressions to appropriate replacement metadata where necessary. - - - - Initializes a new instance of the class. - The target workspace. - - - Implements the visitor pattern for the entity set. - The implemented visitor pattern. - The entity set. - - - Implements the visitor pattern for the function. - The implemented visitor pattern. - The function metadata. - - - Implements the visitor pattern for the type. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for the type usage. - The implemented visitor pattern. - The type. - - - Implements the visitor pattern for retrieving an instance property. - The implemented visitor. - The expression. - - - - DataRecordInfo class providing a simple way to access both the type information and the column information. - - - - - Initializes a new object for a specific type with an enumerable collection of data fields. - - - The metadata for the type represented by this object, supplied by - - . - - - An enumerable collection of objects that represent column information. - - - - - Gets for this - - object. - - - A object. - - - - - Gets type info for this object as a object. - - - A value. - - - - - A prepared command definition, can be cached and reused to avoid - repreparing a command. - - - - - Initializes a new instance of the class using the supplied - - . - - - The supplied . - - method used to clone the - - - - Initializes a new instance of the class. - - - - - Creates and returns a object that can be executed. - - The command for database. - - - - Metadata Interface for all CLR types - - - - - Value to pass to GetInformation to get the StoreSchemaDefinition - - - - - Value to pass to GetInformation to get the StoreSchemaMapping - - - - - Value to pass to GetInformation to get the ConceptualSchemaDefinition - - - - - Value to pass to GetInformation to get the StoreSchemaDefinitionVersion3 - - - - - Value to pass to GetInformation to get the StoreSchemaMappingVersion3 - - - - - Value to pass to GetInformation to get the ConceptualSchemaDefinitionVersion3 - - - - - Name of the MaxLength Facet - - - - - Name of the Unicode Facet - - - - - Name of the FixedLength Facet - - - - - Name of the Precision Facet - - - - - Name of the Scale Facet - - - - - Name of the Nullable Facet - - - - - Name of the DefaultValue Facet - - - - - Name of the Collation Facet - - - - - Name of the SRID Facet - - - - - Name of the IsStrict Facet - - - - Gets the namespace used by this provider manifest. - The namespace used by this provider manifest. - - - When overridden in a derived class, returns the set of primitive types supported by the data source. - The set of types supported by the data source. - - - When overridden in a derived class, returns a collection of EDM functions supported by the provider manifest. - A collection of EDM functions. - - - Returns the FacetDescription objects for a particular type. - The FacetDescription objects for the specified EDM type. - The EDM type to return the facet description for. - - - When overridden in a derived class, this method maps the specified storage type and a set of facets for that type to an EDM type. - - The instance that describes an EDM type and a set of facets for that type. - - The TypeUsage instance that describes a storage type and a set of facets for that type to be mapped to the EDM type. - - - When overridden in a derived class, this method maps the specified EDM type and a set of facets for that type to a storage type. - The TypeUsage instance that describes a storage type and a set of facets for that type. - The TypeUsage instance that describes the EDM type and a set of facets for that type to be mapped to a storage type. - - - When overridden in a derived class, this method returns provider-specific information. - The XmlReader object that represents the mapping to the underlying data store catalog. - The type of the information to return. - - - Gets the provider-specific information. - The provider-specific information. - The type of the information to return. - - - Indicates if the provider supports escaping strings to be used as patterns in a Like expression. - True if this provider supports escaping strings to be used as patterns in a Like expression; otherwise, false. - If the provider supports escaping, the character that would be used as the escape character. - - - - Indicates if the provider supports the parameter optimization described in EntityFramework6 GitHub issue #195. - The default is false. Providers should change this to true only after testing that schema queries (as - used in the Database First flow) work correctly with this flag. - - True only if the provider supports the parameter optimization. - - - Provider writers should override this method to return the argument with the wildcards and the escape character escaped. This method is only used if SupportsEscapingLikeArgument returns true. - The argument with the wildcards and the escape character escaped. - The argument to be escaped. - - - - Returns a boolean that specifies whether the provider can handle expression trees - containing instances of DbInExpression. - The default implementation returns false for backwards compatibility. Derived classes can override this method. - - - false - - - - - Returns a boolean that specifies whether the provider can process expression trees not having DbProjectExpression - nodes directly under both Left and Right sides of DbUnionAllExpression and DbIntersectExpression - - - false - - - - - The factory for building command definitions; use the type of this object - as the argument to the IServiceProvider.GetService method on the provider - factory; - - - - - Constructs an EF provider that will use the obtained from - the app domain Singleton for resolving EF dependencies such - as the instance to use. - - - - - Registers a handler to process non-error messages coming from the database provider. - - The connection to receive information for. - The handler to process messages. - - - - Create a Command Definition object given a command tree. - - command tree for the statement - an executable command definition object - - This method simply delegates to the provider's implementation of CreateDbCommandDefinition. - - - - Creates command definition from specified manifest and command tree. - The created command definition. - The manifest. - The command tree. - - - Creates a command definition object for the specified provider manifest and command tree. - An executable command definition object. - Provider manifest previously retrieved from the store provider. - Command tree for the statement. - - - - Create the default DbCommandDefinition object based on the prototype command - This method is intended for provider writers to build a default command definition - from a command. - Note: This will clone the prototype - - the prototype command - an executable command definition object - - - - See issue 2390 - cloning the DesignTimeVisible property on the - DbCommand can cause deadlocks. So here allow sub-classes to override. - - the object to clone - a clone of the - - - - Clones the connection. - - The original connection. - Cloned connection - - - - Clones the connection. - - The original connection. - The factory to use. - Cloned connection - - - Returns provider manifest token given a connection. - The provider manifest token. - Connection to provider. - - - - Returns provider manifest token for a given connection. - - Connection to find manifest token from. - The provider manifest token for the specified connection. - - - Returns the provider manifest by using the specified version information. - The provider manifest by using the specified version information. - The token information associated with the provider manifest. - - - When overridden in a derived class, returns an instance of a class that derives from the DbProviderManifest. - A DbProviderManifest object that represents the provider manifest. - The token information associated with the provider manifest. - - - - Gets the that will be used to execute methods that use the specified connection. - - The database connection - - A new instance of - - - - - Gets the that will be used to execute methods that use the specified connection. - This overload should be used by the derived classes for compatability with wrapping providers. - - The database connection - The provider invariant name - - A new instance of - - - - - Gets the spatial data reader for the . - - The spatial data reader. - The reader where the spatial data came from. - The manifest token associated with the provider manifest. - - - - Gets the spatial services for the . - - The spatial services. - The token information associated with the provider manifest. - - - Gets the spatial services for the . - The spatial services. - Information about the database that the spatial services will be used for. - - - - Gets the spatial data reader for the . - - The spatial data reader. - The reader where the spatial data came from. - The token information associated with the provider manifest. - - - - Gets the spatial services for the . - - The spatial services. - The token information associated with the provider manifest. - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - - Sets the parameter value and appropriate facets for the given . - - The parameter. - The type of the parameter. - The value of the parameter. - - - Returns providers given a connection. - - The instanced based on the specified connection. - - Connection to provider. - - - Retrieves the DbProviderFactory based on the specified DbConnection. - The retrieved DbProviderFactory. - The connection to use. - - - - Return an XML reader which represents the CSDL description - - The name of the CSDL description. - An XmlReader that represents the CSDL description - - - Generates a data definition language (DDL script that creates schema objects (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token. - - Individual statements should be separated using database-specific DDL command separator. - It is expected that the generated script would be executed in the context of existing database with - sufficient permissions, and it should not include commands to create the database, but it may include - commands to create schemas and other auxiliary objects such as sequences, etc. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token. - The provider manifest token identifying the target version. - The structure of the database. - - - - Generates a data definition language (DDL) script that creates schema objects - (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection - parameter and targeted for the version of the database corresponding to the provider manifest token. - - - Individual statements should be separated using database-specific DDL command separator. - It is expected that the generated script would be executed in the context of existing database with - sufficient permissions, and it should not include commands to create the database, but it may include - commands to create schemas and other auxiliary objects such as sequences, etc. - - The provider manifest token identifying the target version. - The structure of the database. - - A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter - and targeted for the version of the database corresponding to the provider manifest token. - - - - - Creates a database indicated by connection and creates schema objects - (tables, primary keys, foreign keys) based on the contents of storeItemCollection. - - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - Creates a database indicated by connection and creates schema objects (tables, primary keys, foreign keys) based on the contents of a StoreItemCollection. - Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter. - Execution timeout for any commands needed to create the database. - The collection of all store items based on which the script should be created. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - - - Returns a value indicating whether a given database exists on the server. - True if the provider can deduce the database only based on the connection. - Connection to a database whose existence is checked by this method. - Execution timeout for any commands needed to determine the existence of the database. - The collection of all store items from the model. This parameter is no longer used for determining database existence. - Override this method to avoid creating the store item collection if it is not needed. The default implementation evaluates the Lazy and calls the other overload of this method. - - - Deletes the specified database. - Connection to an existing database that needs to be deleted. - Execution timeout for any commands needed to delete the database. - The collection of all store items from the model. This parameter is no longer used for database deletion. - - - Deletes the specified database. - Connection to an existing database that needs to be deleted. - Execution timeout for any commands needed to delete the database. - The collection of all store items from the model. This parameter is no longer used for database deletion. - - - - Expands |DataDirectory| in the given path if it begins with |DataDirectory| and returns the expanded path, - or returns the given string if it does not start with |DataDirectory|. - - The path to expand. - The expanded path. - - - - Adds an that will be used to resolve additional default provider - services when a derived type is registered as an EF provider either using an entry in the application's - config file or through code-based registration in . - - The resolver to add. - - - - Called to resolve additional default provider services when a derived type is registered as an - EF provider either using an entry in the application's config file or through code-based - registration in . The implementation of this method in this - class uses the resolvers added with the AddDependencyResolver method to resolve - dependencies. - - - Use this method to set, add, or change other provider-related services. Note that this method - will only be called for such services if they are not already explicitly configured in some - other way by the application. This allows providers to set default services while the - application is still able to override and explicitly configure each service if required. - See and for more details. - - The type of the service to be resolved. - An optional key providing additional information for resolving the service. - An instance of the given type, or null if the service could not be resolved. - - - - Called to resolve additional default provider services when a derived type is registered as an - EF provider either using an entry in the application's config file or through code-based - registration in . The implementation of this method in this - class uses the resolvers added with the AddDependencyResolver method to resolve - dependencies. - - The type of the service to be resolved. - An optional key providing additional information for resolving the service. - All registered services that satisfy the given type and key, or an empty enumeration if there are none. - - - - A specialization of the ProviderManifest that accepts an XmlReader - - - - - Initializes a new instance of the class. - - - An object that provides access to the XML data in the provider manifest file. - - - - Gets the namespace name supported by this provider manifest. - The namespace name supported by this provider manifest. - - - Gets the best mapped equivalent Entity Data Model (EDM) type for a specified storage type name. - The best mapped equivalent EDM type for a specified storage type name. - - - Gets the best mapped equivalent storage primitive type for a specified storage type name. - The best mapped equivalent storage primitive type for a specified storage type name. - - - Returns the list of facet descriptions for the specified Entity Data Model (EDM) type. - - A collection of type that contains the list of facet descriptions for the specified EDM type. - - - An for which the facet descriptions are to be retrieved. - - - - Returns the list of primitive types supported by the storage provider. - - A collection of type that contains the list of primitive types supported by the storage provider. - - - - Returns the list of provider-supported functions. - - A collection of type that contains the list of provider-supported functions. - - - - - EntityRecordInfo class providing a simple way to access both the type information and the column information. - - - - - Initializes a new instance of the class of a specific entity type with an enumerable collection of data fields and with specific key and entity set information. - - - The of the entity represented by the - - described by this - - object. - - - An enumerable collection of objects that represent column information. - - The key for the entity. - The entity set to which the entity belongs. - - - - Gets the for the entity. - - The key for the entity. - - - - Public Entity SQL Parser class. - - - - Parse the specified query with the specified parameters. - - The containing - - and information describing inline function definitions if any. - - The EntitySQL query to be parsed. - The optional query parameters. - - - - Parse a specific query with a specific set variables and produce a - - . - - - The containing - - and information describing inline function definitions if any. - - The query to be parsed. - The optional query variables. - - - - Entity SQL query inline function definition, returned as a part of . - - - - Function name. - - - Function body and parameters. - - - Start position of the function definition in the eSQL query text. - - - End position of the function definition in the eSQL query text. - - - - Entity SQL Parser result information. - - - - A command tree produced during parsing. - - - - List of objects describing query inline function definitions. - - - - - FieldMetadata class providing the correlation between the column ordinals and MemberMetadata. - - - - - Initializes a new object with the specified ordinal value and field type. - - An integer specified the location of the metadata. - The field type. - - - - Gets the type of field for this object. - - - The type of field for this object. - - - - - Gets the ordinal for this object. - - An integer representing the ordinal value. - - - - Get the hierarchyid value of a column with the given ordinal - - The ordinal of the column to retrieve the value - The hierarchyid value - - - - Class representing a parameter collection used in EntityCommand - - - - - Gets an Integer that contains the number of elements in the - - . - - - The number of elements in the as an Integer. - - - - - Gets a value that indicates whether the - - has a fixed size. - - - Returns true if the has a fixed size; otherwise false. - - - - - Gets a value that indicates whether the - - is read-only. - - - Returns true if the is read only; otherwise false. - - - - - Gets a value that indicates whether the - - is synchronized. - - - Returns true if the is synchronized; otherwise false. - - - - - Gets an object that can be used to synchronize access to the - - . - - - An object that can be used to synchronize access to the - - . - - - - - Adds the specified object to the . - - - The index of the new object. - - - An . - - - - - Adds an array of values to the end of the - - . - - - The values to add. - - - - - Removes all the objects from the - - . - - - - - Determines whether the specified is in this - - . - - - true if the contains the value; otherwise false. - - - The value. - - - - - Copies all the elements of the current to the specified one-dimensional - - starting at the specified destination index. - - - The one-dimensional that is the destination of the elements copied from the current - - . - - - A 32-bit integer that represents the index in the at which copying starts. - - - - - Returns an enumerator that iterates through the - - . - - - An for the - - . - - - - - - - - - - - Gets the location of the specified with the specified name. - - - The zero-based location of the specified with the specified case-sensitive name. Returns -1 when the object does not exist in the - - . - - - The case-sensitive name of the to find. - - - - - Gets the location of the specified in the collection. - - - The zero-based location of the specified that is a - - in the collection. Returns -1 when the object does not exist in the - - . - - - The to find. - - - - - Inserts an into the - - at the specified index. - - The zero-based index at which value should be inserted. - - An to be inserted in the - - . - - - - Removes the specified parameter from the collection. - - A object to remove from the collection. - - - - - Removes the from the - - at the specified index. - - - The zero-based index of the object to remove. - - - - - Removes the from the - - at the specified parameter name. - - - The name of the to remove. - - - - - - - - - - - Gets the at the specified index. - - - The at the specified index. - - The zero-based index of the parameter to retrieve. - The specified index does not exist. - - - - Gets the with the specified name. - - - The with the specified name. - - The name of the parameter to retrieve. - The specified name does not exist. - - - - Adds the specified object to the - - . - - - A new object. - - - The to add to the collection. - - - The specified in the value parameter is already added to this or another - - . - - - The parameter passed was not a . - - The value parameter is null. - - - - Adds a value to the end of the . - - - A object. - - The name of the parameter. - The value to be added. - - - - Adds a to the - - given the parameter name and the data type. - - - A new object. - - The name of the parameter. - - One of the values. - - - - - Adds a to the - - with the parameter name, the data type, and the column length. - - - A new object. - - The name of the parameter. - - One of the values. - - The column length. - - - - Adds an array of values to the end of the - - . - - - The values to add. - - - - - Determines whether the specified is in this - - . - - - true if the contains the value; otherwise false. - - - The value. - - - - - Copies all the elements of the current to the specified - - starting at the specified destination index. - - - The that is the destination of the elements copied from the current - - . - - - A 32-bit integer that represents the index in the - - at which copying starts. - - - - - Gets the location of the specified in the collection. - - - The zero-based location of the specified that is a - - in the collection. Returns -1 when the object does not exist in the - - . - - - The to find. - - - - - Inserts a object into the - - at the specified index. - - The zero-based index at which value should be inserted. - - A object to be inserted in the - - . - - - - - Removes the specified from the collection. - - - A object to remove from the collection. - - - The parameter is not a . - - The parameter does not exist in the collection. - - - - Class representing a command for the conceptual layer - - - - - Initializes a new instance of the class using the specified values. - - - - - Initializes a new instance of the class with the specified statement. - - The text of the command. - - - - Constructs the EntityCommand object with the given eSQL statement and the connection object to use - - The eSQL command text to execute - The connection object - Resolver used to resolve DbProviderServices - - - - Initializes a new instance of the class with the specified statement and connection. - - The text of the command. - A connection to the data source. - - - - Initializes a new instance of the class with the specified statement, connection and transaction. - - The text of the command. - A connection to the data source. - The transaction in which the command executes. - - - - Gets or sets the used by the - - . - - The connection used by the entity command. - - - - The connection object used for executing the command - - - - Gets or sets an Entity SQL statement that specifies a command or stored procedure to execute. - The Entity SQL statement that specifies a command or stored procedure to execute. - - - Gets or sets the command tree to execute; only one of the command tree or the command text can be set, not both. - The command tree to execute. - - - Gets or sets the amount of time to wait before timing out. - The time in seconds to wait for the command to execute. - - - - Gets or sets a value that indicates how the - - property is to be interpreted. - - - One of the enumeration values. - - - - Gets the parameters of the Entity SQL statement or stored procedure. - The parameters of the Entity SQL statement or stored procedure. - - - - The collection of parameters for this command - - - - - Gets or sets the transaction within which the executes. - - - The transaction within which the executes. - - - - - The transaction that this command executes in - - - - Gets or sets how command results are applied to rows being updated. - - One of the values. - - - - Gets or sets a value that indicates whether the command object should be visible in a Windows Form Designer control. - true if the command object should be visible in a Windows Form Designer control; otherwise, false. - - - Gets or sets a value that indicates whether the query plan caching is enabled. - true if the query plan caching is enabled; otherwise, false. - - - - Cancels the execution of an . - - - - - Creates a new instance of an object. - - - A new instance of an object. - - - - - Create and return a new parameter object representing a parameter in the eSQL statement - - The parameter object. - - - Executes the command and returns a data reader. - - The that contains the results. - - - - - Compiles the into a command tree and passes it to the underlying store provider for execution, then builds an - - out of the produced result set using the specified - - . - - - The that contains the results. - - - One of the values. - - - - - Asynchronously executes the command and returns a data reader for reading the results. May only - be called on CommandType.CommandText (otherwise, use the standard Execute* methods) - - - A task that represents the asynchronous operation. - The task result contains an EntityDataReader object. - - - For stored procedure commands, if called - for anything but an entity collection result - - - - - Asynchronously executes the command and returns a data reader for reading the results. May only - be called on CommandType.CommandText (otherwise, use the standard Execute* methods) - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an EntityDataReader object. - - - For stored procedure commands, if called - for anything but an entity collection result - - - - - Asynchronously executes the command and returns a data reader for reading the results. May only - be called on CommandType.CommandText (otherwise, use the standard Execute* methods) - - The behavior to use when executing the command - - A task that represents the asynchronous operation. - The task result contains an EntityDataReader object. - - - For stored procedure commands, if called - for anything but an entity collection result - - - - - Asynchronously executes the command and returns a data reader for reading the results. May only - be called on CommandType.CommandText (otherwise, use the standard Execute* methods) - - The behavior to use when executing the command - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an EntityDataReader object. - - - For stored procedure commands, if called - for anything but an entity collection result - - - - - Executes the command and returns a data reader for reading the results - - The behavior to use when executing the command - A DbDataReader object - - - - Asynchronously executes the command and returns a data reader for reading the results - - The behavior to use when executing the command - The token to monitor for cancellation requests - - A task that represents the asynchronous operation. - The task result contains a DbDataReader object. - - - - Executes the current command. - The number of rows affected. - - - - Asynchronously executes the command and discard any results returned from the command - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - Executes the command, and returns the first column of the first row in the result set. Additional columns or rows are ignored. - The first column of the first row in the result set, or a null reference (Nothing in Visual Basic) if the result set is empty. - - - Compiles the entity-level command and creates a prepared version of the command. - - - Compiles the entity-level command and returns the store command text. - The store command text. - - - - Class representing a connection for the conceptual layer. An entity connection may only - be initialized once (by opening the connection). It is subsequently not possible to change - the connection string, attach a new store connection, or change the store connection string. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class, based on the connection string. - - The provider-specific connection string. - An invalid connection string keyword has been provided, or a required connection string keyword has not been provided. - - - - Initializes a new instance of the class with a specified - and - . - - - A to be associated with this - . - - - The underlying data source connection for this object. - - The workspace or connection parameter is null. - The conceptual model is missing from the workspace.-or-The mapping file is missing from the workspace.-or-The storage model is missing from the workspace.-or-The connection is not in a closed state. - The connection is not from an ADO.NET Entity Framework-compatible provider. - - - - Constructs the EntityConnection from Metadata loaded in memory - - Workspace containing metadata information. - Store connection. - If set to true the store connection is disposed when the entity connection is disposed, otherwise the caller must dispose the store connection. - - - - Gets or sets the connection string. - - The connection string required to establish the initial connection to a data source. The default value is an empty string. On a closed connection, the currently set value is returned. If no value has been set, an empty string is returned. - - An attempt was made to set the property after the - - ’s was initialized. The - - is initialized either when the instance is constructed through the overload that takes a - - as a parameter, or when the - - instance has been opened. - - An invalid connection string keyword has been provided or a required connection string keyword has not been provided. - - - Gets the number of seconds to wait when attempting to establish a connection before ending the attempt and generating an error. - The time (in seconds) to wait for a connection to open. The default value is the underlying data provider's default time-out. - The value set is less than 0. - - - Gets the name of the current database, or the database that will be used after a connection is opened. - The value of the Database property of the underlying data provider. - The underlying data provider is not known. - - - - Gets the state of the EntityConnection, which is set up to track the state of the underlying - database connection that is wrapped by this EntityConnection. - - - - Gets the name or network address of the data source to connect to. - The name of the data source. The default value is an empty string. - The underlying data provider is not known. - - - Gets a string that contains the version of the data source to which the client is connected. - The version of the data source that is contained in the provider connection string. - The connection is closed. - - - - Gets the provider factory associated with EntityConnection - - - - - Provides access to the underlying data source connection that is used by the - - object. - - - The for the data source connection. - - - - - Returns the associated with this - - . - - - The associated with this - - . - - The inline connection string contains an invalid Metadata keyword value. - - - - Gets the current transaction that this connection is enlisted in. May be null. - - - - Establishes a connection to the data source by calling the underlying data provider's Open method. - An error occurs when you open the connection, or the name of the underlying data provider is not known. - The inline connection string contains an invalid Metadata keyword value. - - - - Asynchronously establishes a connection to the data store by calling the Open method on the underlying data provider - - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Creates a new instance of an , with the - - set to this - - . - - - An object. - - The name of the underlying data provider is not known. - - - - Create a new command object that uses this connection object - - The command object. - - - Closes the connection to the database. - An error occurred when closing the connection. - - - Not supported. - Not supported. - When the method is called. - - - Begins a transaction by using the underlying provider. - - A new . The returned - - instance can later be associated with the - - to execute the command under that transaction. - - - The underlying provider is not known.-or-The call to - - was made on an - - that already has a current transaction.-or-The state of the - - is not - - . - - - - Begins a transaction with the specified isolation level by using the underlying provider. - - A new . The returned - - instance can later be associated with the - - to execute the command under that transaction. - - The isolation level of the transaction. - - The underlying provider is not known.-or-The call to - - was made on an - - that already has a current transaction.-or-The state of the - - is not - - . - - - - - Begins a database transaction - - The isolation level of the transaction - An object representing the new transaction - - - - Enlists this in the specified transaction. - - The transaction object to enlist into. - - The state of the is not - - . - - - - - Cleans up this connection object - - true to release both managed and unmanaged resources; false to release only unmanaged resources - - - - Class representing a connection string builder for the entity client provider - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the supplied connection string. - - A provider-specific connection string to the underlying data source. - - - Gets or sets the name of a section as defined in a configuration file. - The name of a section in a configuration file. - - - Gets or sets the name of the underlying .NET Framework data provider in the connection string. - The invariant name of the underlying .NET Framework data provider. - - - Gets or sets the metadata locations in the connection string. - Gets or sets the metadata locations in the connection string. - - - Gets or sets the inner, provider-specific connection string. - The inner, provider-specific connection string. - - - - Gets a value that indicates whether the - - has a fixed size. - - - Returns true in every case, because the - - supplies a fixed-size collection of keyword/value pairs. - - - - - Gets an that contains the keys in the - - . - - - An that contains the keys in the - - . - - - - Gets or sets the value associated with the specified key. In C#, this property is the indexer. - The value associated with the specified key. - The key of the item to get or set. - keyword is a null reference (Nothing in Visual Basic). - Tried to add a key that does not exist in the available keys. - Invalid value in the connection string (specifically, a Boolean or numeric value was expected but not supplied). - - - - Clears the contents of the instance. - - - - - Determines whether the contains a specific key. - - - Returns true if the contains an element that has the specified key; otherwise, false. - - - The key to locate in the . - - - - - Retrieves a value corresponding to the supplied key from this - - . - - Returns true if keyword was found in the connection string; otherwise, false. - The key of the item to retrieve. - The value corresponding to keyword. - keyword contains a null value (Nothing in Visual Basic). - - - - Removes the entry with the specified key from the - - instance. - - Returns true if the key existed in the connection string and was removed; false if the key did not exist. - - The key of the keyword/value pair to be removed from the connection string in this - - . - - keyword is null (Nothing in Visual Basic) - - - - A data reader class for the entity client provider - - - - Gets a value indicating the depth of nesting for the current row. - The depth of nesting for the current row. - - - Gets the number of columns in the current row. - The number of columns in the current row. - - - - Gets a value that indicates whether this contains one or more rows. - - - true if the contains one or more rows; otherwise, false. - - - - - Gets a value indicating whether the is closed. - - - true if the is closed; otherwise, false. - - - - Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. - The number of rows changed, inserted, or deleted. Returns -1 for SELECT statements; 0 if no rows were affected or the statement failed. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The name of the column. - - - - Gets the number of fields in the that are not hidden. - - The number of fields that are not hidden. - - - - Gets for this - - . - - The information of a data record. - - - - Closes the object. - - - - - Releases the resources consumed by this and calls - - . - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the value of the specified column as a Boolean. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a byte. - The value of the specified column. - The zero-based column ordinal. - - - Reads a stream of bytes from the specified column, starting at location indicated by dataIndex , into the buffer, starting at the location indicated by bufferIndex . - The actual number of bytes read. - The zero-based column ordinal. - The index within the row from which to begin the read operation. - The buffer into which to copy the data. - The index with the buffer to which the data will be copied. - The maximum number of characters to read. - - - Gets the value of the specified column as a single character. - The value of the specified column. - The zero-based column ordinal. - - - Reads a stream of characters from the specified column, starting at location indicated by dataIndex , into the buffer, starting at the location indicated by bufferIndex . - The actual number of characters read. - The zero-based column ordinal. - The index within the row from which to begin the read operation. - The buffer into which to copy the data. - The index with the buffer to which the data will be copied. - The maximum number of characters to read. - - - Gets the name of the data type of the specified column. - The name of the data type. - The zero-based column ordinal. - - - - Gets the value of the specified column as a object. - - The value of the specified column. - The zero-based column ordinal. - - - - Returns a object for the requested column ordinal that can be overridden with a provider-specific implementation. - - A data reader. - The zero-based column ordinal. - - - - Gets the value of the specified column as a object. - - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a double-precision floating point number. - The value of the specified column. - The zero-based column ordinal. - - - Gets the data type of the specified column. - The data type of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a single-precision floating point number. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a globally-unique identifier (GUID). - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 16-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 32-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the value of the specified column as a 64-bit signed integer. - The value of the specified column. - The zero-based column ordinal. - - - Gets the name of the column, given the zero-based column ordinal. - The name of the specified column. - The zero-based column ordinal. - - - Gets the column ordinal given the name of the column. - The zero-based column ordinal. - The name of the column. - The name specified is not a valid column name. - - - Returns the provider-specific field type of the specified column. - - The object that describes the data type of the specified column. - - The zero-based column ordinal. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - Gets all provider-specific attribute columns in the collection for the current row. - - The number of instances of in the array. - - - An array of into which to copy the attribute columns. - - - - - Returns a that describes the column metadata of the - - . - - - A that describes the column metadata. - - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - - Gets the value of the specified column as an instance of . - - The value of the specified column. - The zero-based column ordinal. - - - Populates an array of objects with the column values of the current row. - - The number of instances of in the array. - - - An array of into which to copy the attribute columns. - - - - Gets a value that indicates whether the column contains nonexistent or missing values. - - true if the specified column is equivalent to ; otherwise, false. - - The zero-based column ordinal. - - - Advances the reader to the next result when reading the results of a batch of statements. - true if there are more result sets; otherwise, false. - - - - Asynchronously moves the reader to the next result set when reading a batch of statements - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if there are more result sets; false otherwise. - - - - Advances the reader to the next record in a result set. - true if there are more rows; otherwise, false. - - - - Asynchronously moves the reader to the next row of the current result set - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if there are more rows; false otherwise. - - - - - Returns an that can be used to iterate through the rows in the data reader. - - - An that can be used to iterate through the rows in the data reader. - - - - - Returns a nested . - - The nested data record. - The number of the DbDataRecord to return. - - - - Returns nested readers as objects. - - - The nested readers as objects. - - The ordinal of the column. - - - - Class representing a parameter used in EntityCommand - - - - - Initializes a new instance of the class using the default values. - - - - - Initializes a new instance of the class using the specified parameter name and data type. - - The name of the parameter. - - One of the values. - - - - - Initializes a new instance of the class using the specified parameter name, data type and size. - - The name of the parameter. - - One of the values. - - The size of the parameter. - - - - Initializes a new instance of the class using the specified properties. - - The name of the parameter. - - One of the values. - - The size of the parameter. - The name of the source column. - - - - Initializes a new instance of the class using the specified properties. - - The name of the parameter. - - One of the values. - - The size of the parameter. - - One of the values. - - true to indicate that the parameter accepts null values; otherwise, false. - The number of digits used to represent the value. - The number of decimal places to which value is resolved. - The name of the source column. - - One of the values. - - The value of the parameter. - - - Gets or sets the name of the entity parameter. - The name of the entity parameter. - - - - Gets or sets the of the parameter. - - - One of the values. - - - - Gets or sets the type of the parameter, expressed as an EdmType. - The type of the parameter, expressed as an EdmType. - - - - Gets or sets the number of digits used to represent the - - property. - - The number of digits used to represent the value. - - - - Gets or sets the number of decimal places to which - - is resolved. - - The number of decimal places to which value is resolved. - - - Gets or sets the value of the parameter. - The value of the parameter. - - - Gets or sets the direction of the parameter. - - One of the values. - - - - Gets or sets a value that indicates whether the parameter accepts null values. - true if null values are accepted; otherwise, false. - - - Gets or sets the maximum size of the data within the column. - The maximum size of the data within the column. - - - - Gets or sets the name of the source column mapped to the and used for loading or returning the - - . - - The name of the source column mapped to the dataset and used for loading or returning the value. - - - Gets or sets a value that indicates whether source column is nullable. - true if source column is nullable; otherwise, false. - - - - Gets or sets the to use when loading the value. - - - One of the values. - - - - - Resets the type associated with the . - - - - Returns a string representation of the parameter. - A string representation of the parameter. - - - - Class representing a provider factory for the entity client provider - - - - - A singleton object for the entity client provider factory object. - This remains a public field (not property) because DbProviderFactory expects a field. - - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Throws a . This method is currently not supported. - - This method is currently not supported. - - - - Returns a new instance of the provider's class that implements the - - class. - - - A new instance of . - - - - - Returns the requested class. - - - A new instance of . The supported types are - - , - - , and - - . Returns null (or Nothing in Visual Basic) for every other type. - - - The to return. - - - - - Class representing a transaction for the conceptual layer - - - - - Gets for this - - . - - - An to the underlying data source. - - - - - The connection object owning this transaction object - - - - - Gets the isolation level of this . - - - An enumeration value that represents the isolation level of the underlying transaction. - - - - - Gets the DbTransaction for the underlying provider transaction. - - - - Commits the underlying transaction. - - - Rolls back the underlying transaction. - - - - Cleans up this transaction object - - true to release both managed and unmanaged resources; false to release only unmanaged resources - - - - Represents a failure while trying to prepare or execute a CommandCompilation - This exception is intended to provide a common exception that people can catch to - hold provider exceptions (SqlException, OracleException) when using the EntityCommand - to execute statements. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The message that describes the error. - - - - Initializes a new instance of . - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents a failure while trying to prepare or execute a CommandExecution - This exception is intended to provide a common exception that people can catch to - hold provider exceptions (SqlException, OracleException) when using the EntityCommand - to execute statements. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The message that describes the error. - - - - Initializes a new instance of . - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Provider exception - Used by the entity client. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - - - Initializes a new instance of the class. - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - An identifier for an entity. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with an entity set name and a generic - - collection. - - - A that is the entity set name qualified by the entity container name. - - - A generic collection.Each key/value pair has a property name as the key and the value of that property as the value. There should be one pair for each property that is part of the - - . The order of the key/value pairs is not important, but each key property should be included. The property names are simple names that are not qualified with an entity type name or the schema name. - - - - - Initializes a new instance of the class with an entity set name and an - - collection of - - objects. - - - A that is the entity set name qualified by the entity container name. - - - An collection of - - objects with which to initialize the key. - - - - - Initializes a new instance of the class with an entity set name and specific entity key pair. - - - A that is the entity set name qualified by the entity container name. - - - A that is the name of the key. - - - An that is the key value. - - - - - Gets a singleton EntityKey by which a read-only entity is identified. - - - - - Gets a singleton EntityKey identifying an entity resulted from a failed TREAT. - - - - Gets or sets the name of the entity set. - - A value that is the name of the entity set for the entity to which the - - belongs. - - - - Gets or sets the name of the entity container. - - A value that is the name of the entity container for the entity to which the - - belongs. - - - - - Gets or sets the key values associated with this . - - - A of key values for this - - . - - - - - Gets a value that indicates whether the is temporary. - - - true if the is temporary; otherwise, false. - - - - Gets the entity set for this entity key from the given metadata workspace. - - The for the entity key. - - The metadata workspace that contains the entity. - The entity set could not be located in the specified metadata workspace. - - - Returns a value that indicates whether this instance is equal to a specified object. - true if this instance and obj have equal values; otherwise, false. - - An to compare with this instance. - - - - - Returns a value that indicates whether this instance is equal to a specified - - . - - true if this instance and other have equal values; otherwise, false. - - An object to compare with this instance. - - - - - Serves as a hash function for the current object. - - is suitable for hashing algorithms and data structures such as a hash table. - - - A hash code for the current . - - - - - Compares two objects. - - true if the key1 and key2 values are equal; otherwise, false. - - A to compare. - - - A to compare. - - - - - Compares two objects. - - true if the key1 and key2 values are not equal; otherwise, false. - - A to compare. - - - A to compare. - - - - - Helper method that is used to deserialize an . - - Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. - - - - Helper method that is used to deserialize an . - - Describes the source and destination of a given serialized stream and provides an additional caller-defined context. - - - - Information about a key that is part of an EntityKey. - A key member contains the key name and value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified entity key pair. - - The name of the key. - The key value. - - - Gets or sets the name of the entity key. - The key name. - - - Gets or sets the value of the entity key. - The key value. - - - Returns a string representation of the entity key. - A string representation of the entity key. - - - - Represents an eSQL Query compilation exception; - The class of exceptional conditions that may cause this exception to be raised are mainly: - 1) Syntax Errors: raised during query text parsing and when a given query does not conform to eSQL formal grammar; - 2) Semantic Errors: raised when semantic rules of eSQL language are not met such as metadata or schema information - not accurate or not present, type validation errors, scoping rule violations, user of undefined variables, etc. - For more information, see eSQL Language Spec. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of the class that uses a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - Gets a description of the error. - A string that describes the error. - - - Gets the approximate context where the error occurred, if available. - A string that describes the approximate context where the error occurred, if available. - - - Gets the approximate line number where the error occurred. - An integer that describes the line number where the error occurred. - - - Gets the approximate column number where the error occurred. - An integer that describes the column number where the error occurred. - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - DataRecord interface supporting structured types and rich metadata information. - - - - - Gets for this - - . - - - A object. - - - - - Gets a object with the specified index. - - - A object. - - The index of the row. - - - - Returns nested readers as objects. - - - Nested readers as objects. - - The ordinal of the column. - - - - Thrown to indicate that a command tree is invalid. - - - - - Initializes a new instance of the class with a default message. - - - - - Initializes a new instance of the class with the specified message. - - The exception message. - - - - Initializes a new instance of the class with the specified message and inner exception. - - The exception message. - - The exception that is the cause of this . - - - - - Mapping exception class. Note that this class has state - so if you change even - its internals, it can be a breaking change - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents the Mapping metadata for an AssociationSet in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for the AssociationSetMapping elements in the - above example. And it is possible to access the AssociationTypeMap underneath it. - There will be only one TypeMap under AssociationSetMap. - - - - - Initializes a new AssociationSetMapping instance. - - The association set to be mapped. - The store entity set to be mapped. - The parent container mapping. - - - - Gets the association set that is mapped. - - - - - Gets the contained association type mapping. - - - - - Gets or sets the corresponding function mapping. Can be null. - - - - - Gets the store entity set that is mapped. - - - - - Gets or sets the source end property mapping. - - - - - Gets or sets the target end property mapping. - - - - - Gets the property mapping conditions. - - - - - Adds a property mapping condition. - - The condition to add. - - - - Removes a property mapping condition. - - The property mapping condition to remove. - - - - Describes modification function mappings for an association set. - - - - - Initializes a new AssociationSetModificationFunctionMapping instance. - - An association set. - A delete function mapping. - An insert function mapping. - - - - Gets the association set. - - - - - Gets the delete function mapping. - - - - - Gets the insert function mapping. - - - - - - - - Represents the Mapping metadata for an association type map in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ComplexTypeMap - --ScalarPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all association Type map elements in the - above example. Users can access the table mapping fragments under the - association type mapping through this class. - - - - - Creates an AssociationTypeMapping instance. - - The AssociationSetMapping that - the contains this AssociationTypeMapping. - - - - Gets the AssociationSetMapping that contains this AssociationTypeMapping. - - - - - Gets the association type being mapped. - - - - - Gets the single mapping fragment. - - - - - Mapping metadata for Complex properties. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the complex property map elements in the - above example. ComplexPropertyMaps contain ComplexTypeMaps which define mapping based - on the type of the ComplexProperty in case of inheritance. - - - - - Construct a new Complex Property mapping object - - The MemberMetadata object that represents this Complex member - - - - Gets a read only collections of type mappings corresponding to the - nested complex types. - - - - - Adds a type mapping corresponding to a nested complex type. - - The complex type mapping to be added. - - - - Removes a type mapping corresponding to a nested complex type. - - The complex type mapping to be removed. - - - - Mapping metadata for Complex Types. - - - - - Creates a ComplexTypeMapping instance. - - The ComplexType being mapped. - - - - Gets the ComplexType being mapped. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Mapping metadata for Conditional property mapping on a type. - Condition Property Mapping specifies a Condition either on the C side property or S side property. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ConditionPropertyMap ( constant value-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ConditionPropertyMap ( constant value-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the condition property map elements in the - above example. - - - - - Gets an EdmProperty that specifies the mapped property. - - - - - Gets an EdmProperty that specifies the mapped column. - - - - - Mapping metadata for End property of an association. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the end property map elements in the - above example. EndPropertyMaps provide mapping for each end of the association. - - - - - Creates an association end property mapping. - - An AssociationEndMember that specifies - the association end to be mapped. - - - - Gets an AssociationEndMember that specifies the mapped association end. - - - - - Gets a ReadOnlyCollection of ScalarPropertyMapping that specifies the children - of this association end property mapping. - - - - - Adds a child property-column mapping. - - A ScalarPropertyMapping that specifies - the property-column mapping to be added. - - - - Removes a child property-column mapping. - - A ScalarPropertyMapping that specifies - the property-column mapping to be removed. - - - - Represents the Mapping metadata for the EntityContainer map in CS space. - Only one EntityContainerMapping element is allowed in the MSL file for CS mapping. - - - For Example if conceptually you could represent the CS MSL file as following - ---Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --AssociationSetMapping - The type represents the metadata for EntityContainerMapping element in the above example. - The EntitySetBaseMapping elements that are children of the EntityContainerMapping element - can be accessed through the properties on this type. - - - We currently assume that an Entity Container on the C side - is mapped to a single Entity Container in the S - space. - - - - - Initializes a new EntityContainerMapping instance. - - The conceptual entity container to be mapped. - The store entity container to be mapped. - The parent mapping item collection. - Flag indicating whether to generate update views. - - - - Gets the parent mapping item collection. - - - - - Gets the type kind for this item - - - - - Gets the conceptual entity container. - - - - - Gets the store entity container. - - - - - Gets the entity set mappings. - - - - - Gets the association set mappings. - - - - - Gets the function import mappings. - - - - - Gets a flag that indicates whether to generate the update views or not. - - - - - Adds an entity set mapping. - - The entity set mapping to add. - - - - Removes an association set mapping. - - The association set mapping to remove. - - - - Adds an association set mapping. - - The association set mapping to add. - - - - Removes an association set mapping. - - The association set mapping to remove. - - - - Adds a function import mapping. - - The function import mapping to add. - - - - Removes a function import mapping. - - The function import mapping to remove. - - - - Represents the Mapping metadata for an Extent in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for all the extent map elements in the - above example namely EntitySetMapping, AssociationSetMapping and CompositionSetMapping. - The EntitySetBaseMapping elements that are children of the EntityContainerMapping element - can be accessed through the properties on this type. - - - - - Gets the parent container mapping. - - - - - Gets or sets the query view associated with this mapping. - - - - - Represents the Mapping metadata for an EntitySet in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityTypeMapping - --MappingFragment - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - This class represents the metadata for the EntitySetMapping elements in the - above example. And it is possible to access the EntityTypeMaps underneath it. - - - - - Initializes a new EntitySetMapping instance. - - The entity set to be mapped. - The parent container mapping. - - - - Gets the entity set that is mapped. - - - - - Gets the contained entity type mappings. - - - - - Gets the corresponding function mappings. - - - - - Adds a type mapping. - - The type mapping to add. - - - - Removes a type mapping. - - The type mapping to remove. - - - - Adds a function mapping. - - The function mapping to add. - - - - Removes a function mapping. - - The function mapping to remove. - - - - Mapping metadata for Entity type. - If an EntitySet represents entities of more than one type, than we will have - more than one EntityTypeMapping for an EntitySet( For ex : if - PersonSet Entity extent represents entities of types Person and Customer, - than we will have two EntityType Mappings under mapping for PersonSet). - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all entity Type map elements in the - above example. Users can access the table mapping fragments under the - entity type mapping through this class. - - - - - Creates an EntityTypeMapping instance. - - The EntitySetMapping that contains this EntityTypeMapping. - - - - Gets the EntitySetMapping that contains this EntityTypeMapping. - - - - - Gets the single EntityType being mapped. Throws exception in case of hierarchy type mapping. - - - - - Gets a flag that indicates whether this is a type hierarchy mapping. - - - - - Gets a read-only collection of mapping fragments. - - - - - Gets the mapped entity types. - - - - - Gets the mapped base types for a hierarchy mapping. - - - - - Adds an entity type to the mapping. - - The EntityType to be added. - - - - Removes an entity type from the mapping. - - The EntityType to be removed. - - - - Adds an entity type hierarchy to the mapping. - The hierarchy is represented by the specified root entity type. - - The root EntityType of the hierarchy to be added. - - - - Removes an entity type hierarchy from the mapping. - The hierarchy is represented by the specified root entity type. - - The root EntityType of the hierarchy to be removed. - - - - Adds a mapping fragment. - - The mapping fragment to be added. - - - - Removes a mapping fragment. - - The mapping fragment to be removed. - - - - Describes modification function mappings for an entity type within an entity set. - - - - - Initializes a new EntityTypeModificationFunctionMapping instance. - - An entity type. - A delete function mapping. - An insert function mapping. - An updated function mapping. - - - - Gets the entity type. - - - - - Gets the delete function mapping. - - - - - Gets the insert function mapping. - - - - - Gets the update function mapping. - - - - - - - - Base class for the type created at design time to store the generated views. - - - - Returns the key/value pair at the specified index, which contains the view and its key. - The key/value pair at index , which contains the view and its key. - The index of the view. - - - - Gets or sets the name of . - - The container name. - - - - Gets or sets in storage schema. - - Container name. - - - Hash value. - Hash value. - - - Hash value of views. - Hash value. - - - Gets or sets view count. - View count. - - - - Attribute to mark the assemblies that contain the generated views type. - - - - - Initializes a new instance of the class. - - The view type. - - - Gets the T:System.Type of the view. - The T:System.Type of the view. - - - - Represents a complex type mapping for a function import result. - - - - - Initializes a new FunctionImportComplexTypeMapping instance. - - The return type. - The property mappings for the result type of a function import. - - - - Ges the return type. - - - - - Represents a function import entity type mapping. - - - - - Initializes a new FunctionImportEntityTypeMapping instance. - - The entity types at the base of - the type hierarchies to be mapped. - The entity types to be mapped. - The property mappings for the result types of a function import. - The mapping conditions. - - - - Gets the entity types being mapped. - - - - - Gets the entity types at the base of the hierarchies being mapped. - - - - - Gets the mapping conditions. - - - - - Represents a mapping condition for a function import result. - - - - - Gets the name of the column used to evaluate the condition. - - - - - - - - Represents a mapping condition for the result of a function import - evaluated by checking null or not null. - - - - - Initializes a new FunctionImportEntityTypeMappingConditionIsNull instance. - - The name of the column used to evaluate the condition. - Flag that indicates whether a null or not null check is performed. - - - - Gets a flag that indicates whether a null or not null check is performed. - - - - - Represents a mapping condition for the result of a function import, - evaluated by comparison with a specified value. - - - - - Initializes a new FunctionImportEntityTypeMappingConditionValue instance. - - The name of the column used to evaluate the condition. - The value to compare with. - - - - Gets the value used for comparison. - - - - - Represents a mapping from a model function import to a store composable or non-composable function. - - - - - Gets model function (or source of the mapping) - - - - - Gets store function (or target of the mapping) - - - - - Represents a mapping from a model function import to a store composable function. - - - - - Initializes a new FunctionImportMappingComposable instance. - - The model function import. - The store composable function. - The result mapping for the function import. - The parent container mapping. - - - - Gets the result mapping for the function import. - - - - - Represents a mapping from a model function import to a store non-composable function. - - - - - Initializes a new FunctionImportMappingNonComposable instance. - - The model function import. - The store non-composable function. - The function import result mappings. - The parent container mapping. - - - - Gets the function import result mappings. - - - - - Represents a result mapping for a function import. - - - - - Gets the type mappings. - - - - - Adds a type mapping. - - The type mapping to add. - - - - Removes a type mapping. - - The type mapping to remove. - - - - Base class for mapping a property of a function import return type. - - - - - Maps a function import return type property to a table column. - - - - - Initializes a new FunctionImportReturnTypeScalarPropertyMapping instance. - - The mapped property name. - The mapped column name. - - - - Gets the mapped property name. - - - - - Gets the mapped column name. - - - - - Specifies a function import structural type mapping. - - - - - Gets the property mappings for the result type of a function import. - - - - - Specifies a mapping condition evaluated by checking whether the value - of the a property/column is null or not null. - - - - - Creates an IsNullConditionMapping instance. - - An EdmProperty that specifies a property or column. - A boolean that indicates whether to perform a null or a not-null check. - - - - Gets a bool that specifies whether the condition is evaluated by performing a null check - or a not-null check. - - - - - Represents the base item class for all the mapping metadata - - - - - Represents the metadata for mapping fragment. - A set of mapping fragments makes up the Set mappings( EntitySet, AssociationSet or CompositionSet ) - Each MappingFragment provides mapping for those properties of a type that map to a single table. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ComplexTypeMapping - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --DiscriminatorPropertyMap ( constant value-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the mapping fragment elements in the - above example. Users can access all the top level constructs of - MappingFragment element like EntityKey map, Property Maps, Discriminator - property through this mapping fragment class. - - - - - Creates a MappingFragment instance. - - The EntitySet corresponding to the table of view being mapped. - The TypeMapping that contains this MappingFragment. - Flag that indicates whether to include 'DISTINCT' when generating queries. - - - - Gets the EntitySet corresponding to the table or view being mapped. - - - - - Gets the TypeMapping that contains this MappingFragment. - - - - - Gets a flag that indicates whether to include 'DISTINCT' when generating queries. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Base class for items in the mapping space (DataSpace.CSSpace) - - - - - Class for representing a collection of mapping items in Edm space. - - - - - Describes modification function binding for change processing of entities or associations. - - - - - Initializes a new ModificationFunctionMapping instance. - - The entity or association set. - The entity or association type. - The metadata of function to which we should bind. - Bindings for function parameters. - The output parameter producing number of rows affected. - Bindings for the results of function evaluation - - - - Gets output parameter producing number of rows affected. May be null. - - - - - Gets Metadata of function to which we should bind. - - - - - Gets bindings for function parameters. - - - - - Gets bindings for the results of function evaluation. - - - - - - - - Describes the location of a member within an entity or association type structure. - - - - - Initializes a new ModificationFunctionMemberPath instance. - - Gets the members in the path from the leaf (the member being bound) - to the root of the structure. - Gets the association set to which we are navigating - via this member. If the value is null, this is not a navigation member path. - - - - Gets the members in the path from the leaf (the member being bound) - to the Root of the structure. - - - - - Gets the association set to which we are navigating via this member. If the value - is null, this is not a navigation member path. - - - - - - - - Binds a modification function parameter to a member of the entity or association being modified. - - - - - Initializes a new ModificationFunctionParameterBinding instance. - - The parameter taking the value. - The path to the entity or association member defining the value. - A flag indicating whether the current or original member value is being bound. - - - - Gets the parameter taking the value. - - - - - Gets the path to the entity or association member defining the value. - - - - - Gets a flag indicating whether the current or original - member value is being bound. - - - - - - - - Defines a binding from a named result set column to a member taking the value. - - - - - Initializes a new ModificationFunctionResultBinding instance. - - The name of the column to bind from the function result set. - The property to be set on the entity. - - - - Gets the name of the column to bind from the function result set. - - - - - Gets the property to be set on the entity. - - - - - - - - Mapping metadata for all types of property mappings. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all property map elements in the - above example. This includes the scalar property maps, complex property maps - and end property maps. - - - - - Gets an EdmProperty that specifies the mapped property. - - - - - Mapping metadata for scalar properties. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ComplexPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - --EndPropertyMap - --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) - This class represents the metadata for all the scalar property map elements in the - above example. - - - - - Creates a mapping between a simple property and a column. - - The property to be mapped. - The column to be mapped. - - - - Gets an EdmProperty that specifies the mapped column. - - - - - Represents a collection of items in Storage Mapping (CS Mapping) space. - - - - Initializes a new instance of the class using the specified , and a collection of string indicating the metadata file paths. - The that this mapping is to use. - The that this mapping is to use. - The file paths that this mapping is to use. - - - Initializes a new instance of the class using the specified , and XML readers. - The that this mapping is to use. - The that this mapping is to use. - The XML readers that this mapping is to use. - - - - Gets or sets a for creating instances - that are used to retrieve pre-generated mapping views. - - - - Gets the version of this represents. - The version of this represents. - - - - Computes a hash value for the container mapping specified by the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - A string that specifies the computed hash value. - - - - Computes a hash value for the single container mapping in the collection. - - A string that specifies the computed hash value. - - - - Creates a dictionary of (extent, generated view) for a container mapping specified by - the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - A list that accumulates potential errors. - - A dictionary of (, ) that specifies the generated views. - - - - - Creates a dictionary of (extent, generated view) for the single container mapping - in the collection. - - A list that accumulates potential errors. - - A dictionary of (, ) that specifies the generated views. - - - - - Factory method that creates a . - - - The edm metadata collection to map. Must not be null. - - - The store metadata collection to map. Must not be null. - - - MSL artifacts to load. Must not be null. - - - Paths to MSL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - - Specifies a structural type mapping. - - - - - Gets a read-only collection of property mappings. - - - - - Gets a read-only collection of property mapping conditions. - - - - - Adds a property mapping. - - The property mapping to be added. - - - - Removes a property mapping. - - The property mapping to be removed. - - - - Adds a property mapping condition. - - The property mapping condition to be added. - - - - Removes a property mapping condition. - - The property mapping condition to be removed. - - - - Represents the Mapping metadata for a type map in CS space. - - - For Example if conceptually you could represent the CS MSL file as following - --Mapping - --EntityContainerMapping ( CNorthwind-->SNorthwind ) - --EntitySetMapping - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ScalarPropertyMap - --EntityTypeMapping - --MappingFragment - --EntityKey - --ScalarPropertyMap - --ComplexPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --AssociationSetMapping - --AssociationTypeMapping - --MappingFragment - --EndPropertyMap - --ScalarPropertyMap - --ScalarPropertyMap - --EndPropertyMap - --ScalarPropertyMap - This class represents the metadata for all the Type map elements in the - above example namely EntityTypeMapping, AssociationTypeMapping and CompositionTypeMapping. - The TypeMapping elements contain TableMappingFragments which in turn contain the property maps. - - - - - Specifies a mapping condition evaluated by comparing the value of - a property or column with a given value. - - - - - Creates a ValueConditionMapping instance. - - An EdmProperty that specifies a property or column. - An object that specifies the value to compare with. - - - - Gets an object that specifies the value to check against. - - - - - metadata exception class - - - - - Initializes a new instance of the class with a default message. - - - - - Initializes a new instance of the class with the specified message. - - The exception message. - - - - Initializes a new instance of the class with the specified message and inner exception. - - The exception message. - - The exception that is the cause of this . - - - - - Represents a end of a Association Type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Creates a read-only AssociationEndMember instance. - - The name of the association end member. - The reference type for the end. - The multiplicity of the end. - Flag that indicates the delete behavior of the end. - Metadata properties to be associated with the instance. - The newly created AssociationEndMember instance. - The specified name is null or empty. - The specified reference type is null. - - - - Class for representing an Association set - - - - - Gets the association related to this . - - - An object that represents the association related to this - - . - - - - - Gets the ends of this . - - - A collection of type that contains the ends of this - - . - - - - - Gets the built-in type kind for this . - - - A object that represents built-in type kind for this - - . - - - - - Creates a read-only AssociationSet instance from the specified parameters. - - The name of the association set. - The association type of the elements in the association set. - The entity set for the source association set end. - The entity set for the target association set end. - Metadata properties to be associated with the instance. - The newly created AssociationSet instance. - The specified name is null or empty. - The specified association type is null. - - The entity type of one of the ends of the specified - association type does not match the entity type of the corresponding entity set end. - - - - - Class representing a AssociationSet End - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the parent association set of this . - - - An object that represents the parent association set of this - - . - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - - Gets the End member that this object corresponds to. - - - An object that represents the End member that this - - object corresponds to. - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - - Gets the name of the End for this . - - - The name of the End for this . - - - - - Gets the name of the End role for this . - - - The name of the End role for this . - - Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state - - - Gets the entity set referenced by this End role. - - An object that represents the entity set referred by this End role. - - - - - Returns the name of the End role for this . - - - The name of the End role for this . - - - - - Describes an association/relationship between two entities in the conceptual model or a foreign key relationship - between two tables in the store model. In the conceptual model the dependant class may or may not define a foreign key property. - If a foreign key is defined the property will be true and the property will contain details of the foreign keys - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of ends for this . - - - A collection of type that contains the list of ends for this - - . - - - - Gets or sets the referential constraint. - The referential constraint. - - - - Gets the list of constraints for this . - - - A collection of type that contains the list of constraints for this - - . - - - - Gets the Boolean property value that specifies whether the column is a foreign key. - A Boolean value that specifies whether the column is a foreign key. If true, the column is a foreign key. If false (default), the column is not a foreign key. - - - - Creates a read-only AssociationType instance from the specified parameters. - - The name of the association type. - The namespace of the association type. - Flag that indicates a foreign key (FK) relationship. - The data space for the association type. - The source association end member. - The target association end member. - A referential constraint. - Metadata properties to be associated with the instance. - The newly created AssociationType instance. - The specified name is null or empty. - The specified namespace is null or empty. - - - - List of all the built in types - - - - - Association Type Kind - - - - - AssociationSetEnd Kind - - - - - AssociationSet Kind - - - - - Association Type Kind - - - - - EntitySetBase Kind - - - - - Entity Type Base Kind - - - - - Collection Type Kind - - - - - Collection Kind - - - - - Complex Type Kind - - - - - Documentation Kind - - - - - DeleteAction Type Kind - - - - - Edm Type Kind - - - - - Entity Container Kind - - - - - Entity Set Kind - - - - - Entity Type Kind - - - - - Enumeration Type Kind - - - - - Enum Member Kind - - - - - Facet Kind - - - - - EdmFunction Kind - - - - - Function Parameter Kind - - - - - Global Item Type Kind - - - - - Metadata Property Kind - - - - - Navigation Property Kind - - - - - Metadata Item Type Kind - - - - - EdmMember Type Kind - - - - - Parameter Mode Kind - - - - - Primitive Type Kind - - - - - Primitive Type Kind Kind - - - - - EdmProperty Type Kind - - - - - ProviderManifest Type Kind - - - - - Referential Constraint Type Kind - - - - - Ref Type Kind - - - - - RelationshipEnd Type Kind - - - - - Relationship Multiplicity Type Kind - - - - - Relationship Set Type Kind - - - - - Relationship Type - - - - - Row Type Kind - - - - - Simple Type Kind - - - - - Structural Type Kind - - - - - Type Information Kind - - - - - Kind of collection (applied to Properties) - - - - - Property is not a Collection - - - - - Collection has Bag semantics( unordered and duplicates ok) - - - - - Collection has List semantics - (Order is deterministic and duplicates ok) - - - - - Represents the Edm Collection Type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the instance of the class that contains the type of the element that this current - - object includes and facets for that type. - - - The instance of the class that contains the type of the element that this current - - object includes and facets for that type. - - - - - Represents the Edm Complex Type. This can be used to configure complex types - from a conceptual-space model-based convention. Complex types are not supported in the store model. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of properties for this . - - - A collection of type that contains the list of properties for this - - . - - - - - Creates a new instance of the type. - - The name of the complex type. - The namespace of the complex type. - The dataspace to which the complex type belongs to. - Members of the complex type. - Metadata properties to be associated with the instance. - Thrown if either name, namespace or members argument is null. - - A new instance a the type. - - - The newly created will be read only. - - - - - The concurrency mode for properties. - - - - - Default concurrency mode: the property is never validated - at write time - - - - - Fixed concurrency mode: the property is always validated at - write time - - - - - Serializes an that conforms to the restrictions of a single - CSDL schema file to an XML writer. The model to be serialized must contain a single - . - - - - - Occurs when an error is encountered serializing the model. - - - - - Serialize the to the XmlWriter. - - - The EdmModel to serialize. - - The XmlWriter to serialize to. - The serialized model's namespace. - true if the model is valid; otherwise, false. - - - - Information about an error that occurred processing an Entity Framework model. - - - - - Gets an optional value indicating which property of the source item caused the event to be raised. - - - - - Gets an optional descriptive message the describes the error that is being raised. - - - - - Gets a value indicating the that caused the event to be raised. - - - - - DataSpace - - - - - OSpace indicates the item in the clr space - - - - - CSpace indicates the item in the CSpace - edm primitive types + - types defined in csdl - - - - - SSpace indicates the item in the SSpace - - - - - Mapping between OSpace and CSpace - - - - - Mapping between CSpace and SSpace - - - - - Extension methods for . - - - - - Gets the conceptual model from the specified DbModel. - - An instance of a class that implements IEdmModelAdapter (ex. DbModel). - An instance of EdmModel that represents the conceptual model. - - - - Gets the store model from the specified DbModel. - - An instance of a class that implements IEdmModelAdapter (ex. DbModel). - An instance of EdmModel that represents the store model. - - - - Class representing the Documentation associated with an item - - - - - Initializes a new Documentation instance. - - A summary string. - A long description string. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the summary for this . - - - The summary for this . - - - - - Gets the long description for this . - - - The long description for this . - - - - - Gets a value indicating whether this object contains only a null or an empty - - and a - - . - - - true if this object contains only a null or an empty - - and a - - ; otherwise, false. - - - - - Returns the summary for this . - - - The summary for this . - - - - - This class encapsulates the error information for a generic EDM error. - - - - Gets the error message. - The error message. - - - - Class for representing a function - - - - - Gets the built-in type kind for this . - - - One of the enumeration values of the enumeration. - - - - Returns the full name (namespace plus name) of this type. - The full name of the type. - - - - Gets the parameters of this . - - - A collection of type that contains the parameters of this - - . - - - - - Adds a parameter to this function. - - The parameter to be added. - - - - Gets the return parameter of this . - - - A object that represents the return parameter of this - - . - - - - - Gets the return parameters of this . - - - A collection of type that represents the return parameters of this - - . - - - - Gets the store function name attribute of this function. - - - Gets the parameter type semantics attribute of this function. - - - Gets the aggregate attribute of this function. - - - - Gets a value indicating whether built in attribute is present on this function. - - - true if the attribute is present; otherwise, false. - - - - - Gets a value indicating whether this instance is from the provider manifest. - - - true if this instance is from the provider manifest; otherwise, false. - - - - - Gets a value indicating whether the is a niladic function (a function that accepts no arguments). - - - true if the function is niladic; otherwise, false. - - - - Gets whether this instance is mapped to a function or to a stored procedure. - true if this instance is mapped to a function; false if this instance is mapped to a stored procedure. - - - Gets a query in the language that is used by the database management system or storage model. - - A string value in the syntax used by the database management system or storage model that contains the query or update statement of the - - . - - - - Gets or sets the schema associated with the function. - The schema associated with the function. - - - - The factory method for constructing the object. - - The name of the function. - The namespace of the function. - The namespace the function belongs to. - Additional function attributes and properties. - Metadata properties that will be added to the function. Can be null. - - A new, read-only instance of the type. - - - - - Contains additional attributes and properties of the - - - Note that objects are short lived and exist only to - make initialization easier. Instance of this type are not - compared to each other and arrays returned by array properties are copied to internal - collections in the ctor. Therefore it is fine to suppress the - Code Analysis messages. - - - - Gets or sets the function schema. - The function schema. - - - Gets or sets the store function name. - The store function name. - - - Gets or sets the command text associated with the function. - The command text associated with the function. - - - Gets or sets the entity sets for the function. - The entity sets for the function. - - - Gets a value that indicates whether this is an aggregate function. - true if this is an aggregate function; otherwise, false. - - - Gets or sets whether this function is a built-in function. - true if this function is a built-in function; otherwise, false. - - - Gets or sets whether the function contains no arguments. - true if the function contains no arguments; otherwise, false. - - - Gets or sets whether this function can be composed. - true if this function can be composed; otherwise, false. - - - Gets or sets whether this function is from a provider manifest. - true if this function is from a provider manifest; otherwise, false. - - - Gets or sets whether this function is a cached store function. - true if this function is a cached store function; otherwise, false. - - - Gets or sets whether this function is a function import. - true if this function is a function import; otherwise, false. - - - Gets or sets the return parameters. - The return parameters. - - - Gets or sets the parameter type semantics. - The parameter type semantics. - - - Gets or sets the function parameters. - The function parameters. - - - - Class for representing a collection of items in Edm space. - - - - - Initializes a new instance of the class by using the collection of the XMLReader objects where the conceptual schema definition language (CSDL) files exist. - - The collection of the XMLReader objects where the conceptual schema definition language (CSDL) files exist. - - - Initializes a new instance of the class. - The entity data model. - - - - Initializes a new instance of the class by using the paths where the conceptual schema definition language (CSDL) files exist. - - The paths where the conceptual schema definition language (CSDL) files exist. - - - Gets the conceptual model version for this collection. - The conceptual model version for this collection. - - - - Returns a collection of the objects. - - - A ReadOnlyCollection object that represents a collection of the - - objects. - - - - - Returns a collection of the objects with the specified conceptual model version. - - - A ReadOnlyCollection object that represents a collection of the - - objects. - - The conceptual model version. - - - - Factory method that creates an . - - - CSDL artifacts to load. Must not be null. - - - Paths to CSDL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - - Represents the edm member class - - - - - Gets or sets the name of the property. Setting this from a store-space model-convention will change the name of the database - column for this property. In the conceptual model, this should align with the corresponding property from the entity class - and should not be changed. - - The name of this member. - - - Gets the type on which this member is declared. - - A object that represents the type on which this member is declared. - - - - - Gets the instance of the class that contains both the type of the member and facets for the type. - - - A object that contains both the type of the member and facets for the type. - - - - Returns the name of this member. - The name of this member. - - - - Tells whether this member is marked as a Computed member in the EDM definition - - - - - Tells whether this member's Store generated pattern is marked as Identity in the EDM definition - - - - - Represents a conceptual or store model. This class can be used to access information about the shape of the model - and the way the that it has been configured. - - - - Gets the built-in type kind for this type. - - A object that represents the built-in type kind for this type. - - - - - Gets the data space associated with the model, which indicates whether - it is a conceptual model (DataSpace.CSpace) or a store model (DataSpace.SSpace). - - - - - Gets the association types in the model. - - - - - Gets the complex types in the model. - - - - - Gets the entity types in the model. - - - - - Gets the enum types in the model. - - - - - Gets the functions in the model. - - - - - Gets the container that stores entity and association sets, and function imports. - - - - Gets the global items associated with the model. - The global items associated with the model. - - - - Adds an association type to the model. - - The AssociationType instance to be added. - - - - Adds a complex type to the model. - - The ComplexType instance to be added. - - - - Adds an entity type to the model. - - The EntityType instance to be added. - - - - Adds an enumeration type to the model. - - The EnumType instance to be added. - - - - Adds a function to the model. - - The EdmFunction instance to be added. - - - - Removes an association type from the model. - - The AssociationType instance to be removed. - - - - Removes a complex type from the model. - - The ComplexType instance to be removed. - - - - Removes an entity type from the model. - - The EntityType instance to be removed. - - - - Removes an enumeration type from the model. - - The EnumType instance to be removed. - - - - Removes a function from the model. - - The EdmFunction instance to be removed. - - - - In conceptual-space, EdmProperty represents a property on an Entity. - In store-space, EdmProperty represents a column in a table. - - - - Creates a new primitive property. - The newly created property. - The name of the property. - The type of the property. - - - Creates a new enum property. - The newly created property. - The name of the property. - The type of the property. - - - Creates a new complex property. - The newly created property. - The name of the property. - The type of the property. - - - - Creates a new instance of EdmProperty type. - - Name of the property. - - Property - - A new instance of EdmProperty type - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets a value indicating whether this can have a null value. - - - Nullability in the conceptual model and store model is a simple indication of whether or not - the property is considered nullable. Nullability in the object model is more complex. - When using convention based mapping (as usually happens with POCO entities), a property in the - object model is considered nullable if and only if the underlying CLR type is nullable and - the property is not part of the primary key. - When using attribute based mapping (usually used with entities that derive from the EntityObject - base class), a property is considered nullable if the IsNullable flag is set to true in the - attribute. This flag can - be set to true even if the underlying type is not nullable, and can be set to false even if the - underlying type is nullable. The latter case happens as part of default code generation when - a non-nullable property in the conceptual model is mapped to a nullable CLR type such as a string. - In such a case, the Entity Framework treats the property as non-nullable even though the CLR would - allow null to be set. - There is no good reason to set a non-nullable CLR type as nullable in the object model and this - should not be done even though the attribute allows it. - - - true if this can have a null value; otherwise, false. - - Thrown if the setter is called when the EdmProperty instance is in ReadOnly state - - - Gets the type name of the property. - The type name of the property. - - - - Gets the default value for this . - - - The default value for this . - - Thrown if the setter is called when the EdmProperty instance is in ReadOnly state - - - Gets whether the property is a collection type property. - true if the property is a collection type property; otherwise, false. - - - Gets whether this property is a complex type property. - true if this property is a complex type property; otherwise, false. - - - Gets whether this property is a primitive type. - true if this property is a primitive type; otherwise, false. - - - Gets whether this property is an enumeration type property. - true if this property is an enumeration type property; otherwise, false. - - - Gets whether this property is an underlying primitive type. - true if this property is an underlying primitive type; otherwise, false. - - - Gets the complex type information for this property. - The complex type information for this property. - - - Gets the primitive type information for this property. - The primitive type information for this property. - - - Gets the enumeration type information for this property. - The enumeration type information for this property. - - - Gets the underlying primitive type information for this property. - The underlying primitive type information for this property. - - - Gets or sets the concurrency mode for the property. - The concurrency mode for the property. - - - Gets or sets the database generation method for the database column associated with this property - The store generated pattern for the property. - - - Gets or sets the kind of collection for this model. - The kind of collection for this model. - - - Gets whether the maximum length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the maximum length of the property. - The maximum length of the property. - - - Gets or sets whether this property uses the maximum length supported by the provider. - true if this property uses the maximum length supported by the provider; otherwise, false. - - - Gets whether the fixed length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets whether the length of this property is fixed. - true if the length of this property is fixed; otherwise, false. - - - Gets whether the Unicode facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets whether this property is a Unicode property. - true if this property is a Unicode property; otherwise, false. - - - Gets whether the precision facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the precision of this property. - The precision of this property. - - - Gets whether the scale facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets or sets the scale of this property. - The scale of this property. - - - Sets the metadata properties. - The metadata properties to be set. - - - - This class encapsulates the error information for a schema error that was encountered. - - - - - Constructs a EdmSchemaError object. - - The explanation of the error. - The code associated with this error. - The severity of the error. - - - Returns the error message. - The error message. - - - Gets the error code. - The error code. - - - Gets the severity level of the error. - - One of the values. The default is - - . - - - - Gets the line number where the error occurred. - The line number where the error occurred. - - - Gets the column where the error occurred. - The column where the error occurred. - - - Gets the location of the schema that contains the error. This string also includes the name of the schema at the end. - The location of the schema that contains the error. - - - Gets the name of the schema that contains the error. - The name of the schema that contains the error. - - - Gets a string representation of the stack trace at the time the error occurred. - A string representation of the stack trace at the time the error occurred. - - - - Defines the different severities of errors that can occur when validating an Entity Framework model. - - - - - A warning that does not prevent the model from being used. - - - - - An error that prevents the model from being used. - - - - - Base EdmType class for all the model types - - - - Gets the name of this type. - The name of this type. - - - Gets the namespace of this type. - The namespace of this type. - - - Gets a value indicating whether this type is abstract or not. - true if this type is abstract; otherwise, false. - Thrown if the setter is called on instance that is in ReadOnly state - - - Gets the base type of this type. - The base type of this type. - Thrown if the setter is called on instance that is in ReadOnly state - Thrown if the value passed in for setter will create a loop in the inheritance chain - - - Gets the full name of this type. - The full name of this type. - - - Returns the full name of this type. - The full name of this type. - - - - Returns an instance of the whose element type is this type. - - - The object whose element type is this type. - - - - - Class for representing an entity container - - - - - Creates an entity container with the specified name and data space. - - The entity container name. - The entity container data space. - Thrown if the name argument is null. - Thrown if the name argument is empty string. - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets a list of entity sets and association sets that this - - includes. - - - A object that contains a list of entity sets and association sets that this - - includes. - - - - Gets the association sets for this entity container. - The association sets for this entity container . - - - Gets the entity sets for this entity container. - The entity sets for this entity container . - - - - Specifies a collection of elements. Each function contains the details of a stored procedure that exists in the database or equivalent CommandText that is mapped to an entity and its properties. - - - A that contains - - elements. - - - - - Returns an object by using the specified name for the entity set. - - - An object that represents the entity set that has the specified name. - - The name of the entity set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified name for the entity set. - - true if there is an entity set that matches the search criteria; otherwise, false. - The name of the entity set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, contains an object. If there is no entity set, this output parameter contains null. - - - - - Returns a object by using the specified name for the relationship set. - - - An object that represents the relationship set that has the specified name. - - The name of the relationship set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - - - Returns a object by using the specified name for the relationship set. - - true if there is a relationship set that matches the search criteria; otherwise, false. - The name of the relationship set that is searched for. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, contains a object. - - - - - Returns the name of this . - - - The name of this . - - - - - Adds the specified entity set to the container. - - The entity set to add. - - - Removes a specific entity set from the container. - The entity set to remove. - - - - Adds a function import to the container. - - The function import to add. - - - - The factory method for constructing the EntityContainer object. - - The name of the entity container to be created. - DataSpace in which this entity container belongs to. - Entity sets that will be included in the new container. Can be null. - Functions that will be included in the new container. Can be null. - Metadata properties to be associated with the instance. - The EntityContainer object. - Thrown if the name argument is null or empty string. - The newly created EntityContainer will be read only. - - - - Represents a particular usage of a structure defined in EntityType. In the conceptual-model, this represents a set that can - query and persist entities. In the store-model it represents a table. - From a store-space model-convention it can be used to configure - table name with property and table schema with property. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the entity type of this . - - - An object that represents the entity type of this - - . - - - - - The factory method for constructing the EntitySet object. - - The name of the EntitySet. - The db schema. Can be null. - The db table. Can be null. - - The provider specific query that should be used to retrieve data for this EntitySet. Can be null. - - The entity type of the entities that this entity set type contains. - - Metadata properties that will be added to the newly created EntitySet. Can be null. - - The EntitySet object. - Thrown if the name argument is null or empty string. - The newly created EntitySet will be read only. - - - - Class for representing a entity set - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets escaped provider specific SQL describing this entity set. - - - - - Gets or sets the name of the current entity or relationship set. - If this property is changed from store-space, the mapping layer must also be updated to reflect the new name. - To change the table name of a store space use the Table property. - - The name of the current entity or relationship set. - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - Gets the entity container of the current entity or relationship set. - - An object that represents the entity container of the current entity or relationship set. - - Thrown if the setter is called when the EntitySetBase instance or the EntityContainer passed into the setter is in ReadOnly state - - - - Gets the entity type of this . - - - An object that represents the entity type of this - - . - - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - - Gets or sets the database table name for this entity set. - - if value passed into setter is null - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - - Gets or sets the database schema for this entity set. - - if value passed into setter is null - Thrown if the setter is called when EntitySetBase instance is in ReadOnly state - - - Returns the name of the current entity or relationship set. - The name of the current entity or relationship set. - - - - Represents the structure of an . In the conceptual-model this represents the shape and structure - of an entity. In the store model this represents the structure of a table. To change the Schema and Table name use EntitySet. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - Gets the declared navigation properties associated with the entity type. - The declared navigation properties associated with the entity type. - - - - Gets the navigation properties of this . - - - A collection of type that contains the list of navigation properties on this - - . - - - - Gets the list of declared properties for the entity type. - The declared properties for the entity type. - - - Gets the collection of declared members for the entity type. - The collection of declared members for the entity type. - - - - Gets the list of properties for this . - - - A collection of type that contains the list of properties for this - - . - - - - - Returns a object that references this - - . - - - A object that references this - - . - - - - - The factory method for constructing the EntityType object. - - The name of the entity type. - The namespace of the entity type. - The dataspace in which the EntityType belongs to. - Name of key members for the type. - Members of the entity type (primitive and navigation properties). - Metadata properties to be associated with the instance. - The EntityType object. - Thrown if either name, namespace arguments are null. - The newly created EntityType will be read only. - - - - The factory method for constructing the EntityType object. - - The name of the entity type. - The namespace of the entity type. - The dataspace in which the EntityType belongs to. - The base type. - Name of key members for the type. - Members of the entity type (primitive and navigation properties). - Metadata properties to be associated with the instance. - The EntityType object. - Thrown if either name, namespace arguments are null. - The newly created EntityType will be read only. - - - - Adds the specified navigation property to the members of this type. - The navigation property is added regardless of the read-only flag. - - The navigation property to be added. - - - - Represents the Entity Type - - - - Gets the list of all the key members for the current entity or relationship type. - - A object that represents the list of key members for the current entity or relationship type. - - - - Gets the list of all the key properties for this entity type. - The list of all the key properties for this entity type. - - - - Adds the specified property to the list of keys for the current entity. - - The property to add. - if member argument is null - Thrown if the EntityType has a base type of another EntityTypeBase. In this case KeyMembers should be added to the base type - If the EntityType instance is in ReadOnly state - - - Removes the specified key member from the collection. - The key member to remove. - - - - Represents an enumeration member. - - - - Gets the kind of this type. - - - Gets the name of this enumeration member. - - - Gets the value of this enumeration member. - - - Overriding System.Object.ToString to provide better String representation for this type. - The name of this enumeration member. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Creates a read-only EnumMember instance. - - The name of the enumeration member. - The value of the enumeration member. - Metadata properties to be associated with the enumeration member. - The newly created EnumMember instance. - name is null or empty. - - - - Represents an enumeration type. - - - - Returns the kind of the type - - - Gets a collection of enumeration members for this enumeration type. - - - Gets a value indicating whether the enum type is defined as flags (i.e. can be treated as a bit field) - - - Gets the underlying type for this enumeration type. - - - - Creates a read-only EnumType instance. - - The name of the enumeration type. - The namespace of the enumeration type. - The underlying type of the enumeration type. - Indicates whether the enumeration type can be treated as a bit field; that is, a set of flags. - The members of the enumeration type. - Metadata properties to be associated with the enumeration type. - The newly created EnumType instance. - underlyingType is null. - - name is null or empty. - -or- - namespaceName is null or empty. - -or- - underlyingType is not a supported underlying type. - -or- - The specified members do not have unique names. - -or- - The value of a specified member is not in the range of the underlying type. - - - - - Class for representing a Facet object - This object is Immutable (not just set to readonly) and - some parts of the system are depending on that behavior - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the description of this . - - - The object that represents the description of this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets the type of this . - - - The object that represents the type of this - - . - - - - - Gets the value of this . - - - The value of this . - - Thrown if the Facet instance is in ReadOnly state - - - Gets a value indicating whether the value of the facet is unbounded. - true if the value of the facet is unbounded; otherwise, false. - - - - Returns the name of this . - - - The name of this . - - - - - Class for representing a FacetDescription object - - - - Gets the name of this facet. - The name of this facet. - - - Gets the type of this facet. - - An object that represents the type of this facet. - - - - Gets the minimum value for this facet. - The minimum value for this facet. - - - Gets the maximum value for this facet. - The maximum value for this facet. - - - Gets the default value of a facet with this facet description. - The default value of a facet with this facet description. - - - Gets a value indicating whether the value of this facet is a constant. - true if this facet is a constant; otherwise, false. - - - Gets a value indicating whether this facet is a required facet. - true if this facet is a required facet; otherwise, false. - - - Returns the name of this facet. - The name of this facet. - - - - Class representing a function parameter - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the mode of this . - - - One of the values. - - Thrown if the FunctionParameter instance is in ReadOnly state - - - - Gets the name of this . - - - The name of this . - - - - - Gets the instance of the class that contains both the type of the parameter and facets for the type. - - - A object that contains both the type of the parameter and facets for the type. - - - - Gets the type name of this parameter. - The type name of this parameter. - - - Gets whether the max length facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the maximum length of the parameter. - The maximum length of the parameter. - - - Gets whether the parameter uses the maximum length supported by the database provider. - true if parameter uses the maximum length supported by the database provider; otherwise, false. - - - Gets whether the precision facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the precision value of the parameter. - The precision value of the parameter. - - - Gets whether the scale facet is constant for the database provider. - true if the facet is constant; otherwise, false. - - - Gets the scale value of the parameter. - The scale value of the parameter. - - - - Gets the on which this parameter is declared. - - - A object that represents the function on which this parameter is declared. - - - - - Returns the name of this . - - - The name of this . - - - - - The factory method for constructing the object. - - The name of the parameter. - The EdmType of the parameter. - - The of the parameter. - - - A new, read-only instance of the type. - - - - - Represents the base item class for all the metadata - - - - - An interface to get the underlying store and conceptual model for a . - - - - - Gets the conceptual model. - - - - - Gets the store model. - - - - - Class for representing a collection of items. - Most of the implementation for actual maintenance of the collection is - done by MetadataCollection - - - - Gets the data model associated with this item collection. - The data model associated with this item collection. - - - - Returns a strongly typed object by using the specified identity. - - The item that is specified by the identity. - The identity of the item. - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity from this item collection. - - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item. - - When this method returns, the output parameter contains a - - object. If there is no global item with the specified identity in the item collection, this output parameter contains null. - - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity from this item collection. - - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, the output parameter contains a - - object. If there is no global item with the specified identity in the item collection, this output parameter contains null. - - The type returned by the method. - - - - Returns a strongly typed object by using the specified identity with either case-sensitive or case-insensitive search. - - The item that is specified by the identity. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - The type returned by the method. - - - Returns all the items of the specified type from this item collection. - - A collection of type that contains all the items of the specified type. - - The type returned by the method. - - - - Returns an object by using the specified type name and the namespace name in this item collection. - - - An object that represents the type that matches the specified type name and the namespace name in this item collection. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - - When this method returns, this output parameter contains an - - object. If there is no type with the specified name and namespace name in this item collection, this output parameter contains null. - - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - - An object that represents the type that matches the specified type name and the namespace name in this item collection. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified type name and the namespace name from this item collection. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, this output parameter contains an - - object. If there is no type with the specified name and namespace name in this item collection, this output parameter contains null. - - - - Returns all the overloads of the functions by using the specified name from this item collection. - - A collection of type that contains all the functions that have the specified name. - - The full name of the function. - - - Returns all the overloads of the functions by using the specified name from this item collection. - - A collection of type that contains all the functions that have the specified name. - - The full name of the function. - true to perform the case-insensitive search; otherwise, false. - - - Returns all the overloads of the functions by using the specified name from this item collection. - A collection of type ReadOnlyCollection that contains all the functions that have the specified name. - A dictionary of functions. - The full name of the function. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified entity container name. - - If there is no entity container, this method returns null; otherwise, it returns the first one. - The name of the entity container. - - - - Returns an object by using the specified entity container name. If there is no entity container, the output parameter contains null; otherwise, it contains the first entity container. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - - When this method returns, it contains an object. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - - - - Returns an object by using the specified entity container name. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - - - - Returns an object by using the specified entity container name. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - - When this method returns, it contains an object. If there is no entity container, this output parameter contains null; otherwise, it contains the first entity container. - - - - - Do not perform any extension check - - - - - Check the extension against a specific value - - - - - Check the extension against the set of acceptable extensions - - - - - Represents the base item class for all the metadata - - - Represents the base item class for all the metadata - - - - Gets the built-in type kind for this type. - - A object that represents the built-in type kind for this type. - - - - Gets the list of properties of the current type. - - A collection of type that contains the list of properties of the current type. - - - - - Adds or updates an annotation with the specified name and value. - - - If an annotation with the given name already exists then the value of that annotation - is updated to the given value. If the given value is null then the annotation will be - removed. - - The name of the annotation property. - The value of the annotation property. - - - - Removes an annotation with the specified name. - - The name of the annotation property. - true if an annotation was removed; otherwise, false. - - - Gets or sets the documentation associated with this type. - - A object that represents the documentation on this type. - - - - - Returns a conceptual model built-in type that matches one of the - - values. - - - An object that represents the built-in type in the EDM. - - - One of the values. - - - - Returns the list of the general facet descriptions for a specified type. - - A object that represents the list of the general facet descriptions for a specified type. - - - - - Class representing a metadata attribute for an item - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the name of this . - - - The name of this . - - - - - Gets the value of this . - - - The value of this . - - Thrown if the MetadataProperty instance is in readonly state - - - - Gets the instance of the class that contains both the type of this - - and facets for the type. - - - A object that contains both the type of this - - and facets for the type. - - Thrown if the MetadataProperty instance is in readonly state - - - - Gets the value of this . - - - The value of this . - - - - - Gets a boolean that indicates whether the metadata property is an annotation. - - - - - The factory method for constructing the MetadataProperty object. - - The name of the metadata property. - The type usage of the metadata property. - The value of the metadata property. - The MetadataProperty object. - - Thrown is null. - - The newly created MetadataProperty will be read only. - - - - Creates a metadata annotation having the specified name and value. - - The annotation name. - The annotation value. - A MetadataProperty instance representing the created annotation. - - - - Runtime Metadata Workspace - - - - - Initializes a new instance of the class. - - - - - Constructs a with loaders for all item collections () - needed by EF except the o/c mapping which will be created automatically based on the given o-space and c-space - loaders. The item collection delegates are executed lazily when a given collection is used for the first - time. It is acceptable to pass a delegate that returns null if the collection will never be used, but this - is rarely done, and any attempt by EF to use the collection in such cases will result in an exception. - - Delegate to return the c-space (CSDL) item collection. - Delegate to return the s-space (SSDL) item collection. - Delegate to return the c/s mapping (MSL) item collection. - Delegate to return the o-space item collection. - - - - Constructs a with loaders for all item collections () - that come from traditional EDMX mapping. Default o-space and o/c mapping collections will be used. - The item collection delegates are executed lazily when a given collection is used for the first - time. It is acceptable to pass a delegate that returns null if the collection will never be used, but this - is rarely done, and any attempt by EF to use the collection in such cases will result in an exception. - - Delegate to return the c-space (CSDL) item collection. - Delegate to return the s-space (SSDL) item collection. - Delegate to return the c/s mapping (MSL) item collection. - - - - Initializes a new instance of the class using the specified paths and assemblies. - - The paths to workspace metadata. - The names of assemblies used to construct workspace. - - - - The Max EDM version thats going to be supported by the runtime. - - - - - Creates an configured to use the - - data space. - - The created parser object. - - - - Creates a new bound to this metadata workspace based on the specified query expression. - - - A new with the specified expression as it's - - property. - - - A that defines the query. - - - If - - is null - - - If - - contains metadata that cannot be resolved in this metadata workspace - - - If - - is not structurally valid because it contains unresolvable variable references - - - - - Gets items. - - - The items. - - - The from which to retrieve items. - - - - Registers the item collection with each associated data model. - The output parameter collection that needs to be filled up. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - The delegate for logging the load messages. - - - Returns an item by using the specified identity and the data model. - The item that matches the given identity in the specified data model. - The identity of the item. - The conceptual model in which the item is searched. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns an item by using the specified identity and the data model. - true if there is an item that matches the search criteria; otherwise, false. - The conceptual model on which the item is searched. - The conceptual model on which the item is searched. - - When this method returns, contains a object. This parameter is passed uninitialized. - - The type returned by the method. - - - Returns an item by using the specified identity and the data model. - The item that matches the given identity in the specified data model. - The identity of the item. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the item is searched. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns an item by using the specified identity and the data model. - true if there is an item that matches the search criteria; otherwise, false. - The conceptual model on which the item is searched. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the item is searched. - - When this method returns, contains a object. This parameter is passed uninitialized. - - The type returned by the method. - - - Gets all the items in the specified data model. - - A collection of type that contains all the items in the specified data model. - - The conceptual model for which the list of items is needed. - The type returned by the method. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - - An object that represents the type that matches the given type name and the namespace name in the specified data model. If there is no matched type, this method returns null. - - The name of the type. - The namespace of the type. - The conceptual model on which the type is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - The conceptual model on which the type is searched. - - When this method returns, contains an object. This parameter is passed uninitialized. - - - - - Returns an object by using the specified type name, namespace name, and data model. - - - An object. - - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the type is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified type name, namespace name, and data model. - - true if there is a type that matches the search criteria; otherwise, false. - The name of the type. - The namespace of the type. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the type is searched. - - When this method returns, contains an object. This parameter is passed uninitialized. - - - - - Returns an object by using the specified entity container name and the data model. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - The conceptual model on which the entity container is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified entity container name and the data model. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - The conceptual model on which the entity container is searched. - - When this method returns, contains an object. If there is no entity container, this output parameter contains null; otherwise, it returns the first entity container. This parameter is passed uninitialized. - - - - - Returns an object by using the specified entity container name and the data model. - - If there is no entity container, this method returns null; otherwise, it returns the first entity container. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the entity container is searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Returns an object by using the specified entity container name and the data model. - - true if there is an entity container that matches the search criteria; otherwise, false. - The name of the entity container. - true to perform the case-insensitive search; otherwise, false. - The conceptual model on which the entity container is searched. - - When this method returns, contains an object. If there is no entity container, this output parameter contains null; otherwise, it returns the first entity container. This parameter is passed uninitialized. - - - - Returns all the overloads of the functions by using the specified name, namespace name, and data model. - - A collection of type that contains all the functions that match the specified name in a given namespace and a data model. - - The name of the function. - The namespace of the function. - The conceptual model in which the functions are searched. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns all the overloads of the functions by using the specified name, namespace name, and data model. - - A collection of type that contains all the functions that match the specified name in a given namespace and a data model. - - The name of the function. - The namespace of the function. - The conceptual model in which the functions are searched. - true to perform the case-insensitive search; otherwise, false. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Returns the list of primitive types in the specified data model. - - A collection of type that contains all the primitive types in the specified data model. - - The data model for which you need the list of primitive types. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - Gets all the items in the specified data model. - - A collection of type that contains all the items in the specified data model. - - The conceptual model for which the list of items is needed. - Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace - - - - Tests the retrieval of . - - true if the retrieval was successful; otherwise, false. - - The from which to attempt retrieval of - - . - - When this method returns, contains the item collection. This parameter is passed uninitialized. - - - - Returns a object that represents the object space type that matches the type supplied by the parameter edmSpaceType . - - - A object that represents the Object space type. If there is no matched type, this method returns null. - - - A object that represents the - - . - - - - - Returns a object via the out parameter objectSpaceType that represents the type that matches the - - supplied by the parameter edmSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the - - . - - - When this method returns, contains a object that represents the Object space type. This parameter is passed uninitialized. - - - - - Returns a object that represents the object space type that matches the type supplied by the parameter edmSpaceType . - - - A object that represents the Object space type. If there is no matched type, this method returns null. - - - A object that represents the - - . - - - - - Returns a object via the out parameter objectSpaceType that represents the type that matches the - - supplied by the parameter edmSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the - - . - - - When this method returns, contains a object that represents the Object space type. This parameter is passed uninitialized. - - - - - Returns a object that represents the - - that matches the type supplied by the parameter objectSpaceType . - - - A object that represents the - - . If there is no matched type, this method returns null. - - - A that supplies the type in the object space. - - - - - Returns a object via the out parameter edmSpaceType that represents the - - that matches the type supplied by the parameter objectSpaceType . - - true if there is a type that matches the search criteria; otherwise, false. - - A object that represents the object space type. - - - When this method returns, contains a object that represents the - - . This parameter is passed uninitialized. - - - - - Returns a object that represents the - - that matches the type supplied by the parameter objectSpaceType . - - - A object that represents the - - . If there is no matched type, this method returns null. - - - A that supplies the type in the object space. - - - - - Returns a object via the out parameter edmSpaceType that represents the - - that matches the type supplied by the parameter objectSpaceType . - - true on success, false on failure. - - A object that represents the object space type. - - - When this method returns, contains a object that represents the - - . This parameter is passed uninitialized. - - - - Clears all the metadata cache entries. - - - Gets original value members from an entity set and entity type. - The original value members from an entity set and entity type. - The entity set from which to retrieve original values. - The entity type of which to retrieve original values. - - - - Returns members of a given / - - for which original values are needed when modifying an entity. - - - The s for which original value is required. - - - An belonging to the C-Space. - - - An that participates in the given - - . - - true if entities may be updated partially; otherwise, false. - - - - Represent the edm navigation property class - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - Gets the relationship type that this navigation property operates on. - The relationship type that this navigation property operates on. - Thrown if the NavigationProperty instance is in ReadOnly state - - - Gets the "to" relationship end member of this navigation. - The "to" relationship end member of this navigation. - Thrown if the NavigationProperty instance is in ReadOnly state - - - Gets the "from" relationship end member in this navigation. - The "from" relationship end member in this navigation. - Thrown if the NavigationProperty instance is in ReadOnly state - - - - Where the given navigation property is on the dependent end of a referential constraint, - returns the foreign key properties. Otherwise, returns an empty set. We will return the members in the order - of the principal end key properties. - - A collection of the foreign key properties. - - - - Creates a NavigationProperty instance from the specified parameters. - - The name of the navigation property. - Specifies the navigation property type and its facets. - The relationship type for the navigation. - The source end member in the navigation. - The target end member in the navigation. - The metadata properties of the navigation property. - The newly created NavigationProperty instance. - - - - Class for representing a collection of items for the object layer. - Most of the implementation for actual maintenance of the collection is - done by ItemCollection - - - - - Initializes a new instance of the class. - - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - - - Loads metadata from the given assembly. - The assembly from which the metadata will be loaded. - The EDM metadata source for the O space metadata. - The delegate to which log messages are sent. - - - Loads metadata from the specified assembly. - The assembly from which the metadata will be loaded. - The EDM metadata source for the O space metadata. - - - Returns a collection of primitive type objects. - A collection of primitive type objects. - - - - Returns the CLR type that corresponds to the supplied by the objectSpaceType parameter. - - The CLR type of the OSpace argument. - - A that represents the object space type. - - - - - Returns a CLR type corresponding to the supplied by the objectSpaceType parameter. - - true if there is a type that matches the search criteria; otherwise, false. - - A that represents the object space type. - - The CLR type. - - - The method returns the underlying CLR type for the specified OSpace type argument. If the DataSpace of the parameter is not OSpace, an ArgumentException is thrown. - The CLR type of the OSpace argument. - The OSpace type to look up. - - - Returns the underlying CLR type for the specified OSpace enum type argument. If the DataSpace of the parameter is not OSpace, the method returns false and sets the out parameter to null. - true on success, false on failure - The OSpace enum type to look up - The CLR enum type of the OSpace argument - - - Returns all the items of the specified type from this item collection. - - A collection of type that contains all items of the specified type. - - The type returned by the method. - - - - Represents the list of possible actions for delete operation - - - - - no action - - - - - Cascade to other ends - - - - - The enumeration defining the mode of a parameter - - - - - In parameter - - - - - Out parameter - - - - - Both in and out parameter - - - - - Return Parameter - - - - - The enumeration defining the type semantics used to resolve function overloads. - These flags are defined in the provider manifest per function definition. - - - - - Allow Implicit Conversion between given and formal argument types (default). - - - - - Allow Type Promotion between given and formal argument types. - - - - - Use strict Equivalence only. - - - - - Class representing a primitive type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets a enumeration value that indicates a primitive type of this - - . - - - A enumeration value that indicates a primitive type of this - - . - - - - - Gets the list of facet descriptions for this . - - - A collection of type that contains the list of facet descriptions for this - - . - - - - - Returns an equivalent common language runtime (CLR) type of this - - . Note that the - - property always returns a non-nullable type value. - - - A object that represents an equivalent common language runtime (CLR) type of this - - . - - - - - Returns the equivalent of this - - . - - - For example if this instance is nvarchar and it's - base type is Edm String then the return type is Edm String. - If the type is actually already a model type then the - return type is "this". - - - An object that is an equivalent of this - - . - - - - Returns the list of primitive types. - - A collection of type that contains the list of primitive types. - - - - - Returns the equivalent of a - - . - - - An object that is an equivalent of a specified - - . - - - A value of type . - - - - - Primitive Types as defined by EDM - - - - - Binary Type Kind - - - - - Boolean Type Kind - - - - - Byte Type Kind - - - - - DateTime Type Kind - - - - - Decimal Type Kind - - - - - Double Type Kind - - - - - Guid Type Kind - - - - - Single Type Kind - - - - - SByte Type Kind - - - - - Int16 Type Kind - - - - - Int32 Type Kind - - - - - Int64 Type Kind - - - - - String Type Kind - - - - - Time Type Kind - - - - - DateTimeOffset Type Kind - - - - - Geometry Type Kind - - - - - Geography Type Kind - - - - - Geometric point type kind - - - - - Geometric linestring type kind - - - - - Geometric polygon type kind - - - - - Geometric multi-point type kind - - - - - Geometric multi-linestring type kind - - - - - Geometric multi-polygon type kind - - - - - Geometric collection type kind - - - - - Geographic point type kind - - - - - Geographic linestring type kind - - - - - Geographic polygon type kind - - - - - Geographic multi-point type kind - - - - - Geographic multi-linestring type kind - - - - - Geographic multi-polygon type kind - - - - - Geographic collection type kind - - - - - HierarchyId type kind - - - - - Specifies the kinds of item attributes in the conceptual model. - - - - - An enumeration member indicating that an item attribute is System - - - - - An enumeration member indicating that an item attribute is Extended. - - - - - Class representing a read-only wrapper around MetadataCollection - - The type of items in this collection - - - - The enumerator for MetadataCollection - - - - Gets the member at the current position. - The member at the current position. - - - - Gets the member at the current position - - - - Disposes of this enumerator. - - - - Moves to the next member in the collection of type - - . - - - true if the enumerator is moved in the collection of type - - ; otherwise, false. - - - - - Positions the enumerator before the first position in the collection of type - - . - - - - Gets a value indicating whether this collection is read-only. - true if this collection is read-only; otherwise, false. - - - Gets an item from this collection by using the specified identity. - An item from this collection. - The identity of the item to be searched for. - - - Retrieves an item from this collection by using the specified identity. - An item from this collection. - The identity of the item to be searched for. - true to perform the case-insensitive search; otherwise, false. - - - Determines whether the collection contains an item with the specified identity. - true if the collection contains the item to be searched for; otherwise, false. The default is false. - The identity of the item. - - - Retrieves an item from this collection by using the specified identity. - true if there is an item that matches the search criteria; otherwise, false. - The identity of the item to be searched for. - true to perform the case-insensitive search; otherwise, false. - When this method returns, this output parameter contains an item from the collection. If there is no matched item, this output parameter contains null. - - - Returns an enumerator that can iterate through this collection. - - A that can be used to iterate through this - - . - - - - Returns the index of the specified value in this collection. - The index of the specified value in this collection. - A value to seek. - - - - This class represents a referential constraint between two entities specifying the "to" and "from" ends of the relationship. - - - - - Constructs a new constraint on the relationship - - role from which the relationship originates - role to which the relationship is linked/targeted to - properties on entity type of to role which take part in the constraint - properties on entity type of from role which take part in the constraint - Argument Null exception if any of the arguments is null - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the "from role" that takes part in this - - . - - - A object that represents the "from role" that takes part in this - - . - - Thrown if value passed into setter is null - Thrown if the ReferentialConstraint instance is in ReadOnly state - - - - Gets the "to role" that takes part in this . - - - A object that represents the "to role" that takes part in this - - . - - Thrown if value passed into setter is null - Thrown if the ReferentialConstraint instance is in ReadOnly state - - - - Gets the list of properties for the "from role" on which this - - is defined. - - - A collection of type that contains the list of properties for "from role" on which this - - is defined. - - - - - Gets the list of properties for the "to role" on which this - - is defined. - - - A collection of type that contains the list of properties for the "to role" on which this - - is defined. - - - - - Returns the combination of the names of the - - and the - - . - - - The combination of the names of the - - and the - - . - - - - - Class representing a ref type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the entity type referenced by this . - - - An object that represents the entity type referenced by this - - . - - - - - - - - - - - Initializes a new instance of the RelationshipEndMember class - - - - Gets the operational behavior of this relationship end member. - - One of the values. The default is - - . - - - - Gets the multiplicity of this relationship end member. - - One of the values. - - - - Access the EntityType of the EndMember in an association. - The EntityType of the EndMember in an association. - - - - Represents the multiplicity information about the end of a relationship type - - - - - Lower Bound is Zero and Upper Bound is One - - - - - Both lower bound and upper bound is one - - - - - Lower bound is zero and upper bound is null - - - - - Class for representing a relationship set - - - - - Gets the relationship type of this . - - - An object that represents the relationship type of this - - . - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Represents the Relationship type - - - - Gets the list of ends for this relationship type. - - A collection of type that contains the list of Ends for this relationship type. - - - - - Represents the Edm Row Type - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the list of properties on this . - - - A collection of type that contains the list of properties on this - - . - - - - Gets a collection of the properties defined by the current type. - A collection of the properties defined by the current type. - - - - The factory method for constructing the object. - - Properties of the row type object. - Metadata properties that will be added to the function. Can be null. - - A new, read-only instance of the object. - - - - - Class representing a simple type - - - - - Serializes the storage (database) section of an to XML. - - - - - Occurs when an error is encountered serializing the model. - - - - - Serialize the to the - - The EdmModel to serialize - Provider information on the Schema element - ProviderManifestToken information on the Schema element - The XmlWriter to serialize to - A value indicating whether to serialize Nullable attributes when they are set to the default value. - true if model can be serialized, otherwise false - - - - Serialize the to the - - The EdmModel to serialize - Namespace name on the Schema element - Provider information on the Schema element - ProviderManifestToken information on the Schema element - The XmlWriter to serialize to - A value indicating whether to serialize Nullable attributes when they are set to the default value. - true if model can be serialized, otherwise false - - - - The pattern for Server Generated Properties. - - - - - Not a Server Generated Property. This is the default. - - - - - A value is generated on INSERT, and remains unchanged on update. - - - - - A value is generated on both INSERT and UPDATE. - - - - - Class for representing a collection of items in Store space. - - - - - Initializes a new instance of the class using the specified XMLReader. - - The XMLReader used to create metadata. - - - Initializes a new instances of the class. - The model of the . - - - - Initializes a new instance of the class using the specified file paths. - - The file paths used to create metadata. - - - Gets the provider factory of the StoreItemCollection. - The provider factory of the StoreItemCollection. - - - Gets the provider manifest of the StoreItemCollection. - The provider manifest of the StoreItemCollection. - - - Gets the manifest token of the StoreItemCollection. - The manifest token of the StoreItemCollection. - - - Gets the invariant name of the StoreItemCollection. - The invariant name of the StoreItemCollection. - - - Gets the version of the store schema for this collection. - The version of the store schema for this collection. - - - - Returns a collection of the objects. - - - A object that represents the collection of the - - objects. - - - - - Factory method that creates a . - - - SSDL artifacts to load. Must not be null. - - - Paths to SSDL artifacts. Used in error messages. Can be null in which case - the base Uri of the XmlReader will be used as a path. - - - Custom resolver. Currently used to resolve DbProviderServices implementation. If null - the default resolver will be used. - - - The collection of errors encountered while loading. - - - instance if no errors encountered. Otherwise null. - - - - - Represents the Structural Type - - - - Gets the list of members on this type. - - A collection of type that contains a set of members on this type. - - - - - Adds a member to this type - - The member to add - - - Removes a member from this type. - The member to remove. - - - - Class representing a type information for an item - - - - - Factory method for creating a TypeUsage with specified EdmType and facets - - EdmType for which to create a type usage - facets to be copied into the new TypeUsage - new TypeUsage instance - - - - Creates a object with the specified conceptual model type. - - - A object with the default facet values for the specified - - . - - - A for which the - - object is created. - - - - - Creates a object to describe a string type by using the specified facet values. - - - A object describing a string type by using the specified facet values. - - - A for which the - - object is created. - - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the length of the string type to fixed; otherwise, false. - - - - Creates a object to describe a string type by using the specified facet values and unbounded MaxLength. - - - A object describing a string type by using the specified facet values and unbounded MaxLength. - - - A for which the - - object is created. - - true to set the character-encoding standard of the string type to Unicode; otherwise, false. - true to set the length of the string type to fixed; otherwise, false - - - - Creates a object to describe a binary type by using the specified facet values. - - - A object describing a binary type by using the specified facet values. - - - A for which the - - object is created. - - true to set the length of the binary type to fixed; otherwise, false. - The maximum length of the binary type. - - - - Creates a object to describe a binary type by using the specified facet values. - - - A object describing a binary type by using the specified facet values. - - - A for which the - - object is created. - - true to set the length of the binary type to fixed; otherwise, false. - - - - Creates a object of the type that the parameters describe. - - - A object. - - - The simple type that defines the units of measurement of the object. - - - The degree of granularity of the in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object of the type that the parameters describe. - - - A object. - - The simple type that defines the units of measurement of the offset. - - The degree of granularity of the in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object of the type that the parameters describe. - - - A object. - - - The simple type that defines the units of measurement of the object. - - - The degree of granularity of the in fractions of a second, based on the number of decimal places supported. For example a precision of 3 means the granularity supported is milliseconds. - - - - - Creates a object to describe a decimal type by using the specified facet values. - - - A object describing a decimal type by using the specified facet values. - - - A for which the - - object is created. - - - The precision of the decimal type as type . - - - The scale of the decimal type as type . - - - - - Creates a object to describe a decimal type with unbounded precision and scale facet values. - - - A object describing a decimal type with unbounded precision and scale facet values. - - - A for which the - - object is created. - - - - - Gets the built-in type kind for this . - - - A object that represents the built-in type kind for this - - . - - - - - Gets the type information described by this . - - - An object that represents the type information described by this - - . - - - - - Gets the list of facets for the type that is described by this - - . - - - A collection of type that contains the list of facets for the type that is described by this - - . - - - - - Returns a Model type usage for a provider type - - Model (CSpace) type usage - - - - Checks whether this is a subtype of the specified - - . - - - true if this is a subtype of the specified - - ; otherwise, false. - - - The object to be checked. - - - - - Returns the full name of the type described by this . - - - The full name of the type described by this as string. - - - - - This exception is thrown when a requested object is not found in the store. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of class that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Caches an ELinq query - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg14 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg15 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg14 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type. - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - Creates a new delegate that represents the compiled LINQ to Entities query. - - , a generic delegate that represents the compiled LINQ to Entities query. - - The lambda expression to compile. - - A type derived from . - - - The type T of the query results returned by executing the delegate returned by the - - method. - - - - - The values currently assigned to the properties of an entity. - - - - - This is the interface that represent the minimum interface required - to be an entity in ADO.NET. - - - - Notifies the change tracker that a property change is pending on a complex object. - The name of the changing property. - property is null. - - - Notifies the change tracker that a property of a complex object has changed. - The name of the changed property. - property is null. - - - - Attribute for complex properties - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - attribute for complex types - - - - - Attribute identifying the Edm base class - - - - - Attribute indicating an enum type. - - - - - Indicates that the given method is a proxy for an EDM function. - - - Note that this attribute has been replaced by the starting with EF6. - - - - - Creates a new DbFunctionAttribute instance. - - The namespace name of the EDM function represented by the attributed method. - The function name of the EDM function represented by the attributed method. - - - - Base attribute for properties mapped to store elements. - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - Attribute identifying the Ends defined for a RelationshipSet - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - - Initializes a new instance of the - - class. - - The namespace name of the relationship property. - The name of the relationship. The relationship name is not namespace qualified. - The role name at the other end of the relationship. - - - The namespace name of the navigation property. - - A that is the namespace name. - - - - Gets the unqualified relationship name. - The relationship name. - - - Gets the role name at the other end of the relationship. - The target role name is specified by the Role attribute of the other End element in the association that defines this relationship in the conceptual model. For more information, see Association (EDM). - - - - Defines a relationship between two entity types based on an association in the conceptual model. - - - - - Creates an instance of the class. - - The name of the namespace for the association in which this entity participates. - The name of a relationship in which this entity participates. - Name of the role for the type at one end of the association. - - A value of that indicates the multiplicity at one end of the association, such as one or many. - - The type of the entity at one end of the association. - Name of the role for the type at the other end of the association. - - A value of that indicates the multiplicity at the other end of the association, such as one or many. - - The type of the entity at the other end of the association. - - - - Initializes a new instance of the - - class. - - The name of the namespace for the association in which this entity participates. - The name of a relationship in which this entity participates. - Name of the role for the type at one end of the association. - - A value of that indicates the multiplicity at one end of the association, such as one or many. - - The type of the entity at one end of the association. - Name of the role for the type at the other end of the association. - - A value of that indicates the multiplicity at the other end of the association, such as one or many. - - The type of the entity at the other end of the association. - A value that indicates whether the relationship is based on the foreign key value. - - - The namespace for the relationship. - - A that is the namespace for the relationship. - - - - Name of the relationship. - - A that is the name of a relationship that is defined by this - - . - - - - Name of the role at one end of the relationship. - - A that is the name of the role. - - - - Multiplicity at one end of the relationship. - - A value that indicates the multiplicity. - - - - Type of the entity at one end of the relationship. - - A that is the type of the object at this end of the association. - - - - Name of the role at the other end of the relationship. - - A that is the name of the role. - - - - Multiplicity at the other end of the relationship. - - A value that indicates the multiplicity. - - - - Type of the entity at the other end of the relationship. - - A that is the type of the object t the other end of the association. - - - - Gets a Boolean value that indicates whether the relationship is based on the foreign key value. - true if the relationship is based on the foreign key value; otherwise false. - - - - Attribute for scalar properties in an IEntity. - Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, - The metadata system expects this and will only look at the first of each of these attributes, even if there are more. - - - - Gets or sets the value that indicates whether the property can have a null value. - The value that indicates whether the property can have a null value. - - - Gets or sets the value that indicates whether the property is part of the entity key. - The value that indicates whether the property is part of the entity key. - - - - Attribute for static types - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a unique value for each model referenced by the assembly. - - - Setting this parameter to a unique value for each model file in a Visual Basic - assembly will prevent the following error: - "'System.Data.Entity.Core.Objects.DataClasses.EdmSchemaAttribute' cannot be specified more than once in this project, even with identical parameter values." - - A string that is a unique GUID value for the model in the assembly. - - - - Base attribute for schematized types - - - - The name of the type in the conceptual schema that maps to the class to which this attribute is applied. - - A that is the name. - - - - The namespace name of the entity object type or complex type in the conceptual schema that maps to this type. - - A that is the namespace name. - - - - - Collection of entities modeling a particular EDM construct - which can either be all entities of a particular type or - entities participating in a particular relationship. - - The type of entities in this collection. - - - - Initializes a new instance of the class. - - - - Gets the number of objects that are contained in the collection. - - The number of elements that are contained in the - - . - - - - - Gets a value that indicates whether the - - is read-only. - - Always returns false. - - - - IListSource.ContainsListCollection implementation. Always returns false. - This means that the IList we return is the one which contains our actual data, - it is not a list of collections. - - - - - Returns the collection as an used for data binding. - - - An of entity objects. - - - - Loads related objects into the collection, using the specified merge option. - - Specifies how the objects in this collection should be merged with the objects that might have been returned from previous queries against the same - - . - - - - - - - Defines relationships between an object and a collection of related objects in an object context. - - Loads related entities into the local collection. If the collection is already filled - or partially filled, merges existing entities with the given entities. The given - entities are not assumed to be the complete set of related entities. - Owner and all entities passed in must be in Unchanged or Modified state. We allow - deleted elements only when the state manager is already tracking the relationship - instance. - - Collection of objects in the object context that are related to the source object. - entities collection is null. - - The source object or an object in the entities collection is null or is not in an - - or state.-or-The relationship cannot be defined based on the EDM metadata. This can occur when the association in the conceptual schema does not support a relationship between the two types. - - - - Defines a relationship between two attached objects in an object context. - The object being attached. - When the entity is null. - - When the entity cannot be related to the source object. This can occur when the association in the conceptual schema does not support a relationship between the two types.-or-When either object is null or is not in an - - or state. - - - - Adds an object to the collection. - - An object to add to the collection. entity must implement - - . - - entity is null. - - - Removes an object from the collection and marks the relationship for deletion. - true if item was successfully removed; otherwise, false. - The object to remove from the collection. - entity object is null. - The entity object is not attached to the same object context.-or-The entity object does not have a valid relationship manager. - - - Returns an enumerator that is used to iterate through the objects in the collection. - - An that iterates through the set of values cached by - - . - - - - - Returns an enumerator that is used to iterate through the set of values cached by - - . - - - An that iterates through the set of values cached by - - . - - - - Removes all entities from the collection. - - - Determines whether a specific object exists in the collection. - - true if the object is found in the ; otherwise, false. - - - The object to locate in the . - - - - Copies all the contents of the collection to an array, starting at the specified index of the target array. - The array to copy to. - The zero-based index in the array at which copying begins. - - - Used internally to serialize entity objects. - The streaming context. - - - Used internally to deserialize entity objects. - The streaming context. - - - Returns an object query that, when it is executed, returns the same set of objects that exists in the current collection. - - An that represents the entity collection. - - - When the object is in an state - or when the object is in a - state with a - other than - . - - - - - This is the class is the basis for all perscribed EntityObject classes. - - - - Gets the entity state of the object. - - The of this object. - - - - Gets or sets the key for this object. - - The for this object. - - - - - Used by the ObjectStateManager to attach or detach this EntityObject to the cache. - - Reference to the ObjectStateEntry that contains this entity - - - - Returns the container for the lazily created relationship - navigation property objects, collections and refs. - - - - Notifies the change tracker that a property change is pending. - The name of the changing property. - property is null. - - - Notifies the change tracker that a property has changed. - The name of the changed property. - property is null. - - - - Models a relationship end with multiplicity 1. - - - - Returns the key for the related object. - - Returns the EntityKey of the target entity associated with this EntityReference. - Is non-null in the following scenarios: - (a) Entities are tracked by a context and an Unchanged or Added client-side relationships exists for this EntityReference's owner with the - same RelationshipName and source role. This relationship could have been created explicitly by the user (e.g. by setting - the EntityReference.Value, setting this property directly, or by calling EntityCollection.Add) or automatically through span queries. - (b) If the EntityKey was non-null before detaching an entity from the context, it will still be non-null after detaching, until any operation - occurs that would set it to null, as described below. - (c) Entities are detached and the EntityKey is explicitly set to non-null by the user. - (d) Entity graph was created using a NoTracking query with full span - Is null in the following scenarios: - (a) Entities are tracked by a context but there is no Unchanged or Added client-side relationship for this EntityReference's owner with the - same RelationshipName and source role. - (b) Entities are tracked by a context and a relationship exists, but the target entity has a temporary key (i.e. it is Added) or the key - is one of the special keys - (c) Entities are detached and the relationship was explicitly created by the user. - - - An that is the key of the related object. - - - - - Models a relationship end with multiplicity 1. - - The type of the entity being referenced. - - - - Creates a new instance of . - - - The default constructor is required for some serialization scenarios. It should not be used to - create new EntityReferences. Use the GetRelatedReference or GetRelatedEnd methods on the RelationshipManager - class instead. - - - - - Gets or sets the related object returned by this - - . - - - The object returned by this . - - - - - Loads the related object for this with the specified merge option. - - - Specifies how the object should be returned if it already exists in the - - . - - - The source of the is null - or a query returned more than one related end - or a query returned zero related ends, and one related end was expected. - - - - - - - Creates a many-to-one or one-to-one relationship between two objects in the object context. - The object being attached. - When the entity is null. - When the entity cannot be related to the current related end. This can occur when the association in the conceptual schema does not support a relationship between the two types. - - - Creates an equivalent object query that returns the related object. - - An that returns the related object. - - - When the object is in an state - or when the object is in a - state with a - other than . - - - - This method is used internally to serialize related entity objects. - The serialized stream. - - - This method is used internally to serialize related entity objects. - The serialized stream. - - - - This interface is implemented by a change tracker and is used by data classes to report changes - - - - Notifies the change tracker of a pending change to a property of an entity type. - The name of the property that is changing. - - - Notifies the change tracker that a property of an entity type has changed. - The name of the property that has changed. - - - Notifies the change tracker of a pending change to a complex property. - The name of the top-level entity property that is changing. - The complex type that contains the property that is changing. - The name of the property that is changing on complex type. - - - Notifies the change tracker that a property of a complex type has changed. - The name of the complex property of the entity type that has changed. - The complex type that contains the property that changed. - The name of the property that changed on complex type. - - - Gets current state of a tracked object. - - An that is the state of the tracked object.For more information, see Identity Resolution, State Management, and Change Tracking and Tracking Changes in POCO Entities. - - - - - Minimum interface that a data class must implement in order to be managed by a change tracker. - - - - - Gets or sets the used to report changes. - - - The used to report changes. - - - - - Interface that defines an entity containing a key. - - - - - Gets or sets the for instances of entity types that implement this interface. - - - If an object is being managed by a change tracker, it is expected that - IEntityChangeTracker methods EntityMemberChanging and EntityMemberChanged will be - used to report changes on EntityKey. This allows the change tracker to validate the - EntityKey's new value and to verify if the change tracker is in a state where it can - allow updates to the EntityKey. - - - The for instances of entity types that implement this interface. - - - - - Interface that a data class must implement if exposes relationships - - - - Returns the relationship manager that manages relationships for an instance of an entity type. - - Classes that expose relationships must implement this property - by constructing and setting RelationshipManager in their constructor. - The implementation of this property should use the static method RelationshipManager.Create - to create a new RelationshipManager when needed. Once created, it is expected that this - object will be stored on the entity and will be provided through this property. - - - The for this entity. - - - - - Represents one end of a relationship. - - - - - Gets or sets a value indicating whether the entity (for an or all entities - in the collection (for an have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded - and wants to prevent any other entities from being loaded automatically. - Note that explicit loading using will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity is detached the IsLoaded flag is reset to false indicating that not all related entities - are now loaded. - - - True if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise false. - - - - Gets the name of the relationship in which this related end participates. - - The name of the relationship in which this is participating. The relationship name is not namespace qualified. - - - - Gets the role name at the source end of the relationship. - The role name at the source end of the relationship. - - - Gets the role name at the target end of the relationship. - The role name at the target end of the relationship. - - - Returns a reference to the metadata for the related end. - - A object that contains metadata for the end of a relationship. - - - - Loads the related object or objects into this related end with the default merge option. - - - Asynchronously loads the related object or objects into this related end with the default merge option. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - Loads the related object or objects into the related end with the specified merge option. - - The to use when merging objects into an existing - . - - - - Asynchronously loads the related object or objects into the related end with the specified merge option. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when merging objects into an existing - . - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - Adds an object to the related end. - - An object to add to the collection. entity must implement - - . - - - - Adds an object to the related end. - An object to add to the collection. - - - Removes an object from the collection of objects at the related end. - - true if entity was successfully removed, false if entity was not part of the - - . - - - The object to remove from the collection. entity must implement - - . - - - - Removes an object from the collection of objects at the related end. - - true if entity was successfully removed; false if entity was not part of the - - . - - An object to remove from the collection. - - - Defines a relationship between two attached objects. - - The object being attached. entity must implement - - . - - - - Defines a relationship between two attached objects. - The object being attached. - - - - Returns an that represents the objects that belong to the related end. - - - An that represents the objects that belong to the related end. - - - - - Returns an that iterates through the collection of related objects. - - - An that iterates through the collection of related objects. - - - - - Base class for EntityCollection and EntityReference - - - - Occurs when a change is made to a related end. - - - Gets the name of the relationship in which this related end participates. - - The name of the relationship in which this participates. The relationship name is not namespace qualified. - - - - Gets the role name at the source end of the relationship. - - A that is the role name. - - - - Gets the role name at the target end of the relationship. - - A that is the role name. - - - - - Returns an that represents the objects that belong to the related end. - - - An that represents the objects that belong to the related end. - - - - Gets a reference to the metadata for the related end. - - A object that contains metadata for the end of a relationship. - - - - - - - - Loads the related object or objects into the related end with the default merge option. - - - When the source object was retrieved by using a query - and the is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Asynchronously loads the related object or objects into the related end with the default merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - When the source object was retrieved by using a query - and the is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Loads an object or objects from the related end with the specified merge option. - - - The to use when merging objects into an existing - . - - - When the source object was retrieved by using a query - and the - is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Asynchronously loads an object or objects from the related end with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when merging objects into an existing - . - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - When the source object was retrieved by using a query - and the - is not - or the related objects are already loaded - or when the source object is not attached to the - or when the source object is being tracked but is in the - or state - or the - used for - is . - - - - - Attaches an entity to the related end. This method works in exactly the same way as Attach(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - The entity to attach to the related end - - Thrown when - - is null. - - Thrown when the entity cannot be related via the current relationship end. - - - - Attaches an entity to the related end. If the related end is already filled - or partially filled, this merges the existing entities with the given entity. The given - entity is not assumed to be the complete set of related entities. - Owner and all entities passed in must be in Unchanged or Modified state. - Deleted elements are allowed only when the state manager is already tracking the relationship - instance. - - The entity to attach to the related end - - Thrown when - - is null. - - Thrown when the entity cannot be related via the current relationship end. - - - - Adds an entity to the related end. This method works in exactly the same way as Add(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - Entity instance to add to the related end - - - - Adds an entity to the related end. If the owner is - attached to a cache then the all the connected ends are - added to the object cache and their corresponding relationships - are also added to the ObjectStateManager. The RelatedEnd of the - relationship is also fixed. - - Entity instance to add to the related end - - - - Removes an entity from the related end. This method works in exactly the same way as Remove(object). - It is maintained for backward compatibility with previous versions of IRelatedEnd. - - Entity instance to remove from the related end - Returns true if the entity was successfully removed, false if the entity was not part of the RelatedEnd. - - - - Removes an entity from the related end. If owner is - attached to a cache, marks relationship for deletion and if - the relationship is composition also marks the entity for deletion. - - Entity instance to remove from the related end - Returns true if the entity was successfully removed, false if the entity was not part of the RelatedEnd. - - - - Returns an that iterates through the collection of related objects. - - - An that iterates through the collection of related objects. - - - - - Used internally to deserialize entity objects along with the - - instances. - - The serialized stream. - - - - Identifies the kind of a relationship - - - - - The relationship is an Association - - - - - Container for the lazily created relationship navigation - property objects (collections and refs). - - - - - Creates a new object. - - - Used by data classes that support relationships. If the change tracker - requests the RelationshipManager property and the data class does not - already have a reference to one of these objects, it calls this method - to create one, then saves a reference to that object. On subsequent accesses - to that property, the data class should return the saved reference. - The reason for using a factory method instead of a public constructor is to - emphasize that this is not something you would normally call outside of a data class. - By requiring that these objects are created via this method, developers should - give more thought to the operation, and will generally only use it when - they explicitly need to get an object of this type. It helps define the intended usage. - - - The requested . - - Reference to the entity that is calling this method. - - - - Returns either an or - - of the correct type for the specified target role in a relationship. - - - representing the - - or - - that was retrieved. - - Name of the relationship in which targetRoleName is defined. The relationship name is not namespace qualified. - Target role to use to retrieve the other end of relationshipName . - relationshipName or targetRoleName is null. - The source type does not match the type of the owner. - targetRoleName is invalid or unable to find the relationship type in the metadata. - - - - Takes an existing EntityReference that was created with the default constructor and initializes it using the provided relationship and target role names. - This method is designed to be used during deserialization only, and will throw an exception if the provided EntityReference has already been initialized, - if the relationship manager already contains a relationship with this name and target role, or if the relationship manager is already attached to a ObjectContext.W - - The relationship name. - The role name of the related end. - - The to initialize. - - - The type of the being initialized. - - - When the provided - is already initialized.-or-When the relationship manager is already attached to an - - or when the relationship manager already contains a relationship with this name and target role. - - - - - Takes an existing EntityCollection that was created with the default constructor and initializes it using the provided relationship and target role names. - This method is designed to be used during deserialization only, and will throw an exception if the provided EntityCollection has already been initialized, - or if the relationship manager is already attached to a ObjectContext. - - The relationship name. - The target role name. - An existing EntityCollection. - Type of the entity represented by targetRoleName - - - - Gets an of related objects with the specified relationship name and target role name. - - - The of related objects. - - Name of the relationship to navigate. The relationship name is not namespace qualified. - Name of the target role for the navigation. Indicates the direction of navigation across the relationship. - - The type of the returned . - - - The specified role returned an instead of an - - . - - - - - Gets the for a related object by using the specified combination of relationship name and target role name. - - - The of a related object. - - Name of the relationship to navigate. The relationship name is not namespace qualified. - Name of the target role for the navigation. Indicates the direction of navigation across the relationship. - - The type of the returned . - - - The specified role returned an instead of an - - . - - - - Returns an enumeration of all the related ends managed by the relationship manager. - - An of objects that implement - - . An empty enumeration is returned when the relationships have not yet been populated. - - - - - Called by Object Services to prepare an for binary serialization with a serialized relationship. - - Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. - - - - Used internally to deserialize entity objects along with the - - instances. - - The serialized stream. - - - - This class contains the common methods need for an date object. - - - - - Public constant name used for change tracking - Providing this definition allows users to use this constant instead of - hard-coding the string. This helps to ensure the property name is correct - and allows faster comparisons in places where we are looking for this specific string. - Users can still use the case-sensitive string directly instead of the constant, - it will just be slightly slower on comparison. - Including the dash (-) character around the name ensures that this will not conflict with - a real data property, because -EntityKey- is not a valid identifier name - - - - - Notification that a property has been changed. - - - The PropertyChanged event can indicate all properties on the - object have changed by using either a null reference - (Nothing in Visual Basic) or String.Empty as the property name - in the PropertyChangedEventArgs. - - - - - Notification that a property is about to be changed. - - - The PropertyChanging event can indicate all properties on the - object are changing by using either a null reference - (Nothing in Visual Basic) or String.Empty as the property name - in the PropertyChangingEventArgs. - - - - - Raises the event. - - The name of the changed property. - - - - Raises the event. - - The name of the property changing. - - - Returns the minimum date time value supported by the data source. - - A value that is the minimum date time that is supported by the data source. - - - - Raises an event that is used to report that a property change is pending. - The name of the changing property. - - - Raises an event that is used to report that a property change has occurred. - The name for the changed property. - - - Returns a complex type for the specified property. - - Unlike most of the other helper methods in this class, this one is not static - because it references the SetValidValue for complex objects, which is also not static - because it needs a reference to this. - - A complex type object for the property. - A complex object that inherits from complex object. - The name of the complex property that is the complex object. - Indicates whether the type supports null values. - Indicates whether the type is initialized. - The type of the complex object being requested. - - - Determines whether the specified byte arrays contain identical values. - true if both arrays are of the same length and contain the same byte values or if both arrays are null; otherwise, false. - The first byte array value to compare. - The second byte array to compare. - - - Returns a copy of the current byte value. - - A copy of the current value. - - The current byte array value. - - - - Makes sure the value being set for a property is valid. - - - The value being validated. - - The value passed into the property setter. - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - If value is null for a non nullable value. - - - - Makes sure the value being set for a property is valid. - - - A value being set. - - The value being set. - Indicates whether the property is nullable. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - The Boolean value. - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - The Boolean value. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - A that is set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value that is set. - - The value that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - A value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - Makes sure the Single value being set for a property is valid. - - The value being set. - - - The value. - - The name of the property that is being validated. - - - Makes sure the Single value being set for a property is valid. - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - Name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The nullable value being set. - - - The nullable value. - - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - Makes sure the UInt16 value being set for a property is valid. - The nullable UInt16 value being set. - The nullable UInt16 value. - The name of the property that is being validated. - - - Makes sure the UInt16 value being set for a property is valid. - The nullable UInt16 value being set. - The nullable UInt16 value. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - Makes sure the UInt32 value being set for a property is valid. - The nullable UInt32 value being set. - The nullable UInt32 value. - The name of the property that is being validated. - - - Makes sure the UInt32 value being set for a property is valid. - The nullable UInt32 value being set. - The nullable UInt32 value. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - - The value being set. - - - The value. - - - - - Makes sure the value being set for a property is valid. - - The nullable UInt64 value being set. - The nullable UInt64 value. - The name of the property that is being validated. - - - - Makes sure the value being set for a property is valid. - - The nullable UInt64 value being set. - The nullable UInt64 value. - - - Validates that the property is not null, and throws if it is. - The validated property. - The string value to be checked. - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - The string value is null for a non-nullable string. - - - Validates that the property is not null, and throws if it is. - - The validated value. - - The string value to be checked. - Flag indicating if this property is allowed to be null. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - The value to be checked. - - Flag indicating if this property is allowed to be null. - Name of the property that is being validated. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - value to be checked. - - Flag indicating if this property is allowed to be null. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - value to be checked. - - Flag indicating if this property is allowed to be null. - The name of the property that is being validated. - The value is null for a non-nullable property. - - - Validates that the property is not null, and throws if it is. - - The value being set. - - - The value to be checked. - - Flag indicating if this property is allowed to be null. - The value is null for a non-nullable property. - - - Sets a complex object for the specified property. - A complex type that derives from complex object. - The original complex object for the property, if any. - The complex object is being set. - The complex property that is being set to the complex object. - The type of the object being replaced. - - - Verifies that a complex object is not null. - The complex object being validated. - The complex object that is being validated. - The complex property on the parent object that is associated with complexObject . - The type of the complex object being verified. - - - - Provides access to the original values of object data. The DbUpdatableDataRecord implements methods that allow updates to the original values of an object. - - - - Gets the number of fields in the record. - An integer value that is the field count. - - - Returns a value that has the given field ordinal. - The value that has the given field ordinal. - The ordinal of the field. - - - Gets a value that has the given field name. - The field value. - The name of the field. - - - Retrieves the field value as a Boolean. - The field value as a Boolean. - The ordinal of the field. - - - Retrieves the field value as a byte. - The field value as a byte. - The ordinal of the field. - - - Retrieves the field value as a byte array. - The number of bytes copied. - The ordinal of the field. - The index at which to start copying data. - The destination buffer where data is copied. - The index in the destination buffer where copying will begin. - The number of bytes to copy. - - - Retrieves the field value as a char. - The field value as a char. - The ordinal of the field. - - - Retrieves the field value as a char array. - The number of characters copied. - The ordinal of the field. - The index at which to start copying data. - The destination buffer where data is copied. - The index in the destination buffer where copying will begin. - The number of characters to copy. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as a - - - The field value as a . - - The ordinal of the field. - - - Retrieves the name of the field data type. - The name of the field data type. - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - Retrieves the field value as a decimal. - The field value as a decimal. - The ordinal of the field. - - - Retrieves the field value as a double. - The field value as a double. - The ordinal of the field. - - - Retrieves the type of a field. - The field type. - The ordinal of the field. - - - Retrieves the field value as a float. - The field value as a float. - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - - Retrieves the field value as an . - - - The field value as an . - - The ordinal of the field. - - - Retrieves the name of a field. - The name of the field. - The ordinal of the field. - - - Retrieves the ordinal of a field by using the name of the field. - The ordinal of the field. - The name of the field. - - - Retrieves the field value as a string. - The field value. - The ordinal of the field. - - - Retrieves the value of a field. - The field value. - The ordinal of the field. - - - Retrieves the value of a field. - The field value. - The ordinal of the field. - - - Populates an array of objects with the field values of the current record. - The number of field values returned. - An array of objects to store the field values. - - - - Returns whether the specified field is set to . - - - true if the field is set to ; otherwise false. - - The ordinal of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - Sets field values in a record. - The number of the fields that were set. - The values of the field. - - - - Sets a field to the value. - - The ordinal of the field. - - - Gets data record information. - - A object. - - - - - Retrieves a field value as a . - - - A field value as a . - - The ordinal of the field. - - - - Retrieves the field value as a . - - - The field value as a . - - The ordinal of the field. - - - Sets the value of a field in a record. - The ordinal of the field. - The value of the field. - - - - List of type pairs that constructor call new XXXX(YYY yyy) could be translated to SQL CAST(yyy AS XXXXX) call - - - - - Provides common language runtime (CLR) methods that expose EDM canonical functions - for use in or LINQ to Entities queries. - - - Note that these functions have been moved to the class starting with EF6. - The functions are retained here only to help in the migration of older EF apps to EF6. - - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Left EDM function to return a given - number of the leftmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the left of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Right EDM function to return a given - number of the rightmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the right of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Reverse EDM function to return a given - string with the order of the characters reversed. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The input string with the order of the characters reversed. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to - return the number of minutes that the given date/time is offset from UTC. This is generally between +780 - and -780 (+ or - 13 hrs). - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The offset of the input from UTC. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTimeOffset EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The time zone offset part of the new date. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of hours between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of minutes between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of seconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of milliseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of microseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of nanoseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - The string to escape special characters with, must only be a single character. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a Unicode string. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a non-Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a non-Unicode string. - - - - Options for query execution. - - - - - Creates a new instance of . - - Merge option to use for entity results. - - - - Creates a new instance of . - - Merge option to use for entity results. - Whether the query is streaming or buffering. - - - - Merge option to use for entity results. - - - - - Whether the query is streaming or buffering. - - - - Determines whether the specified objects are equal. - true if the two objects are equal; otherwise, false. - The left object to compare. - The right object to compare. - - - - Determines whether the specified objects are not equal. - - The left object to compare. - The right object to compare. - true if the two objects are not equal; otherwise, false. - - - - - - - - - - Defines behavior for implementations of IQueryable that allow modifications to the membership of the resulting set. - - Type of entities returned from the queryable. - - - Notifies the set that an object that represents a new entity must be added to the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The new object to add to the set. - - - Notifies the set that an object that represents an existing entity must be added to the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The existing object to add to the set. - - - Notifies the set that an object that represents an existing entity must be deleted from the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The existing object to delete from the set. - - - Notifies the set that an object that represents an existing entity must be detached from the set. - - Depending on the implementation, the change to the set may not be visible in an enumeration of the set - until changes to that set have been persisted in some manner. - - The object to detach from the set. - - - - The different ways that new objects loaded from the database can be merged with existing objects already in memory. - - - - - Will only append new (top level-unique) rows. This is the default behavior. - - - - - Same behavior as LoadOption.OverwriteChanges. - - - - - Same behavior as LoadOption.PreserveChanges. - - - - - Will not modify cache. - - - - - ObjectContext is the top-level object that encapsulates a connection between the CLR and the database, - serving as a gateway for Create, Read, Update, and Delete operations. - - - - - Initializes a new instance of the class with the given connection. During construction, the metadata workspace is extracted from the - - object. - - - An that contains references to the model and to the data source connection. - - The connection is null. - The connection is invalid or the metadata workspace is invalid. - - - - Creates an ObjectContext with the given connection and metadata workspace. - - connection to the store - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - Initializes a new instance of the class with the given connection string and default entity container name. - - The connection string, which also provides access to the metadata information. - The connectionString is null. - The connectionString is invalid or the metadata workspace is not valid. - - - - Initializes a new instance of the class with a given connection string and entity container name. - - The connection string, which also provides access to the metadata information. - The name of the default entity container. When the defaultContainerName is set through this method, the property becomes read-only. - The connectionString is null. - The connectionString , defaultContainerName , or metadata workspace is not valid. - - - - Initializes a new instance of the class with a given connection and entity container name. - - - An that contains references to the model and to the data source connection. - - The name of the default entity container. When the defaultContainerName is set through this method, the property becomes read-only. - The connection is null. - The connection , defaultContainerName , or metadata workspace is not valid. - - - Gets the connection used by the object context. - - A object that is the connection. - - - When the instance has been disposed. - - - - Gets or sets the default container name. - - A that is the default container name. - - - - Gets the metadata workspace used by the object context. - - The object associated with this - - . - - - - Gets the object state manager used by the object context to track object changes. - - The used by this - - . - - - - Gets or sets the timeout value, in seconds, for all object context operations. A null value indicates that the default value of the underlying provider will be used. - - An value that is the timeout value, in seconds. - - The timeout value is less than 0. - - - Gets the LINQ query provider associated with this object context. - - The instance used by this object context. - - - - - Gets the instance that contains options that affect the behavior of the - - . - - - The instance that contains options that affect the behavior of the - - . - - - - - Returns itself. ObjectContext implements to provide a common - interface for and ObjectContext both of which will return the underlying - ObjectContext. - - - - - Gets the transaction handler in use by this context. May be null if no transaction have been started. - - - The transaction handler. - - - - - Returns the being used for this context. - - - - Occurs when changes are saved to the data source. - - - Occurs when a new entity object is created from data in the data source as part of a query or load operation. - - - Accepts all changes made to objects in the object context. - - - Adds an object to the object context. - Represents the entity set name, which may optionally be qualified by the entity container name. - - The to add. - - The entity parameter is null or the entitySetName does not qualify. - - - Explicitly loads an object related to the supplied object by the specified navigation property and using the default merge option. - The entity for which related objects are to be loaded. - The name of the navigation property that returns the related objects to be loaded. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified navigation property and using the specified merge option. - The entity for which related objects are to be loaded. - The name of the navigation property that returns the related objects to be loaded. - - The value to use when you load the related objects. - - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified LINQ query and by using the default merge option. - The type of the entity. - The source object for which related objects are to be loaded. - A LINQ expression that defines the related objects to be loaded. - selector does not supply a valid input parameter. - selector is null. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Explicitly loads an object that is related to the supplied object by the specified LINQ query and by using the specified merge option. - The type of the entity. - The source object for which related objects are to be loaded. - A LINQ expression that defines the related objects to be loaded. - - The value to use when you load the related objects. - - selector does not supply a valid input parameter. - selector is null. - - The entity is in a , - - or state or the entity is attached to another instance of - - . - - - - Applies property changes from a detached object to an object already attached to the object context. - The name of the entity set to which the object belongs. - The detached object that has property updates to apply to the original object. - When entitySetName is null or an empty string or when changed is null. - - When the from entitySetName does not match the - - of the object - - or when the entity is in a state other than - - or - - or the original object is not attached to the context. - - When the type of the changed object is not the same type as the original object. - - - - Copies the scalar values from the supplied object into the object in the - - that has the same key. - - The updated object. - The name of the entity set to which the object belongs. - - The detached object that has property updates to apply to the original object. The entity key of currentEntity must match the - - property of an entry in the - - . - - The entity type of the object. - entitySetName or current is null. - - The from entitySetName does not match the - - of the object - - or the object is not in the - - or it is in a - - state or the entity key of the supplied object is invalid. - - entitySetName is an empty string. - - - - Copies the scalar values from the supplied object into set of original values for the object in the - - that has the same key. - - The updated object. - The name of the entity set to which the object belongs. - - The detached object that has original values to apply to the object. The entity key of originalEntity must match the - - property of an entry in the - - . - - The type of the entity object. - entitySetName or original is null. - - The from entitySetName does not match the - - of the object - - or an - - for the object cannot be found in the - - or the object is in an - - or a - - state or the entity key of the supplied object is invalid or has property changes. - - entitySetName is an empty string. - - - Attaches an object or object graph to the object context in a specific entity set. - Represents the entity set name, which may optionally be qualified by the entity container name. - - The to attach. - - The entity is null. - - Invalid entity set or the object has a temporary key or the object has an - - and the - - does not match with the entity set passed in as an argument of the method or the object does not have an - - and no entity set is provided or any object from the object graph has a temporary - - or any object from the object graph has an invalid - - (for example, values in the key do not match values in the object) or the entity set could not be found from a given entitySetName name and entity container name or any object from the object graph already exists in another state manager. - - - - Attaches an object or object graph to the object context when the object has an entity key. - The object to attach. - The entity is null. - Invalid entity key. - - - Creates the entity key for a specific object, or returns the entity key if it already exists. - - The of the object. - - The fully qualified name of the entity set to which the entity object belongs. - The object for which the entity key is being retrieved. - When either parameter is null. - When entitySetName is empty or when the type of the entity object does not exist in the entity set or when the entitySetName is not fully qualified. - When the entity key cannot be constructed successfully based on the supplied parameters. - - - - Creates a new instance that is used to query, add, modify, and delete objects of the specified entity type. - - - The new instance. - - - Entity type of the requested . - - - The property is not set on the - - or the specified type belongs to more than one entity set. - - - - - Creates a new instance that is used to query, add, modify, and delete objects of the specified type and with the specified entity set name. - - - The new instance. - - - Name of the entity set for the returned . The string must be qualified by the default container name if the - - property is not set on the - - . - - - Entity type of the requested . - - - The from entitySetName does not match the - - of the object - - or the - - property is not set on the - - and the name is not qualified as part of the entitySetName parameter or the specified type belongs to more than one entity set. - - - - - Creates an in the current object context by using the specified query string. - - - An of the specified type. - - The query string to be executed. - Parameters to pass to the query. - - The entity type of the returned . - - The queryString or parameters parameter is null. - - - Marks an object for deletion. - - An object that specifies the entity to delete. The object can be in any state except - - . - - - - Removes the object from the object context. - - Object to be detached. Only the entity is removed; if there are any related objects that are being tracked by the same - - , those will not be detached automatically. - - The entity is null. - - The entity is not associated with this (for example, was newly created and not associated with any context yet, or was obtained through some other context, or was already detached). - - - - - Finalizes an instance of the class. - - - - Releases the resources used by the object context. - - - - Releases the resources used by the object context. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Returns an object that has the specified entity key. - - An that is an instance of an entity type. - - The key of the object to be found. - The key parameter is null. - - The object is not found in either the or the data source. - - - - Updates a collection of objects in the object context with data from the database. - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - - An collection of objects to refresh. - - collection is null. - refreshMode is not valid. - collection is empty or an object is not attached to the context. - - - Updates an object in the object context with data from the database. - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - The object to be refreshed. - entity is null. - refreshMode is not valid. - entity is not attached to the context. - - - Asynchronously updates a collection of objects in the object context with data from the database. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - - An collection of objects to refresh. - - - A task that represents the asynchronous operation. - - collection is null. - refreshMode is not valid. - collection is empty or an object is not attached to the context. - - - Asynchronously updates a collection of objects in the object context with data from the database. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - - An collection of objects to refresh. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - collection is null. - refreshMode is not valid. - collection is empty or an object is not attached to the context. - - - Asynchronously updates an object in the object context with data from the database. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - The object to be refreshed. - - A task that represents the asynchronous operation. - - entity is null. - refreshMode is not valid. - entity is not attached to the context. - - - Asynchronously updates an object in the object context with data from the database. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that indicates whether - property changes in the object context are overwritten with property values from the database. - - The object to be refreshed. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - entity is null. - refreshMode is not valid. - entity is not attached to the context. - - - Persists all updates to the database and resets change tracking in the object context. - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Asynchronously persists all updates to the database and resets change tracking in the object context. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Asynchronously persists all updates to the database and resets change tracking in the object context. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Persists all updates to the database and optionally resets change tracking in the object context. - - This parameter is needed for client-side transaction support. If true, the change tracking on all objects is reset after - - finishes. If false, you must call the - method after . - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Persists all updates to the database and optionally resets change tracking in the object context. - - A value that determines the behavior of the operation. - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Asynchronously persists all updates to the database and optionally resets change tracking in the object context. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that determines the behavior of the operation. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - Asynchronously persists all updates to the database and optionally resets change tracking in the object context. - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A value that determines the behavior of the operation. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An optimistic concurrency violation has occurred while saving changes. - - - - Ensures that changes are synchronized with changes in all objects that are tracked by the - - . - - - - Returns an object that has the specified entity key. - true if the object was retrieved successfully. false if the key is temporary, the connection is null, or the value is null. - The key of the object to be found. - When this method returns, contains the object. - Incompatible metadata for key . - key is null. - - - - Executes a stored procedure or function that is defined in the data source and mapped in the conceptual model, with the specified parameters. Returns a typed - - . - - - An for the data that is returned by the stored procedure. - - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - The entity type of the returned when the function is executed against the data source. This type must implement - - . - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - - Executes the given stored procedure or function that is defined in the data source and expressed in the conceptual model, with the specified parameters, and merge option. Returns a typed - - . - - - An for the data that is returned by the stored procedure. - - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - The to use when executing the query. - - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - The entity type of the returned when the function is executed against the data source. This type must implement - - . - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - - Executes the given function on the default container. - - Element type for function results. - - Name of function. May include container (e.g. ContainerName.FunctionName) or just function name when DefaultContainerName is known. - - The options for executing this function. - - The parameter values to use for the function. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - An object representing the result of executing this function. - If function is null or empty - - If function is invalid (syntax, - does not exist, refers to a function with return type incompatible with T) - - - - Executes a stored procedure or function that is defined in the data source and expressed in the conceptual model; discards any results returned from the function; and returns the number of rows affected by the execution. - The number of rows affected. - The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required. - - An array of objects. If output parameters are used, - their values will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - function is null or empty or function is not found. - The entity reader does not support this function or there is a type mismatch on the reader and the function . - - - Generates an equivalent type that can be used with the Entity Framework for each type in the supplied enumeration. - - An enumeration of objects that represent custom data classes that map to the conceptual model. - - - - Returns all the existing proxy types. - - An of all the existing proxy types. - - - - Returns the entity type of the POCO entity associated with a proxy object of a specified type. - - The of the associated POCO entity. - - - The of the proxy object. - - - - Creates and returns an instance of the requested type . - An instance of the requested type T , or an instance of a derived type that enables T to be used with the Entity Framework. The returned object is either an instance of the requested type or an instance of a derived type that enables the requested type to be used with the Entity Framework. - Type of object to be returned. - - - - Executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command specified in the server's native query language. - The parameter values to use for the query. - The number of rows affected. - - - - Executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - Controls the creation of a transaction for this command. - The command specified in the server's native query language. - The parameter values to use for the query. - The number of rows affected. - - - - Asynchronously executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command specified in the server's native query language. - The parameter values to use for the query. - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - - Asynchronously executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - Controls the creation of a transaction for this command. - The command specified in the server's native query language. - The parameter values to use for the query. - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - - Asynchronously executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command specified in the server's native query language. - - A to observe while waiting for the task to complete. - - The parameter values to use for the query. - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - - Asynchronously executes an arbitrary command directly against the data source using the existing connection. - The command is specified using the server's native query language, such as SQL. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - Controls the creation of a transaction for this command. - The command specified in the server's native query language. - - A to observe while waiting for the task to complete. - - The parameter values to use for the query. - - A task that represents the asynchronous operation. - The task result contains the number of rows affected. - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior of - DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - - The to use when executing the query. The default is - . - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - An enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - - A to observe while waiting for the task to complete. - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - Results are not tracked by the context, use the overload that specifies an entity set name to track results. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - The options for executing this query. - - A to observe while waiting for the task to complete. - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - The options for executing this query. - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Asynchronously executes a query directly against the data source and returns a sequence of typed results. - The query is specified using the server's native query language, such as SQL. - If an entity set name is specified, results are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.ExecuteStoreQueryAsync<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The element type of the result sequence. - The query specified in the server's native query language. - The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked. - The options for executing this query. - - A to observe while waiting for the task to complete. - - - The parameter values to use for the query. If output parameters are used, their values will not be - available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A task that represents the asynchronous operation. - The task result contains an enumeration of objects of type . - - - - - Translates a that contains rows of entity data to objects of the requested entity type. - - The entity type. - An enumeration of objects of type TResult . - - The that contains entity data to translate into entity objects. - - When reader is null. - - - - Translates a that contains rows of entity data to objects of the requested entity type, in a specific entity set, and with the specified merge option. - - The entity type. - An enumeration of objects of type TResult . - - The that contains entity data to translate into entity objects. - - The entity set of the TResult type. - - The to use when translated objects are added to the object context. The default is - - . - - When reader is null. - - When the supplied mergeOption is not a valid value. - - When the supplied entitySetName is not a valid entity set for the TResult type. - - - - Creates the database by using the current data source connection and the metadata in the - - . - - - - Deletes the database that is specified as the database in the current data source connection. - - - - Checks if the database that is specified as the database in the current store connection exists on the store. Most of the actual work - is done by the DbProviderServices implementation for the current store connection. - - true if the database exists; otherwise, false. - - - - Generates a data definition language (DDL) script that creates schema objects (tables, primary keys, foreign keys) for the metadata in the - - . The - - loads metadata from store schema definition language (SSDL) files. - - - A DDL script that creates schema objects for the metadata in the - - . - - - - - Defines options that affect the behavior of the ObjectContext. - - - - - Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction. - - - This flag determines whether a new transaction will be started when methods such as - and are executed outside of a transaction. - Note that this does not change the behavior of . - - - The default transactional behavior. - - - - Gets or sets a Boolean value that determines whether related objects are loaded automatically when a navigation property is accessed. - true if lazy loading is enabled; otherwise, false. - - - Gets or sets a Boolean value that determines whether proxy instances are created for custom data classes that are persistence ignorant. - true if proxies are created; otherwise, false. The default value is true. - - - Gets or sets a Boolean value that determines whether to use the legacy PreserveChanges behavior. - true if the legacy PreserveChanges behavior should be used; otherwise, false. - - - Gets or sets a Boolean value that determines whether to use the consistent NullReference behavior. - - If this flag is set to false then setting the Value property of the for an - FK relationship to null when it is already null will have no effect. When this flag is set to true, then - setting the value to null will always cause the FK to be nulled and the relationship to be deleted - even if the value is currently null. The default value is false when using ObjectContext and true - when using DbContext. - - true if the consistent NullReference behavior should be used; otherwise, false. - - - Gets or sets a Boolean value that determines whether to use the C# NullComparison behavior. - - This flag determines whether C# behavior should be exhibited when comparing null values in LinqToEntities. - If this flag is set, then any equality comparison between two operands, both of which are potentially - nullable, will be rewritten to show C# null comparison semantics. As an example: - (operand1 = operand2) will be rewritten as - (((operand1 = operand2) AND NOT (operand1 IS NULL OR operand2 IS NULL)) || (operand1 IS NULL && operand2 IS NULL)) - The default value is false when using . - - true if the C# NullComparison behavior should be used; otherwise, false. - - - - EventArgs for the ObjectMaterialized event. - - - - - Constructs new arguments for the ObjectMaterialized event. - - The object that has been materialized. - - - Gets the entity object that was created. - The entity object that was created. - - - - Delegate for the ObjectMaterialized event. - - The ObjectContext responsable for materializing the object. - EventArgs containing a reference to the materialized object. - - - - This class represents a query parameter at the object layer, which consists - of a Name, a Type and a Value. - - - - - Initializes a new instance of the class with the specified name and type. - - The parameter name. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. The first character of the expression must be a letter. Any successive characters in the expression must be either letters, numbers, or an underscore (_) character. - The common language runtime (CLR) type of the parameter. - If the value of either argument is null. - If the value of the name argument is invalid. Parameter names must start with a letter and can only contain letters, numbers, and underscores. - - - - Initializes a new instance of the class with the specified name and value. - - The parameter name. This name should not include the "@" parameter marker that is used in Entity SQL statements, only the actual name. The first character of the expression must be a letter. Any successive characters in the expression must be either letters, numbers, or an underscore (_) character. - The initial value (and inherently, the type) of the parameter. - If the value of either argument is null. - If the value of the name argument is not valid. Parameter names must start with a letter and can only contain letters, numbers, and underscores. - - - Gets the parameter name, which can only be set through a constructor. - The parameter name, which can only be set through a constructor. - - - Gets the parameter type. - - The of the parameter. - - - - Gets or sets the parameter value. - The parameter value. - - - - This class represents a collection of query parameters at the object layer. - - - - Gets the number of parameters currently in the collection. - - The number of objects that are currently in the collection. - - - - - This collection is read-write - parameters may be added, removed - and [somewhat] modified at will (value only) - provided that the - implementation the collection belongs to has not locked its parameters - because it's command definition has been prepared. - - - - Provides an indexer that allows callers to retrieve parameters by name. - - The instance. - - The name of the parameter to find. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. - No parameter with the specified name is found in the collection. - - - - Adds the specified to the collection. - - The parameter to add to the collection. - The parameter argument is null. - - The parameter argument already exists in the collection. This behavior differs from that of most collections that allow duplicate entries. -or-Another parameter with the same name as the parameter argument already exists in the collection. Note that the lookup is case-insensitive. This behavior differs from that of most collections, and is more like that of a - - . - - The type of the parameter is not valid. - - - - Deletes all instances from the collection. - - - - - Checks for the existence of a specified in the collection by reference. - - Returns true if the parameter object was found in the collection; otherwise, false. - - The to find in the collection. - - The parameter argument is null. - - - - Determines whether an with the specified name is in the collection. - - Returns true if a parameter with the specified name was found in the collection; otherwise, false. - The name of the parameter to look for in the collection. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name. - The name parameter is null. - - - Allows the parameters in the collection to be copied into a supplied array, starting with the object at the specified index. - The array into which to copy the parameters. - The index in the array at which to start copying the parameters. - - - - Removes an instance of an from the collection by reference if it exists in the collection. - - Returns true if the parameter object was found and removed from the collection; otherwise, false. - An object to remove from the collection. - The parameter argument is null. - - - - These methods return enumerator instances, which allow the collection to - be iterated through and traversed. - - An object that can be used to iterate through the collection. - - - Returns an untyped enumerator over the collection. - - An instance. - - - - - This class implements untyped queries at the object-layer. - - - - Returns the command text for the query. - A string value. - - - Gets the object context associated with this object query. - - The associated with this - - instance. - - - - Gets or sets how objects returned from a query are added to the object context. - - The query . - - - - - Whether the query is streaming or buffering - - - - Gets the parameter collection for this object query. - - The parameter collection for this . - - - - Gets or sets a value that indicates whether the query plan should be cached. - A value that indicates whether the query plan should be cached. - - - Returns the commands to execute against the data source. - A string that represents the commands that the query executes against the data source. - - - Returns information about the result type of the query. - - A value that contains information about the result type of the query. - - - - Executes the untyped object query with the specified merge option. - - The to use when executing the query. - The default is . - - - An that contains a collection of entity objects returned by the query. - - - - - Asynchronously executes the untyped object query with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when executing the query. - The default is . - - - A task that represents the asynchronous operation. - The task result contains an - that contains a collection of entity objects returned by the query. - - - - - Asynchronously executes the untyped object query with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when executing the query. - The default is . - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an - that contains a collection of entity objects returned by the query. - - - - - Returns the collection as an used for data binding. - - - An of entity objects. - - - - - Gets the result element type for this query instance. - - - - - Gets the expression describing this query. For queries built using - LINQ builder patterns, returns a full LINQ expression tree; otherwise, - returns a constant expression wrapping this query. Note that the - default expression is not cached. This allows us to differentiate - between LINQ and Entity-SQL queries. - - - - - Gets the associated with this query instance. - - - - Returns an enumerator that iterates through a collection. - - An that can be used to iterate through the collection. - - - - - Returns an which when enumerated will execute the given SQL query against the database. - - The query results. - - - - ObjectQuery implements strongly-typed queries at the object-layer. - Queries are specified using Entity-SQL strings and may be created by calling - the Entity-SQL-based query builder methods declared by ObjectQuery. - - The result type of this ObjectQuery - - - - Creates a new instance using the specified Entity SQL command as the initial query. - - The Entity SQL query. - - The on which to execute the query. - - - - - Creates a new instance using the specified Entity SQL command as the initial query and the specified merge option. - - The Entity SQL query. - - The on which to execute the query. - - - Specifies how the entities that are retrieved through this query should be merged with the entities that have been returned from previous queries against the same - - . - - - - Gets or sets the name of this object query. - - A string value that is the name of this . - - The value specified on set is not valid. - - - Executes the object query with the specified merge option. - - The to use when executing the query. - The default is . - - - An that contains a collection of entity objects returned by the query. - - - - - Asynchronously executes the object query with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when executing the query. - The default is . - - - A task that represents the asynchronous operation. - The task result contains an - that contains a collection of entity objects returned by the query. - - - - - Asynchronously executes the object query with the specified merge option. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The to use when executing the query. - The default is . - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an - that contains a collection of entity objects returned by the query. - - - - Specifies the related objects to include in the query results. - - A new with the defined query path. - - Dot-separated list of related objects to return in the query results. - path is null. - path is empty. - - - Limits the query to unique results. - - A new instance that is equivalent to the original instance with SELECT DISTINCT applied. - - - - - This query-builder method creates a new query whose results are all of - the results of this query, except those that are also part of the other - query specified. - - A query representing the results to exclude. - a new ObjectQuery instance. - If the query parameter is null. - - - Groups the query results by the specified criteria. - - A new instance of type - - that is equivalent to the original instance with GROUP BY applied. - - The key columns by which to group the results. - The list of selected properties that defines the projection. - Zero or more parameters that are used in this method. - The query parameter is null or an empty string - or the projection parameter is null or an empty string. - - - - This query-builder method creates a new query whose results are those that - are both in this query and the other query specified. - - A query representing the results to intersect with. - a new ObjectQuery instance. - If the query parameter is null. - - - Limits the query to only results of a specific type. - - A new instance that is equivalent to the original instance with OFTYPE applied. - - - The type of the returned when the query is executed with the applied filter. - - The type specified is not valid. - - - Orders the query results by the specified criteria. - - A new instance that is equivalent to the original instance with ORDER BY applied. - - The key columns by which to order the results. - Zero or more parameters that are used in this method. - The keys or parameters parameter is null. - The key is an empty string. - - - Limits the query results to only the properties that are defined in the specified projection. - - A new instance of type - - that is equivalent to the original instance with SELECT applied. - - The list of selected properties that defines the projection. - Zero or more parameters that are used in this method. - projection is null or parameters is null. - The projection is an empty string. - - - Limits the query results to only the property specified in the projection. - - A new instance of a type compatible with the specific projection. The returned - - is equivalent to the original instance with SELECT VALUE applied. - - The projection list. - An optional set of query parameters that should be in scope when parsing. - - The type of the returned by the - - method. - - projection is null or parameters is null. - The projection is an empty string. - - - Orders the query results by the specified criteria and skips a specified number of results. - - A new instance that is equivalent to the original instance with both ORDER BY and SKIP applied. - - The key columns by which to order the results. - The number of results to skip. This must be either a constant or a parameter reference. - An optional set of query parameters that should be in scope when parsing. - Any argument is null. - keys is an empty string or count is an empty string. - - - Limits the query results to a specified number of items. - - A new instance that is equivalent to the original instance with TOP applied. - - The number of items in the results as a string. - An optional set of query parameters that should be in scope when parsing. - count is null. - count is an empty string. - - - - This query-builder method creates a new query whose results are all of - the results of this query, plus all of the results of the other query, - without duplicates (i.e., results are unique). - - A query representing the results to add. - a new ObjectQuery instance. - If the query parameter is null. - - - - This query-builder method creates a new query whose results are all of - the results of this query, plus all of the results of the other query, - including any duplicates (i.e., results are not necessarily unique). - - A query representing the results to add. - a new ObjectQuery instance. - If the query parameter is null. - - - Limits the query to results that match specified filtering criteria. - - A new instance that is equivalent to the original instance with WHERE applied. - - The filter predicate. - Zero or more parameters that are used in this method. - predicate is null or parameters is null. - The predicate is an empty string. - - - - Returns an which when enumerated will execute the given SQL query against the database. - - The query results. - - - - Returns an which when enumerated will execute the given SQL query against the database. - - The query results. - - - - This class implements IEnumerable and IDisposable. Instance of this class - is returned from ObjectQuery.Execute method. - - - - - This constructor is intended only for use when creating test doubles that will override members - with mocked or faked behavior. Use of this constructor for other purposes may result in unexpected - behavior including but not limited to throwing . - - - - - - - Returns an enumerator that iterates through the query results. - An enumerator that iterates through the query results. - - - - IListSource.ContainsListCollection implementation. Always returns false. - - - - Returns the results in a format useful for data binding. - - An of entity objects. - - - - - When overridden in a derived class, gets the type of the generic - - . - - - The type of the generic . - - - - Performs tasks associated with freeing, releasing, or resetting resources. - - - Releases the resources used by the object result. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the next result set of a stored procedure. - An ObjectResult that enumerates the values of the next result set. Null, if there are no more, or if the ObjectResult is not the result of a stored procedure call. - The type of the element. - - - - This class represents the result of the method. - - The type of the result. - - - - This constructor is intended only for use when creating test doubles that will override members - with mocked or faked behavior. Use of this constructor for other purposes may result in unexpected - behavior including but not limited to throwing . - - - - Returns an enumerator that iterates through the query results. - An enumerator that iterates through the query results. - - - - - - Releases the unmanaged resources used by the and optionally releases the managed resources. - true to release managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the type of the . - - - A that is the type of the . - - - - - Represents a typed entity set that is used to perform create, read, update, and delete operations. - - The type of the entity. - - - - Gets the metadata of the entity set represented by this instance. - - - An object. - - - - Adds an object to the object context in the current entity set. - The object to add. - - - Attaches an object or object graph to the object context in the current entity set. - The object to attach. - - - Marks an object for deletion. - - An object that represents the entity to delete. The object can be in any state except - - . - - - - Removes the object from the object context. - - Object to be detached. Only the entity is removed; if there are any related objects that are being tracked by the same - - , those will not be detached automatically. - - - - - Copies the scalar values from the supplied object into the object in the - - that has the same key. - - The updated object. - - The detached object that has property updates to apply to the original object. The entity key of currentEntity must match the - - property of an entry in the - - . - - - - - Sets the property of an - - to match the property values of a supplied object. - - The updated object. - - The detached object that has property updates to apply to the original object. The entity key of originalEntity must match the - - property of an entry in the - - . - - - - Creates a new entity type object. - The new entity type object, or an instance of a proxy type that corresponds to the entity type. - - - Creates an instance of the specified type. - An instance of the requested type T , or an instance of a proxy type that corresponds to the type T . - Type of object to be returned. - - - - Represents either a entity, entity stub or relationship - - - - - Gets the for the - - . - - - The for the - - . - - - - - Gets the for the object or relationship. - - - The for the object or relationship. - - - - - Gets the state of the . - - - The state of the . - - - - Gets the entity object. - The entity object. - - - Gets the entity key. - The entity key. - - - - Gets a value that indicates whether the represents a relationship. - - - true if the represents a relationship; otherwise, false. - - - - Gets the read-only version of original values of the object or relationship. - The read-only version of original values of the relationship set entry or entity. - - - - Gets the updatable version of original values of the object associated with this - - . - - The updatable original values of object data. - - - - Gets the current property values of the object or relationship associated with this - - . - - - A that contains the current values of the object or relationship associated with this - - . - - - - Accepts the current values as original values. - - - Marks an entity as deleted. - - - - Returns the names of an object’s properties that have changed since the last time - - was called. - - - An collection of names as string. - - - - Sets the state of the object or relationship to modify. - If State is not Modified or Unchanged - - - Marks the specified property as modified. - The name of the property. - If State is not Modified or Unchanged - - - Rejects any changes made to the property with the given name since the property was last loaded, attached, saved, or changes were accepted. The original value of the property is stored and the property will no longer be marked as modified. - The name of the property to change. - - - Uses DetectChanges to determine whether or not the current value of the property with the given name is different from its original value. Note that this may be different from the property being marked as modified since a property which has not changed can still be marked as modified. - - Note that this property always returns the same result as the modified state of the property for change tracking - proxies and entities that derive from the EntityObject base class. This is because original values are not tracked - for these entity types and hence there is no way to know if the current value is really different from the - original value. - - true if the property has changed; otherwise, false. - The name of the property. - - - - Gets the instance for the object represented by entry. - - - The object. - - The entry is a stub or represents a relationship - - - - Changes state of the entry to the specified value. - - - The value to set for the - - property of the entry. - - - - Sets the current values of the entry to match the property values of a supplied object. - The detached object that has updated values to apply to the object. currentEntity can also be the object’s entity key. - - - Sets the original values of the entry to match the property values of a supplied object. - The detached object that has original values to apply to the object. originalEntity can also be the object’s entity key. - - - - Used to report that a scalar entity property is about to change - The current value of the specified property is cached when this method is called. - - The name of the entity property that is changing - - - - Used to report that a scalar entity property has been changed - The property value that was cached during EntityMemberChanging is now - added to OriginalValues - - The name of the entity property that has changing - - - - Used to report that a complex property is about to change - The current value of the specified property is cached when this method is called. - - The name of the top-level entity property that is changing - The complex object that contains the property that is changing - The name of the property that is changing on complexObject - - - - Used to report that a complex property has been changed - The property value that was cached during EntityMemberChanging is now added to OriginalValues - - The name of the top-level entity property that has changed - The complex object that contains the property that changed - The name of the property that changed on complexObject - - - - Returns the EntityState from the ObjectStateEntry - - - - - Maintains object state and identity management for entity type instances and relationship instances. - - - - - Initializes a new instance of the class. - - - The , which supplies mapping and metadata information. - - - - - Gets the associated with this state manager. - - - The associated with this - - . - - - - Occurs when entities are added to or removed from the state manager. - - - - Returns a collection of objects for objects or relationships with the given state. - - - A collection of objects in the given - - . - - - An used to filter the returned - - objects. - - - When state is . - - - - - Changes state of the for a specific object to the specified entityState . - - - The for the supplied entity . - - The object for which the state must be changed. - The new state of the object. - When entity is null. - - When the object is not detached and does not have an entry in the state manager - or when you try to change the state to - from any other - or when state is not a valid value. - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and the name of the navigation property. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - The name of the navigation property on source that returns the specified target . - - The requested of the specified relationship. - - When source or target is null. - - When trying to change the state of the relationship to a state other than - or - when either source or target is in a state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an state - or when state is not a valid value - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and a LINQ expression that defines the navigation property. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - A LINQ expression that selects the navigation property on source that returns the specified target . - - The requested of the specified relationship. - - The entity type of the source object. - When source , target , or selector is null. - selector is malformed or cannot return a navigation property. - - When you try to change the state of the relationship to a state other than - or - when either source or target is in a - state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an state - or when state is not a valid value. - - - - Changes the state of the relationship between two entity objects that is specified based on the two related objects and the properties of the relationship. - - The for the relationship that was changed. - - - The object instance or of the source entity at one end of the relationship. - - - The object instance or of the target entity at the other end of the relationship. - - The name of the relationship. - The role name at the target end of the relationship. - - The requested of the specified relationship. - - When source or target is null. - - When you try to change the state of the relationship to a state other than - or - when either source or target is in a state - or when you try to change the state of the relationship to a state other than - or - when either source or target is in an - state - or when state is not a valid value. - - - - - Returns an for the object or relationship entry with the specified key. - - - The corresponding for the given - - . - - - The . - - When key is null. - When the specified key cannot be found in the state manager. - - No entity with the specified exists in the - - . - - - - - Returns an for the specified object. - - - The corresponding for the given - - . - - - The to which the retrieved - - belongs. - - - No entity for the specified exists in the - - . - - - - - Tries to retrieve the corresponding for the specified - - . - - - A Boolean value that is true if there is a corresponding - - for the given object; otherwise, false. - - - The to which the retrieved - - belongs. - - - When this method returns, contains the for the given - - This parameter is passed uninitialized. - - - - - Tries to retrieve the corresponding for the object or relationship with the specified - - . - - - A Boolean value that is true if there is a corresponding - - for the given - - ; otherwise, false. - - - The given . - - - When this method returns, contains an for the given - - This parameter is passed uninitialized. - - A null (Nothing in Visual Basic) value is provided for key . - - - - Returns the that is used by the specified object. - - - The for the specified object. - - - The object for which to return the . - - - The entity does not implement IEntityWithRelationships and is not tracked by this ObjectStateManager - - - - - Returns the that is used by the specified object. - - - true if a instance was returned for the supplied entity ; otherwise false. - - - The object for which to return the . - - - When this method returns, contains the - - for the entity . - - - - - The original values of the properties of an entity when it was retrieved from the database. - - - - - A DataContractResolver that knows how to resolve proxy types created for persistent - ignorant classes to their base types. This is used with the DataContractSerializer. - - - - During deserialization, maps any xsi:type information to the actual type of the persistence-ignorant object. - Returns the type that the xsi:type is mapped to. Returns null if no known type was found that matches the xsi:type. - The xsi:type information to map. - The namespace of the xsi:type. - The declared type. - - An instance of . - - - - During serialization, maps actual types to xsi:type information. - true if the type was resolved; otherwise, false. - The actual type of the persistence-ignorant object. - The declared type. - - An instance of . - - When this method returns, contains a list of xsi:type declarations. - When this method returns, contains a list of namespaces used. - - - - Defines the different ways to handle modified properties when refreshing in-memory data from the database. - - - - - For unmodified client objects, same behavior as StoreWins. For modified client - objects, Refresh original values with store value, keeping all values on client - object. The next time an update happens, all the client change units will be - considered modified and require updating. - - - - - Discard all changes on the client and refresh values with store values. - Client original values is updated to match the store. - - - - - Flags used to modify behavior of ObjectContext.SaveChanges() - - - - - Changes are saved without the DetectChanges or the AcceptAllChangesAfterSave methods being called. - - - - - After changes are saved, the AcceptAllChangesAfterSave method is called, which resets change tracking in the ObjectStateManager. - - - - - Before changes are saved, the DetectChanges method is called to synchronize the property values of objects that are attached to the object context with data in the ObjectStateManager. - - - - - This exception is thrown when a update operation violates the concurrency constraint. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message and a reference to the inner exception. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of that uses a specified error message, a reference to the inner exception, and an enumerable collection of - - objects. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - The enumerable collection of objects. - - - - - Property constraint exception class. Note that this class has state - so if you change even - its internals, it can be a breaking change - - - - - Initializes a new instance of the class with default message. - - - - - Initializes a new instance of the class with supplied message. - - A localized error message. - - - - Initializes a new instance of the class with supplied message and inner exception. - - A localized error message. - The inner exception. - - - - Initializes a new instance of the class. - - A localized error message. - The name of the property. - - - - Initializes a new instance of the class. - - A localized error message. - The name of the property. - The inner exception. - - - Gets the name of the property that violated the constraint. - The name of the property that violated the constraint. - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - This exception is thrown when the store provider exhibits a behavior incompatible with the entity client provider - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of that uses a specified error message. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Used for conversion between different representations of bit array. - Returns (n+(div-1))/div, rearranged to avoid arithmetic overflow. - For example, in the bit to int case, the straightforward calc would - be (n+31)/32, but that would cause overflow. So instead it's - rearranged to ((n-1)/32) + 1, with special casing for 0. - - Usage: - GetArrayLength(77, BitsPerInt32): returns how many ints must be - allocated to store 77 bits. - - length of array - use a conversion constant, e.g. BytesPerInt32 to get - how many ints are required to store n bytes - length of the array - - - - Is this tree uses user-defined functions - Simplifying query with UDFs could caused to suboptimal plans - - Current subtree to process - Mapped variables - - - - - Exception during save changes to store - - - - - Initializes a new instance of . - - - - - Initializes a new instance of with a specialized error message. - - The message that describes the error. - - - - Initializes a new instance of the class that uses a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class that uses a specified error message, a reference to the inner exception, and an enumerable collection of - - objects. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - The collection of objects. - - - - - Gets the objects for this - - . - - - A collection of objects comprised of either a single entity and 0 or more relationships, or 0 entities and 1 or more relationships. - - - - - Initializes a new instance of with serialized data. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - An implementation of IDatabaseInitializer that will recreate and optionally re-seed the - database only if the database does not exist. - To seed the database, create a derived class and override the Seed method. - - The type of the context. - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - An instance of this class is obtained from an object and can be used - to manage the actual database backing a DbContext or connection. - This includes creating, deleting, and checking for the existence of a database. - Note that deletion and checking for existence of a database can be performed using just a - connection (i.e. without a full context) by using the static methods of this class. - - - - - Gets the transaction the underlying store connection is enlisted in. May be null. - - - - - Enables the user to pass in a database transaction created outside of the object - if you want the Entity Framework to execute commands within that external transaction. - Alternatively, pass in null to clear the framework's knowledge of that transaction. - - the external transaction - Thrown if the transaction is already completed - - Thrown if the connection associated with the object is already enlisted in a - - transaction - - - Thrown if the connection associated with the object is already participating in a transaction - - Thrown if the connection associated with the transaction does not match the Entity Framework's connection - - - - Begins a transaction on the underlying store connection - - - a object wrapping access to the underlying store's transaction object - - - - - Begins a transaction on the underlying store connection using the specified isolation level - - The database isolation level with which the underlying store transaction will be created - - a object wrapping access to the underlying store's transaction object - - - - - Returns the connection being used by this context. This may cause the - connection to be created if it does not already exist. - - Thrown if the context has been disposed. - - - - Sets the database initializer to use for the given context type. The database initializer is called when a - the given type is used to access a database for the first time. - The default strategy for Code First contexts is an instance of . - - The type of the context. - The initializer to use, or null to disable initialization for the given context type. - - - - Runs the registered on this context. - If "force" is set to true, then the initializer is run regardless of whether or not it - has been run before. This can be useful if a database is deleted while an app is running - and needs to be reinitialized. - If "force" is set to false, then the initializer is only run if it has not already been - run for this context, model, and connection in this app domain. This method is typically - used when it is necessary to ensure that the database has been created and seeded - before starting some operation where doing so lazily will cause issues, such as when the - operation is part of a transaction. - - - If set to true the initializer is run even if it has already been run. - - - - - Checks whether or not the database is compatible with the current Code First model. - - - Model compatibility currently uses the following rules. - If the context was created using either the Model First or Database First approach then the - model is assumed to be compatible with the database and this method returns true. - For Code First the model is considered compatible if the model is stored in the database - in the Migrations history table and that model has no differences from the current model as - determined by Migrations model differ. - If the model is not stored in the database but an EF 4.1/4.2 model hash is found instead, - then this is used to check for compatibility. - - - If set to true then an exception will be thrown if no model metadata is found in the database. If set to false then this method will return true if metadata is not found. - - True if the model hash in the context and the database match; false otherwise. - - - - Creates a new database on the database server for the model defined in the backing context. - Note that calling this method before the database initialization strategy has run will disable - executing that strategy. - - - - - Creates a new database on the database server for the model defined in the backing context, but only - if a database with the same name does not already exist on the server. - - True if the database did not exist and was created; false otherwise. - - - - Checks whether or not the database exists on the server. - - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - Calling this method from outside of an initializer will mark the database as having - not been initialized. This means that if an attempt is made to use the database again - after it has been deleted, then any initializer set will run again and, usually, will - try to create the database again automatically. - - True if the database did exist and was deleted; false otherwise. - - - - Checks whether or not the database exists on the server. - The connection to the database is created using the given database name or connection string - in the same way as is described in the documentation for the class. - - The database name or a connection string to the database. - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - The connection to the database is created using the given database name or connection string - in the same way as is described in the documentation for the class. - - The database name or a connection string to the database. - True if the database did exist and was deleted; false otherwise. - - - - Checks whether or not the database exists on the server. - - An existing connection to the database. - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - - An existing connection to the database. - True if the database did exist and was deleted; false otherwise. - - - - The connection factory to use when creating a from just - a database name or a connection string. - - - This is used when just a database name or connection string is given to or when - the no database name or connection is given to DbContext in which case the name of - the context class is passed to this factory in order to generate a DbConnection. - By default, the instance to use is read from the application's .config - file from the "EntityFramework DefaultConnectionFactory" entry in appSettings. If no entry is found in - the config file then is used. Setting this property in code - always overrides whatever value is found in the config file. - - - - - Creates a raw SQL query that will return elements of the given generic type. - The type can be any type that has properties that match the names of the columns returned - from the query, or can be a simple primitive type. The type does not have to be an - entity type. The results of this query are never tracked by the context even if the - type of object returned is an entity type. Use the - method to return entities that are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The type of object returned by the query. - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values will - not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - Creates a raw SQL query that will return elements of the given type. - The type can be any type that has properties that match the names of the columns returned - from the query, or can be a simple primitive type. The type does not have to be an - entity type. The results of this query are never tracked by the context even if the - type of object returned is an entity type. Use the - method to return entities that are tracked by the context. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The type of object returned by the query. - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - Executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - If there isn't an existing local or ambient transaction a new transaction will be used - to execute the command. - - The command string. - The parameters to apply to the command string. - The result returned by the database after executing the command. - - - - Executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommand("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - Controls the creation of a transaction for this command. - The command string. - The parameters to apply to the command string. - The result returned by the database after executing the command. - - - - Asynchronously executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command string. - The parameters to apply to the command string. - - A task that represents the asynchronous operation. - The task result contains the result returned by the database after executing the command. - - - - - Asynchronously executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - Controls the creation of a transaction for this command. - The command string. - The parameters to apply to the command string. - - A task that represents the asynchronous operation. - The task result contains the result returned by the database after executing the command. - - - - - Asynchronously executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - If there isn't an existing local transaction a new transaction will be used - to execute the command. - - The command string. - - A to observe while waiting for the task to complete. - - The parameters to apply to the command string. - - A task that represents the asynchronous operation. - The task result contains the result returned by the database after executing the command. - - - - - Asynchronously executes the given DDL/DML command against the database. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Database.ExecuteSqlCommandAsync("UPDATE dbo.Posts SET Rating = 5 WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - Controls the creation of a transaction for this command. - The command string. - - A to observe while waiting for the task to complete. - - The parameters to apply to the command string. - - A task that represents the asynchronous operation. - The task result contains the result returned by the database after executing the command. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets or sets the timeout value, in seconds, for all context operations. - The default value is null, where null indicates that the default value of the underlying - provider will be used. - - - The timeout, in seconds, or null to use the provider default. - - - - - Set this property to log the SQL generated by the to the given - delegate. For example, to log to the console, set this property to . - - - The format of the log text can be changed by creating a new formatter that derives from - and setting it with . - For more low-level control over logging/interception see and - . - - - - - A class derived from this class can be placed in the same assembly as a class derived from - to define Entity Framework configuration for an application. - Configuration is set by calling protected methods and setting protected properties of this - class in the constructor of your derived type. - The type to use can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Any class derived from must have a public parameterless constructor - and that constructor should call this constructor. - - - - - The Singleton instance of for this app domain. This can be - set at application start before any Entity Framework features have been used and afterwards - should be treated as read-only. - - The instance of . - - - - Attempts to discover and load the associated with the given - type. This method is intended to be used by tooling to ensure that - the correct configuration is loaded into the app domain. Tooling should use this method - before accessing the property. - - A type to use for configuration discovery. - - - - Attempts to discover and load the from the given assembly. - This method is intended to be used by tooling to ensure that the correct configuration is loaded into - the app domain. Tooling should use this method before accessing the - property. If the tooling knows the type being used, then the - method should be used since it gives a greater chance that - the correct configuration will be found. - - An to use for configuration discovery. - - - - Occurs during EF initialization after the DbConfiguration has been constructed but just before - it is locked ready for use. Use this event to inspect and/or override services that have been - registered before the configuration is locked. Note that this event should be used carefully - since it may prevent tooling from discovering the same configuration that is used at runtime. - - - Handlers can only be added before EF starts to use the configuration and so handlers should - generally be added as part of application initialization. Do not access the DbConfiguration - static methods inside the handler; instead use the members of - to get current services and/or add overrides. - - - - - Call this method from the constructor of a class derived from to - add a instance to the Chain of Responsibility of resolvers that - are used to resolve dependencies needed by the Entity Framework. - - - Resolvers are asked to resolve dependencies in reverse order from which they are added. This means - that a resolver can be added to override resolution of a dependency that would already have been - resolved in a different way. - The exceptions to this is that any dependency registered in the application's config file - will always be used in preference to using a dependency resolver added here. - - The resolver to add. - - - - Call this method from the constructor of a class derived from to - add a instance to the Chain of Responsibility of resolvers that - are used to resolve dependencies needed by the Entity Framework. Unlike the AddDependencyResolver - method, this method puts the resolver at the bottom of the Chain of Responsibility such that it will only - be used to resolve a dependency that could not be resolved by any of the other resolvers. - - - A implementation is automatically registered as a default resolver - when it is added with a call to . This allows EF providers to act as - resolvers for other services that may need to be overridden by the provider. - - The resolver to add. - - - - Gets the that is being used to resolve service - dependencies in the Entity Framework. - - - - - Call this method from the constructor of a class derived from to register - an Entity Framework provider. - - - Note that the provider is both registered as a service itself and also registered as a default resolver with - a call to AddDefaultResolver. This allows EF providers to act as resolvers for other services that - may need to be overridden by the provider. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - and also using AddDefaultResolver to add the provider as a default - resolver. This means that, if desired, the same functionality can be achieved using a custom resolver or a - resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The provider instance. - - - - Call this method from the constructor of a class derived from to register - an ADO.NET provider. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolvers for - and . This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The provider instance. - - - - Call this method from the constructor of a class derived from to register an - for use with the provider represented by the given invariant name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - A function that returns a new instance of an execution strategy. - - - - Call this method from the constructor of a class derived from to register an - for use with the provider represented by the given invariant name and - for a given server name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - A function that returns a new instance of an execution strategy. - A string that will be matched against the server name in the connection string. - - - - Call this method from the constructor of a class derived from to register a - . - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - A function that returns a new instance of a transaction handler. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this transaction handler will be used. - - A function that returns a new instance of a transaction handler. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name and - for a given server name. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this transaction handler will be used. - - A function that returns a new instance of a transaction handler. - A string that will be matched against the server name in the connection string. - - - - Sets the that is used to create connections by convention if no other - connection string or connection is given to or can be discovered by . - Note that a default connection factory is set in the app.config or web.config file whenever the - EntityFramework NuGet package is installed. As for all config file settings, the default connection factory - set in the config file will take precedence over any setting made with this method. Therefore the setting - must be removed from the config file before calling this method will have any effect. - Call this method from the constructor of a class derived from to change - the default connection factory being used. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The connection factory. - - - - Call this method from the constructor of a class derived from to - set the pluralization service. - - The pluralization service to use. - - - - Call this method from the constructor of a class derived from to - set the database initializer to use for the given context type. The database initializer is called when a - the given type is used to access a database for the first time. - The default strategy for Code First contexts is an instance of . - - - Calling this method is equivalent to calling . - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The type of the context. - The initializer to use, or null to disable initialization for the given context type. - - - - Call this method from the constructor of a class derived from to register a - for use with the provider represented by the given invariant name. - - - This method is typically used by providers to register an associated SQL generator for Code First Migrations. - It is different from setting the generator in the because it allows - EF to use the Migrations pipeline to create a database even when there is no Migrations configuration in the project - and/or Migrations are not being explicitly used. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The invariant name of the ADO.NET provider for which this generator should be used. - A delegate that returns a new instance of the SQL generator each time it is called. - - - - Call this method from the constructor of a class derived from to set - an implementation of which allows provider manifest tokens to - be obtained from connections without necessarily opening the connection. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The manifest token resolver. - - - - Call this method from the constructor of a class derived from to set - a factory for implementations of which allows custom annotations - represented by instances to be serialized to and from the EDMX XML. - - - Note that an is not needed if the annotation uses a simple string value. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The name of custom annotation that will be handled by this serializer. - A delegate that will be used to create serializer instances. - - - - Call this method from the constructor of a class derived from to set - an implementation of which allows a - to be obtained from a in cases where the default implementation is not - sufficient. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The provider factory service. - - - - Call this method from the constructor of a class derived from to set - a as the model cache key factory which allows the key - used to cache the model behind a to be changed. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can - be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - The key factory. - - - - Call this method from the constructor of a class derived from to set - a delegate which can be used for - creation of the default for a any - . This default factory will only be used if no factory is - set explicitly in the and if no factory has been registered - for the provider in use using the - - method. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality - can be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - - A factory for creating instances for a given and - representing the default schema. - - - - - Call this method from the constructor of a class derived from to set - a delegate which allows for creation of a customized - for the given provider for any - that does not have an explicit factory set. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality - can be achieved using a custom resolver or a resolver backed by an Inversion-of-Control container. - - The invariant name of the ADO.NET provider for which this generator should be used. - - A factory for creating instances for a given and - representing the default schema. - - - - - Call this method from the constructor of a class derived from to set - the global instance of which will be used whenever a spatial provider is - required and a provider-specific spatial provider cannot be found. Normally, a provider-specific spatial provider - is obtained from the a implementation which is in turn returned by resolving - a service for passing the provider invariant name as a key. However, this - cannot work for stand-alone instances of and since - it is impossible to know the spatial provider to use. Therefore, when creating stand-alone instances - of and the global spatial provider is always used. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - an implementation of to use for a specific provider and provider - manifest token. - - - Use - to register spatial services for use only when a specific manifest token is returned by the provider. - Use to register global - spatial services to be used when provider information is not available or no provider-specific - spatial services are found. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - - The indicating the type of ADO.NET connection for which this spatial provider will be used. - - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - an implementation of to use for a specific provider with any - manifest token. - - - Use - to register spatial services for use when any manifest token is returned by the provider. - Use to register global - spatial services to be used when provider information is not available or no provider-specific - spatial services are found. - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this spatial provider will be used. - The spatial provider. - - - - Call this method from the constructor of a class derived from to set - a factory for the type of to use with . - - - Note that setting the type of formatter to use with this method does change the way command are - logged when is used. It is still necessary to set a - instance onto before any commands will be logged. - For more low-level control over logging/interception see and - . - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - A delegate that will create formatter instances. - - - - Call this method from the constructor of a class derived from to - register an at application startup. Note that interceptors can also - be added and removed at any time using . - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - . This means that, if desired, the same functionality can be achieved using - a custom resolver or a resolver backed by an Inversion-of-Control container. - - The interceptor to register. - - - - Call this method from the constructor of a class derived from to set - a factory to allow to create instances of a context that does not have a public, - parameterless constructor. - - - This is typically needed to allow design-time tools like Migrations or scaffolding code to use contexts that - do not have public, parameterless constructors. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - with the context as the key. This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The context type for which the factory should be used. - The delegate to use to create context instances. - - - - Call this method from the constructor of a class derived from to set - a factory to allow to create instances of a context that does not have a public, - parameterless constructor. - - - This is typically needed to allow design-time tools like Migrations or scaffolding code to use contexts that - do not have public, parameterless constructors. - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - with the context as the key. This means that, if desired, - the same functionality can be achieved using a custom resolver or a resolver backed by an - Inversion-of-Control container. - - The context type for which the factory should be used. - The delegate to use to create context instances. - - - - Sets a singleton model store implementation (persisted model cache). - - The model store implementation. - - - - Call this method from the constructor of a class derived from to register - a database table existence checker for a given provider. - - - This method is provided as a convenient and discoverable way to add configuration to the Entity Framework. - Internally it works in the same way as using AddDependencyResolver to add an appropriate resolver for - and also using AddDefaultResolver to add the provider as a default - resolver. This means that, if desired, the same functionality can be achieved using a custom resolver or a - resolver backed by an Inversion-of-Control container. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this provider will be used. - The table existence checker to use. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - This attribute can be placed on a subclass of to indicate that the subclass of - representing the code-based configuration for the application is in a different - assembly than the context type. - - - Normally a subclass of should be placed in the same assembly as - the subclass of used by the application. It will then be discovered automatically. - However, if this is not possible or if the application contains multiple context types in different - assemblies, then this attribute can be used to direct DbConfiguration discovery to the appropriate type. - An alternative to using this attribute is to specify the DbConfiguration type to use in the application's - config file. See http://go.microsoft.com/fwlink/?LinkId=260883 for more information. - - - - - Indicates that the given subclass of should be used for code-based configuration - for this application. - - - The type to use. - - - - - Indicates that the subclass of represented by the given assembly-qualified - name should be used for code-based configuration for this application. - - - The type to use. - - - - - Gets the subclass of that should be used for code-based configuration - for this application. - - - - - A DbContext instance represents a combination of the Unit Of Work and Repository patterns such that - it can be used to query from a database and group together changes that will then be written - back to the store as a unit. - DbContext is conceptually similar to ObjectContext. - - - DbContext is usually used with a derived type that contains properties for - the root entities of the model. These sets are automatically initialized when the - instance of the derived class is created. This behavior can be modified by applying the - attribute to either the entire derived context - class, or to individual properties on the class. - The Entity Data Model backing the context can be specified in several ways. When using the Code First - approach, the properties on the derived context are used to build a model - by convention. The protected OnModelCreating method can be overridden to tweak this model. More - control over the model used for the Model First approach can be obtained by creating a - explicitly from a and passing this model to one of the DbContext constructors. - When using the Database First or Model First approach the Entity Data Model can be created using the - Entity Designer (or manually through creation of an EDMX file) and then this model can be specified using - entity connection string or an object. - The connection to the database (including the name of the database) can be specified in several ways. - If the parameterless DbContext constructor is called from a derived context, then the name of the derived context - is used to find a connection string in the app.config or web.config file. If no connection string is found, then - the name is passed to the DefaultConnectionFactory registered on the class. The connection - factory then uses the context name as the database name in a default connection string. (This default connection - string points to (localdb)\MSSQLLocalDB unless a different DefaultConnectionFactory is registered.) - Instead of using the derived context name, the connection/database name can also be specified explicitly by - passing the name to one of the DbContext constructors that takes a string. The name can also be passed in - the form "name=myname", in which case the name must be found in the config file or an exception will be thrown. - Note that the connection found in the app.config or web.config file can be a normal database connection - string (not a special Entity Framework connection string) in which case the DbContext will use Code First. - However, if the connection found in the config file is a special Entity Framework connection string, then the - DbContext will use Database/Model First and the model specified in the connection string will be used. - An existing or explicitly created DbConnection can also be used instead of the database/connection name. - A can be applied to a class derived from DbContext to set the - version of conventions used by the context when it creates a model. If no attribute is applied then the - latest version of conventions will be used. - - - - - Constructs a new context instance using conventions to create the name of the database to - which a connection will be made. The by-convention name is the full name (namespace + class name) - of the derived context class. - See the class remarks for how this is used to create a connection. - - - - - Constructs a new context instance using conventions to create the name of the database to - which a connection will be made, and initializes it from the given model. - The by-convention name is the full name (namespace + class name) of the derived context class. - See the class remarks for how this is used to create a connection. - - The model that will back this context. - - - - Constructs a new context instance using the given string as the name or connection string for the - database to which a connection will be made. - See the class remarks for how this is used to create a connection. - - Either the database name or a connection string. - - - - Constructs a new context instance using the given string as the name or connection string for the - database to which a connection will be made, and initializes it from the given model. - See the class remarks for how this is used to create a connection. - - Either the database name or a connection string. - The model that will back this context. - - - - Constructs a new context instance using the existing connection to connect to a database. - The connection will not be disposed when the context is disposed if - is false. - - An existing connection to use for the new context. - - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - - Constructs a new context instance using the existing connection to connect to a database, - and initializes it from the given model. - The connection will not be disposed when the context is disposed if - is false. - - An existing connection to use for the new context. - The model that will back this context. - - If set to true the connection is disposed when the context is disposed, otherwise the caller must dispose the connection. - - - - - Constructs a new context instance around an existing ObjectContext. - - An existing ObjectContext to wrap with the new context. - - If set to true the ObjectContext is disposed when the DbContext is disposed, otherwise the caller must dispose the connection. - - - - - This method is called when the model for a derived context has been initialized, but - before the model has been locked down and used to initialize the context. The default - implementation of this method does nothing, but it can be overridden in a derived class - such that the model can be further configured before it is locked down. - - - Typically, this method is called only once when the first instance of a derived context - is created. The model for that context is then cached and is for all further instances of - the context in the app domain. This caching can be disabled by setting the ModelCaching - property on the given ModelBuilder, but note that this can seriously degrade performance. - More control over caching is provided through use of the DbModelBuilder and DbContextFactory - classes directly. - - The builder that defines the model for the context being created. - - - - Creates a Database instance for this context that allows for creation/deletion/existence checks - for the underlying database. - - - - - Returns a instance for access to entities of the given type in the context - and the underlying store. - - - Note that Entity Framework requires that this method return the same instance each time that it is called - for a given context instance and entity type. Also, the non-generic returned by the - method must wrap the same underlying query and set of entities. These invariants must - be maintained if this method is overridden for anything other than creating test doubles for unit testing. - See the class for more details. - - The type entity for which a set should be returned. - A set for the given entity type. - - - - Returns a non-generic instance for access to entities of the given type in the context - and the underlying store. - - The type of entity for which a set should be returned. - A set for the given entity type. - - Note that Entity Framework requires that this method return the same instance each time that it is called - for a given context instance and entity type. Also, the generic returned by the - method must wrap the same underlying query and set of entities. These invariants must - be maintained if this method is overridden for anything other than creating test doubles for unit testing. - See the class for more details. - - - - - Saves all changes made in this context to the underlying database. - - - The number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An error occurred sending updates to the database. - - A database command did not affect the expected number of rows. This usually indicates an optimistic - concurrency violation; that is, a row has been changed in the database since it was queried. - - - The save was aborted because validation of entity property values failed. - - - An attempt was made to use unsupported behavior such as executing multiple asynchronous commands concurrently - on the same context instance. - The context or connection have been disposed. - - Some error occurred attempting to process entities in the context either before or after sending commands - to the database. - - - - - Asynchronously saves all changes made in this context to the underlying database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - An error occurred sending updates to the database. - - A database command did not affect the expected number of rows. This usually indicates an optimistic - concurrency violation; that is, a row has been changed in the database since it was queried. - - - The save was aborted because validation of entity property values failed. - - - An attempt was made to use unsupported behavior such as executing multiple asynchronous commands concurrently - on the same context instance. - The context or connection have been disposed. - - Some error occurred attempting to process entities in the context either before or after sending commands - to the database. - - - - - Asynchronously saves all changes made in this context to the underlying database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous save operation. - The task result contains the number of state entries written to the underlying database. This can include - state entries for entities and/or relationships. Relationship state entries are created for - many-to-many relationships and relationships where there is no foreign key property - included in the entity class (often referred to as independent associations). - - Thrown if the context has been disposed. - - - - Returns the Entity Framework ObjectContext that is underlying this context. - - Thrown if the context has been disposed. - - - - Validates tracked entities and returns a Collection of containing validation results. - - Collection of validation results for invalid entities. The collection is never null and must not contain null values or results for valid entities. - - 1. This method calls DetectChanges() to determine states of the tracked entities unless - DbContextConfiguration.AutoDetectChangesEnabled is set to false. - 2. By default only Added on Modified entities are validated. The user is able to change this behavior - by overriding ShouldValidateEntity method. - - - - - Extension point allowing the user to override the default behavior of validating only - added and modified entities. - - DbEntityEntry instance that is supposed to be validated. - true to proceed with validation; false otherwise. - - - - Extension point allowing the user to customize validation of an entity or filter out validation results. - Called by . - - DbEntityEntry instance to be validated. - - User-defined dictionary containing additional info for custom validation. It will be passed to - - and will be exposed as - - . This parameter is optional and can be null. - - Entity validation result. Possibly null when overridden. - - - - Gets a object for the given entity providing access to - information about the entity and the ability to perform actions on the entity. - - The type of the entity. - The entity. - An entry for the entity. - - - - Gets a object for the given entity providing access to - information about the entity and the ability to perform actions on the entity. - - The entity. - An entry for the entity. - - - - Provides access to features of the context that deal with change tracking of entities. - - An object used to access features that deal with change tracking. - - - - Provides access to configuration options for the context. - - An object used to access configuration options. - - - - Calls the protected Dispose method. - - - - - Disposes the context. The underlying is also disposed if it was created - is by this context or ownership was passed to this context when this context was created. - The connection to the database ( object) is also disposed if it was created - is by this context or ownership was passed to this context when this context was created. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - - - - - - - - - - - - - Wraps access to the transaction object on the underlying store connection and ensures that the - Entity Framework executes commands on the database within the context of that transaction. - An instance of this class is retrieved by calling BeginTransaction() on the - - object. - - - - - Gets the database (store) transaction that is underlying this context transaction. - - - - - Commits the underlying store transaction - - - - - Rolls back the underlying store transaction - - - - - Cleans up this transaction object and ensures the Entity Framework - is no longer using that transaction. - - - - - Releases the resources used by this transaction object - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - - - - - - - - - - - - - Indicates that the given method is a proxy for an EDM function. - - - Note that this class was called EdmFunctionAttribute in some previous versions of Entity Framework. - - - - - Initializes a new instance of the class. - - The namespace of the mapped-to function. - The name of the mapped-to function. - - - The namespace of the mapped-to function. - The namespace of the mapped-to function. - - - The name of the mapped-to function. - The name of the mapped-to function. - - - - Provides common language runtime (CLR) methods that expose EDM canonical functions - for use in or LINQ to Entities queries. - - - Note that this class was called EntityFunctions in some previous versions of Entity Framework. - - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate - the standard deviation of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical StDevP EDM function to calculate - the standard deviation for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The standard deviation for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Var EDM function to calculate - the variance of the collection. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical VarP EDM function to calculate - the variance for the population. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The collection over which to perform the calculation. - The variance for the population. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Left EDM function to return a given - number of the leftmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the left of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Right EDM function to return a given - number of the rightmost characters in a string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The number of characters to return - A string containing the number of characters asked for from the right of the input string. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Reverse EDM function to return a given - string with the order of the characters reversed. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input string. - The input string with the order of the characters reversed. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to - return the number of minutes that the given date/time is offset from UTC. This is generally between +780 - and -780 (+ or - 13 hrs). - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The offset of the input from UTC. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical TruncateTime EDM function to return - the given date with the time portion cleared. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The date/time value to use. - The input date with the time portion cleared. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateDateTimeOffset EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The year. - The month (1-based). - The day (1-based). - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The time zone offset part of the new date. - The new date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to - create a new object. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The hours. - The minutes. - The seconds, including fractional parts of the seconds if desired. - The new time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddYears EDM function to - add the given number of years to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of years to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMonths EDM function to - add the given number of months to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of months to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddDays EDM function to - add the given number of days to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of days to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddHours EDM function to - add the given number of hours to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of hours to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMinutes EDM function to - add the given number of minutes to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of minutes to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddSeconds EDM function to - add the given number of seconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of seconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to - add the given number of milliseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of milliseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddMicroseconds EDM function to - add the given number of microseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of microseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a date/time. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting date/time. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical AddNanoseconds EDM function to - add the given number of nanoseconds to a time span. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The input date/time. - The number of nanoseconds to add. - A resulting time span. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffYears EDM function to - calculate the number of years between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of years between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMonths EDM function to - calculate the number of months between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of months between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffDays EDM function to - calculate the number of days between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of days between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of hours between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffHours EDM function to - calculate the number of hours between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of hours between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of minutes between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMinutes EDM function to - calculate the number of minutes between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of minutes between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of seconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffSeconds EDM function to - calculate the number of seconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of seconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of milliseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMilliseconds EDM function to - calculate the number of milliseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of milliseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of microseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffMicroseconds EDM function to - calculate the number of microseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of microseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two date/times. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first date/time. - The second date/time. - The number of nanoseconds between the first and second date/times. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical DiffNanoseconds EDM function to - calculate the number of nanoseconds between two time spans. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The first time span. - The second time span. - The number of nanoseconds between the first and second time spans. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Truncate EDM function to - truncate the given value to the number of specified digits. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The value to truncate. - The number of digits to preserve. - The truncated value. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method invokes the canonical Like EDM operator to match an expression. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function is translated to a corresponding function in the database. - - The string to search. - The expression to match against. - The string to escape special characters with, must only be a single character. - True if the searched string matches the expression; otherwise false. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a Unicode string. - - - - When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input - is treated as a non-Unicode string. - - - You cannot call this function directly. This function can only appear within a LINQ to Entities query. - This function impacts the way the LINQ query is translated to a query that can be run in the database. - - The input string. - The input string treated as a non-Unicode string. - - - - DbModelBuilder is used to map CLR classes to a database schema. - This code centric approach to building an Entity Data Model (EDM) model is known as 'Code First'. - - - DbModelBuilder is typically used to configure a model by overriding - DbContext.OnModelCreating(DbModelBuilder) - . - You can also use DbModelBuilder independently of DbContext to build a model and then construct a - or . - The recommended approach, however, is to use OnModelCreating in as - the workflow is more intuitive and takes care of common tasks, such as caching the created model. - Types that form your model are registered with DbModelBuilder and optional configuration can be - performed by applying data annotations to your classes and/or using the fluent style DbModelBuilder - API. - When the Build method is called a set of conventions are run to discover the initial model. - These conventions will automatically discover aspects of the model, such as primary keys, and - will also process any data annotations that were specified on your classes. Finally - any configuration that was performed using the DbModelBuilder API is applied. - Configuration done via the DbModelBuilder API takes precedence over data annotations which - in turn take precedence over the default conventions. - - - - - Initializes a new instance of the class. - The process of discovering the initial model will use the set of conventions included - in the most recent version of the Entity Framework installed on your machine. - - - Upgrading to newer versions of the Entity Framework may cause breaking changes - in your application because new conventions may cause the initial model to be - configured differently. There is an alternate constructor that allows a specific - version of conventions to be specified. - - - - - Initializes a new instance of the class that will use - a specific set of conventions to discover the initial model. - - The version of conventions to be used. - - - - Excludes a type from the model. This is used to remove types from the model that were added - by convention during initial model discovery. - - The type to be excluded. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Configures the default database schema name. This default database schema name is used - for database objects that do not have an explicitly configured schema name. - - The name of the default database schema. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Excludes the specified type(s) from the model. This is used to remove types from the model that were added - by convention during initial model discovery. - - The types to be excluded from the model. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Registers an entity type as part of the model and returns an object that can be used to - configure the entity. This method can be called multiple times for the same entity to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified entity type. - - - - Registers an entity type as part of the model. - - The type to be registered. - - This method is provided as a convenience to allow entity types to be registered dynamically - without the need to use MakeGenericMethod in order to call the normal generic Entity method. - This method does not allow further configuration of the entity type using the fluent APIs since - these APIs make extensive use of generic type parameters. - - - - - Registers a type as a complex type in the model and returns an object that can be used to - configure the complex type. This method can be called multiple times for the same type to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified complex type. - - - - Begins configuration of a lightweight convention that applies to all entities and complex types in - the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all entities and complex types - in the model that inherit from or implement the type specified by the generic argument. - This method does not register types as part of the model. - - The type of the entities or complex types that this convention will apply to. - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all properties - in the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all primitive - properties of the specified type in the model. - - The type of the properties that the convention will apply to. - A configuration object for the convention. - - The convention will apply to both nullable and non-nullable properties of the - specified type. - - - - - Provides access to the settings of this DbModelBuilder that deal with conventions. - - - - - Gets the for this DbModelBuilder. - The registrar allows derived entity and complex type configurations to be registered with this builder. - - - - - Creates a based on the configuration performed using this builder. - The connection is used to determine the database provider being used as this - affects the database layer of the generated model. - - Connection to use to determine provider information. - The model that was built. - - - - Creates a based on the configuration performed using this builder. - Provider information must be specified because this affects the database layer of the generated model. - For SqlClient the invariant name is 'System.Data.SqlClient' and the manifest token is the version year (i.e. '2005', '2008' etc.) - - The database provider that the model will be used with. - The model that was built. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - A value from this enumeration can be provided directly to the - class or can be used in the applied to - a class derived from . The value used defines which version of - the DbContext and DbModelBuilder conventions should be used when building a model from - code--also known as "Code First". - - - Using DbModelBuilderVersion.Latest ensures that all the latest functionality is available - when upgrading to a new release of the Entity Framework. However, it may result in an - application behaving differently with the new release than it did with a previous release. - This can be avoided by using a specific version of the conventions, but if a version - other than the latest is set then not all the latest functionality will be available. - - - - - Indicates that the latest version of the and - conventions should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v4.1 - should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v5.0 - when targeting .Net Framework 4 should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v5.0 - should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework v6.0 - should be used. - - - - - This attribute can be applied to a class derived from to set which - version of the DbContext and conventions should be used when building - a model from code--also known as "Code First". See the - enumeration for details about DbModelBuilder versions. - - - If the attribute is missing from DbContextthen DbContext will always use the latest - version of the conventions. This is equivalent to using DbModelBuilderVersion.Latest. - - - - - Initializes a new instance of the class. - - - The conventions version to use. - - - - - Gets the conventions version. - - - The conventions version. - - - - - A non-generic version of which can be used when the type of entity - is not known at build time. - - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for DbSets. Methods and properties that will be used by the - test double must be implemented by the test double except AsNoTracking, AsStreaming, an Include where - the default implementation is a no-op. - - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Asynchronously finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The values of the primary key for the entity to be found. - A task that represents the asynchronous find operation. The task result contains the entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Asynchronously finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - The values of the primary key for the entity to be found. - A task that represents the asynchronous find operation. The task result contains the entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Adds the given collection of entities into context underlying the set with each entity being put into - the Added state such that it will be inserted into the database when SaveChanges is called. - - The collection of entities to add. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before adding any entities and will not be called - again. This means that in some situations AddRange may perform significantly better than calling - Add multiple times would do. - Note that entities that are already in the context in some other state will have their state set to - Added. AddRange is a no-op for entities that are already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Removes the given collection of entities from the context underlying the set with each entity being put into - the Deleted state such that it will be deleted from the database when SaveChanges is called. - - The collection of entities to delete. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before delete any entities and will not be called - again. This means that in some situations RemoveRange may perform significantly better than calling - Remove multiple times would do. - Note that if any entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Returns the equivalent generic object. - - The type of entity for which the set was created. - The generic set object. - - - - Creates a raw SQL query that will return entities in this set. By default, the - entities returned are tracked by the context; this can be changed by calling - AsNoTracking on the returned. - Note that the entities returned are always of the type for this set and never of - a derived type. If the table or tables queried may contain data for other entity - types, then the SQL query must be written appropriately to ensure that only entities of - the correct type are returned. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values - will not be available until the results have been read completely. This is due to the underlying - behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - - - - - - - - - - A DbSet represents the collection of all entities in the context, or that can be queried from the - database, of a given type. DbSet objects are created from a DbContext using the DbContext.Set method. - - - Note that DbSet does not support MEST (Multiple Entity Sets per Type) meaning that there is always a - one-to-one correlation between a type and a set. - - The type that defines the set. - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for DbSets. Methods and properties that will be used by the - test double must be implemented by the test double except AsNoTracking, AsStreaming, an Include where - the default implementation is a no-op. - - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Asynchronously finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - The values of the primary key for the entity to be found. - A task that represents the asynchronous find operation. The task result contains the entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Asynchronously finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The values of the primary key for the entity to be found. - A task that represents the asynchronous find operation. The task result contains the entity found, or null. - - - - - - - - - - - - - Adds the given collection of entities into context underlying the set with each entity being put into - the Added state such that it will be inserted into the database when SaveChanges is called. - - The collection of entities to add. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before adding any entities and will not be called - again. This means that in some situations AddRange may perform significantly better than calling - Add multiple times would do. - Note that entities that are already in the context in some other state will have their state set to - Added. AddRange is a no-op for entities that are already in the context in the Added state. - - - - - - - - Removes the given collection of entities from the context underlying the set with each entity being put into - the Deleted state such that it will be deleted from the database when SaveChanges is called. - - The collection of entities to delete. - - The collection of entities. - - - Note that if is set to true (which is - the default), then DetectChanges will be called once before delete any entities and will not be called - again. This means that in some situations RemoveRange may perform significantly better than calling - Remove multiple times would do. - Note that if any entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - - - - - - - Returns the equivalent non-generic object. - - The generic set object. - The non-generic set object. - - - - Creates a raw SQL query that will return entities in this set. By default, the - entities returned are tracked by the context; this can be changed by calling - AsNoTracking on the returned. - Note that the entities returned are always of the type for this set and never of - a derived type. If the table or tables queried may contain data for other entity - types, then the SQL query must be written appropriately to ensure that only entities of - the correct type are returned. - - As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. - context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); - Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. - context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); - - The SQL query string. - - The parameters to apply to the SQL query string. If output parameters are used, their values will - not be available until the results have been read completely. This is due to the underlying behavior - of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. - - - A object that will execute the query when it is enumerated. - - - - - - - - - - - - - - An implementation of IDatabaseInitializer that will always recreate and optionally re-seed the - database the first time that a context is used in the app domain. - To seed the database, create a derived class and override the Seed method. - - The type of the context. - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - is - null - . - - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - An implementation of IDatabaseInitializer that will DELETE, recreate, and optionally re-seed the - database only if the model has changed since the database was created. - - The type of the context. - - Whether or not the model has changed is determined by the - method. - To seed the database create a derived class and override the Seed method. - - - - Initializes a new instance of the class. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - is - null - . - - - - - A method that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - Describes the state of an entity. - - - - - The entity is not being tracked by the context. - An entity is in this state immediately after it has been created with the new operator - or with one of the Create methods. - - - - - The entity is being tracked by the context and exists in the database, and its property - values have not changed from the values in the database. - - - - - The entity is being tracked by the context but does not yet exist in the database. - - - - - The entity is being tracked by the context and exists in the database, but has been marked - for deletion from the database the next time SaveChanges is called. - - - - - The entity is being tracked by the context and exists in the database, and some or all of its - property values have been modified. - - - - - A provider-independent service API for HierarchyId type support. - - - - - Returns a hierarchyid representing the nth ancestor of this. - - A hierarchyid representing the nth ancestor of this. - n - - - - Returns a child node of the parent. - - null or the hierarchyid of a child of the current node. - null or the hierarchyid of a child of the current node. - - Returns one child node that is a descendant of the parent. - If parent is null, returns null. - If parent is not null, and both child1 and child2 are null, returns a child of parent. - If parent and child1 are not null, and child2 is null, returns a child of parent greater than child1. - If parent and child2 are not null and child1 is null, returns a child of parent less than child2. - If parent, child1, and child2 are not null, returns a child of parent greater than child1 and less than child2. - If child1 is not null and not a child of parent, an exception is raised. - If child2 is not null and not a child of parent, an exception is raised. - If child1 >= child2, an exception is raised. - - - - - Returns an integer that represents the depth of the node this in the tree. - - An integer that represents the depth of the node this in the tree. - - - - Returns the root of the hierarchy tree. - - The root of the hierarchy tree. - - - - Returns true if this is a descendant of parent. - - True if this is a descendant of parent. - parent - - - - Returns a node whose path from the root is the path to newRoot, followed by the path from oldRoot to this. - - Hierarchyid value. - oldRoot - newRoot - - - - Converts the canonical string representation of a hierarchyid to a hierarchyid value. - - Hierarchyid value. - input - - - - Represents hierarchical data. - - - - - The Path separator character - - - - - Constructs an HierarchyId. - - - - - Constructs an HierarchyId with the given canonical string representation value. - - Hierarchyid value. - Canonical string representation - - - - Returns a hierarchyid representing the nth ancestor of this. - - A hierarchyid representing the nth ancestor of this. - n - - - - Returns a child node of the parent. - - null or the hierarchyid of a child of the current node. - null or the hierarchyid of a child of the current node. - - Returns one child node that is a descendant of the parent. - If parent is null, returns null. - If parent is not null, and both child1 and child2 are null, returns a child of parent. - If parent and child1 are not null, and child2 is null, returns a child of parent greater than child1. - If parent and child2 are not null and child1 is null, returns a child of parent less than child2. - If parent, child1, and child2 are not null, returns a child of parent greater than child1 and less than child2. - If child1 is not null and not a child of parent, an exception is raised. - If child2 is not null and not a child of parent, an exception is raised. - If child1 >= child2, an exception is raised. - - - - - Returns an integer that represents the depth of the node this in the tree. - - An integer that represents the depth of the node this in the tree. - - - - Returns the root of the hierarchy tree. - - The root of the hierarchy tree. - - - - Returns true if this is a descendant of parent. - - True if this is a descendant of parent. - parent - - - - Returns a node whose path from the root is the path to newRoot, followed by the path from oldRoot to this. - - Hierarchyid value. - oldRoot - newRoot - - - - Converts the canonical string representation of a hierarchyid to a hierarchyid value. - - Hierarchyid value. - input - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - A 32-bit signed integer that indicates the lexical relationship between the two comparands. - Value Condition Less than zero: hid1 is less than hid2. - Zero: hid1 equals hid2. - Greater than zero: hid1 is greater than hid2. - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - true if the first parameter is less than the second parameter, false otherwise - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - true if the first parameter is greater than the second parameter, false otherwise - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - true if the first parameter is less or equal than the second parameter, false otherwise - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - - true if the first parameter is greater or equal than the second parameter, false otherwise - - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - true if the two HierarchyIds are equal, false otherwise - - - - Compares two HierarchyIds by their values. - - a HierarchyId to compare - a HierarchyId to compare - true if the two HierarchyIds are not equal, false otherwise - - - - Compares this instance to a given HierarchyId by their values. - - the HierarchyId to compare against this instance - true if this instance is equal to the given HierarchyId, and false otherwise - - - - Returns a value-based hash code, to allow HierarchyId to be used in hash tables. - - the hash value of this HierarchyId - - - - Compares this instance to a given HierarchyId by their values. - - the HierarchyId to compare against this instance - true if this instance is equal to the given HierarchyId, and false otherwise - - - - Returns a string representation of the hierarchyid value. - - A string representation of the hierarchyid value. - - - - Implementation of IComparable.CompareTo() - - The object to compare to - 0 if the HierarchyIds are "equal" (i.e., have the same _hierarchyId value) - - - - An implementation of this interface is used to initialize the underlying database when - an instance of a derived class is used for the first time. - This initialization can conditionally create the database and/or seed it with data. - The strategy used is set using the static InitializationStrategy property of the - class. - The following implementations are provided: , - , . - - The type of the context. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - An represents the collection of all entities in the context, or that - can be queried from the database, of a given type. is a concrete - implementation of IDbSet. - - - was originally intended to allow creation of test doubles (mocks or - fakes) for . However, this approach has issues in that adding new members - to an interface breaks existing code that already implements the interface without the new members. - Therefore, starting with EF6, no new members will be added to this interface and it is recommended - that be used as the base class for test doubles. - - The type that defines the set. - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Inherit from this class to create a service that allows for code generation of custom annotations as part of - scaffolding Migrations. The derived class should be set onto the . - - - Note that an is not needed if the annotation uses a simple string value, - or if calling ToString on the annotation object is sufficient for use in the scaffolded Migration. - - - - - Override this method to return additional namespaces that should be included in the code generated for the - scaffolded migration. The default implementation returns an empty enumeration. - - The names of the annotations that are being included in the generated code. - A list of additional namespaces to include. - - - - Implement this method to generate code for the given annotation value. - - The name of the annotation for which a value is being generated. - The annotation value. - The writer to which generated code should be written. - - - - Represents a pair of annotation values in a scaffolded or hand-coded . - - - Code First allows for custom annotations to be associated with columns and tables in the - generated model. This class represents a pair of annotation values in a migration such - that when the Code First model changes the old annotation value and the new annotation - value can be provided to the migration and used in SQL generation. - - - - - Creates a new pair of annotation values. - - The old value of the annotation, which may be null if the annotation has just been created. - The new value of the annotation, which may be null if the annotation has been deleted. - - - - Gets the old value of the annotation, which may be null if the annotation has just been created. - - - - - Gets the new value of the annotation, which may be null if the annotation has been deleted. - - - - - - - - - - - Returns true if both annotation pairs contain the same values, otherwise false. - - A pair of annotation values. - A pair of annotation values. - True if both pairs contain the same values. - - - - Returns true if the two annotation pairs contain different values, otherwise false. - - A pair of annotation values. - A pair of annotation values. - True if the pairs contain different values. - - - - Returned by and related methods to indicate whether or - not one object does not conflict with another such that the two can be combined into one. - - - If the two objects are not compatible then information about why they are not compatible is contained - in the property. - - - - - Creates a new instance. - - Indicates whether or not the two tested objects are compatible. - - An error message indicating how the objects are not compatible. Expected to be null if isCompatible is true. - - - - - True if the two tested objects are compatible; otherwise false. - - - - - If is true, then returns an error message indicating how the two tested objects - are incompatible. - - - - - Implicit conversion to a bool to allow the result object to be used directly in checks. - - The object to convert. - True if the result is compatible; false otherwise. - - - - Types used as custom annotations can implement this interface to indicate that an attempt to use - multiple annotations with the same name on a given table or column may be possible by merging - the multiple annotations into one. - - - Normally there can only be one custom annotation with a given name on a given table or - column. If a table or column ends up with multiple annotations, for example, because - multiple CLR properties map to the same column, then an exception will be thrown. - However, if the annotation type implements this interface, then the two annotations will be - checked for compatibility using the method and, if compatible, - will be merged into one using the method. - - - - - Returns true if this annotation does not conflict with the given annotation such that - the two can be combined together using the method. - - The annotation to compare. - A CompatibilityResult indicating whether or not this annotation is compatible with the other. - - - - Merges this annotation with the given annotation and returns a new merged annotation. This method is - only expected to succeed if returns true. - - The annotation to merge with this one. - A new merged annotation. - - - - Instances of this class are used as custom annotations for representing database indexes in an - Entity Framework model. - - - An index annotation is added to a Code First model when an is placed on - a mapped property of that model. This is used by Entity Framework Migrations to create indexes on - mapped database columns. Note that multiple index attributes on a property will be merged into a - single annotation for the column. Similarly, index attributes on multiple properties that map to the - same column will be merged into a single annotation for the column. This means that one index - annotation can represent multiple indexes. Within an annotation there can be only one index with any - given name. - - - - - The name used when this annotation is stored in Entity Framework metadata or serialized into - an SSDL/EDMX file. - - - - - Creates a new annotation for the given index. - - An index attributes representing an index. - - - - Creates a new annotation for the given collection of indexes. - - Index attributes representing one or more indexes. - - - - Gets the indexes represented by this annotation. - - - - - Returns true if this annotation does not conflict with the given annotation such that - the two can be combined together using the method. - - - Each index annotation contains at most one with a given name. - Two annotations are considered compatible if each IndexAttribute with a given name is only - contained in one annotation or the other, or if both annotations contain an IndexAttribute - with the given name. - - The annotation to compare. - A CompatibilityResult indicating whether or not this annotation is compatible with the other. - - - - Merges this annotation with the given annotation and returns a new annotation containing the merged indexes. - - - Each index annotation contains at most one with a given name. - The merged annotation will contain IndexAttributes from both this and the other annotation. - If both annotations contain an IndexAttribute with the same name, then the merged annotation - will contain one IndexAttribute with that name. - - The annotation to merge with this one. - A new annotation with indexes from both annotations merged. - - The other annotation contains indexes that are not compatible with indexes in this annotation. - - - - - - - - This class is used to serialize and deserialize objects so that they - can be stored in the EDMX form of the Entity Framework model. - - - An example of the serialized format is: - { Name: 'MyIndex', Order: 7, IsClustered: True, IsUnique: False } { } { Name: 'MyOtherIndex' }. - Note that properties that have not been explicitly set in an index attribute will be excluded from - the serialized output. So, in the example above, the first index has all properties specified, - the second has none, and the third has just the name set. - - - - - Serializes the given into a string for storage in the EDMX XML. - - The name of the annotation that is being serialized. - The value to serialize which must be an IndexAnnotation object. - The serialized value. - - - - Deserializes the given string back into an object. - - The name of the annotation that is being deserialized. - The string to deserialize. - The deserialized annotation value. - If there is an error reading the serialized value. - - - - Returned by the ChangeTracker method of to provide access to features of - the context that are related to change tracking of entities. - - - - - Gets objects for all the entities tracked by this context. - - The entries. - - - - Gets objects for all the entities of the given type - tracked by this context. - - The type of the entity. - The entries. - - - - Checks if the is tracking any new, deleted, or changed entities or - relationships that will be sent to the database if is called. - - - Functionally, calling this method is equivalent to checking if there are any entities or - relationships in the Added, Updated, or Deleted state. - Note that this method calls unless - has been set to false. - - - True if underlying have changes, else false. - - - - - Detects changes made to the properties and relationships of POCO entities. Note that some types of - entity (such as change tracking proxies and entities that derive from - ) - report changes automatically and a call to DetectChanges is not normally needed for these types of entities. - Also note that normally DetectChanges is called automatically by many of the methods of - and its related classes such that it is rare that this method will need to be called explicitly. - However, it may be desirable, usually for performance reasons, to turn off this automatic calling of - DetectChanges using the AutoDetectChangesEnabled flag from . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - A non-generic version of the class. - - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - - - Asynchronously loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets or sets a value indicating whether all entities of this collection have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities of this collection from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded into this collection - and wants to prevent any other entities from being loaded automatically. - Note that explict loading using one of the Load methods will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity in the collection is detached the IsLoaded flag is reset to false indicating that the - not all related entities are now loaded. - - - true if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - Returns the query that would be used to load this collection from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database, such - as counting the number of entities in the collection in the database without actually loading them. - - A query for the collection. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the collection element. - The equivalent generic object. - - - - Instances of this class are returned from the Collection method of - and allow operations such as loading to - be performed on the an entity's collection navigation properties. - - The type of the entity to which this property belongs. - The type of the element in the collection of entities. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - - - Asynchronously loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets or sets a value indicating whether all entities of this collection have been loaded from the database. - - - Loading the related entities from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entities of this collection from being lazy-loaded. - This can be useful if the application has caused a subset of related entities to be loaded into this collection - and wants to prevent any other entities from being loaded automatically. - Note that explict loading using one of the Load methods will load all related entities from the database - regardless of whether or not IsLoaded is true. - When any related entity in the collection is detached the IsLoaded flag is reset to false indicating that the - not all related entities are now loaded. - - - true if all the related entities are loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - Returns the query that would be used to load this collection from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database, such - as counting the number of entities in the collection in the database without actually loading them. - - A query for the collection. - - - - Returns a new instance of the non-generic class for - the navigation property represented by this object. - - The object representing the navigation property. - A non-generic version. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - An immutable representation of an Entity Data Model (EDM) model that can be used to create an - or can be passed to the constructor of a . - For increased performance, instances of this type should be cached and re-used to construct contexts. - - - - - Creates an instance of ObjectContext or class derived from ObjectContext. Note that an instance - of DbContext can be created instead by using the appropriate DbContext constructor. - If a derived ObjectContext is used, then it must have a public constructor with a single - EntityConnection parameter. - The connection passed is used by the ObjectContext created, but is not owned by the context. The caller - must dispose of the connection once the context has been disposed. - - The type of context to create. - An existing connection to a database for use by the context. - The context. - - - - A non-generic version of the class. - - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The name of the nested property. - An object representing the nested property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the complex property. - The equivalent generic object. - - - - Instances of this class are returned from the ComplexProperty method of - and allow access to the state of a complex property. - - The type of the entity to which this property belongs. - The type of the property. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The type of the nested property. - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The type of the nested property. - An expression representing the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The type of the nested property. - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The type of the nested property. - An expression representing the nested property. - An object representing the nested property. - - - - Represents information about a database connection. - - - - - Creates a new instance of DbConnectionInfo representing a connection that is specified in the application configuration file. - - The name of the connection string in the application configuration. - - - - Creates a new instance of DbConnectionInfo based on a connection string. - - The connection string to use for the connection. - The name of the provider to use for the connection. Use 'System.Data.SqlClient' for SQL Server. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Describes the origin of the database connection string associated with a . - - - - - The connection string was created by convention. - - - - - The connection string was read from external configuration. - - - - - The connection string was explicitly specified at runtime. - - - - - The connection string was overridden by connection information supplied to DbContextInfo. - - - - - Returned by the Configuration method of to provide access to configuration - options for the context. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction. - - - This flag determines whether a new transaction will be started when methods such as - are executed outside of a transaction. - Note that this does not change the behavior of . - - - The default transactional behavior. - - - - - Gets or sets a value indicating whether lazy loading of relationships exposed as - navigation properties is enabled. Lazy loading is enabled by default. - - - true if lazy loading is enabled; otherwise, false . - - - - - Gets or sets a value indicating whether or not the framework will create instances of - dynamically generated proxy classes whenever it creates an instance of an entity type. - Note that even if proxy creation is enabled with this flag, proxy instances will only - be created for entity types that meet the requirements for being proxied. - Proxy creation is enabled by default. - - - true if proxy creation is enabled; otherwise, false . - - - - - Gets or sets a value indicating whether database null semantics are exhibited when comparing - two operands, both of which are potentially nullable. The default value is false. - - For example (operand1 == operand2) will be translated as: - - (operand1 = operand2) - - if UseDatabaseNullSemantics is true, respectively - - (((operand1 = operand2) AND (NOT (operand1 IS NULL OR operand2 IS NULL))) OR ((operand1 IS NULL) AND (operand2 IS NULL))) - - if UseDatabaseNullSemantics is false. - - - true if database null comparison behavior is enabled, otherwise false . - - - - - By default expression like - .Select(x => NewProperty = func(x.Property)).Where(x => x.NewProperty == ...) - are simplified to avoid nested SELECT - In some cases, simplifying query with UDFs could caused to suboptimal plans due to calling UDF twice. - Also some SQL functions aren't allow in WHERE clause. - Disabling that behavior - - - - - Gets or sets a value indicating whether the - method is called automatically by methods of and related classes. - The default value is true. - - - true if should be called automatically; otherwise, false. - - - - - Gets or sets a value indicating whether tracked entities should be validated automatically when - is invoked. - The default value is true. - - - - - Provides runtime information about a given type. - - - - - Creates a new instance representing a given type. - - - The type deriving from . - - - - - Creates a new instance representing a given targeting a specific database. - - - The type deriving from . - - Connection information for the database to be used. - - - - Creates a new instance representing a given type. An external list of - connection strings can be supplied and will be used during connection string resolution in place - of any connection strings specified in external configuration files. - - - It is preferable to use the constructor that accepts the entire config document instead of using this - constructor. Providing the entire config document allows DefaultConnectionFactroy entries in the config - to be found in addition to explicitly specified connection strings. - - - The type deriving from . - - A collection of connection strings. - - - - Creates a new instance representing a given type. An external config - object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - - - The type deriving from . - - An object representing the config file. - - - - Creates a new instance representing a given , targeting a specific database. - An external config object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - - - The type deriving from . - - An object representing the config file. - Connection information for the database to be used. - - - - Creates a new instance representing a given type. A - can be supplied in order to override the default determined provider used when constructing - the underlying EDM model. - - - The type deriving from . - - - A specifying the underlying ADO.NET provider to target. - - - - - Creates a new instance representing a given type. An external config - object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - A can be supplied in order to override the default determined - provider used when constructing the underlying EDM model. This can be useful to prevent EF from - connecting to discover a manifest token. - - - The type deriving from . - - An object representing the config file. - - A specifying the underlying ADO.NET provider to target. - - - - - The concrete type. - - - - - Whether or not instances of the underlying type can be created. - - - - - The connection string used by the underlying type. - - - - - The connection string name used by the underlying type. - - - - - The ADO.NET provider name of the connection used by the underlying type. - - - - - The origin of the connection string used by the underlying type. - - - - - An action to be run on the DbModelBuilder after OnModelCreating has been run on the context. - - - - - If instances of the underlying type can be created, returns - a new instance; otherwise returns null. - - - A instance. - - - - - A non-generic version of the class. - - - - - Gets the entity. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - - The original values. - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - The store values. - - - - Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the store values. - - - - - Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the store values. - - - - - Reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - - - Asynchronously reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The name of the property. - An object representing the property. - - - - Gets an object that represents a complex property of this entity. - - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The name of the member. - An object representing the member. - - - - Returns a new instance of the generic class for the given - generic type for the tracked entity represented by this object. - Note that the type of the tracked entity must be compatible with the generic type or - an exception will be thrown. - - The type of the entity. - A generic version. - - - - Validates this instance and returns validation result. - - - Entity validation result. Possibly null if - DbContext.ValidateEntity(DbEntityEntry, IDictionary{object,object}) - method is overridden. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Returns a hash code for this instance. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Instances of this class provide access to information about and control of entities that - are being tracked by the . Use the Entity or Entities methods of - the context to obtain objects of this type. - - The type of the entity. - - - - Gets the entity. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - - The original values. - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - The store values. - - - - Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the store values. - - - - - Asynchronously queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the store values. - - - - - Reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - - - Asynchronously reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The type of the property. - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The type of the property. - An expression representing the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The type of elements in the collection. - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The type of elements in the collection. - An expression representing the navigation property. - An object representing the navigation property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The name of the property. - An object representing the property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The type of the property. - The name of the property. - An object representing the property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The type of the property. - An expression representing the property. - An object representing the property. - - - - Gets an object that represents a complex property of this entity. - - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a complex property of this entity. - - The type of the complex property. - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a complex property of this entity. - - The type of the complex property. - An expression representing the complex property. - An object representing the complex property. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The name of the member. - An object representing the member. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The type of the member. - The name of the member. - An object representing the member. - - - - Returns a new instance of the non-generic class for - the tracked entity represented by this object. - - The object representing the tracked entity. - A non-generic version. - - - - Validates this instance and returns validation result. - - - Entity validation result. Possibly null if - DbContext.ValidateEntity(DbEntityEntry, IDictionary{object, object}) - method is overridden. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - - The to compare with this instance. - - - true if the specified is equal to this instance; otherwise, false . - - - - - Returns a hash code for this instance. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Provides the base implementation of the retry mechanism for unreliable operations and transient conditions that uses - exponentially increasing delays between retries. - - - A new instance will be created each time an operation is executed. - The following formula is used to calculate the delay after retryCount number of attempts: - min(random(1, 1.1) * (2 ^ retryCount - 1), maxDelay) - The retryCount starts at 0. - The random factor distributes uniformly the retry attempts from multiple simultaneous operations failing simultaneously. - - - - - Creates a new instance of . - - - The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor. - - - - - Creates a new instance of with the specified limits for number of retries and the delay between retries. - - The maximum number of retry attempts. - The maximum delay in milliseconds between retries. - - - - Returns true to indicate that might retry the execution after a failure. - - - - - Indicates whether the strategy is suspended. The strategy is typically suspending while executing to avoid - recursive execution from nested operations. - - - - - Repetitively executes the specified operation while it satisfies the current retry policy. - - A delegate representing an executable operation that doesn't return any results. - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Repetitively executes the specified operation while it satisfies the current retry policy. - - The type of result expected from the executable operation. - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Repetitively executes the specified asynchronous operation while it satisfies the current retry policy. - - A function that returns a started task. - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will become faulted and the exception must be observed. - - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Repeatedly executes the specified asynchronous operation while it satisfies the current retry policy. - - - The result type of the returned by . - - - A function that returns a started task of type . - - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will become faulted and the exception must be observed. - - if the retry delay strategy determines the operation shouldn't be retried anymore - if an existing transaction is detected and the execution strategy doesn't support it - if this instance was already used to execute an operation - - - - Determines whether the operation should be retried and the delay before the next attempt. - - The exception thrown during the last execution attempt. - - Returns the delay indicating how long to wait for before the next execution attempt if the operation should be retried; - null otherwise - - - - - Recursively gets InnerException from as long as it's an - , or - and passes it to - - The type of the unwrapped exception. - The exception to be unwrapped. - A delegate that will be called with the unwrapped exception. - - The result from . - - - - - Determines whether the specified exception represents a transient failure that can be compensated by a retry. - - The exception object to be verified. - - true if the specified exception is considered as transient, otherwise false. - - - - - This is an abstract base class use to represent a scalar or complex property, or a navigation property - of an entity. Scalar and complex properties use the derived class , - reference navigation properties use the derived class , and collection - navigation properties use the derived class . - - - - - Gets the name of the property. - - The property name. - - - - Gets or sets the current value of this property. - - The current value. - - - - The to which this member belongs. - - An entry for the entity that owns this member. - - - - Validates this property. - - - Collection of objects. Never null. If the entity is valid the collection will be empty. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - This is an abstract base class use to represent a scalar or complex property, or a navigation property - of an entity. Scalar and complex properties use the derived class , - reference navigation properties use the derived class , and collection - navigation properties use the derived class . - - The type of the entity to which this property belongs. - The type of the property. - - - Gets the name of the property. - The name of the property. - - - - Gets or sets the current value of this property. - - The current value. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - The to which this member belongs. - - An entry for the entity that owns this member. - - - - Validates this property. - - - Collection of objects. Never null. If the entity is valid the collection will be empty. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents an Entity Data Model (EDM) created by the . - The Compile method can be used to go from this EDM representation to a - which is a compiled snapshot of the model suitable for caching and creation of - or instances. - - - - - Gets the provider information. - - - - - Gets the provider manifest. - - - - - Gets the conceptual model. - - - - - Gets the store model. - - - - - Gets the mapping model. - - - - - Creates a for this mode which is a compiled snapshot - suitable for caching and creation of instances. - - The compiled model. - - - - Base class for persisted model cache. - - - - - Loads a model from the store. - - The type of context representing the model. - The loaded metadata model. - - - - Retrieves an edmx XDocument version of the model from the store. - - The type of context representing the model. - The loaded XDocument edmx. - - - - Saves a model to the store. - - The type of context representing the model. - The metadata model to save. - - - - Gets the default database schema used by a model. - - The type of context representing the model. - The default database schema. - - - - A non-generic version of the class. - - - - - Gets the property name. - - The property name. - - - - Gets or sets the original value of this property. - - The original value. - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets or sets a value indicating whether the value of this property has been modified since - it was loaded from the database. - - - Setting this value to false for a modified property will revert the change by setting the - current value to the original value. If the result is that no properties of the entity are - marked as modified, then the entity will be marked as Unchanged. - Setting this value to false for properties of Added, Unchanged, or Deleted entities - is a no-op. - - - true if this instance is modified; otherwise, false . - - - - - The to which this property belongs. - - An entry for the entity that owns this property. - - - - The of the property for which this is a nested property. - This method will only return a non-null entry for properties of complex objects; it will - return null for properties of the entity itself. - - An entry for the parent complex property, or null if this is an entity property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Instances of this class are returned from the Property method of - and allow access to the state of the scalar - or complex property. - - The type of the entity to which this property belongs. - The type of the property. - - - - Gets the property name. - - The property name. - - - - Gets or sets the original value of this property. - - The original value. - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets or sets a value indicating whether the value of this property has been modified since - it was loaded from the database. - - - true if this instance is modified; otherwise, false . - - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - The object representing the property. - A non-generic version. - - - - The to which this property belongs. - - An entry for the entity that owns this property. - - - - The of the property for which this is a nested property. - This method will only return a non-null entry for properties of complex objects; it will - return null for properties of the entity itself. - - An entry for the parent complex property, or null if this is an entity property. - - - - A collection of all the properties for an underlying entity or complex object. - - - An instance of this class can be converted to an instance of the generic class - using the Cast method. - Complex properties in the underlying entity or complex object are represented in - the property values as nested instances of this class. - - - - - Creates an object of the underlying type for this dictionary and hydrates it with property - values from this dictionary. - - The properties of this dictionary copied into a new object. - - - - Sets the values of this dictionary by reading values out of the given object. - The given object can be of any type. Any property on the object with a name that - matches a property name in the dictionary and can be read will be read. Other - properties will be ignored. This allows, for example, copying of properties from - simple Data Transfer Objects (DTOs). - - The object to read values from. - - - - Creates a new dictionary containing copies of all the properties in this dictionary. - Changes made to the new dictionary will not be reflected in this dictionary and vice versa. - - A clone of this dictionary. - - - - Sets the values of this dictionary by reading values from another dictionary. - The other dictionary must be based on the same type as this dictionary, or a type derived - from the type for this dictionary. - - The dictionary to read values from. - - - - Gets the set of names of all properties in this dictionary as a read-only set. - - The property names. - - - - Gets or sets the value of the property with the specified property name. - The value may be a nested instance of this class. - - The property name. - The value of the property. - - - - Gets the value of the property just like using the indexed property getter but - typed to the type of the generic parameter. This is useful especially with - nested dictionaries to avoid writing expressions with lots of casts. - - The type of the property. - Name of the property. - The value of the property. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Groups a pair of strings that identify a provider and server version together into a single object. - - - Instances of this class act as the key for resolving a for a specific - provider from a . This is typically used when registering spatial services - in or when the spatial services specific to a provider is - resolved by an implementation of . - - - - - Creates a new object for a given provider invariant name and manifest token. - - - A string that identifies that provider. For example, the SQL Server - provider uses the string "System.Data.SqlCient". - - - A string that identifies that version of the database server being used. For example, the SQL Server - provider uses the string "2008" for SQL Server 2008. This cannot be null but may be empty. - The manifest token is sometimes referred to as a version hint. - - - - - A string that identifies that provider. For example, the SQL Server - provider uses the string "System.Data.SqlCient". - - - - - A string that identifies that version of the database server being used. For example, the SQL Server - provider uses the string "2008" for SQL Server 2008. This cannot be null but may be empty. - - - - - - - - - - - Represents a non-generic LINQ to Entities query against a DbContext. - - - - - Returns false. - - - false . - - - - - Throws an exception indicating that binding directly to a store query is not supported. - Instead populate a DbSet with data, for example by using the Load extension method, and - then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to - DbSet.Local.ToBindingList(). - - Never returns; always throws. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - The IQueryable element type. - - - - - The IQueryable LINQ Expression. - - - - - The IQueryable provider. - - - - - Specifies the related objects to include in the query results. - - - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the DbQuery<T>. Other instances of DbQuery<T> and the object context itself are not affected. - Because the Include method returns the query object, you can call this method multiple times on an DbQuery<T> to - specify multiple paths for the query. - - The dot-separated list of related objects to return in the query results. - - A new DbQuery<T> with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns the equivalent generic object. - - The type of element for which the query was created. - The generic set object. - - - - Returns a representation of the underlying query. - - The query string. - - - - Gets a representation of the underlying query. - - - - - - - - - - - - - - Represents a LINQ to Entities query against a DbContext. - - The type of entity to query for. - - - - Specifies the related objects to include in the query results. - - - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the DbQuery<T>. Other instances of DbQuery<T> and the object context itself are not affected. - Because the Include method returns the query object, you can call this method multiple times on an DbQuery<T> to - specify multiple paths for the query. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns false. - - - false . - - - - - Throws an exception indicating that binding directly to a store query is not supported. - Instead populate a DbSet with data, for example by using the Load extension method, and - then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to - DbSet.Local.ToBindingList(). - - Never returns; always throws. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - Returns an which when enumerated will execute the query against the database. - - The query results. - - - - The IQueryable element type. - - - - - The IQueryable LINQ Expression. - - - - - The IQueryable provider. - - - - - Returns a representation of the underlying query. - - The query string. - - - - Gets a representation of the underlying query. - - - - - Returns a new instance of the non-generic class for this query. - - The query. - A non-generic version. - - - - - - - - - - - - - Represents a SQL query for non-entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance. - The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for entities are created using . - See for a generic version of this class. - - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The action to perform on each element. - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The action to perform on each element. - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Creates a from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the query. - - - - - Creates a from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the query. - - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Returns false. - - - false . - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - Never returns; always throws. - - - - - - - - - - - - - Represents a SQL query for non-entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance. - The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for entities are created using . - See for a non-generic version of this class. - - The type of elements returned by the query. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Returns an which when enumerated will execute the SQL query against the database. - - - An object that can be used to iterate through the elements. - - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The action to be executed. - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The action to be executed. - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Creates a from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates a from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates an array from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains an array that contains elements from the input sequence. - - - - - Creates an array from the query by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an array that contains elements from the input sequence. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - A function to extract a key from each element. - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - A function to extract a key from each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function and a comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - A function to extract a key from each element. - - An to compare keys. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function and a comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - A function to extract a key from each element. - - An to compare keys. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - - The type of the value returned by . - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the query. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - - The type of the value returned by . - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the query. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function, a comparer, and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - - The type of the value returned by . - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - An to compare keys. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Creates a from the query by enumerating it asynchronously - according to a specified key selector function, a comparer, and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the key returned by . - - - The type of the value returned by . - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - An to compare keys. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Asynchronously returns the first element of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the first element in the query result. - - The query result is empty. - - - - Asynchronously returns the first element of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the first element in the query result. - - The query result is empty. - - - - Asynchronously returns the first element of the query that satisfies a specified condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the first element in the query result that satisfies a specified condition. - - - - is - null - . - - The query result is empty. - - - - Asynchronously returns the first element of the query that satisfies a specified condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the first element in the query result that satisfies a specified condition. - - - - is - null - . - - The query result is empty. - - - - Asynchronously returns the first element of the query, or a default value if the query result contains no elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if query result is empty; - otherwise, the first element in the query result. - - - - - Asynchronously returns the first element of the query, or a default value if the query result contains no elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if query result is empty; - otherwise, the first element in the query result. - - - - - Asynchronously returns the first element of the query that satisfies a specified condition - or a default value if no such element is found. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains default ( ) if query result is empty - or if no element passes the test specified by ; otherwise, the first element - in the query result that passes the test specified by . - - - - is - null - . - - - - - Asynchronously returns the first element of the query that satisfies a specified condition - or a default value if no such element is found. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if query result is empty - or if no element passes the test specified by ; otherwise, the first element - in the query result that passes the test specified by . - - - - is - null - . - - - - - Asynchronously returns the only element of the query, and throws an exception - if there is not exactly one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result. - - The query result has more than one element. - The query result is empty. - - - - Asynchronously returns the only element of the query, and throws an exception - if there is not exactly one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result. - - The query result has more than one element. - The query result is empty. - - - - Asynchronously returns the only element of the query that satisfies a specified condition, - and throws an exception if more than one such element exists. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the single element of the query result that satisfies the condition in - . - - - - is - null - . - - - No element satisfies the condition in - - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of the query that satisfies a specified condition, - and throws an exception if more than one such element exists. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result that satisfies the condition in - . - - - - is - null - . - - - No element satisfies the condition in - - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of a sequence, or a default value if the sequence is empty; - this method throws an exception if there is more than one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result, or default () - if the sequence contains no elements. - - The query result has more than one element. - - - - Asynchronously returns the only element of a sequence, or a default value if the sequence is empty; - this method throws an exception if there is more than one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result, or default () - if the sequence contains no elements. - - The query result has more than one element. - - - - Asynchronously returns the only element of the query that satisfies a specified condition or - a default value if no such element exists; this method throws an exception if more than one element - satisfies the condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the single element of the query result that satisfies the condition in - , or default ( ) if no such element is found. - - - - is - null - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of the query that satisfies a specified condition or - a default value if no such element exists; this method throws an exception if more than one element - satisfies the condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the query result that satisfies the condition in - , or default ( ) if no such element is found. - - - - is - null - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously determines whether the query contains a specified element by using the default equality comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The object to locate in the query result. - - A task that represents the asynchronous operation. - The task result contains true if the query result contains the specified value; otherwise, false. - - - - - Asynchronously determines whether the query contains a specified element by using the default equality comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - The object to locate in the query result. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the query result contains the specified value; otherwise, false. - - - - - Asynchronously determines whether the query contains any elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains true if the query result contains any elements; otherwise, false. - - - - - Asynchronously determines whether the query contains any elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the query result contains any elements; otherwise, false. - - - - - Asynchronously determines whether any element of the query satisfies a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains true if any elements in the query result pass the test in the specified predicate; otherwise, false. - - - - - Asynchronously determines whether any element of the query satisfies a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if any elements in the query result pass the test in the specified predicate; otherwise, false. - - - - - Asynchronously determines whether all the elements of the query satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains true if every element of the query result passes the test in the specified predicate; otherwise, false. - - - - is - null - . - - - - - Asynchronously determines whether all the elements of the query satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if every element of the query result passes the test in the specified predicate; otherwise, false. - - - - is - null - . - - - - - Asynchronously returns the number of elements in the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result. - - - The number of elements in the query result is larger than - - . - - - - - Asynchronously returns the number of elements in the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result. - - - The number of elements in the query result is larger than - - . - - - - - Asynchronously returns the number of elements in the query that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result that satisfy the condition in the predicate function. - - - The number of elements in the query result that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns the number of elements in the query that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result that satisfy the condition in the predicate function. - - - The number of elements in the query result that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns an that represents the total number of elements in the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result. - - - The number of elements in the query result is larger than - - . - - - - - Asynchronously returns an that represents the total number of elements in the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result. - - - The number of elements in the query result is larger than - - . - - - - - Asynchronously returns an that represents the number of elements in the query - that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result that satisfy the condition in the predicate function. - - - The number of elements in the query result that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns an that represents the number of elements in the query - that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the query result that satisfy the condition in the predicate function. - - - The number of elements in the query result that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns the minimum value of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the query result. - - - - - Asynchronously returns the minimum value of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the query result. - - - - - Asynchronously returns the maximum value of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the query result. - - - - - Asynchronously returns the maximum value of the query. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the query result. - - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Returns false. - - - false . - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - Never returns; always throws. - - - - - - - - - - - - - A non-generic version of the class. - - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - - - Asynchronously loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets or sets a value indicating whether the entity has been loaded from the database. - - - Loading the related entity from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entity from being lazy-loaded. - Note that explict loading using one of the Load methods will load the related entity from the database - regardless of whether or not IsLoaded is true. - When a related entity is detached the IsLoaded flag is reset to false indicating that the related entity is - no longer loaded. - - - true if the entity is loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - Returns the query that would be used to load this entity from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database. - - A query for the entity. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Instances of this class are returned from the Reference method of - and allow operations such as loading to - be performed on the an entity's reference navigation properties. - - The type of the entity to which this property belongs. - The type of the property. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - - - Asynchronously loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A task that represents the asynchronous operation. - - - - - Asynchronously loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Gets or sets a value indicating whether the entity has been loaded from the database. - - - Loading the related entity from the database either using lazy-loading, as part of a query, or explicitly - with one of the Load methods will set the IsLoaded flag to true. - IsLoaded can be explicitly set to true to prevent the related entity from being lazy-loaded. - Note that explict loading using one of the Load methods will load the related entity from the database - regardless of whether or not IsLoaded is true. - When a related entity is detached the IsLoaded flag is reset to false indicating that the related entity is - no longer loaded. - - - true if the entity is loaded or the IsLoaded has been explicitly set to true; otherwise, false. - - - - - Returns the query that would be used to load this entity from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database. - - A query for the entity. - - - - Returns a new instance of the non-generic class for - the navigation property represented by this object. - - The object representing the navigation property. - A non-generic version. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Represents a SQL query for entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance for the - entity type. The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for non-entities are created using . - See for a generic version of this class. - - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for . Methods and properties - that will be used by the test double must be implemented by the test double except AsNoTracking - and AsStreaming where the default implementation is a no-op. - - - - - Returns a new query where the results of the query will not be tracked by the associated - . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - - - - - - - - - - - - - Represents a SQL query for entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance for the - entity type. The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for non-entities are created using . - See for a non-generic version of this class. - - The type of entities returned by the query. - - - - Creates an instance of a when called from the constructor of a derived - type that will be used as a test double for . Methods and properties - that will be used by the test double must be implemented by the test double except AsNoTracking and - AsStreaming where the default implementation is a no-op. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns a new query that will stream the results instead of buffering. - - A new query with AsStreaming applied. - - - - - - - - - - - - - - - - Exception thrown by when it was expected that SaveChanges for an entity would - result in a database update but in fact no rows in the database were affected. This usually indicates - that the database has been concurrently updated such that a concurrency token that was expected to match - did not actually match. - Note that state entries referenced by this exception are not serialized due to security and accesses to - the state entries after serialization will return null. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the DbUpdateConcurrencyException class with the specified serialization information and context. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - Exception thrown by when the saving of changes to the database fails. - Note that state entries referenced by this exception are not serialized due to security and accesses to the - state entries after serialization will return null. - - - - - Gets objects that represents the entities that could not - be saved to the database. - - The entries representing the entities that could not be saved. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the DbUpdateException class with the specified serialization information and context. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - Loads or saves models from/into .edmx files at a specified location. - - - - - Initializes a new DefaultDbModelStore instance. - - The parent directory for the .edmx files. - - - - Gets the location of the .edmx files. - - - - - Loads a model from the store. - - The type of context representing the model. - The loaded metadata model. - - - - Retrieves an edmx XDocument version of the model from the store. - - The type of context representing the model. - The loaded XDocument edmx. - - - - Saves a model to the store. - - The type of context representing the model. - The metadata model to save. - - - - Gets the path of the .edmx file corresponding to the specified context type. - - A context type. - The .edmx file path. - - - - Validates the model store is valid. - The default implementation verifies that the .edmx file was last - written after the context assembly was last written. - - The type of context representing the model. - The path of the stored model. - Whether the edmx file should be invalidated. - - - - An that doesn't retry operations if they fail. - - - - - Returns false to indicate that will not retry the execution after a failure. - - - - - Executes the specified operation once. - - A delegate representing an executable operation that doesn't return any results. - - - - Executes the specified operation once and returns the result. - - - The return type of . - - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - - - - Executes the specified asynchronous operation once, without retrying on failure. - - A function that returns a started task. - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully. - - - - - Executes the specified asynchronous operation once, without retrying on failure. - - - The result type of the returned by . - - A function that returns a started task. - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully. - - - - - A default implementation of that uses the - underlying provider to get the manifest token. - Note that to avoid multiple queries, this implementation using caching based on the actual type of - instance, the property, - and the property. - - - - - - - - Event arguments passed to event handlers. - - - - - Returns a snapshot of the that is about to be locked. - Use the GetService methods on this object to get services that have been registered. - - - - - Call this method to add a instance to the Chain of - Responsibility of resolvers that are used to resolve dependencies needed by the Entity Framework. - - - Resolvers are asked to resolve dependencies in reverse order from which they are added. This means - that a resolver can be added to override resolution of a dependency that would already have been - resolved in a different way. - The only exception to this is that any dependency registered in the application's config file - will always be used in preference to using a dependency resolver added here, unless the - overrideConfigFile is set to true in which case the resolver added here will also override config - file settings. - - The resolver to add. - If true, then the resolver added will take precedence over settings in the config file. - - - - Call this method to add a instance to the Chain of Responsibility - of resolvers that are used to resolve dependencies needed by the Entity Framework. Unlike the AddDependencyResolver - method, this method puts the resolver at the bottom of the Chain of Responsibility such that it will only - be used to resolve a dependency that could not be resolved by any of the other resolvers. - - The resolver to add. - - - - Adds a wrapping resolver to the configuration that is about to be locked. A wrapping - resolver is a resolver that incepts a service would have been returned by the resolver - chain and wraps or replaces it with another service of the same type. - - The type of service to wrap or replace. - A delegate that takes the unwrapped service and key and returns the wrapped or replaced service. - - - - - - - - - - - - - - - - An implementation used for resolving - factories. - - - This class can be used by to aid in the resolving - of factories as a default service for the provider. - - The type of execution strategy that is resolved. - - - - Initializes a new instance of - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - - A string that will be matched against the server name in the connection string. null will match anything. - - A function that returns a new instance of an execution strategy. - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return null. When the given type is - Func{IExecutionStrategy}, then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An , or null. - - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return an empty enumeration. When the given type is - Func{IExecutionStrategy}, then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An enumerable of , or an empty enumeration. - - - - - This interface is implemented by any object that can resolve a dependency, either directly - or through use of an external container. - - - The public services currently resolved using IDbDependencyResolver are documented here: - http://msdn.microsoft.com/en-us/data/jj680697 - - - - - Attempts to resolve a dependency for a given contract type and optionally a given key. - If the resolver cannot resolve the dependency then it must return null and not throw. This - allows resolvers to be used in a Chain of Responsibility pattern such that multiple resolvers - can be asked to resolve a dependency until one finally does. - - The interface or abstract base class that defines the dependency to be resolved. The returned object is expected to be an instance of this type. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - The resolved dependency, which must be an instance of the given contract type, or null if the dependency could not be resolved. - - - - Attempts to resolve a dependencies for a given contract type and optionally a given key. - If the resolver cannot resolve the dependency then it must return an empty enumeration and - not throw. This method differs from in that it returns all registered - services for the given type and key combination. - - The interface or abstract base class that defines the dependency to be resolved. Every returned object is expected to be an instance of this type. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - All services that resolve the dependency, which must be instances of the given contract type, or an empty enumeration if the dependency could not be resolved. - - - - Extension methods to call the method using - a generic type parameter and/or no name. - - - - - Calls passing the generic type of the method and the given - name as arguments. - - The contract type to resolve. - The resolver to use. - The key of the dependency to resolve. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the generic type of the method as - the type argument and null for the name argument. - - The contract type to resolve. - The resolver to use. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the given type argument and using - null for the name argument. - - The resolver to use. - The contract type to resolve. - The resolved dependency, or null if the resolver could not resolve it. - - - - Calls passing the generic type of the method and the given - name as arguments. - - The contract type to resolve. - The resolver to use. - The key of the dependency to resolve. - All resolved dependencies, or an if no services are resolved. - - - - Calls passing the generic type of the method as - the type argument and null for the name argument. - - The contract type to resolve. - The resolver to use. - All resolved dependencies, or an if no services are resolved. - - - - Calls passing the given type argument and using - null for the name argument. - - The resolver to use. - The contract type to resolve. - All resolved dependencies, or an if no services are resolved. - - - - Implements to resolve a dependency such that it always returns - the same instance. - - The type that defines the contract for the dependency that will be resolved. - - This class is immutable such that instances can be accessed by multiple threads at the same time. - - - - - Constructs a new resolver that will return the given instance for the contract type - regardless of the key passed to the Get method. - - The instance to return. - - - - Constructs a new resolver that will return the given instance for the contract type - if the given key matches exactly the key passed to the Get method. - - The instance to return. - Optionally, the key of the dependency to be resolved. This may be null for dependencies that are not differentiated by key. - - - - Constructs a new resolver that will return the given instance for the contract type - if the given key matches the key passed to the Get method based on the given predicate. - - The instance to return. - A predicate that takes the key object and returns true if and only if it matches. - - - - - - - - - - An implementation used for resolving - factories. - - - - - Initializes a new instance of - - A function that returns a new instance of a transaction handler. - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which the transaction handler will be used. - null will match anything. - - - A string that will be matched against the server name in the connection string. null will match anything. - - - - - If the given type is , then this method will attempt - to return the service to use, otherwise it will return null. When the given type is - , then the key is expected to be a . - - The service type to resolve. - A key used to make a determination of the service to return. - - An , or null. - - - - - If the given type is , then this resolver will attempt - to return the service to use, otherwise it will return an empty enumeration. When the given type is - , then the key is expected to be an . - - The service type to resolve. - A key used to make a determination of the service to return. - - An enumerable of , or an empty enumeration. - - - - - - - - - - - Provides utility methods for reading from an App.config or Web.config file. - - - - - Initializes a new instance of . - - The configuration to read from. - - - - Gets the specified provider services from the configuration. - - The invariant name of the provider services. - The provider services type name, or null if not found. - - - - Used for design-time scenarios where the user's code needs to be executed inside - of an isolated, runtime-like . - - Instances of this class should be created inside of the guest domain. - Handlers should be created inside of the host domain. To invoke operations, - create instances of the nested classes inside - - - - - Initializes a new instance of the class. Do this inside of the guest - domain. - - The path for the assembly containing the user's code. - The parameter is not used. - - - - Used to get the assembly-qualified name of the DbProviderServices type for the - specified provider invariant name. - - - - - Represents an operation. - - - - - Initializes a new instance of the class. - - An object to handle callbacks during the operation. - - - - Executes an action passing exceptions to the handler. - - The action to execute. - - - - Executes an action passing the result or exceptions to the handler. - - The result type. - The action to execute. - - - - Executes an action passing results or exceptions to the handler. - - The type of results. - The action to execute. - - - - Base handler type. Handlers aren't required to use this exact type. Only the - namespace, name, and member signatures need to be the same. This also applies to - handler contracts types - - - - - Indicates whether the specified contract is implemented by this handler. - - The full name of the contract interface. - True if the contract is implemented, otherwise false. - - - - Used to handle reported design-time activity. - - - - - Invoked when an error is reported. - - The message. - - - - Invoked when a warning is reported. - - The message. - - - - Invoked when information is reported. - - The message. - - - - Invoked when verbose information is reported. - - The message. - - - - A contract handlers can use to accept a single result. - - - - - - Sets the result. - - The result. - - - - Invoked when an error occurs. - - The exception type. - The error message. - The stack trace. - true if the error was handled; otherwise, false. - - - - Used to handle reported design-time activity. - - - - - Initializes a new instance of the class. - - A callback for . - A callback for . - A callback for . - A callback for . - - - - Invoked when an error is reported. - - The message. - - - - Invoked when a warning is reported. - - The message. - - - - Invoked when information is reported. - - The message. - - - - Invoked when verbose information is reported. - - The message. - - - - Used with to handle operation results. - - - - - Gets a value indicating whether a result is available. - - A value indicating whether a result is available. - - - - Gets the result. - - The result. - - - - Gets the type of the exception if any. - - The exception type. - - - - Gets the error message if any. - - The error message. - - - - Get the error stack trace if any. - - The stack trace. - - - - Invoked when a result is available. - - The result. - - - - Invoked when an error occurs. - - The exception type. - The error message. - The stack trace. - - - - Represents an entity used to store metadata about an EDM in the database. - - - - - Gets or sets the ID of the metadata entity, which is currently always 1. - - The id. - - - - Gets or sets the model hash which is used to check whether the model has - changed since the database was created from it. - - The model hash. - - - - Attempts to get the model hash calculated by Code First for the given context. - This method will return null if the context is not being used in Code First mode. - - The context. - The hash string. - - - - Utility class for reading a metadata model from .edmx. - - - - - Reads a metadata model from .edmx. - - XML reader for the .edmx - Default database schema used by the model. - The loaded metadata model. - - - - Contains methods used to access the Entity Data Model created by Code First in the EDMX form. - These methods are typically used for debugging when there is a need to look at the model that - Code First creates internally. - - - - - Uses Code First with the given context and writes the resulting Entity Data Model to the given - writer in EDMX form. This method can only be used with context instances that use Code First - and create the model internally. The method cannot be used for contexts created using Database - First or Model First, for contexts created using a pre-existing , or - for contexts created using a pre-existing . - - The context. - The writer. - - - - Writes the Entity Data Model represented by the given to the - given writer in EDMX form. - - An object representing the EDM. - The writer. - - - - A key used for resolving . It consists of the ADO.NET provider invariant name - and the database server name as specified in the connection string. - - - - - Initializes a new instance of - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - A string that will be matched against the server name in the connection string. - - - - The ADO.NET provider invariant name indicating the type of ADO.NET connection for which this execution strategy will be used. - - - - - A string that will be matched against the server name in the connection string. - - - - - - - - - - - Asynchronous version of the interface that allows elements to be retrieved asynchronously. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - - - - Gets an enumerator that can be used to asynchronously enumerate the sequence. - - Enumerator for asynchronous enumeration over the sequence. - - - - Asynchronous version of the interface that allows elements of the enumerable sequence to be retrieved asynchronously. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - The type of objects to enumerate. - - - - Gets an enumerator that can be used to asynchronously enumerate the sequence. - - Enumerator for asynchronous enumeration over the sequence. - - - - Asynchronous version of the interface that allows elements to be retrieved asynchronously. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - - - - Advances the enumerator to the next element in the sequence, returning the result asynchronously. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the sequence. - - - - - Gets the current element in the iteration. - - - - - Asynchronous version of the interface that allows elements to be retrieved asynchronously. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - The type of objects to enumerate. - - - - Gets the current element in the iteration. - - - - - Defines methods to create and asynchronously execute queries that are described by an - object. - This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes. - - - - - Asynchronously executes the query represented by a specified expression tree. - - An expression tree that represents a LINQ query. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the value that results from executing the specified query. - - - - - Asynchronously executes the strongly-typed query represented by a specified expression tree. - - The type of the value that results from executing the query. - An expression tree that represents a LINQ query. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the value that results from executing the specified query. - - - - - Implementations of this interface are used to create DbConnection objects for - a type of database server based on a given database name. - An Instance is set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use a certain type of database server by default. - Two implementations of this interface are provided: - is used to create connections to Microsoft SQL Server, including EXPRESS editions. - is used to create connections to Microsoft SQL - Server Compact Editions. - Other implementations for other database servers can be added as needed. - Note that implementations should be thread safe or immutable since they may - be accessed by multiple threads at the same time. - - - - - Creates a connection based on the given database name or connection string. - - The database name or connection string. - An initialized DbConnection. - - - - A factory for creating derived instances. Implement this - interface to enable design-time services for context types that do not have a - public default constructor. - At design-time, derived instances can be created in order to enable specific - design-time experiences such as model rendering, DDL generation etc. To enable design-time instantiation - for derived types that do not have a public, default constructor, implement - this interface. Design-time services will auto-discover implementations of this interface that are in the - same assembly as the derived type. - - The type of the context. - - - - Creates a new instance of a derived type. - - An instance of TContext - - - - A strategy that is used to execute a command or query against the database, possibly with logic to retry when a failure occurs. - - - - - Indicates whether this might retry the execution after a failure. - - - - - Executes the specified operation. - - A delegate representing an executable operation that doesn't return any results. - - - - Executes the specified operation and returns the result. - - - The return type of . - - - A delegate representing an executable operation that returns the result of type . - - The result from the operation. - - - - Executes the specified asynchronous operation. - - A function that returns a started task. - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will become faulted and the exception must be observed. - - - - - Executes the specified asynchronous operation and returns the result. - - - The result type of the returned by . - - - A function that returns a started task of type . - - - A cancellation token used to cancel the retry operation, but not operations that are already in flight - or that already completed successfully. - - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will become faulted and the exception must be observed. - - - - - Represents a key value that uniquely identifies an Entity Framework model that has been loaded into memory. - - - - Determines whether the current cached model key is equal to the specified cached model key. - true if the current cached model key is equal to the specified cached model key; otherwise, false. - The cached model key to compare to the current cached model key. - - - Returns the hash function for this cached model key. - The hash function for this cached model key. - - - - Implement this interface on your context to use custom logic to calculate the key used to lookup an already created model in the cache. - This interface allows you to have a single context type that can be used with different models in the same AppDomain, - or multiple context types that use the same model. - - - - Gets the cached key associated with the provider. - The cached key associated with the provider. - - - - A service for obtaining the correct from a given - . - - - On .NET 4.5 the provider is publicly accessible from the connection. On .NET 4 the - default implementation of this service uses some heuristics to find the matching - provider. If these fail then a new implementation of this service can be registered - on to provide an appropriate resolution. - - - - - Returns the for the given connection. - - The connection. - The provider factory for the connection. - - - - A service for getting a provider manifest token given a connection. - The class is used by default and makes use of the - underlying provider to get the token which often involves opening the connection. - A different implementation can be used instead by adding an - to that may use any information in the connection to return - the token. For example, if the connection is known to point to a SQL Server 2008 database then - "2008" can be returned without opening the connection. - - - - - Returns the manifest token to use for the given connection. - - The connection for which a manifest token is required. - The manifest token to use. - - - - Implement this interface to allow custom annotations represented by instances to be - serialized to and from the EDMX XML. Usually a serializer instance is set using the - method. - - - - - Serializes the given annotation value into a string for storage in the EDMX XML. - - The name of the annotation that is being serialized. - The value to serialize. - The serialized value. - - - - Deserializes the given string back into the expected annotation value. - - The name of the annotation that is being deserialized. - The string to deserialize. - The deserialized annotation value. - - - - This convention causes DbModelBuilder to include metadata about the model - when it builds the model. When creates a model by convention it will - add this convention to the list of those used by the DbModelBuilder. This will then result in - model metadata being written to the database if the DbContext is used to create the database. - This can then be used as a quick check to see if the model has changed since the last time it was - used against the database. - This convention can be removed from the conventions by overriding - the OnModelCreating method on a derived DbContext class. - - - - - Represents contextual information associated with calls to - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - The that will be used or has been used to start a transaction. - - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The isolation level to associate. - A new interception context associated with the given isolation level. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - This is the default log formatter used when some is set onto the - property. A different formatter can be used by creating a class that inherits from this class and overrides - some or all methods to change behavior. - - - To set the new formatter create a code-based configuration for EF using and then - set the formatter class to use with . - Note that setting the type of formatter to use with this method does change the way command are - logged when is used. It is still necessary to set a - onto before any commands will be logged. - For more low-level control over logging/interception see and - . - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Creates a formatter that will not filter by any and will instead log every command - from any context and also commands that do not originate from a context. - - - This constructor is not used when a delegate is set on . Instead it can be - used by setting the formatter directly using . - - The delegate to which output will be sent. - - - - Creates a formatter that will only log commands the come from the given instance. - - - This constructor must be called by a class that inherits from this class to override the behavior - of . - - - The context for which commands should be logged. Pass null to log every command - from any context and also commands that do not originate from a context. - - The delegate to which output will be sent. - - - - The context for which commands are being logged, or null if commands from all contexts are - being logged. - - - - - Writes the given string to the underlying write delegate. - - The string to write. - - - - This property is obsolete. Using it can result in logging incorrect execution times. Call - instead. - - - - - The stopwatch used to time executions. This stopwatch is started at the end of - , , and - methods and is stopped at the beginning of the , , - and methods. If these methods are overridden and the stopwatch is being used - then the overrides should either call the base method or start/stop the stopwatch themselves. - - The interception context for which the stopwatch will be obtained. - The stopwatch. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - The default implementation calls and starts the stopwatch returned from - . - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. - The default implementation stopsthe stopwatch returned from and calls - . - - The command being executed. - Contextual information associated with the call. - - - - Called whenever a command is about to be executed. The default implementation of this method - filters by set into , if any, and then calls - . This method would typically only be overridden to change the - context filtering behavior. - - The type of the operation's results. - The command that will be executed. - Contextual information associated with the command. - - - - Called whenever a command has completed executing. The default implementation of this method - filters by set into , if any, and then calls - . This method would typically only be overridden to change the context - filtering behavior. - - The type of the operation's results. - The command that was executed. - Contextual information associated with the command. - - - - Called to log a command that is about to be executed. Override this method to change how the - command is logged to . - - The type of the operation's results. - The command to be logged. - Contextual information associated with the command. - - - - Called by to log each parameter. This method can be called from an overridden - implementation of to log parameters, and/or can be overridden to - change the way that parameters are logged to . - - The type of the operation's results. - The command being logged. - Contextual information associated with the command. - The parameter to log. - - - - Called to log the result of executing a command. Override this method to change how results are - logged to . - - The type of the operation's results. - The command being logged. - Contextual information associated with the command. - - - - Does not write to log unless overridden. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - Called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that began the transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection being opened. - Contextual information associated with the call. - - - - Called after or its async counterpart is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that was opened. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection being closed. - Contextual information associated with the call. - - - - Called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection that was closed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Called before is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The connection being disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection that was disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The connection. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction being committed. - Contextual information associated with the call. - - - - This method is called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction that was committed. - Contextual information associated with the call. - - - - This method is called before is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction being disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction that was disposed. - Contextual information associated with the call. - - - - Does not write to log unless overridden. - - The transaction being rolled back. - Contextual information associated with the call. - - - - This method is called after is invoked. - The default implementation of this method filters by set into - , if any, and then logs the event. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - - - - - - - - - - - - A simple logger for logging SQL and other database operations to the console or a file. - A logger can be registered in code or in the application's web.config /app.config file. - - - - - Creates a new logger that will send log output to the console. - - - - - Creates a new logger that will send log output to a file. If the file already exists then - it is overwritten. - - A path to the file to which log output will be written. - - - - Creates a new logger that will send log output to a file. - - A path to the file to which log output will be written. - True to append data to the file if it exists; false to overwrite the file. - - - - Stops logging and closes the underlying file if output is being written to a file. - - - - - Stops logging and closes the underlying file if output is being written to a file. - - - True to release both managed and unmanaged resources; False to release only unmanaged resources. - - - - - Starts logging. This method is a no-op if logging is already started. - - - - - Stops logging. This method is a no-op if logging is not started. - - - - - Called to start logging during Entity Framework initialization when this logger is registered. - as an . - - Arguments to the event that this interceptor mirrors. - Contextual information about the event. - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the fluent API. - - - This class is used internally by Entity Framework when executing commands. It is provided publicly so that - code that runs outside of the core EF assemblies can opt-in to command interception/tracing. This is - typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The cancellation token for the asynchronous operation. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The cancellation token for the asynchronous operation. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The command on which the operation will be executed. - Optional information about the context of the call being made. - The cancellation token for the asynchronous operation. - The result of the operation, which may have been modified by interceptors. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls into - implementations. - - - An instance of this class is passed to the dispatch methods of - and does not contain mutable information such as the result of the operation. This mutable information - is obtained from the that is passed to the interceptors. - Instances of this class are publicly immutable. To add contextual information use one of the - With... or As... methods to create a new interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - The that will be used or has been used to execute the command with a - . This property is only used for - and its async counterparts. - - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The command behavior to associate. - A new interception context associated with the given command behavior. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - Represents contextual information associated with calls into - implementations including the result of the operation. - - The type of the operation's results. - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - If execution of the operation completes without throwing, then this property will contain - the result of the operation. If the operation was suppressed or did not fail, then this property - will always contain the default value for the generic type. - - - When an operation completes without throwing both this property and the - property are set. However, the property can be set or changed by interceptors, - while this property will always represent the actual result returned by the operation, if any. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set result will be returned instead. Otherwise, if the operation succeeds, then - this property will be set to the returned result. In either case, interceptors that run - after the operation can change this property to change the result that will be returned. - - - When an operation completes without throwing both this property and the - property are set. However, this property can be set or changed by interceptors, while the - property will always represent the actual result returned by the - operation, if any. - - - - - When true, this flag indicates that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - , by setting an to be thrown, or - by setting the operation result using . - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The command behavior to associate. - A new interception context associated with the given command behavior. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Base class that implements . This class is a convenience for - use when only one or two methods of the interface actually need to have any implementation. - - - - - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls into - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - The original tree created by Entity Framework. Interceptors can change the - property to change the tree that will be used, but the - will always be the tree created by Entity Framework. - - - - - The command tree that will be used by Entity Framework. This starts as the tree contained in the - the property but can be set by interceptors to change - the tree that will be used by Entity Framework. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - Represents contextual information associated with calls into - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. Also see - - The context from which to copy state. - - - - - - - Creates a new that contains all the contextual information in - this interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in - this interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in - this interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - - - - - - - - - - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the fluent API. - - - This class is used internally by Entity Framework when interacting with . - It is provided publicly so that code that runs outside of the core EF assemblies can opt-in to command - interception/tracing. This is typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after making a - call to . - - - Note that the result of executing the command is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - setting . - - The connection on which the operation will be executed. - Information about the context of the call being made, including the value to be set. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The cancellation token. - A task that represents the asynchronous operation. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The connection on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls to that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to property setters of type on a . - - The type of the target property. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the given property value. - - The value that will be assigned to the target property. - A new interception context associated with the given property value. - - - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Provides access to all dispatchers through the fluent API. - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - Provides methods for dispatching to interceptors for - interception of methods on . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - This is the registration point for interceptors. Interceptors - receive notifications when EF performs certain operations such as executing commands against - the database. For example, see . - - - - - Registers a new to receive notifications. Note that the interceptor - must implement some interface that extends from to be useful. - - The interceptor to add. - - - - Removes a registered so that it will no longer receive notifications. - If the given interceptor is not registered, then this is a no-op. - - The interceptor to remove. - - - - This is the entry point for dispatching to interceptors. This is usually only used internally by - Entity Framework but it is provided publicly so that other code can make sure that registered - interceptors are called when operations are performed on behalf of EF. For example, EF providers - a may make use of this when executing commands. - - - - - Represents contextual information associated with calls into - implementations. - - - Note that specific types/operations that can be intercepted may use a more specific - interception context derived from this class. For example, if SQL is being executed by - a , then the DbContext will be contained in the - instance that is passed to the methods - of . - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying state from the given - interception context. See - - The context from which to copy state. - - - - Gets all the instances associated with this interception context. - - - This list usually contains zero or one items. However, it can contain more than one item if - a single has been used to construct multiple - instances. - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Gets all the instances associated with this interception context. - - - This list usually contains zero or one items. However, it can contain more than one item when - EF has created a new for use in database creation and initialization, or - if a single is used with multiple . - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - True if the operation is being executed asynchronously, otherwise false. - - - - - Creates a new that contains all the contextual information in this - interception context the flag set to true. - - A new interception context associated with the async flag set. - - - - Call this method when creating a copy of an interception context in order to add new state - to it. Using this method instead of calling the constructor directly ensures virtual dispatch - so that the new type will have the same type (and any specialized state) as the context that - is being cloned. - - A new context with all state copied. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used for dispatching operations to a such that any - registered on will be notified before and after the - operation executes. - Instances of this class are obtained through the fluent API. - - - This class is used internally by Entity Framework when interacting with . - It is provided publicly so that code that runs outside of the core EF assemblies can opt-in to command - interception/tracing. This is typically done by EF providers that are executing commands on behalf of EF. - - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after - getting . - - - Note that the value of the property is returned by this method. The result is not available - in the interception context passed into this method since the interception context is cloned before - being passed to interceptors. - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - The result of the operation, which may have been modified by interceptors. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - Sends and - to any - registered on before/after making a - call to . - - The transaction on which the operation will be executed. - Optional information about the context of the call being made. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Represents contextual information associated with calls to that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - The connection on which the transaction was started - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The connection on which the transaction was started. - A new interception context that also contains the connection on which the transaction was started. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - - - - Represents contextual information associated with calls to - implementations. - - - Instances of this class are publicly immutable for contextual information. To add - contextual information use one of the With... or As... methods to create a new - interception context containing the new information. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - The that will be used or has been used to enlist a connection. - - - - - Creates a new that contains all the contextual information in this - interception context together with the given . - - The transaction to be used in the invocation. - A new interception context associated with the given isolation level. - - - - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework executes commands. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - This method is called before a call to or - one of its async counterparts is made. - - The command being executed. - Contextual information associated with the call. - - - - This method is called after a call to or - one of its async counterparts is made. The result used by Entity Framework can be changed by setting - . - - - For async operations this method is not called until after the async task has completed - or failed. - - The command being executed. - Contextual information associated with the call. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework creates command trees. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - This method is called after a new has been created. - The tree that is used after interception can be changed by setting - while intercepting. - - - Command trees are created for both queries and insert/update/delete commands. However, query - command trees are cached by model which means that command tree creation only happens the - first time a query is executed and this notification will only happen at that time - - Contextual information associated with the call. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework loads the application's . - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Occurs during EF initialization after the has been constructed but just before - it is locked ready for use. Use this event to inspect and/or override services that have been - registered before the configuration is locked. Note that an interceptor of this type should be used carefully - since it may prevent tooling from discovering the same configuration that is used at runtime. - - - Handlers can only be added before EF starts to use the configuration and so handlers should - generally be added as part of application initialization. Do not access the DbConfiguration - static methods inside the handler; instead use the members of - to get current services and/or add overrides. - - Arguments to the event that this interceptor mirrors. - Contextual information about the event. - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework performs operations on a . - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Called before is invoked. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - Called after is invoked. - The transaction used by Entity Framework can be changed by setting - . - - The connection that began the transaction. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection being closed. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection that was closed. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is set. - - The connection. - Contextual information associated with the call. - - - - Called after is set. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection being disposed. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection that was disposed. - Contextual information associated with the call. - - - - Called before is invoked. - - The connection. - Contextual information associated with the call. - - - - Called after is invoked. - - The connection. - Contextual information associated with the call. - - - - Called before or its async counterpart is invoked. - - The connection being opened. - Contextual information associated with the call. - - - - Called after or its async counterpart is invoked. - - The connection that was opened. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called before is retrieved. - - The connection. - Contextual information associated with the call. - - - - Called after is retrieved. - - The connection. - Contextual information associated with the call. - - - - This is the base interface for all interfaces that provide interception points for various - different types and operations. For example, see . - Interceptors are registered on the class. - - - - - An object that implements this interface can be registered with to - receive notifications when Entity Framework commits or rollbacks a transaction. - - - Interceptors can also be registered in the config file of the application. - See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration. - - - - - Called before is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called after is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called before is retrieved. - - The transaction. - Contextual information associated with the call. - - - - Called after is retrieved. - - The transaction. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being committed. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was committed. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being disposed. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was disposed. - Contextual information associated with the call. - - - - This method is called before is invoked. - - The transaction being rolled back. - Contextual information associated with the call. - - - - This method is called after is invoked. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - Represents contextual information associated with calls that don't return any results. - - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - When true, this flag indicates that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - or by setting an to be thrown - - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Represents contextual information associated with calls with return type . - - The return type of the target method. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - If execution of the operation completes without throwing, then this property will contain - the result of the operation. If the operation was suppressed or did not fail, then this property - will always contain the default value for the generic type. - - - When an operation completes without throwing both this property and the - property are set. However, the property can be set or changed by interceptors, - while this property will always represent the actual result returned by the operation, if any. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set result will be returned instead. Otherwise, if the operation succeeds, then - this property will be set to the returned result. In either case, interceptors that run - after the operation can change this property to change the result that will be returned. - - - When an operation completes without throwing both this property and the - property are set. However, this property can be set or changed by interceptors, while the - property will always represent the actual result returned by the - operation, if any. - - - - - When true, this flag indicates that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - , by setting an to be thrown, or - by setting the operation result using . - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Represents contextual information associated with calls to property setters of type . - - - An instance of this class is passed to the dispatch methods and does not contain mutable information such as - the result of the operation. This mutable information is obtained from the - that is passed to the interceptors. Instances of this class are publicly immutable. To add contextual information - use one of the With... or As... methods to create a new interception context containing the new information. - - The type of the target property. - - - - Constructs a new with no state. - - - - - Creates a new by copying immutable state from the given - interception context. Also see - - The context from which to copy state. - - - - The value that will be assigned to the target property. - - - - - Gets or sets a value containing arbitrary user-specified state information associated with the operation. - - - - - Gets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The user state set, or null if none was found for the given key. - - - - Sets a value containing arbitrary user-specified state information associated with the operation. - - A key used to identify the user state. - The state to set. - - - - Creates a new that contains all the contextual information in this - interception context together with the given property value. - - The value that will be assigned to the target property. - A new interception context associated with the given property value. - - - - - - - When true, this flag indicates that execution of the operation has been suppressed by - one of the interceptors. This can be done before the operation has executed by calling - or by setting an to be thrown - - - - - Prevents the operation from being executed if called before the operation has executed. - - - Thrown if this method is called after the operation has already executed. - - - - - If execution of the operation fails, then this property will contain the exception that was - thrown. If the operation was suppressed or did not fail, then this property will always be null. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the property can be set or - changed by interceptors, while this property will always represent the original exception thrown. - - - - - If this property is set before the operation has executed, then execution of the operation will - be suppressed and the set exception will be thrown instead. Otherwise, if the operation fails, then - this property will be set to the exception that was thrown. In either case, interceptors that run - after the operation can change this property to change the exception that will be thrown, or set this - property to null to cause no exception to be thrown at all. - - - When an operation fails both this property and the property are set - to the exception that was thrown. However, the this property can be set or changed by - interceptors, while the property will always represent - the original exception thrown. - - - - - Set to the status of the after an async operation has finished. Not used for - synchronous operations. - - - - - Creates a new that contains all the contextual information in this - interception context together with the flag set to true. - - A new interception context associated with the async flag set. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - Creates a new that contains all the contextual information in this - interception context with the addition of the given . - - The context to associate. - A new interception context associated with the given context. - - - - - - - - - - - - - - - - Interface implemented by objects that can provide an instance. - The class implements this interface to provide access to the underlying - ObjectContext. - - - - - Gets the object context. - - The object context. - - - - Used by and when resolving - a provider invariant name from a . - - - - Gets the name of the provider. - The name of the provider. - - - - Instances of this class are used to create DbConnection objects for - SQL Server LocalDb based on a given database name or connection string. - - - An instance of this class can be set on the class or in the - app.config/web.config for the application to cause all DbContexts created with no - connection information or just a database name to use SQL Server LocalDb by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance of the connection factory for the given version of LocalDb. - For SQL Server 2012 LocalDb use "v11.0". - For SQL Server 2014 and later LocalDb use "mssqllocaldb". - - The LocalDb version to use. - - - - Creates a new instance of the connection factory for the given version of LocalDb. - For SQL Server 2012 LocalDb use "v11.0". - For SQL Server 2014 and later LocalDb use "mssqllocaldb". - - The LocalDb version to use. - The connection string to use for options to the database other than the 'Initial Catalog', 'Data Source', and 'AttachDbFilename'. The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the database name when CreateConnection is called. The 'Data Source' will be set based on the LocalDbVersion argument. - - - - The connection string to use for options to the database other than the 'Initial Catalog', - 'Data Source', and 'AttachDbFilename'. - The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the - database name when CreateConnection is called. - The 'Data Source' will be set based on the LocalDbVersion argument. - The default is 'Integrated Security=True;'. - - - - - Creates a connection for SQL Server LocalDb based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - Represents a mapping view. - - - - - Creates a instance having the specified entity SQL. - - A string that specifies the entity SQL. - - - - Gets the entity SQL. - - - - - Base abstract class for mapping view cache implementations. - Derived classes must have a parameterless constructor if used with . - - - - - Gets a hash value computed over the mapping closure. - - - - - Gets a view corresponding to the specified extent. - - An that specifies the extent. - A that specifies the mapping view, - or null if the extent is not associated with a mapping view. - - - - Specifies the means to create concrete instances. - - - - - Creates a generated view cache instance for the container mapping specified by - the names of the mapped containers. - - The name of a container in the conceptual model. - The name of a container in the store model. - - A that specifies the generated view cache. - - - - - Defines a custom attribute that specifies the mapping view cache type (subclass of ) - associated with a context type (subclass of or ). - The cache type is instantiated at runtime and used to retrieve pre-generated views in the - corresponding context. - - - - - Creates a instance that associates a context type - with a mapping view cache type. - - - A subclass of or . - - - A subclass of . - - - - - Creates a instance that associates a context type - with a mapping view cache type. - - - A subclass of or . - - The assembly qualified full name of the cache type. - - - - This convention uses the name of the derived - class as the container for the conceptual model built by - Code First. - - - - - Applies the convention to the given model. - - The container to apply the convention to. - The model. - - - - This convention uses the namespace of the derived - class as the namespace of the conceptual model built by - Code First. - - - - - Compares objects using reference equality. - - - - - Gets the default instance. - - - - - Represents a custom pluralization term to be used by the - - - - - Get the singular. - - - - - Get the plural. - - - - - Create a new instance - - A non null or empty string representing the singular. - A non null or empty string representing the plural. - - - - Default pluralization service implementation to be used by Entity Framework. This pluralization - service is based on English locale. - - - - - Constructs a new instance of default pluralization service - used in Entity Framework. - - - - - Constructs a new instance of default pluralization service - used in Entity Framework. - - - A collection of user dictionary entries to be used by this service.These inputs - can customize the service according the user needs. - - - - Returns the plural form of the specified word. - The plural form of the input parameter. - The word to be made plural. - - - Returns the singular form of the specified word. - The singular form of the input parameter. - The word to be made singular. - - - - Pluralization services to be used by the EF runtime implement this interface. - By default the is used, but the pluralization service to use - can be set in a class derived from . - - - - - Pluralize a word using the service. - - The word to pluralize. - The pluralized word - - - - Singularize a word using the service. - - The word to singularize. - The singularized word. - - - - Instances of this class are used internally to create constant expressions for - that are inserted into the expression tree to replace references to - and . - - The type of the element. - - - - The public property expected in the LINQ expression tree. - - The query. - - - - The exception that is thrown when the action failed again after being retried the configured number of times. - - - - - Initializes a new instance of the class with no error message. - - - - - Initializes a new instance of the class with a specified error message. - - The message that describes the error. - - - - Initializes a new instance of the class. - - The message that describes the error. - The exception that is the cause of the current exception. - - - - Instances of this class are used to create DbConnection objects for - SQL Server Compact Edition based on a given database name or connection string. - - - It is necessary to provide the provider invariant name of the SQL Server Compact - Edition to use when creating an instance of this class. This is because different - versions of SQL Server Compact Editions use different invariant names. - An instance of this class can be set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use SQL Server Compact Edition by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Creates a new connection factory with empty (default) DatabaseDirectory and BaseConnectionString - properties. - - The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. - - - - Creates a new connection factory with the given DatabaseDirectory and BaseConnectionString properties. - - The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. - The path to prepend to the database name that will form the file name used by SQL Server Compact Edition when it creates or reads the database file. An empty string means that SQL Server Compact Edition will use its default for the database file location. - The connection string to use for options to the database other than the 'Data Source'. The Data Source will be prepended to this string based on the database name when CreateConnection is called. - - - - The path to prepend to the database name that will form the file name used by - SQL Server Compact Edition when it creates or reads the database file. - The default value is "|DataDirectory|", which means the file will be placed - in the designated data directory. - - - - - The connection string to use for options to the database other than the 'Data Source'. - The Data Source will be prepended to this string based on the database name when - CreateConnection is called. - The default is the empty string, which means no other options will be used. - - - - - The provider invariant name that specifies the version of SQL Server Compact Edition - that should be used. - - - - - Creates a connection for SQL Server Compact Edition based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - Instances of this class are used to create DbConnection objects for - SQL Server based on a given database name or connection string. By default, the connection is - made to '.\SQLEXPRESS'. This can be changed by changing the base connection - string when constructing a factory instance. - - - An instance of this class can be set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use SQL Server by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Creates a new connection factory with a default BaseConnectionString property of - 'Data Source=.\SQLEXPRESS; Integrated Security=True; MultipleActiveResultSets=True;'. - - - - - Creates a new connection factory with the given BaseConnectionString property. - - The connection string to use for options to the database other than the 'Initial Catalog'. The 'Initial Catalog' will be prepended to this string based on the database name when CreateConnection is called. - - - - The connection string to use for options to the database other than the 'Initial Catalog'. - The 'Initial Catalog' will be prepended to this string based on the database name when - CreateConnection is called. - The default is 'Data Source=.\SQLEXPRESS; Integrated Security=True;'. - - - - - Creates a connection for SQL Server based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - This attribute can be applied to either an entire derived class or to - individual or properties on that class. When applied - any discovered or properties will still be included - in the model but will not be automatically initialized. - - - - - Implemented by Entity Framework providers and used to check whether or not tables exist - in a given database. This is used by database initializers when determining whether or not to - treat an existing database as empty such that tables should be created. - - - - - When overridden in a derived class checks where the given tables exist in the database - for the given connection. - - - The context for which table checking is being performed, usually used to obtain an appropriate - . - - - A connection to the database. May be open or closed; should be closed again if opened. Do not - dispose. - - The tables to check for existence. - The name of the EdmMetadata table to check for existence. - True if any of the model tables or EdmMetadata table exists. - - - - Helper method to get the table name for the given s-space . - - The s-space entity set for the table. - The table name. - - - - Thrown when an error occurs committing a . - - - - - Initializes a new instance of - - - - - Initializes a new instance of - - The exception message. - - - - Initializes a new instance of - - The exception message. - The inner exception. - - - - Initializes a new instance of the class. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - A transaction handler that allows to gracefully recover from connection failures - during transaction commit by storing transaction tracing information in the database. - It needs to be registered by using . - - - This transaction handler uses to store the transaction information - the schema used can be configured by creating a class derived from - that overrides and passing it to the constructor of this class. - - - - - Initializes a new instance of the class using the default . - - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Initializes a new instance of the class. - - The transaction context factory. - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Gets the transaction context. - - - The transaction context. - - - - - The map between the store transactions and the transaction tracking objects - - - - - Creates a new instance of an to use for quering the transaction log. - If null the default will be used. - - An instance or null. - - - - - - - - - - Gets the number of transactions to be executed on the context before the transaction log will be cleaned. - The default value is 20. - - - - - - - - - - - Stores the tracking information for the new transaction to the database in the same transaction. - - The connection that began the transaction. - Contextual information associated with the call. - - - - - If there was an exception thrown checks the database for this transaction and rethrows it if not found. - Otherwise marks the commit as succeeded and queues the transaction information to be deleted. - - The transaction that was committed. - Contextual information associated with the call. - - - - - Stops tracking the transaction that was rolled back. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - Stops tracking the transaction that was disposed. - - The transaction that was disposed. - Contextual information associated with the call. - - - - - Removes all the transaction history. - - - This method should only be invoked when there are no active transactions to remove any leftover history - that was not deleted due to catastrophic failures - - - - - Asynchronously removes all the transaction history. - - - This method should only be invoked when there are no active transactions to remove any leftover history - that was not deleted due to catastrophic failures - - A task that represents the asynchronous operation. - - - - Asynchronously removes all the transaction history. - - - This method should only be invoked when there are no active transactions to remove any leftover history - that was not deleted due to catastrophic failures - - The cancellation token. - A task that represents the asynchronous operation. - - - - Adds the specified transaction to the list of transactions that can be removed from the database - - The transaction to be removed from the database. - - - - Removes the transactions marked for deletion. - - - - - Asynchronously removes the transactions marked for deletion. - - A task that represents the asynchronous operation. - - - - Asynchronously removes the transactions marked for deletion. - - The cancellation token. - A task that represents the asynchronous operation. - - - - Removes the transactions marked for deletion if their number exceeds . - - - if set to true will remove all the old transactions even if their number does not exceed . - - - if set to true the operation will be executed using the associated execution strategy - - - - - Removes the transactions marked for deletion if their number exceeds . - - - if set to true will remove all the old transactions even if their number does not exceed . - - - if set to true the operation will be executed using the associated execution strategy - - The cancellation token. - A task that represents the asynchronous operation. - - - - Gets the associated with the if there is one; - otherwise returns null. - - The context - The associated . - - - - Gets the associated with the if there is one; - otherwise returns null. - - The context - The associated . - - - - This class is used by to write and read transaction tracing information - from the database. - To customize the definition of the transaction table you can derive from - this class and override . Derived classes can be registered - using . - - - By default EF will poll the resolved to check wether the database schema is compatible and - will try to modify it accordingly if it's not. To disable this check call - Database.SetInitializer<TTransactionContext>(null) where TTransactionContext is the type of the resolved context. - - - - - Initializes a new instance of the class. - - The connection used by the context for which the transactions will be recorded. - - - - Gets or sets a that can be used to read and write instances. - - - - - - - - The base class for interceptors that handle the transaction operations. Derived classes can be registered using - or - . - - - - - Initializes a new instance of the class. - - - One of the Initialize methods needs to be called before this instance can be used. - - - - - Initializes this instance using the specified context. - - The context for which transaction operations will be handled. - - - - Initializes this instance using the specified context. - - The context for which transaction operations will be handled. - The connection to use for the initialization. - - This method is called by migrations. It is important that no action is performed on the - specified context that causes it to be initialized. - - - - - Gets the context. - - - The for which the transaction operations will be handled. - - - - - Gets the context. - - - The for which the transaction operations will be handled, could be null. - - - - - Gets the connection. - - - The for which the transaction operations will be handled. - - - This connection object is only used to determine whether a particular operation needs to be handled - in cases where a context is not available. - - - - - - - - Gets or sets a value indicating whether this transaction handler is disposed. - - - true if disposed; otherwise, false. - - - - - Releases the resources used by this transaction handler. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - Checks whether the supplied interception context contains the target context - or the supplied connection is the same as the one used by the target context. - - A connection. - An interception context. - - true if the supplied interception context contains the target context or - the supplied connection is the same as the one used by the target context if - the supplied interception context doesn't contain any contexts; false otherwise. - - - Note that calling this method will trigger initialization of any DbContext referenced from the - - - - - When implemented in a derived class returns the script to prepare the database - for this transaction handler. - - A script to change the database schema for this transaction handler. - - - - Can be implemented in a derived class. - - The connection beginning the transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that began the transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being closed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that was closed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being disposed. - Contextual information associated with the call. - - - - Can be implemented in a derived class. - - The connection that was disposed. - Contextual information associated with the call. - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection being opened. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection that was opened. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The connection. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being committed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was committed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being disposed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was disposed. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction being rolled back. - Contextual information associated with the call. - - - - - Can be implemented in a derived class. - - The transaction that was rolled back. - Contextual information associated with the call. - - - - - Rrepresents a transaction - - - - - A unique id assigned to a transaction object. - - - - - The local time when the transaction was started. - - - - - - - - - - - Thrown when a context is generated from the templates in Database First or Model - First mode and is then used in Code First mode. - - - Code generated using the T4 templates provided for Database First and Model First use may not work - correctly if used in Code First mode. To use these classes with Code First please add any additional - configuration using attributes or the DbModelBuilder API and then remove the code that throws this - exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The object that holds the serialized object data. - The contextual information about the source or destination. - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Allows configuration to be performed for an complex type in a model. - A ComplexTypeConfiguration can be obtained via the ComplexType method on - or a custom type derived from ComplexTypeConfiguration - can be registered via the Configurations property on . - - The complex type to be configured. - - - - Initializes a new instance of ComplexTypeConfiguration - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The same ComplexTypeConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Allows derived configuration classes for entities and complex types to be registered with a - . - - - Derived configuration classes are created by deriving from - or and using a type to be included in the model as the generic - parameter. - Configuration can be performed without creating derived configuration classes via the Entity and ComplexType - methods on . - - - - - Discovers all types that inherit from or - in the given assembly and adds an instance - of each discovered type to this registrar. - - - Note that only types that are abstract or generic type definitions are skipped. Every - type that is discovered and added must provide a parameterless constructor. - - The assembly containing model configurations to add. - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - Adds an to the . - Only one can be added for each type in a model. - - The entity type being configured. - The entity type configuration to be added. - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - Adds an to the . - Only one can be added for each type in a model. - - The complex type being configured. - The complex type configuration to be added - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows the conventions used by a instance to be customized. - The default conventions can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. - - - - - Discover all conventions in the given assembly and add them to the . - - - This method add all conventions ordered by type name. The order in which conventions are added - can have an impact on how they behave because it governs the order in which they are run. - All conventions found must have a parameterless public constructor. - - The assembly containing conventions to be added. - - - - Enables one or more conventions for the . - - The conventions to be enabled. - - - - Enables a convention for the . - - The type of the convention to be enabled. - - - - Enables a convention for the . This convention - will run after the one specified. - - The type of the convention after which the enabled one will run. - The convention to enable. - - - - Enables a configuration convention for the . This convention - will run before the one specified. - - The type of the convention before which the enabled one will run. - The convention to enable. - - - - Disables one or more conventions for the . - - The conventions to be disabled. - - - - Disables a convention for the . - The default conventions that are available for removal can be found in the - System.Data.Entity.ModelConfiguration.Conventions namespace. - - The type of the convention to be disabled. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the properties in a model. - - - - - Filters the properties that this convention applies to based on a predicate. - - A function to test each property for a condition. - - A instance so that multiple calls can be chained. - - - - - Filters the properties that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each property. If the value is null, the - property will be filtered out. - - - A instance so that multiple calls can be chained. - - - - - Allows configuration of the properties that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the properties of entity types in a model and a captured value. - - The type of the captured value. - - - - Allows configuration of the properties that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model. - - - - - Filters the entity types that this convention applies to based on a - predicate. - - A function to test each entity type for a condition. - - An instance so that multiple calls can be chained. - - - - - Filters the entity types that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each entity type. If the value is null, the - entity type will be filtered out. - - - An instance so that multiple calls can be chained. - - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model that inherit from a common, specified type. - - The common type of the entity types that this convention applies to. - - - - Filters the entity types that this convention applies to based on a - predicate. - - A function to test each entity type for a condition. - - An instance so that multiple calls can be chained. - - - - - Filters the entity types that this convention applies to based on a predicate - while capturing a value to use later during configuration. - - Type of the captured value. - - A function to capture a value for each entity type. If the value is null, the - entity type will be filtered out. - - - An instance so that multiple calls can be chained. - - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - - . - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model and a captured value. - - Type of the captured value. - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a lightweight convention based on - the entity types in a model that inherit from a common, specified type and a - captured value. - - The common type of the entity types that this convention applies to. - Type of the captured value. - - - - Allows configuration of the entity types that this convention applies to. - - - An action that performs configuration against a - using a captured value. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a stored procedure that is used to modify a relationship. - - The type of the entity that the relationship is being configured from. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - The type of the property. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - The type of the property. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - - Creates a convention that configures stored procedures to be used to delete entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - - - - - - - - - - - - - - Creates a convention that configures stored procedures to be used to insert entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the result for. - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The property to configure the result for. - The name of the result column. - - - - - - - - - - - - - - - - Creates a convention that configures stored procedures to be used to modify entities in the database. - - - - - Creates a convention that configures stored procedures to be used to modify entities in the database. - - - - Configures stored procedure used to insert entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to update entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a convention that configures stored procedures to be used to update entities in the database. - - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the parameter for. - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - The property to configure the parameter for. - The current value parameter name. - The original value parameter name. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The name of the property to configure the result for. - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - The property to configure the result for. - The name of the result column. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to delete entities. - - The type of the entity that the stored procedure can be used to delete. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to insert entities. - - The type of the entity that the stored procedure can be used to insert. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to modify a many to many relationship. - - The type of the entity that the relationship is being configured from. - The type of the entity that the other end of the relationship targets. - - - - Sets the name of the stored procedure. - - Name of the procedure. - The same configuration instance so that multiple calls can be chained. - - - - Sets the name of the stored procedure. - - Name of the procedure. - Name of the schema. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the left key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - The type of the property to configure. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - Configures the parameter for the right key value(s). - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - Name of the parameter. - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Allows configuration to be performed for a stored procedure that is used to modify a many to many relationship. - - The type of the entity that the relationship is being configured from. - The type of the entity that the other end of the relationship targets. - - - Configures stored procedure used to insert relationships. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete relationships. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Performs configuration of a stored procedure uses to modify an entity in the database. - - - - - Allows configuration to be performed for a stored procedure that is used to modify entities. - - The type of the entity that the stored procedure can be used to modify. - - - Configures stored procedure used to insert entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to update entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - Configures stored procedure used to delete entities. - The same configuration instance so that multiple calls can be chained. - A lambda expression that performs configuration for the stored procedure. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a stored procedure that is used to update entities. - - The type of the entity that the stored procedure can be used to update. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - - - Configures the name of the stored procedure. - The same configuration instance so that multiple calls can be chained. - The stored procedure name. - The schema name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the parameter. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - Configures a parameter for this stored procedure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the parameter for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The current value parameter name. - The original value parameter name. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The type of the property to configure. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - - Configures a column of the result for this stored procedure to map to a property. - This is used for database generated columns. - - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the property to configure the result for. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The name of the result column. - - - Configures the output parameter that returns the rows affected by this stored procedure. - The same configuration instance so that multiple calls can be chained. - The name of the parameter. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - Configures parameters for a relationship where the foreign key property is not included in the class. - The same configuration instance so that multiple calls can be chained. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A lambda expression that performs the configuration. - The type of the principal entity in the relationship. - - - - - - - - - - - - - - - - Configures the table and column mapping for an entity type or a sub-set of properties from an entity type. - This configuration functionality is available via the Code First Fluent API, see . - - The entity type to be mapped. - - - Initializes a new instance of the class. - - - - Configures the properties that will be included in this mapping fragment. - If this method is not called then all properties that have not yet been - included in a mapping fragment will be configured. - - An anonymous type including the properties to be mapped. - A lambda expression to an anonymous type that contains the properties to be mapped. C#: t => new { t.Id, t.Property1, t.Property2 } VB.Net: Function(t) New With { p.Id, t.Property1, t.Property2 } - - - - Configures a property that is included in this mapping fragment. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is included in this mapping fragment. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Re-maps all properties inherited from base types. - When configuring a derived type to be mapped to a separate table this will cause all properties to - be included in the table rather than just the non-inherited properties. This is known as - Table per Concrete Type (TPC) mapping. - - The same configuration instance so that multiple calls can be chained. - - - - Configures the table name to be mapped to. - - Name of the table. - The same configuration instance so that multiple calls can be chained. - - - - Configures the table name and schema to be mapped to. - - Name of the table. - Schema of the table. - The same configuration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the discriminator column used to differentiate between types in an inheritance hierarchy. - - The name of the discriminator column. - A configuration object to further configure the discriminator column and values. - - - - Configures the discriminator condition used to differentiate between types in an inheritance hierarchy. - - The type of the property being used to discriminate between types. - A lambda expression representing the property being used to discriminate between types. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object to further configure the discriminator condition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a column with length facets for an entity type or complex type. This configuration functionality is exposed by the Code First Fluent API, see . - - - - Configures the column to allow the maximum length supported by the database provider. - The same instance so that multiple calls can be chained. - - - Configures the column to have the specified maximum length. - The same instance so that multiple calls can be chained. - The maximum length for the column. Setting the value to null will remove any maximum length restriction from the column and a default length will be used for the database column. - - - Configures the column to be fixed length. - The same instance so that multiple calls can be chained. - - - Configures the column to be variable length. - The same instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Configures a condition used to discriminate between types in an inheritance hierarchy based on the values assigned to a property. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the condition to require a value in the property. - Rows that do not have a value assigned to column that this property is stored in are - assumed to be of the base type of this entity type. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a primitive column from an entity type. - - - - Configures the primitive column to be optional. - The same instance so that multiple calls can be chained. - - - Configures the primitive column to be required. - The same instance so that multiple calls can be chained. - - - Configures the data type of the primitive column used to store the property. - The same instance so that multiple calls can be chained. - The name of the database provider specific data type. - - - Configures the order of the primitive column used to store the property. This method is also used to specify key ordering when an entity type has a composite key. - The same instance so that multiple calls can be chained. - The order that this column should appear in the database table. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a database column used to store a string values. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the column to allow the maximum length supported by the database provider. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - - The maximum length for the property. Setting 'null' will result in a default length being used for the column. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be variable length. - Columns are variable length by default. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be optional. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be required. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column. - - Name of the database provider specific data type. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column. - - The order that this column should appear in the database table. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to support Unicode string content. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the column supports Unicode string content. - - Value indicating if the column supports Unicode string content or not. Specifying 'null' will remove the Unicode facet from the column. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - Configures a discriminator column used to differentiate between types in an inheritance hierarchy. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - Type of the discriminator value. - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - Type of the discriminator value. - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an index. - - - - - Configures the index to be unique. - - The same IndexConfiguration instance so that multiple calls can be chained. - - - - Configures whether the index will be unique. - - Value indicating if the index should be unique or not. - The same IndexConfiguration instance so that multiple calls can be chained. - - - - Configures the index to be clustered. - - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures whether or not the index will be clustered. - - Value indicating if the index should be clustered or not. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures the index to have a specific name. - - Value indicating what the index name should be. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures a primary key index. - - - - - Configures the index to be clustered. - - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures whether or not the index will be clustered. - - Value indicating if the index should be clustered or not. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures the index to have a specific name. - - Value indicating what the index name should be. - The same IndexConfigurationBase instance so that multiple calls can be chained. - - - - Configures a many relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be many:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:required with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:required without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:optional with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:optional without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an optional relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be optional:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:required with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:required without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional with a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional without a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional with a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A lambda expression representing the navigation property on the other end of the relationship. - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional without a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures an required relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be required:many with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:optional with a navigation property on the other side of the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:optional without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required with a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required without a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required with a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - An lambda expression representing the navigation property on the other end of the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required without a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Base class for performing configuration of a relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures a relationship that can support cascade on delete functionality. - - - - - Configures cascade delete to be on for the relationship. - - - - - Configures whether or not cascade delete is on for the relationship. - - Value indicating if cascade delete is on or not. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Configures a relationship that can support foreign key properties that are exposed in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - The dependent entity type. - - - - Configures the relationship to use foreign key property(s) that are exposed in the object model. - If the foreign key property(s) are not exposed in the object model then use the Map method. - - The type of the key. - A lambda expression representing the property to be used as the foreign key. If the foreign key is made up of multiple properties then specify an anonymous type including the properties. When using multiple foreign key properties, the properties must be specified in the same order that the primary key properties were configured for the principal entity type. - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Configures the table and column mapping of a relationship that does not expose foreign key properties in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the name of the column(s) for the foreign key. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the primary key properties were configured for the target entity type. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for a database column that has been configured with . - The annotation value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The name of the column that was configured with the HasKey method. - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that the foreign key column(s) reside in. - The table that is specified must already be mapped for the entity type. - If you want the foreign key(s) to reside in their own table then use the Map method - on to perform - entity splitting to create the table with just the primary key property. Foreign keys can - then be added to the table via this method. - - Name of the table. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table name and schema that the foreign key column(s) reside in. - The table that is specified must already be mapped for the entity type. - If you want the foreign key(s) to reside in their own table then use the Map method - on to perform - entity splitting to create the table with just the primary key property. Foreign keys can - then be added to the table via this method. - - Name of the table. - Schema of the table. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - - - - - - - Configures a relationship that can only support foreign key properties that are not exposed in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the relationship to use foreign key property(s) that are not exposed in the object model. - The column(s) and table can be customized by specifying a configuration action. - If an empty configuration action is specified then column name(s) will be generated by convention. - If foreign key properties are exposed in the object model then use the HasForeignKey method. - Not all relationships support exposing foreign key properties in the object model. - - Action that configures the foreign key column(s) and table. - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Configures the table and column mapping of a many:many relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the join table name for the relationship. - - Name of the table. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the join table name and schema for the relationship. - - Name of the table. - Schema of the table. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the join table. The annotation value can later be used when - processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the name of the column(s) for the left foreign key. - The left foreign key points to the parent entity of the navigation property specified in the HasMany call. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the primary key properties were configured for the target entity type. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the column(s) for the right foreign key. - The right foreign key points to the parent entity of the navigation property specified in the WithMany call. - - The foreign key column names. When using multiple foreign key properties, the properties must be specified in the same order that the primary key properties were configured for the target entity type. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - - - Determines whether the specified object is equal to the current object. - true if the specified object is equal to the current object; otherwise, false. - The object to compare with the current object. - - - - - - - - - - - - - Configures a many:many relationship. - This configuration functionality is available via the Code First Fluent API, see . - - The type of the parent entity of the navigation property specified in the HasMany call. - The type of the parent entity of the navigation property specified in the WithMany call. - - - - Configures the foreign key column(s) and table used to store the relationship. - - Action that configures the foreign key column(s) and table. - The same instance so that multiple calls can be chained. - - - - Configures stored procedures to be used for modifying this relationship. - The default conventions for procedure and parameter names will be used. - - The same instance so that multiple calls can be chained. - - - - Configures stored procedures to be used for modifying this relationship. - - - Configuration to override the default conventions for procedure and parameter names. - - The same instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to allow the maximum length supported by the database provider. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - properties are variable length by default. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - properties are optional by default. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be a row version in the database. - The actual data type will vary depending on the database provider being used. - Setting the property to be a row version will automatically configure it to be an - optimistic concurrency token. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - properties are required by default. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the precision of the property. - If the database provider does not support precision for the data type of the column then the value is ignored. - - Precision of the property. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - properties are required by default. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the precision and scale of the property. - - The precision of the property. - The scale of the property. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property with length facets for an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to allow the maximum length supported by the database provider. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property and a default length will be used for the database column. - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - Properties are variable length by default. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a primitive property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the parameter used in stored procedures for this property. - - Name of the parameter. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Used to configure a property in a mapping fragment. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the name of the database column used to store the property, in a mapping fragment. - - The name of the column. - The same PropertyMappingConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same PropertyMappingConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to allow the maximum length supported by the database provider. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. Setting 'null' will remove any maximum length restriction from the property and a default length will be used for the database column.. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - properties are variable length by default. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - properties are optional by default. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will cause the default option to be used, which may be 'None', 'Identity', or 'Computed' depending - on the type of the property, its semantics in the model (e.g. primary keys are treated differently), and which - set of conventions are being used. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to support Unicode string content. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property supports Unicode string content. - - Value indicating if the property supports Unicode string content or not. Specifying 'null' will remove the Unicode facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a primitive property of an entity type or complex type. - This configuration functionality is available via lightweight conventions. - - - - - Gets the for this property. - - - - - Configures the name of the database column used to store the property. - - The name of the column. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the database column used to store the property. The annotation - value can later be used when processing the column such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures the name of the parameter used in stored procedures for this property. - - Name of the parameter. - - The same instance so that multiple calls can be chained. - - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be used as an optimistic concurrency token. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - Value indicating if the property is a concurrency token or not. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures how values for the property are generated by the database. - - The pattern used to generate values for the property in the database. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the property to support Unicode string content. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures whether or not the property supports Unicode string content. - - Value indicating if the property supports Unicode string content or not. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to be variable length. - Properties are variable length by default. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to have the specified maximum length. - - The maximum length for the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the property to allow the maximum length supported by the database provider. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property does not have length facets. - - - - - Configures the precision of the property. - If the database provider does not support precision for the data type of the column then the value is ignored. - - Precision of the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method will throw if the property is not a . - - - - - Configures the precision and scale of the property. - - The precision of the property. - The scale of the property. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method will throw if the property is not a . - - - - - Configures the property to be a row version in the database. - The actual data type will vary depending on the database provider being used. - Setting the property to be a row version will automatically configure it to be an - optimistic concurrency token. - - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - This method throws if the property is not a . - - - - - Configures this property to be part of the entity type's primary key. - - - The same instance so that - multiple calls can be chained. - - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for an entity type in a model. - This configuration functionality is available via lightweight conventions. - - - - - Gets the of this entity type. - - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Excludes this entity type from the model so that it will not be mapped to the database. - - - The same instance so that multiple calls can be chained. - - - - - Changes this entity type to a complex type. - - - The same instance so that multiple calls can be chained. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The name of the property to be configured. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect if the property does not exist. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The property to be configured. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect if the property does not exist. - - - - - Configures a property that is defined on this type. - - The name of the property being configured. - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - The property being configured. - A configuration object that can be used to configure the property. - - - - Configures the primary key property for this entity type. - - The name of the property to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property for this entity type. - - The property to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property(s) for this entity type. - - The names of the properties to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - - - Configures the primary key property(s) for this entity type. - - The properties to be used as the primary key. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured or if any - property does not exist. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for an entity type in a model. - This configuration functionality is available via lightweight conventions. - - A type inherited by the entity type. - - - - Gets the of this entity type. - - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Excludes this entity type from the model so that it will not be mapped to the database. - - - The same instance so that multiple calls can be chained. - - - - - Changes this entity type to a complex type. - - - The same instance so that multiple calls can be chained. - - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - - The same instance so that multiple calls can be chained. - - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - - The same instance so that multiple calls can be chained. - - - Calling this will have no effect once it has been configured. - - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Calling this method will have no effect if the - annotation with the given name has already been configured. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Allows configuration to be performed for a type in a model. - - The type to be configured. - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - The type of the property being configured. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to configure the property. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - A general purpose class for Code First conventions that read attributes from .NET properties - and generate column annotations based on those attributes. - - The type of attribute to discover. - The type of annotation that will be created. - - - - Constructs a convention that will create column annotations with the given name and - using the given factory delegate. - - The name of the annotations to create. - A factory for creating the annotation on each column. - - - - A general purpose class for Code First conventions that read attributes from .NET types - and generate table annotations based on those attributes. - - The type of attribute to discover. - The type of annotation that will be created. - - - - Constructs a convention that will create table annotations with the given name and - using the given factory delegate. - - The name of the annotations to create. - A factory for creating the annotation on each table. - - - - Convention to process instances of found on properties in the model - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on foreign key properties in the model. - - - - - - - - A convention for discovering attributes on properties and generating - column annotations in the model. - - - - - Constructs a new instance of the convention. - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Base class for conventions that process CLR attributes found on primitive properties in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a property that has an attribute of type TAttribute applied. - - The configuration for the property that has the attribute. - The attribute. - - - - Base class for conventions that process CLR attributes found on properties of types in the model. - - - Note that the derived convention will be applied for any non-static property on the mapped type that has - the specified attribute, even if it wasn't included in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a property that has an attribute of type TAttribute applied. - - The member info for the property that has the attribute. - The configuration for the class that contains the property. - The attribute. - - - - Convention to process instances of found on navigation properties in the model. - - - - - Convention to process instances of found on primitive properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on properties in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Convention to process instances of found on types in the model. - - - - - - - - Base class for conventions that process CLR attributes found in the model. - - The type of the attribute to look for. - - - - Initializes a new instance of the class. - - - - - Applies this convention to a class that has an attribute of type TAttribute applied. - - The configuration for the class that contains the property. - The attribute. - - - - A convention that doesn't override configuration. - - - - - The derived class can use the default constructor to apply a set rule of that change the model configuration. - - - - - Begins configuration of a lightweight convention that applies to all mapped types in - the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all mapped types in - the model that derive from or implement the specified type. - - The type of the entities that this convention will apply to. - A configuration object for the convention. - This method does not add new types to the model. - - - - Begins configuration of a lightweight convention that applies to all properties - in the model. - - A configuration object for the convention. - - - - Begins configuration of a lightweight convention that applies to all primitive - properties of the specified type in the model. - - The type of the properties that the convention will apply to. - A configuration object for the convention. - - The convention will apply to both nullable and non-nullable properties of the - specified type. - - - - - Convention to detect navigation properties to be inverses of each other when only one pair - of navigation properties exists between the related types. - - - - - - - - Convention to configure a type as a complex type if it has no primary key, no mapped base type and no navigation properties. - - - - - - - - Convention to apply column ordering specified via - - or the API. - - - - - - - - Validates the ordering configuration supplied for columns. - This base implementation is a no-op. - - The name of the table that the columns belong to. - The definition of the table. - - - - Convention to apply column ordering specified via - - or the API. This convention throws if a duplicate configured column order - is detected. - - - - - Validates the ordering configuration supplied for columns to ensure - that the same ordinal was not supplied for two columns. - - The name of the table that the columns belong to. - The definition of the table. - - - - Convention to introduce indexes for foreign keys. - - - - - - - - Convention to add a cascade delete to the join table from both tables involved in a many to many relationship. - - - - - Convention to ensure an invalid/unsupported mapping is not created when mapping inherited properties - - - - - Convention to set the table name to be a pluralized version of the entity type name. - - - - - - - - Convention to set precision to 18 and scale to 2 for decimal properties. - - - - - Initializes a new instance of with the default precision and scale. - - - - - Initializes a new instance of with the specified precision and scale. - - Precision - Scale - - - - - - - Convention to move primary key properties to appear first. - - - - - - - - Convention to distinguish between optional and required relationships based on CLR nullability of the foreign key property. - - - - - - - - Base class for conventions that discover foreign key properties. - - - - - Returns true if the convention supports pairs of entity types that have multiple associations defined between them. - - - - - When overridden returns true if should be part of the foreign key. - - The association type being configured. - The dependent end. - The candidate property on the dependent end. - The principal end entity type. - A key property on the principal end that is a candidate target for the foreign key. - true if dependentProperty should be a part of the foreign key; otherwise, false. - - - - - - - Convention to process instances of found on navigation properties in the model. - - - - - - - - Convention to detect primary key properties. - Recognized naming patterns in order of precedence are: - 1. 'Id' - 2. [type name]Id - Primary key detection is case insensitive. - - - - - - - - Base class for conventions that discover primary key properties. - - - - - - - - When overridden returns the subset of properties that will be part of the primary key. - - The entity type. - The primitive types of the entities - The properties that should be part of the primary key. - - - - Convention to discover foreign key properties whose names are a combination - of the dependent navigation property name and the principal type primary key property name(s). - - - - - - - - - - - Convention to enable cascade delete for any required relationships. - - - - - - - - Convention to configure the primary key(s) of the dependent entity type as foreign key(s) in a one:one relationship. - - - - - - - - Convention to set the entity set name to be a pluralized version of the entity type name. - - - - - - - - Convention to discover foreign key properties whose names match the principal type primary key property name(s). - - - - - - - - Convention to set a maximum length for properties whose type supports length facets. The default value is 128. - - - - - Initializes a new instance of with the default length. - - - - - Initializes a new instance of with the specified length. - - The maximum length of properties. - - - - - - - - - - - - - Convention to set a default maximum length of 4000 for properties whose type supports length facets when SqlCe is the provider. - - - - - Initializes a new instance of with the default length. - - - - - Initializes a new instance of with the specified length. - - The default maximum length for properties. - - - - - - - - - - Convention to configure integer primary keys to be identity. - - - - - - - - Convention to discover foreign key properties whose names are a combination - of the principal type name and the principal type primary key property name(s). - - - - - - - - A convention that operates on the conceptual section of the model after the model is created. - - The type of metadata item that this convention operates on. - - - - Applies this convention to an item in the model. - - The item to apply the convention to. - The model. - - - - Identifies conventions that can be added to or removed from a instance. - - - Note that implementations of this interface must be immutable. - - - - - A convention that operates on the database section of the model after the model is created. - - The type of metadata item that this convention operates on. - - - - Applies this convention to an item in the model. - - The item to apply the convention to. - The model. - - - - Allows configuration to be performed for an entity type in a model. - An EntityTypeConfiguration can be obtained via the Entity method on - or a custom type derived from EntityTypeConfiguration - can be registered via the Configurations property on . - - The entity type being configured. - - - - Initializes a new instance of EntityTypeConfiguration - - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - A builder to configure the key. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures index property(s) for this entity type. - - The type of the index. - A lambda expression representing the property to apply an index to. C#: t => t.Id VB.Net: Function(t) t.Id If the index is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The IndexConfiguration instance so that the index can be further configured. - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Sets an annotation in the model for the table to which this entity is mapped. The annotation - value can later be used when processing the table such as when creating migrations. - - - It will likely be necessary to register a if the type of - the annotation value is anything other than a string. Passing a null value clears any annotation with - the given name on the column that had been previously set. - - The annotation name, which must be a valid C#/EDM identifier. - The annotation value, which may be a string or some other type that - can be serialized with an . - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - The default conventions for procedure and parameter names will be used. - - The same configuration instance so that multiple calls can be chained. - - - - Configures this type to use stored procedures for insert, update and delete. - - - Configuration to override the default conventions for procedure and parameter names. - - The same configuration instance so that multiple calls can be chained. - - - - Allows advanced configuration related to how this entity type is mapped to the database schema. - By default, any configuration will also apply to any type derived from this entity type. - Derived types can be configured via the overload of Map that configures a derived type or - by using an EntityTypeConfiguration for the derived type. - The properties of an entity can be split between multiple tables using multiple Map calls. - Calls to Map are additive, subsequent calls will not override configuration already preformed via Map. - - - An action that performs configuration against an - - . - - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Allows advanced configuration related to how a derived entity type is mapped to the database schema. - Calls to Map are additive, subsequent calls will not override configuration already preformed via Map. - - The derived entity type to be configured. - - An action that performs configuration against an - - . - - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures an optional relationship from this entity type. - Instances of the entity type will be able to be saved to the database without this relationship being specified. - The foreign key in the database will be nullable. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures a required relationship from this entity type. - Instances of the entity type will not be able to be saved to the database unless this relationship is specified. - The foreign key in the database will be non-nullable. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - Configures a many relationship from this entity type. - - The type of the entity at the other end of the relationship. - A lambda expression representing the navigation property for the relationship. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty - A configuration object that can be used to further configure the relationship. - - - - - - - - - - - - - - - - Exception thrown by during model creation when an invalid model is generated. - - - - - Initializes a new instance of ModelValidationException - - - - - Initializes a new instance of ModelValidationException - - The exception message. - - - - Initializes a new instance of ModelValidationException - - The exception message. - The inner exception. - - - Initializes a new instance of class serialization info and streaming context. - The serialization info. - The streaming context. - - - - By default expression like - .Select(x => NewProperty = func(x.Property)).Where(x => x.NewProperty == ...) - are simplified to avoid nested SELECT - In some cases, simplifying query with UDFs could caused to suboptimal plans due to calling UDF twice. - Also some SQL functions aren't allow in WHERE clause. - Disabling that behavior - - - - - An implementation of that will use Code First Migrations - to update the database to the latest version. - - The type of the context. - The type of the migrations configuration to use during initialization. - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class that will use - the connection information from a context constructed using the default constructor - or registered factory if applicable - - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class specifying whether to - use the connection information from the context that triggered initialization to perform the migration. - - - If set to true the initializer is run using the connection information from the context that - triggered initialization. Otherwise, the connection information will be taken from a context constructed - using the default constructor or registered factory if applicable. - - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class specifying whether to - use the connection information from the context that triggered initialization to perform the migration. - Also allows specifying migrations configuration to use during initialization. - - - If set to true the initializer is run using the connection information from the context that - triggered initialization. Otherwise, the connection information will be taken from a context constructed - using the default constructor or registered factory if applicable. - - Migrations configuration to use during initialization. - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class that will - use a specific connection string from the configuration file to connect to - the database to perform the migration. - - The name of the connection string to use for migration. - - - - - - - Helper class that is used to configure a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a new column definition to store Binary data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The maximum allowable length of the array data. - Value indicating whether or not all data should be padded to the maximum length. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - Value indicating whether or not this column should be configured as a timestamp. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Boolean data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Byte data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store DateTime data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Decimal data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The numeric precision of the column. - The numeric scale of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Value indicating whether or not the database will generate values for this column during insert. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Double data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store GUID data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Single data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Short data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Integer data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Long data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store String data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The maximum allowable length of the string data. - Value indicating whether or not all data should be padded to the maximum length. - Value indicating whether or not the column supports Unicode content. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store Time data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store DateTimeOffset data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store hierarchyid data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store geography data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - Creates a new column definition to store geometry data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Custom annotations usually from the Code First model. - The newly constructed column definition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Helper class that is used to configure a parameter. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a new parameter definition to pass Binary data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The maximum allowable length of the array data. - Value indicating whether or not all data should be padded to the maximum length. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Boolean data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Byte data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass DateTime data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Decimal data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The numeric precision of the parameter. - The numeric scale of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Double data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass GUID data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Single data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Short data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Integer data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Long data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass String data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The maximum allowable length of the string data. - Value indicating whether or not all data should be padded to the maximum length. - Value indicating whether or not the parameter supports Unicode content. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass Time data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass DateTimeOffset data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The precision of the parameter. - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass geography data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - Creates a new parameter definition to pass geometry data. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Constant value to use as the default value for this parameter. - SQL expression used as the default value for this parameter. - The name of the parameter. - Provider specific data type to use for this parameter. - A value indicating whether the parameter is an output parameter. - The newly constructed parameter definition. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Helper class that is used to further configure a table being created from a CreateTable call on - - . - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The type that represents the table's columns. - - - - Initializes a new instance of the TableBuilder class. - - The table creation operation to be further configured. - The migration the table is created in. - - - - Specifies a primary key for the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A lambda expression representing the property to be used as the primary key. C#: t => t.Id VB.Net: Function(t) t.Id If the primary key is made up of multiple properties then specify an anonymous type including the properties. C#: t => new { t.Id1, t.Id2 } VB.Net: Function(t) New With { t.Id1, t.Id2 } - The name of the primary key. If null is supplied, a default name will be generated. - A value indicating whether or not this is a clustered primary key. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - Specifies an index to be created on the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A lambda expression representing the property to be indexed. C#: t => t.PropertyOne VB.Net: Function(t) t.PropertyOne If multiple properties are to be indexed then specify an anonymous type including the properties. C#: t => new { t.PropertyOne, t.PropertyTwo } VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo } - The name of the index. - A value indicating whether or not this is a unique index. - A value indicating whether or not this is a clustered index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - Specifies a foreign key constraint to be created on the table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table that the foreign key constraint targets. - A lambda expression representing the properties of the foreign key. C#: t => t.PropertyOne VB.Net: Function(t) t.PropertyOne If multiple properties make up the foreign key then specify an anonymous type including the properties. C#: t => new { t.PropertyOne, t.PropertyTwo } VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo } - A value indicating whether or not cascade delete should be configured on the foreign key constraint. - The name of this foreign key constraint. If no name is supplied, a default name will be calculated. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - Itself, so that multiple calls can be chained. - - - - - - - - - - - - - Gets the of the current instance. - - The exact runtime type of the current instance. - - - - Creates a shallow copy of the current . - - A shallow copy of the current . - - - - Base class for code-based migrations. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Operations to be performed during the upgrade process. - - - - - Operations to be performed during the downgrade process. - - - - - Adds an operation to create a new stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The action that specifies the parameters of the stored procedure. - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - The parameters in this create stored procedure operation. You do not need to specify this - type, it will be inferred from the parameter you supply. - - - - - Adds an operation to alter a stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to alter a stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The parameters in this alter stored procedure operation. You do not need to specify this - type, it will be inferred from the parameter you supply. - - - The name of the stored procedure. Schema name is optional, if no schema is specified then dbo is - assumed. - - The action that specifies the parameters of the stored procedure. - The body of the stored procedure. - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing stored procedure with the specified name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the procedure to drop. Schema name is optional, if no schema is specified then dbo is - assumed. - - - The additional arguments that may be processed by providers. Use anonymous type syntax - to specify arguments. For example, 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this create table operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - An object that allows further configuration of the table creation operation. - - - - Adds an operation to create a new table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this create table operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - Custom annotations that exist on the table to be created. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - An object that allows further configuration of the table creation operation. - - - - Adds an operation to handle changes in the annotations defined on tables. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The columns in this operation. You do not need to specify this type, it will - be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. i.e. t => new { Id = - t.Int(identity: true), Name = t.String() } - - The custom annotations on the table that have changed. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new foreign key constraint. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - The column this foreign key references. If no value is supplied the primary key of the - principal table will be referenced. - - - A value indicating if cascade delete should be configured for the foreign key - relationship. If no value is supplied, cascade delete will be off. - - - The name of the foreign key constraint in the database. If no value is supplied a unique name will - be generated. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new foreign key constraint. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key columns. - - The table that contains the columns this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - The columns this foreign key references. If no value is supplied the primary key of the - principal table will be referenced. - - - A value indicating if cascade delete should be configured for the foreign key - relationship. If no value is supplied, cascade delete will be off. - - - The name of the foreign key constraint in the database. If no value is supplied a unique name will - be generated. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on its name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The name of the foreign key constraint in the database. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the column it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the column it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key column. - Schema name is optional, if no schema is specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. - Schema name is optional, if no schema is specified then dbo is assumed. - - The columns this foreign key references. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the columns it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the foreign key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The foreign key columns. - - The table that contains the columns this foreign key references. Schema name is optional, - if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be dropped. Schema name is optional, if no schema is specified then dbo is - assumed. - - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to move a table to a new schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be moved. Schema name is optional, if no schema is specified then dbo is - assumed. - - The schema the table is to be moved to. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to move a stored procedure to a new schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure to be moved. Schema name is optional, if no schema is specified - then dbo is assumed. - - The schema the stored procedure is to be moved to. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a table. To change the schema of a table use MoveTable. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to be renamed. Schema name is optional, if no schema is specified then dbo is - assumed. - - - The new name for the table. Schema name is optional, if no schema is specified then dbo is - assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a stored procedure. To change the schema of a stored procedure use MoveStoredProcedure - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the stored procedure to be renamed. Schema name is optional, if no schema is specified - then dbo is assumed. - - - The new name for the stored procedure. Schema name is optional, if no schema is specified then - dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table that contains the column to be renamed. Schema name is optional, if no - schema is specified then dbo is assumed. - - The name of the column to be renamed. - The new name for the column. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to add a column to an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to add the column to. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be added. - - An action that specifies the column to be added. i.e. c => c.Int(nullable: false, - defaultValue: 3) - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the column from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the column from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to alter the definition of an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table the column exists in. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to be changed. - - An action that specifies the new definition for the column. i.e. c => c.String(nullable: - false, defaultValue: "none") - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - The primary key column. - - The name of the primary key in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered primary key. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new primary key based on multiple columns. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key columns. Schema name is optional, if no schema is - specified then dbo is assumed. - - The primary key columns. - - The name of the primary key in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered primary key. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing primary key that does not have the default name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the primary key to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing primary key that was created with the default name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The table that contains the primary key column. Schema name is optional, if no schema is specified - then dbo is assumed. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create an index on a single column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to create the index on. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column to create the index on. - - A value indicating if this is a unique index. If no value is supplied a non-unique index will be - created. - - - The name to use for the index in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create an index on multiple columns. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to create the index on. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the columns to create the index on. - - A value indicating if this is a unique index. If no value is supplied a non-unique index will be - created. - - - The name to use for the index in the database. If no value is supplied a unique name will be - generated. - - A value indicating whether or not this is a clustered index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an index based on its name. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the index from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the index to be dropped. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an index based on the columns it targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table to drop the index from. Schema name is optional, if no schema is specified - then dbo is assumed. - - The name of the column(s) the index targets. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename an index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The name of the table that contains the index to be renamed. Schema name is optional, if no - schema is specified then dbo is assumed. - - The name of the index to be renamed. - The new name for the index. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL command or set of SQL commands. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The SQL to be executed. - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL file. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The SQL file to be executed. Relative paths are assumed to be relative to the current AppDomain's BaseDirectory. - - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL resource file. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The manifest resource name of the SQL resource file to be executed. - - The assembly containing the resource file. The calling assembly is assumed if not provided. - - - A value indicating if the SQL should be executed outside of the transaction being - used for the migration process. If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - - - - - - - - - - - - - - - - - - - Configuration relating to the use of migrations for a given model. - You will typically create a configuration class that derives - from rather than - using this class. - - - - - The default directory that migrations are stored in. - - - - - Initializes a new instance of the DbMigrationsConfiguration class. - - - - - Gets or sets a value indicating if automatic migrations can be used when migrating the database. - - - - - Gets or sets the string used to distinguish migrations belonging to this configuration - from migrations belonging to other configurations using the same database. - This property enables migrations from multiple different models to be applied to a single database. - - - - - Gets or sets a value indicating if data loss is acceptable during automatic migration. - If set to false an exception will be thrown if data loss may occur as part of an automatic migration. - - - - - Adds a new SQL generator to be used for a given database provider. - - Name of the database provider to set the SQL generator for. - The SQL generator to be used. - - - - Gets the SQL generator that is set to be used with a given database provider. - - Name of the database provider to get the SQL generator for. - The SQL generator that is set for the database provider. - - - - Adds a new factory for creating instances to be used for a given database provider. - - Name of the database provider to set the SQL generator for. - - A factory for creating instances for a given and - representing the default schema. - - - - - Gets the history context factory that is set to be used with a given database provider. - - Name of the database provider to get thefactory for. - The history context factory that is set for the database provider. - - - - Gets or sets the derived DbContext representing the model to be migrated. - - - - - Gets or sets the namespace used for code-based migrations. - - - - - Gets or sets the sub-directory that code-based migrations are stored in. - Note that this property must be set to a relative path for a sub-directory under the - Visual Studio project root; it cannot be set to an absolute path. - - - - - Gets or sets the code generator to be used when scaffolding migrations. - - - - - Gets or sets the assembly containing code-based migrations. - - - - - Gets or sets a value to override the connection of the database to be migrated. - - - - - Gets or sets the timeout value used for the individual commands within a - migration. - - - The time in seconds to wait for the command to execute. A null value indicates - that the default value of the underlying provider will be used. - - - - - Configuration relating to the use of migrations for a given model. - - The context representing the model that this configuration applies to. - - - - Initializes a new instance of the DbMigrationsConfiguration class. - - - - - Runs after upgrading to the latest migration to allow seed data to be updated. - - - Note that the database may already contain seed data when this method runs. This means that - implementations of this method must check whether or not seed data is present and/or up-to-date - and then only make changes if necessary and in a non-destructive way. The - - can be used to help with this, but for seeding large amounts of data it may be necessary to do less - granular checks if performance is an issue. - If the database - initializer is being used, then this method will be called each time that the initializer runs. - If one of the , , - or initializers is being used, then this method will not be - called and the Seed method defined in the initializer should be used instead. - - Context to be used for updating seed data. - - - - - - - - - - - - - - - - - - - DbMigrator is used to apply existing migrations to a database. - DbMigrator can be used to upgrade and downgrade to any given migration. - To scaffold migrations based on changes to your model use - - - - - Migration Id representing the state of the database before any migrations are applied. - - - - - Initializes a new instance of the DbMigrator class. - - Configuration to be used for the migration process. - - - - Initializes a new instance of the DbMigrator class using the supplied context. - Use this constructor when applying migrations from code to avoid having migrations attempt - to create a context/connection for you. - - Configuration to be used for the migration process. - The to use. - - - - Gets the configuration that is being used for the migration process. - - - - - Gets all migrations that are defined in the configured migrations assembly. - - The list of migrations. - - - - Gets all migrations that have been applied to the target database. - - The list of migrations. - - - - Gets all migrations that are defined in the assembly but haven't been applied to the target database. - - The list of migrations. - - - - Updates the target database to a given migration. - - The migration to upgrade/downgrade to. - - - - A set of extension methods for - - - - - Adds or updates entities by key when SaveChanges is called. Equivalent to an "upsert" operation - from database terminology. - This method can be useful when seeding data using Migrations. - - The type of entities to add or update. - The set to which the entities belong. - The entities to add or update. - - When the parameter is a custom or fake IDbSet implementation, this method will - attempt to locate and invoke a public, instance method with the same signature as this extension method. - - - - - Adds or updates entities by a custom identification expression when SaveChanges is called. - Equivalent to an "upsert" operation from database terminology. - This method can useful when seeding data using Migrations. - - The type of entities to add or update. - The set to which the entities belong. - An expression specifying the properties that should be used when determining whether an Add or Update operation should be performed. - The entities to add or update. - - When the parameter is a custom or fake IDbSet implementation, this method will - attempt to locate and invoke a public, instance method with the same signature as this extension method. - - - - - Generates C# code for a code-based migration. - - - - - - - - Generates the primary code file that the user can view and edit. - - Operations to be performed by the migration. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates the code behind file with migration metadata. - - Unique identifier of the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates a property to return the source or target model in the code behind file. - - Name of the property. - Value to be returned. - Text writer to add the generated code to. - - - - Generates class attributes. - - Text writer to add the generated code to. - A value indicating if this class is being generated for a code-behind file. - - - - Generates a namespace, using statements and class definition. - - Namespace that code should be generated in. - Name of the class that should be generated. - Text writer to add the generated code to. - Base class for the generated class. - A value indicating if this class is being generated for a code-behind file. - Namespaces for which using directives will be added. If null, then the namespaces returned from GetDefaultNamespaces will be used. - - - - Generates the closing code for a class that was started with WriteClassStart. - - Namespace that code should be generated in. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for the given annotation value, which may be null. The default behavior is to use an - if one is registered, otherwise call ToString on the annotation value. - - - Note that a can be registered to generate code for custom annotations - without the need to override the entire code generator. - - The name of the annotation for which code is needed. - The annotation value to generate. - The writer to which generated code should be written. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to specify the definition for a . - The parameter definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for an . - - The operation for which code should be generated. - The writer to which generated code should be written. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify a set of column names using a lambda expression. - - The columns to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify the definition for a . - - The column definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column of unknown data type. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Removes any invalid characters from the name of an database artifact. - - The name to be scrubbed. - The scrubbed name. - - - - Gets the type name to use for a column of the given data type. - - The data type to translate. - The type name to use in the generated migration. - - - - Quotes an identifier using appropriate escaping to allow it to be stored in a string. - - The identifier to be quoted. - The quoted identifier. - - - - Base class for providers that generate code for code-based migrations. - - - - - Generates the code that should be added to the users project. - - Unique identifier of the migration. - Operations to be performed by the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Gets the namespaces that must be output as "using" or "Imports" directives to handle - the code generated by the given operations. - - The operations for which code is going to be generated. - An ordered list of namespace names. - - - - Gets the default namespaces that must be output as "using" or "Imports" directives for - any code generated. - - A value indicating if this class is being generated for a code-behind file. - An ordered list of namespace names. - - - - Gets the instances that are being used. - - - - - Scaffolds code-based migrations to apply pending model changes to the database. - - - - - Initializes a new instance of the MigrationScaffolder class. - - Configuration to be used for scaffolding. - - - - Gets or sets the namespace used in the migration's generated code. - By default, this is the same as MigrationsNamespace on the migrations - configuration object passed into the constructor. For VB.NET projects, this - will need to be updated to take into account the project's root namespace. - - - - - Scaffolds a code based migration to apply any pending model changes to the database. - - The name to use for the scaffolded migration. - The scaffolded migration. - - - - Scaffolds a code based migration to apply any pending model changes to the database. - - The name to use for the scaffolded migration. - Whether or not to include model changes. - The scaffolded migration. - - - - Scaffolds the initial code-based migration corresponding to a previously run database initializer. - - The scaffolded migration. - - - - Represents a code-based migration that has been scaffolded and is ready to be written to a file. - - - - - Gets or sets the unique identifier for this migration. - Typically used for the file name of the generated code. - - - - - Gets or sets the scaffolded migration code that the user can edit. - - - - - Gets or sets the scaffolded migration code that should be stored in a code behind file. - - - - - Gets or sets the programming language used for this migration. - Typically used for the file extension of the generated code. - - - - - Gets or sets the subdirectory in the user's project that this migration should be saved in. - - - - - Gets a dictionary of string resources to add to the migration resource file. - - - - - Gets or sets whether the migration was re-scaffolded. - - - - - Generates VB.Net code for a code-based migration. - - - - - - - - Generates the primary code file that the user can view and edit. - - Operations to be performed by the migration. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates the code behind file with migration metadata. - - Unique identifier of the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates a property to return the source or target model in the code behind file. - - Name of the property. - Value to be returned. - Text writer to add the generated code to. - - - - Generates class attributes. - - Text writer to add the generated code to. - A value indicating if this class is being generated for a code-behind file. - - - - Generates a namespace, using statements and class definition. - - Namespace that code should be generated in. - Name of the class that should be generated. - Text writer to add the generated code to. - Base class for the generated class. - A value indicating if this class is being generated for a code-behind file. - Namespaces for which Imports directives will be added. If null, then the namespaces returned from GetDefaultNamespaces will be used. - - - - Generates the closing code for a class that was started with WriteClassStart. - - Namespace that code should be generated in. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for to re-create the given dictionary of annotations for use when passing - these annotations as a parameter of a . call. - - The annotations to generate. - The writer to which generated code should be written. - - - - Generates code for the given annotation value, which may be null. The default behavior is to use an - if one is registered, otherwise call ToString on the annotation value. - - - Note that a can be registered to generate code for custom annotations - without the need to override the entire code generator. - - The name of the annotation for which code is needed. - The annotation value to generate. - The writer to which generated code should be written. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - Generates code to perform a . - The parameter model definition to generate code for. - Text writer to add the generated code to. - true to include the column name in the definition; otherwise, false. - - - Generates code to perform a . - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code for an . - - The operation for which code should be generated. - The writer to which generated code should be written. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify a set of column names using a lambda expression. - - The columns to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify the definition for a . - - The column definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column of unknown data type. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Removes any invalid characters from the name of an database artifact. - - The name to be scrubbed. - The scrubbed name. - - - - Gets the type name to use for a column of the given data type. - - The data type to translate. - The type name to use in the generated migration. - - - - Quotes an identifier using appropriate escaping to allow it to be stored in a string. - - The identifier to be quoted. - The quoted identifier. - - - - This class is used by Code First Migrations to read and write migration history - from the database. - To customize the definition of the migrations history table you can derive from - this class and override OnModelCreating. Derived instances can either be registered - on a per migrations configuration basis using , - or globally using . - - - - - The default name used for the migrations history table. - - - - - Initializes a new instance of the HistoryContext class. - If you are creating a derived history context you will generally expose a constructor - that accepts these same parameters and passes them to this base constructor. - - - An existing connection to use for the new context. - - - The default schema of the model being migrated. - This schema will be used for the migrations history table unless a different schema is configured in OnModelCreating. - - - - - Gets the key used to locate a model that was previously built for this context. This is used - to avoid processing OnModelCreating and calculating the model every time a new context instance is created. - By default this property returns the default schema. - In most cases you will not need to override this property. However, if your implementation of OnModelCreating - contains conditional logic that results in a different model being built for the same database provider and - default schema you should override this property and calculate an appropriate key. - - - - - Gets the default schema of the model being migrated. - This schema will be used for the migrations history table unless a different schema is configured in OnModelCreating. - - - - - Gets or sets a that can be used to read and write instances. - - - - - Applies the default configuration for the migrations history table. If you override - this method it is recommended that you call this base implementation before applying your - custom configuration. - - The builder that defines the model for the context being created. - - - - This class is used by Code First Migrations to read and write migration history - from the database. - - - - - Gets or sets the Id of the migration this row represents. - - - - - Gets or sets a key representing to which context the row applies. - - - - - Gets or sets the state of the model after this migration was applied. - - - - - Gets or sets the version of Entity Framework that created this entry. - - - - - Represents an error that occurs when an automatic migration would result in data loss. - - - - - Initializes a new instance of the AutomaticDataLossException class. - - - - - Initializes a new instance of the AutomaticDataLossException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Represents an error that occurs when there are pending model changes after applying the last migration and automatic migration is disabled. - - - - - Initializes a new instance of the AutomaticMigrationsDisabledException class. - - - - - Initializes a new instance of the AutomaticMigrationsDisabledException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Explicitly implemented by to prevent certain members from showing up - in the IntelliSense of scaffolded migrations. - - - - - Adds a custom to the migration. - Custom operation implementors are encouraged to create extension methods on - that provide a fluent-style API for adding new operations. - - The operation to add. - - - - Provides additional metadata about a code-based migration. - - - - - Gets the unique identifier for the migration. - - - - - Gets the state of the model before this migration is run. - - - - - Gets the state of the model after this migration is run. - - - - - Represents errors that occur inside the Code First Migrations pipeline. - - - - - Initializes a new instance of the MigrationsException class. - - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the MigrationsException class with serialized data. - - - The that holds the serialized object data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - Base class for loggers that can be used for the migrations process. - - - - - Logs an informational message. - - The message to be logged. - - - - Logs a warning that the user should be made aware of. - - The message to be logged. - - - - Logs some additional information that should only be presented to the user if they request verbose output. - - The message to be logged. - - - - Thrown when an operation can't be performed because there are existing migrations that have not been applied to the database. - - - - - Initializes a new instance of the MigrationsPendingException class. - - - - - Initializes a new instance of the MigrationsPendingException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsPendingException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Base class for decorators that wrap the core - - - - - Initializes a new instance of the MigratorBase class. - - The migrator that this decorator is wrapping. - - - - Gets a list of the pending migrations that have not been applied to the database. - - List of migration Ids - - - - Gets the configuration being used for the migrations process. - - - - - Updates the target database to the latest migration. - - - - - Updates the target database to a given migration. - - The migration to upgrade/downgrade to. - - - - Gets a list of the migrations that are defined in the assembly. - - List of migration Ids - - - - Gets a list of the migrations that have been applied to the database. - - List of migration Ids - - - - Decorator to provide logging during migrations operations.. - - - - - Initializes a new instance of the MigratorLoggingDecorator class. - - The migrator that this decorator is wrapping. - The logger to write messages to. - - - - Decorator to produce a SQL script instead of applying changes to the database. - Using this decorator to wrap will prevent - from applying any changes to the target database. - - - - - Initializes a new instance of the MigratorScriptingDecorator class. - - The migrator that this decorator is wrapping. - - - - Produces a script to update the database. - - - The migration to update from. If null is supplied, a script to update the - current database will be produced. - - - The migration to update to. If null is supplied, - a script to update to the latest migration will be produced. - - The generated SQL script. - - - - Represents a column being added to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be added to. - Details of the column being added. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column should be added to. - - - - - Gets the details of the column being added. - - - - - Gets an operation that represents dropping the added column. - - - - - - - - Represents a foreign key constraint being added to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddForeignKeyOperation class. - The PrincipalTable, PrincipalColumns, DependentTable and DependentColumns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - The names of the column(s) that the foreign key constraint should target. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating if cascade delete should be configured on the foreign key constraint. - - - - - Gets an operation to create an index on the foreign key column(s). - - An operation to add the index. - - - - Gets an operation to drop the foreign key constraint. - - - - - - - - Represents adding a primary key to a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AddPrimaryKeyOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the primary key. - - - - - Represents altering an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AlterColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table that the column belongs to. - Details of what the column should be altered to. - Value indicating if this change will result in data loss. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the AlterColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table that the column belongs to. - Details of what the column should be altered to. - Value indicating if this change will result in data loss. - An operation to revert this alteration of the column. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table that the column belongs to. - - - - - Gets the new definition for the column. - - - - - Gets an operation that represents reverting the alteration. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents altering an existing stored procedure. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation that will revert this operation. - Always returns a . - - - - - Represents changes made to custom annotations on a table. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the AlterTableOperation class. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table on which annotations have changed. - The custom annotations on the table that have changed. - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table on which annotations have changed. - - - - - Gets the columns to be included in the table for which annotations have changed. - - - - - Gets the custom annotations that have changed on the table. - - - - - Gets an operation that is the inverse of this one such that annotations will be changed back to how - they were before this operation was applied. - - - - - - - - Represents information about a column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ColumnModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this column. - - - - Initializes a new instance of the ColumnModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this column. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets the CLR type corresponding to the database type of this column. - - - - - Gets the default value for the CLR type corresponding to the database type of this column. - - - - - Gets or sets a value indicating if this column can store null values. - - - - - Gets or sets a value indicating if values for this column will be generated by the database using the identity pattern. - - - - - Gets or sets a value indicating if this property model should be configured as a timestamp. - - - - - Gets or sets the custom annotations that have changed on the column. - - - - - Determines if this column is a narrower data type than another column. - Used to determine if altering the supplied column definition to this definition will result in data loss. - - The column to compare to. - Details of the database provider being used. - True if this column is of a narrower data type. - - - - Represents creating a database index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the CreateIndexOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets a value indicating if this is a unique index. - - - - - Gets an operation to drop this index. - - - - - - - - Gets or sets whether this is a clustered index. - - - - - A migration operation to add a new stored procedure to the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the stored procedure. - - - - - Represents creating a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the CreateTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be created. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the CreateTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be created. - Custom annotations that exist on the table to be created. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be created. - - - - - Gets the columns to be included in the new table. - - - - - Gets or sets the primary key for the new table. - - - - - Gets custom annotations that exist on the table to be created. - - - - - Gets an operation to drop the table. - - - - - - - - Represents a column being dropped from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - The operation that represents reverting the drop operation. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - Custom annotations that exist on the column that is being dropped. May be null or empty. - The operation that represents reverting the drop operation. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column should be dropped from. - - - - - Gets the name of the column to be dropped. - - - - - Gets custom annotations that exist on the column that is being dropped. - - - - - Gets an operation that represents reverting dropping the column. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents a foreign key constraint being dropped from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropForeignKeyOperation class. - The PrincipalTable, DependentTable and DependentColumns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropForeignKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc.. - - The operation that represents reverting dropping the foreign key constraint. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to drop the associated index on the foreign key column(s). - - An operation to drop the index. - - - - Gets an operation that represents reverting dropping the foreign key constraint. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents dropping an existing index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The operation that represents reverting dropping the index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation that represents reverting dropping the index. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents dropping a primary key from a table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropPrimaryKeyOperation class. - The Table and Columns properties should also be populated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets an operation to add the primary key. - - - - - Used when altering the migrations history table so that the table can be rebuilt rather than just dropping and adding the primary key. - - - The create table operation for the migrations history table. - - - - - Drops a stored procedure from the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to drop. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to drop. - - - The name of the stored procedure to drop. - - - - - Gets an operation that will revert this operation. - Always returns a . - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents dropping an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - An operation that represents reverting dropping the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Initializes a new instance of the DropTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the table to be dropped. - Custom annotations that exist on the table that is being dropped. May be null or empty. - Custom annotations that exist on columns of the table that is being dropped. May be null or empty. - An operation that represents reverting dropping the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be dropped. - - - - - Gets custom annotations that exist on the table that is being dropped. - - - - - Gets custom annotations that exist on columns of the table that is being dropped. - - - - - Gets an operation that represents reverting dropping the table. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Base class for changes that affect foreign key constraints. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ForeignKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets the name of the table that the foreign key constraint targets. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the name of the table that the foreign key columns exist in. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - The names of the foreign key column(s). - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this foreign key constraint. - - - - - Gets or sets the name of this foreign key constraint. - If no name is supplied, a default name will be calculated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Operation representing DML changes to the migrations history table. - The migrations history table is used to store a log of the migrations that have been applied to the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the HistoryOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - A sequence of command trees representing the operations being applied to the history table. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - A sequence of commands representing the operations being applied to the history table. - - - - - - - - Common base class for operations affecting indexes. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Creates a default index name based on the supplied column names. - - The column names used to create a default index name. - A default index name. - - - - Initializes a new instance of the IndexOperation class. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - Additional arguments that may be processed by providers. Use anonymous type syntax to - specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets or sets the table the index belongs to. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets the columns that are indexed. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this index. - - - - - Gets or sets the name of this index. - If no name is supplied, a default name will be calculated. - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Represents an operation to modify a database schema. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the MigrationOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" - }'. - - - - - Gets additional arguments that may be processed by providers. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. - - - - - Represents moving a stored procedure to a new schema in the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to move. - The new schema for the stored procedure. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to move. - - - The name of the stored procedure to move. - - - - - Gets the new schema for the stored procedure. - - - The new schema for the stored procedure. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents moving a table from one schema to another. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the MoveTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be moved. - Name of the schema to move the table to. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be moved. - - - - - Gets the name of the schema to move the table to. - - - - - Gets an operation that moves the table back to its original schema. - - - - - - - - Used when altering the migrations history table so that data can be moved to the new table. - - - The context key for the model. - - - - - Gets a value that indicates whether this is a system table. - - - true if the table is a system table; otherwise, false. - - - - - Used when altering the migrations history table so that the table can be rebuilt rather than just dropping and adding the primary key. - - - The create table operation for the migrations history table. - - - - - Represents a migration operation that can not be performed, possibly because it is not supported by the targeted database provider. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents information about a parameter. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the ParameterModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this parameter. - - - - Initializes a new instance of the ParameterModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this parameter. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets or sets a value indicating whether this instance is out parameter. - - - true if this instance is out parameter; otherwise, false. - - - - - Common base class to represent operations affecting primary keys. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Returns the default name for the primary key. - - The target table name. - The default primary key name. - - - - Initializes a new instance of the PrimaryKeyOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets or sets the name of the table that contains the primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets the column(s) that make up the primary key. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets a value indicating if a specific name has been supplied for this primary key. - - - - - Gets or sets the name of this primary key. - If no name is supplied, a default name will be calculated. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - - - - Gets or sets whether this is a clustered primary key. - - - - - A migration operation that affects stored procedures. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure. - The body of the stored procedure expressed in SQL. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure. - - - The name of the stored procedure. - - - - - Gets the body of the stored procedure expressed in SQL. - - - The body of the stored procedure expressed in SQL. - - - - - Gets the parameters of the stored procedure. - - - The parameters of the stored procedure. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents information about a property of an entity. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the PropertyModel class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The data type for this property model. - Additional details about the data type. This includes details such as maximum length, nullability etc. - - - - Gets the data type for this property model. - - - - - Gets additional details about the data type of this property model. - This includes details such as maximum length, nullability etc. - - - - - Gets or sets the name of the property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a provider specific data type to use for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the maximum length for this property model. - Only valid for array data types. - - - - - Gets or sets the precision for this property model. - Only valid for decimal data types. - - - - - Gets or sets the scale for this property model. - Only valid for decimal data types. - - - - - Gets or sets a constant value to use as the default value for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a SQL expression used as the default value for this property model. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating if this property model is fixed length. - Only valid for array data types. - - - - - Gets or sets a value indicating if this property model supports Unicode characters. - Only valid for textual data types. - - - - - Represents renaming an existing column. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameColumnOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table the column belongs to. - Name of the column to be renamed. - New name for the column. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the column belongs to. - - - - - Gets the name of the column to be renamed. - - - - - Gets the new name for the column. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents renaming an existing index. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameIndexOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table the index belongs to. - Name of the index to be renamed. - New name for the index. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table the index belongs to. - - - - - Gets the name of the index to be renamed. - - - - - Gets the new name for the index. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents renaming a stored procedure in the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The name of the stored procedure to rename. - The new name for the stored procedure. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the stored procedure to rename. - - - The name of the stored procedure to rename. - - - - - Gets the new name for the stored procedure. - - - The new name for the stored procedure. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. Always returns false. - - - - - Represents renaming an existing table. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the RenameTableOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - Name of the table to be renamed. - New name for the table. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the name of the table to be renamed. - - - - - Gets the new name for the table. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents a provider specific SQL statement to be executed directly against the target database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Initializes a new instance of the SqlOperation class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The SQL to be executed. - Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - Gets the SQL to be executed. - - - - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - - - - Used when scripting an update database operation to store the operations that would have been performed against the database. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Represents a migration to be applied to the database. - - - - - Gets the id of the migration. - - - The id of the migration. - - - - - Gets the individual operations applied by this migration. - - - The individual operations applied by this migration. - - - - - Initializes a new instance of the class. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The queries used to determine if this migration needs to be applied to the database. - This is used to generate an idempotent SQL script that can be run against a database at any version. - - - - - The queries used to determine if this migration needs to be applied to the database. - This is used to generate an idempotent SQL script that can be run against a database at any version. - - - - - Gets the migrations applied during the update database operation. - - - The migrations applied during the update database operation. - - - - - Adds a migration to this update database operation. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - The id of the migration. - The individual operations applied by the migration. - - - - Gets a value indicating if any of the operations may result in data loss. - - - - - Common base class for providers that convert provider agnostic migration - operations into database provider specific SQL commands. - - - - - Gets or sets the provider manifest. - - - The provider manifest. - - - - - Converts a set of migration operations into database provider specific SQL. - - The operations to be converted. - Token representing the version of the database being targeted. - A list of SQL statements to be executed to perform the migration operations. - - - - Generates the SQL body for a stored procedure. - - The command trees representing the commands for an insert, update or delete operation. - The rows affected parameter name. - The provider manifest token. - The SQL body for the stored procedure. - - - - Determines if a provider specific exception corresponds to a database-level permission denied error. - - The database exception. - true if the supplied exception corresponds to a database-level permission denied error; otherwise false. - - - - Builds the store type usage for the specified using the facets from the specified . - - Name of the store type. - The target property. - A store-specific TypeUsage - - - - Represents a migration operation that has been translated into a SQL statement. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets the SQL to be executed to perform this migration operation. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - Gets or sets the batch terminator for the database provider. - - Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources - (such as the end user of an application). If input is accepted from such sources it should be validated - before being passed to these APIs to protect against SQL injection attacks etc. - - - The batch terminator for the database provider. - - - - - The same as but works in partial trust and adds explicit caching of - generated indentation string and also recognizes writing a string that contains just \r\n or \n as a write-line to ensure - we indent the next line properly. - - - - - Specifies the default tab string. This field is constant. - - - - - Specifies the culture what will be used by the underlying TextWriter. This static property is read-only. - Note that any writer passed to one of the constructors of must use this - same culture. The culture is . - - - - - Gets the encoding for the text writer to use. - - - An that indicates the encoding for the text writer to use. - - - - - Gets or sets the new line character to use. - - The new line character to use. - - - - Gets or sets the number of spaces to indent. - - The number of spaces to indent. - - - - Gets the to use. - - - The to use. - - - - - Initializes a new instance of the IndentedTextWriter class using the specified text writer and default tab string. - Note that the writer passed to this constructor must use the specified by the - property. - - - The to use for output. - - - - - Initializes a new instance of the IndentedTextWriter class using the specified text writer and tab string. - Note that the writer passed to this constructor must use the specified by the - property. - - - The to use for output. - - The tab string to use for indentation. - - - - Closes the document being written to. - - - - - Flushes the stream. - - - - - Outputs the tab string once for each level of indentation according to the - - property. - - - - - Builds a string representing the current indentation level for a new line. - - - Does NOT check if tabs are currently pending, just returns a string that would be - useful in replacing embedded newline characters. - - An empty string, or a string that contains .Indent level's worth of specified tab-string. - - - - Writes the specified string to the text stream. - - The string to write. - - - - Writes the text representation of a Boolean value to the text stream. - - The Boolean value to write. - - - - Writes a character to the text stream. - - The character to write. - - - - Writes a character array to the text stream. - - The character array to write. - - - - Writes a subarray of characters to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes the text representation of a Double to the text stream. - - The double to write. - - - - Writes the text representation of a Single to the text stream. - - The single to write. - - - - Writes the text representation of an integer to the text stream. - - The integer to write. - - - - Writes the text representation of an 8-byte integer to the text stream. - - The 8-byte integer to write. - - - - Writes the text representation of an object to the text stream. - - The object to write. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string. - The object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string to use. - The first object to write into the formatted string. - The second object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string to use. - The argument array to output. - - - - Writes the specified string to a line without tabs. - - The string to write. - - - - Writes the specified string, followed by a line terminator, to the text stream. - - The string to write. - - - - Writes a line terminator. - - - - - Writes the text representation of a Boolean, followed by a line terminator, to the text stream. - - The Boolean to write. - - - - Writes a character, followed by a line terminator, to the text stream. - - The character to write. - - - - Writes a character array, followed by a line terminator, to the text stream. - - The character array to write. - - - - Writes a subarray of characters, followed by a line terminator, to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes the text representation of a Double, followed by a line terminator, to the text stream. - - The double to write. - - - - Writes the text representation of a Single, followed by a line terminator, to the text stream. - - The single to write. - - - - Writes the text representation of an integer, followed by a line terminator, to the text stream. - - The integer to write. - - - - Writes the text representation of an 8-byte integer, followed by a line terminator, to the text stream. - - The 8-byte integer to write. - - - - Writes the text representation of an object, followed by a line terminator, to the text stream. - - The object to write. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string. - The object to write into the formatted string. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string to use. - The first object to write into the formatted string. - The second object to write into the formatted string. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string to use. - The argument array to output. - - - - Writes the text representation of a UInt32, followed by a line terminator, to the text stream. - - A UInt32 to output. - - - - An implementation of that does nothing. Using this - initializer disables database initialization for the given context type. Passing an instance - of this class to is equivalent to passing null. - When is being used to resolve initializers an instance of - this class must be used to disable initialization. - - The type of the context. - - - - - - - Extension methods for . - - - - - Returns an implementation that stays in sync with the given - . - - The element type. - The collection that the binding list will stay in sync with. - The binding list. - - - - Useful extension methods for use with Entity Framework LINQ queries. - - - - - Specifies the related objects to include in the query results. - - - This extension method calls the Include(String) method of the source object, - if such a method exists. If the source does not have a matching method, - then this method does nothing. The , , - and types all have an appropriate Include method to call. - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the . Other instances of - and the object context itself are not affected. Because the Include method returns the query object, - you can call this method multiple times on an to specify multiple paths for the query. - - The type of entity being queried. - - The source on which to call Include. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Specifies the related objects to include in the query results. - - - This extension method calls the Include(String) method of the source object, - if such a method exists. If the source does not have a matching method, - then this method does nothing. The , , - and types all have an appropriate Include method to call. - Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will - OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on - the returned instance of the . Other instances of - and the object context itself are not affected. Because the Include method returns the query object, - you can call this method multiple times on an to specify multiple paths for the query. - - - The source on which to call Include. - - The dot-separated list of related objects to return in the query results. - - A new with the defined query path. - - - - - Specifies the related objects to include in the query results. - - - The path expression must be composed of simple property access expressions together with calls to Select for - composing additional includes after including a collection proprty. Examples of possible include paths are: - To include a single reference: query.Include(e => e.Level1Reference) - To include a single collection: query.Include(e => e.Level1Collection) - To include a reference and then a reference one level down: query.Include(e => e.Level1Reference.Level2Reference) - To include a reference and then a collection one level down: query.Include(e => e.Level1Reference.Level2Collection) - To include a collection and then a reference one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference)) - To include a collection and then a collection one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection)) - To include a collection and then a reference one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference)) - To include a collection and then a collection one level down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection)) - To include a collection, a reference, and a reference two levels down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Reference.Level3Reference)) - To include a collection, a collection, and a reference two levels down: query.Include(e => e.Level1Collection.Select(l1 => l1.Level2Collection.Select(l2 => l2.Level3Reference))) - This extension method calls the Include(String) method of the source IQueryable object, if such a method exists. - If the source IQueryable does not have a matching method, then this method does nothing. - The Entity Framework ObjectQuery, ObjectSet, DbQuery, and DbSet types all have an appropriate Include method to call. - When you call the Include method, the query path is only valid on the returned instance of the IQueryable<T>. Other - instances of IQueryable<T> and the object context itself are not affected. Because the Include method returns the - query object, you can call this method multiple times on an IQueryable<T> to specify multiple paths for the query. - - The type of entity being queried. - The type of navigation property being included. - The source IQueryable on which to call Include. - A lambda expression representing the path to include. - - A new IQueryable<T> with the defined query path. - - - - - Returns a new query where the entities returned will not be cached in the - or . This method works by calling the AsNoTracking method of the - underlying query object. If the underlying query object does not have an AsNoTracking method, - then calling this method will have no affect. - - The element type. - The source query. - A new query with NoTracking applied, or the source query if NoTracking is not supported. - - - - Returns a new query where the entities returned will not be cached in the - or . This method works by calling the AsNoTracking method of the - underlying query object. If the underlying query object does not have an AsNoTracking method, - then calling this method will have no affect. - - The source query. - A new query with NoTracking applied, or the source query if NoTracking is not supported. - - - - Returns a new query that will stream the results instead of buffering. This method works by calling - the AsStreaming method of the underlying query object. If the underlying query object does not have - an AsStreaming method, then calling this method will have no affect. - - - The type of the elements of . - - - An to apply AsStreaming to. - - A new query with AsStreaming applied, or the source query if AsStreaming is not supported. - - - - Returns a new query that will stream the results instead of buffering. This method works by calling - the AsStreaming method of the underlying query object. If the underlying query object does not have - an AsStreaming method, then calling this method will have no affect. - - - An to apply AsStreaming to. - - A new query with AsStreaming applied, or the source query if AsStreaming is not supported. - - - - Enumerates the query such that for server queries such as those of , - - , - , and others the results of the query will be loaded into the associated - - , - or other cache on the client. - This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. - - The source query. - - - - Asynchronously enumerates the query such that for server queries such as those of , - - , - , and others the results of the query will be loaded into the associated - - , - or other cache on the client. - This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. - - The source query. - - A task that represents the asynchronous operation. - - - - - Asynchronously enumerates the query such that for server queries such as those of , - - , - , and others the results of the query will be loaded into the associated - - , - or other cache on the client. - This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. - - The source query. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - An to enumerate. - - The action to perform on each element. - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - An to enumerate. - - The action to perform on each element. - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to enumerate. - - The action to perform on each element. - A task that represents the asynchronous operation. - - - - Asynchronously enumerates the query results and performs the specified action on each element. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to enumerate. - - The action to perform on each element. - - A to observe while waiting for the task to complete. - - A task that represents the asynchronous operation. - - - - Creates a from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - An to create a from. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates a from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - An to create a from. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates a from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to create a from. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates a from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to create a list from. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains elements from the input sequence. - - - - - Creates an array from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to create an array from. - - - A task that represents the asynchronous operation. - The task result contains an array that contains elements from the input sequence. - - - - - Creates an array from an by enumerating it asynchronously. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to create an array from. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains an array that contains elements from the input sequence. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - An to create a from. - - A function to extract a key from each element. - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - An to create a from. - - A function to extract a key from each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function and a comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - An to create a from. - - A function to extract a key from each element. - - An to compare keys. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function and a comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - An to create a from. - - A function to extract a key from each element. - - An to compare keys. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains selected keys and values. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - The type of the value returned by . - - - An to create a from. - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - The type of the value returned by . - - - An to create a from. - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function, a comparer, and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - The type of the value returned by . - - - An to create a from. - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - An to compare keys. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Creates a from an by enumerating it asynchronously - according to a specified key selector function, a comparer, and an element selector function. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the key returned by . - - - The type of the value returned by . - - - An to create a from. - - A function to extract a key from each element. - A transform function to produce a result element value from each element. - - An to compare keys. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains a that contains values of type - selected from the input sequence. - - - - - Asynchronously returns the first element of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - - A task that represents the asynchronous operation. - The task result contains the first element in . - - - is null. - - - doesn't implement . - - The source sequence is empty. - - - - Asynchronously returns the first element of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the first element in . - - - - is - null - . - - - - doesn't implement - - . - - The source sequence is empty. - - - - Asynchronously returns the first element of a sequence that satisfies a specified condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the first element in that passes the test in - . - - - - or - - is - null - . - - - - doesn't implement - - . - - - No element satisfies the condition in - - . - - - - - Asynchronously returns the first element of a sequence that satisfies a specified condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the first element in that passes the test in - . - - - - or - - is - null - . - - - - doesn't implement - - . - - - No element satisfies the condition in - - . - - - - - Asynchronously returns the first element of a sequence, or a default value if the sequence contains no elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if - is empty; otherwise, the first element in . - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the first element of a sequence, or a default value if the sequence contains no elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if - is empty; otherwise, the first element in . - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the first element of a sequence that satisfies a specified condition - or a default value if no such element is found. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains default ( ) if - is empty or if no element passes the test specified by ; otherwise, the first - element in that passes the test specified by . - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the first element of a sequence that satisfies a specified condition - or a default value if no such element is found. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the first element of. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains default ( ) if - is empty or if no element passes the test specified by ; otherwise, the first - element in that passes the test specified by . - - - - or - - is - null - . - - - - doesn't implement - - . - - - - has more than one element. - - - - - Asynchronously returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - The source sequence is empty. - - - - Asynchronously returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - has more than one element. - - The source sequence is empty. - - - - Asynchronously returns the only element of a sequence that satisfies a specified condition, - and throws an exception if more than one such element exists. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - A function to test an element for a condition. - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence that satisfies the condition in - . - - - - or - - is - null - . - - - - doesn't implement - - . - - - No element satisfies the condition in - - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of a sequence that satisfies a specified condition, - and throws an exception if more than one such element exists. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - A function to test an element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence that satisfies the condition in - . - - - - or - - is - null - . - - - - doesn't implement - - . - - - No element satisfies the condition in - - . - - - More than one element satisfies the condition in - - . - - - - - Asynchronously returns the only element of a sequence, or a default value if the sequence is empty; - this method throws an exception if there is more than one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence, or default () - if the sequence contains no elements. - - - - is - null - . - - - - doesn't implement - - . - - - - has more than one element. - - - - - Asynchronously returns the only element of a sequence, or a default value if the sequence is empty; - this method throws an exception if there is more than one element in the sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence, or default () - if the sequence contains no elements. - - - - is - null - . - - - - doesn't implement - - . - - - - has more than one element. - - - - - Asynchronously returns the only element of a sequence that satisfies a specified condition or - a default value if no such element exists; this method throws an exception if more than one element - satisfies the condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - A function to test an element for a condition. - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence that satisfies the condition in - , or default ( ) if no such element is found. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the only element of a sequence that satisfies a specified condition or - a default value if no such element exists; this method throws an exception if more than one element - satisfies the condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - A function to test an element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the single element of the input sequence that satisfies the condition in - , or default ( ) if no such element is found. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether a sequence contains a specified element by using the default equality comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - The object to locate in the sequence. - - A task that represents the asynchronous operation. - The task result contains true if the input sequence contains the specified value; otherwise, false. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether a sequence contains a specified element by using the default equality comparer. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to return the single element of. - - The object to locate in the sequence. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the input sequence contains the specified value; otherwise, false. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether a sequence contains any elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to check for being empty. - - - A task that represents the asynchronous operation. - The task result contains true if the source sequence contains any elements; otherwise, false. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether a sequence contains any elements. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An to check for being empty. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if the source sequence contains any elements; otherwise, false. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether any element of a sequence satisfies a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An whose elements to test for a condition. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether any element of a sequence satisfies a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An whose elements to test for a condition. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether all the elements of a sequence satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An whose elements to test for a condition. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains true if every element of the source sequence passes the test in the specified predicate; otherwise, false. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously determines whether all the elements of a sequence satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An whose elements to test for a condition. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains true if every element of the source sequence passes the test in the specified predicate; otherwise, false. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the number of elements in a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously returns the number of elements in a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously returns the number of elements in a sequence that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the number of elements in the sequence that satisfy the condition in the predicate function. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns the number of elements in a sequence that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the sequence that satisfy the condition in the predicate function. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns an that represents the total number of elements in a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously returns an that represents the total number of elements in a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the input sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously returns an that represents the number of elements in a sequence - that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - A function to test each element for a condition. - - A task that represents the asynchronous operation. - The task result contains the number of elements in the sequence that satisfy the condition in the predicate function. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns an that represents the number of elements in a sequence - that satisfy a condition. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to be counted. - - A function to test each element for a condition. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the number of elements in the sequence that satisfy the condition in the predicate function. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - that satisfy the condition in the predicate function - is larger than - - . - - - - - Asynchronously returns the minimum value of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to determine the minimum of. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the minimum value of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to determine the minimum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously invokes a projection function on each element of a sequence and returns the minimum resulting value. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the value returned by the function represented by . - - - An that contains the elements to determine the minimum of. - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the minimum value in the sequence. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously invokes a projection function on each element of a sequence and returns the minimum resulting value. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the value returned by the function represented by . - - - An that contains the elements to determine the minimum of. - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the minimum value in the sequence. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the maximum value of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to determine the maximum of. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously returns the maximum value of a sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - An that contains the elements to determine the maximum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously invokes a projection function on each element of a sequence and returns the maximum resulting value. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the value returned by the function represented by . - - - An that contains the elements to determine the maximum of. - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the maximum value in the sequence. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously invokes a projection function on each element of a sequence and returns the maximum resulting value. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - The type of the value returned by the function represented by . - - - An that contains the elements to determine the maximum of. - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the maximum value in the sequence. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the sum of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the values in the sequence. - - - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the sum of the sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - - A sequence of values of type . - - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the sum of the projected values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - The number of elements in - - is larger than - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - A sequence of nullable values to calculate the average of. - - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - contains no elements. - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Asynchronously computes the average of a sequence of nullable values that is obtained - by invoking a projection function on each element of the input sequence. - - - Multiple active operations on the same context instance are not supported. Use 'await' to ensure - that any asynchronous operations have completed before calling another method on this context. - - - The type of the elements of . - - A sequence of values to calculate the average of. - A projection function to apply to each element. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the average of the sequence of values. - - - - or - - is - null - . - - - - doesn't implement - - . - - - - - Bypasses a specified number of elements in a sequence and then returns the remaining elements. - - The type of the elements of source. - A sequence to return elements from. - An expression that evaluates to the number of elements to skip. - A sequence that contains elements that occur after the specified index in the - input sequence. - - - - Returns a specified number of contiguous elements from the start of a sequence. - - The type of the elements of source. - The sequence to return elements from. - An expression that evaluates to the number of elements - to return. - A sequence that contains the specified number of elements from the - start of the input sequence. - - - - Represents data in a geodetic (round earth) coordinate system. - - - - Gets the default coordinate system id (SRID) for geography values (WGS 84) - The default coordinate system id (SRID) for geography values (WGS 84) - - - Gets a representation of this DbGeography value that is specific to the underlying provider that constructed it. - A representation of this DbGeography value. - - - - Gets the spatial provider that will be used for operations on this spatial type. - - - - Gets or sets a data contract serializable well known representation of this DbGeography value. - A data contract serializable well known representation of this DbGeography value. - - - - Creates a new value based on the specified well known binary value. - - - A new DbGeography value as defined by the well known binary value with the default geography coordinate system identifier (SRID)( - - ). - - A byte array that contains a well known binary representation of the geography value. - - - - Creates a new value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new line value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new point value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new polygon value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Returns the multiline value from a binary value. - The multiline value from a binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multipoint value from a well-known binary value. - The multipoint value from a well-known binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multi polygon value from a well-known binary value. - The multi polygon well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new DbGeography value as defined by the GML value with the default geography coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geography value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the GML value with the specified coordinate system identifier. - A string that contains a Geography Markup Language (GML) representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new value based on the specified well known text value. - - - A new DbGeography value as defined by the well known text value with the default geography coordinate system identifier (SRID) ( - - ). - - A string that contains a well known text representation of the geography value. - - - - Creates a new value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new line value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new point value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - - Creates a new polygon value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Returns the multiline value from a well-known text value. - The multiline value from a well-known text value. - The well-known text. - The coordinate system identifier. - - - Returns the multipoint value from a well-known text value. - The multipoint value from a well-known text value. - The well-known text value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known text value. - The multi polygon value from a well-known text value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeography value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geography value. - The identifier of the coordinate system that the new DbGeography value should use. - - - Gets the identifier associated with the coordinate system. - The identifier associated with the coordinate system. - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of the given value. - - - - Gets the spatial type name of the DBGeography. - The spatial type name of the DBGeography. - - - Gets a nullable Boolean value indicating whether this DbGeography value is empty. - True if this DbGeography value is empty; otherwise, false. - - - Generates the well known text representation of this DbGeography value. Includes only Longitude and Latitude for points. - A string containing the well known text representation of this DbGeography value. - - - Generates the well known binary representation of this DbGeography value. - The well-known binary representation of this DbGeography value. - - - Generates the Geography Markup Language (GML) representation of this DbGeography value. - A string containing the GML representation of this DbGeography value. - - - Determines whether this DbGeography is spatially equal to the specified DbGeography argument. - true if other is spatially equal to this geography value; otherwise false. - The geography value that should be compared with this geography value for equality. - - - Determines whether this DbGeography is spatially disjoint from the specified DbGeography argument. - true if other is disjoint from this geography value; otherwise false. - The geography value that should be compared with this geography value for disjointness. - - - Determines whether this DbGeography value spatially intersects the specified DbGeography argument. - true if other intersects this geography value; otherwise false. - The geography value that should be compared with this geography value for intersection. - - - Returns a geography object that represents the union of all points whose distance from a geography instance is less than or equal to a specified value. - A geography object that represents the union of all points - The distance. - - - Computes the distance between the closest points in this DbGeography value and another DbGeography value. - A double value that specifies the distance between the two closest points in this geography value and other. - The geography value for which the distance from this value should be computed. - - - Computes the intersection of this DbGeography value and another DbGeography value. - A new DbGeography value representing the intersection between this geography value and other. - The geography value for which the intersection with this value should be computed. - - - Computes the union of this DbGeography value and another DbGeography value. - A new DbGeography value representing the union between this geography value and other. - The geography value for which the union with this value should be computed. - - - Computes the difference of this DbGeography value and another DbGeography value. - A new DbGeography value representing the difference between this geography value and other. - The geography value for which the difference with this value should be computed. - - - Computes the symmetric difference of this DbGeography value and another DbGeography value. - A new DbGeography value representing the symmetric difference between this geography value and other. - The geography value for which the symmetric difference with this value should be computed. - - - Gets the number of elements in this DbGeography value, if it represents a geography collection. <returns>The number of elements in this geography value, if it represents a collection of other geography values; otherwise null.</returns> - The number of elements in this DbGeography value. - - - Returns an element of this DbGeography value from a specific position, if it represents a geography collection. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a collection of other geography values; otherwise null.</returns> - An element of this DbGeography value from a specific position - The index. - - - Gets the Latitude coordinate of this DbGeography value, if it represents a point. <returns>The Latitude coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The Latitude coordinate of this DbGeography value. - - - Gets the Longitude coordinate of this DbGeography value, if it represents a point. <returns>The Longitude coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The Longitude coordinate of this DbGeography value. - - - Gets the elevation (Z coordinate) of this DbGeography value, if it represents a point. <returns>The elevation (Z coordinate) value of this geography value, if it represents a point; otherwise null.</returns> - The elevation (Z coordinate) of this DbGeography value. - - - Gets the M (Measure) coordinate of this DbGeography value, if it represents a point. <returns>The M (Measure) coordinate value of this geography value, if it represents a point; otherwise null.</returns> - The M (Measure) coordinate of this DbGeography value. - - - Gets a nullable double value that indicates the length of this DbGeography value, which may be null if this value does not represent a curve. - A nullable double value that indicates the length of this DbGeography value. - - - Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve. - A DbGeography value representing the start point of this value. - - - Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve. - A DbGeography value representing the start point of this value. - - - Gets a nullable Boolean value indicating whether this DbGeography value is closed, which may be null if this value does not represent a curve. - True if this DbGeography value is closed; otherwise, false. - - - Gets the number of points in this DbGeography value, if it represents a linestring or linear ring. <returns>The number of elements in this geography value, if it represents a linestring or linear ring; otherwise null.</returns> - The number of points in this DbGeography value. - - - Returns an element of this DbGeography value from a specific position, if it represents a linestring or linear ring. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a linestring or linear ring; otherwise null.</returns> - An element of this DbGeography value from a specific position - The index. - - - Gets a nullable double value that indicates the area of this DbGeography value, which may be null if this value does not represent a surface. - A nullable double value that indicates the area of this DbGeography value. - - - Returns a string representation of the geography value. - A string representation of the geography value. - - - - A data contract serializable representation of a value. - - - - Gets or sets the coordinate system identifier (SRID) of this value. - - - Gets or sets the well known text representation of this value. - - - Gets or sets the well known binary representation of this value. - - - - Represents geometric shapes. - - - - Gets the default coordinate system id (SRID) for geometry values. - The default coordinate system id (SRID) for geometry values. - - - Gets a representation of this DbGeometry value that is specific to the underlying provider that constructed it. - A representation of this DbGeometry value. - - - - Gets the spatial provider that will be used for operations on this spatial type. - - - - Gets or sets a data contract serializable well known representation of this DbGeometry value. - A data contract serializable well known representation of this DbGeometry value. - - - - Creates a new value based on the specified well known binary value. - - - A new DbGeometry value as defined by the well known binary value with the default geometry coordinate system identifier ( - - ). - - A byte array that contains a well known binary representation of the geometry value. - wellKnownBinary - - - - Creates a new value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - wellKnownBinary - coordinateSystemId - - - - Creates a new line value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - lineWellKnownBinary - coordinateSystemId - - - - Creates a new point value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - pointWellKnownBinary - coordinateSystemId - - - - Creates a new polygon value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - polygonWellKnownBinary - coordinateSystemId - - - Returns the multiline value from a binary value. - The multiline value from a binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multipoint value from a well-known binary value. - The multipoint value from a well-known binary value. - The well-known binary value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multipoint value from a well-known text value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known binary value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known binary value with the specified coordinate system identifier. - A byte array that contains a well known binary representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryCollectionWellKnownBinary - coordinateSystemId - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new DbGeometry value as defined by the GML value with the default geometry coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - geometryMarkup - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the GML value with the specified coordinate system identifier. - A string that contains a Geography Markup Language (GML) representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryMarkup - coordinateSystemId - - - - Creates a new value based on the specified well known text value. - - - A new DbGeometry value as defined by the well known text value with the default geometry coordinate system identifier (SRID) ( - - ). - - A string that contains a well known text representation of the geometry value. - wellKnownText - - - - Creates a new value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - wellKnownText - coordinateSystemId - - - - Creates a new line value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - lineWellKnownText - coordinateSystemId - - - - Creates a new point value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - pointWellKnownText - coordinateSystemId - - - - Creates a new polygon value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - polygonWellKnownText - coordinateSystemId - - - Returns the multiline value from a well-known text value. - The multiline value from a well-known text value. - The well-known text. - The coordinate system identifier. - - - Returns the multipoint value from a well-known text value. - The multipoint value from a well-known text value. - The well-known text value. - The coordinate system identifier. - - - Returns the multi polygon value from a well-known binary value. - The multi polygon value from a well-known binary value. - The multi polygon well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well known text value and coordinate system identifier (SRID). - - A new DbGeometry value as defined by the well known text value with the specified coordinate system identifier. - A string that contains a well known text representation of the geometry value. - The identifier of the coordinate system that the new DbGeometry value should use. - geometryCollectionWellKnownText - coordinateSystemId - - - Gets the coordinate system identifier of the DbGeometry object. - The coordinate system identifier of the DbGeometry object. - - - Gets the boundary of the DbGeometry objects. - The boundary of the DbGeometry objects. - - - - Gets the dimension of the given value or, if the value is a collection, the dimension of its largest element. - - - The dimension of the given value. - - - - Gets the envelope (minimum bounding box) of this DbGeometry value, as a geometry value. - The envelope (minimum bounding box) of this DbGeometry value. - - - Gets a spatial type name representation of this DbGeometry value. - A spatial type name representation of this DbGeometry value. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is empty, which may be null if this value does not represent a curve. - True if this DbGeometry value is empty; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is simple. - True if this DbGeometry value is simple; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is valid. - True if this DbGeometry value is valid; otherwise, false. - - - Generates the well known text representation of this DbGeometry value. Includes only X and Y coordinates for points. - A string containing the well known text representation of this DbGeometry value. - - - Generates the well known binary representation of this DbGeometry value. - The well-known binary representation of this DbGeometry value. - - - Generates the Geography Markup Language (GML) representation of this DbGeometry value. - A string containing the GML representation of this DbGeometry value. - - - Determines whether this DbGeometry is spatially equal to the specified DbGeometry argument. - true if other is spatially equal to this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for equality. - other - - - Determines whether this DbGeometry is spatially disjoint from the specified DbGeometry argument. - true if other is disjoint from this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for disjointness. - other - - - Determines whether this DbGeometry value spatially intersects the specified DbGeometry argument. - true if other intersects this geometry value; otherwise false. - The geometry value that should be compared with this geometry value for intersection. - other - - - Determines whether this DbGeometry value spatially touches the specified DbGeometry argument. - true if other touches this geometry value; otherwise false. - The geometry value that should be compared with this geometry value. - other - - - Determines whether this DbGeometry value spatially crosses the specified DbGeometry argument. - true if other crosses this geometry value; otherwise false. - The geometry value that should be compared with this geometry value. - other - - - Determines whether this DbGeometry value is spatially within the specified DbGeometry argument. - true if this geometry value is within other; otherwise false. - The geometry value that should be compared with this geometry value for containment. - other - - - Determines whether this DbGeometry value spatially contains the specified DbGeometry argument. - true if this geometry value contains other; otherwise false. - The geometry value that should be compared with this geometry value for containment. - other - - - Determines whether this DbGeometry value spatially overlaps the specified DbGeometry argument. - true if this geometry value overlaps other; otherwise false. - The geometry value that should be compared with this geometry value for overlap. - other - - - Determines whether this DbGeometry value spatially relates to the specified DbGeometry argument according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern. - true if this geometry value relates to other according to the specified intersection pattern matrix; otherwise false. - The geometry value that should be compared with this geometry value for relation. - A string that contains the text representation of the (DE-9IM) intersection pattern that defines the relation. - other - matrix - - - Returns a geometry object that represents the union of all points whose distance from a geometry instance is less than or equal to a specified value. - A geometry object that represents the union of all points. - The distance. - - - Computes the distance between the closest points in this DbGeometry value and another DbGeometry value. - A double value that specifies the distance between the two closest points in this geometry value and other. - The geometry value for which the distance from this value should be computed. - other - - - Gets the convex hull of this DbGeometry value as another DbGeometry value. - The convex hull of this DbGeometry value as another DbGeometry value. - - - Computes the intersection of this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the intersection between this geometry value and other. - The geometry value for which the intersection with this value should be computed. - other - - - Computes the union of this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the union between this geometry value and other. - The geometry value for which the union with this value should be computed. - other - - - Computes the difference between this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the difference between this geometry value and other. - The geometry value for which the difference with this value should be computed. - other - - - Computes the symmetric difference between this DbGeometry value and another DbGeometry value. - A new DbGeometry value representing the symmetric difference between this geometry value and other. - The geometry value for which the symmetric difference with this value should be computed. - other - - - Gets the number of elements in this DbGeometry value, if it represents a geometry collection. <returns>The number of elements in this geometry value, if it represents a collection of other geometry values; otherwise null.</returns> - The number of elements in this DbGeometry value. - - - Returns an element of this DbGeometry value from a specific position, if it represents a geometry collection. <param name="index">The position within this geometry value from which the element should be taken.</param><returns>The element in this geometry value at the specified position, if it represents a collection of other geometry values; otherwise null.</returns> - An element of this DbGeometry value from a specific position. - The index. - - - Gets the X coordinate of this DbGeometry value, if it represents a point. <returns>The X coordinate value of this geometry value, if it represents a point; otherwise null.</returns> - The X coordinate of this DbGeometry value. - - - Gets the Y coordinate of this DbGeometry value, if it represents a point. <returns>The Y coordinate value of this geometry value, if it represents a point; otherwise null.</returns> - The Y coordinate of this DbGeometry value. - - - Gets the elevation (Z coordinate) of this DbGeometry value, if it represents a point. <returns>The elevation (Z coordinate) of this geometry value, if it represents a point; otherwise null.</returns> - The elevation (Z coordinate) of this DbGeometry value. - - - Gets the Measure (M coordinate) of this DbGeometry value, if it represents a point. <returns>The Measure (M coordinate) value of this geometry value, if it represents a point; otherwise null.</returns> - The Measure (M coordinate) of this DbGeometry value. - - - Gets a nullable double value that indicates the length of this DbGeometry value, which may be null if this value does not represent a curve. - The length of this DbGeometry value. - - - Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve. - A DbGeometry value representing the start point of this value. - - - Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve. - A DbGeometry value representing the start point of this value. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is closed, which may be null if this value does not represent a curve. - True if this DbGeometry value is closed; otherwise, false. - - - Gets a nullable Boolean value indicating whether this DbGeometry value is a ring, which may be null if this value does not represent a curve. - True if this DbGeometry value is a ring; otherwise, false. - - - Gets the number of points in this DbGeometry value, if it represents a linestring or linear ring. <returns>The number of elements in this geometry value, if it represents a linestring or linear ring; otherwise null.</returns> - The number of points in this DbGeometry value. - - - Returns an element of this DbGeometry value from a specific position, if it represents a linestring or linear ring. <param name="index">The position within this geometry value from which the element should be taken.</param><returns>The element in this geometry value at the specified position, if it represents a linestring or linear ring; otherwise null.</returns> - An element of this DbGeometry value from a specific position. - The index. - - - Gets a nullable double value that indicates the area of this DbGeometry value, which may be null if this value does not represent a surface. - A nullable double value that indicates the area of this DbGeometry value. - - - Gets the DbGeometry value that represents the centroid of this DbGeometry value, which may be null if this value does not represent a surface. - The DbGeometry value that represents the centroid of this DbGeometry value. - - - Gets a point on the surface of this DbGeometry value, which may be null if this value does not represent a surface. - A point on the surface of this DbGeometry value. - - - Gets the DbGeometry value that represents the exterior ring of this DbGeometry value, which may be null if this value does not represent a polygon. - The DbGeometry value that represents the exterior ring of this DbGeometry value. - - - Gets the number of interior rings in this DbGeometry value, if it represents a polygon. <returns>The number of elements in this geometry value, if it represents a polygon; otherwise null.</returns> - The number of interior rings in this DbGeometry value. - - - Returns an interior ring from this DbGeometry value at a specific position, if it represents a polygon. <param name="index">The position within this geometry value from which the interior ring should be taken.</param><returns>The interior ring in this geometry value at the specified position, if it represents a polygon; otherwise null.</returns> - An interior ring from this DbGeometry value at a specific position. - The index. - - - Returns a string representation of the geometry value. - A string representation of the geometry value. - - - - A data contract serializable representation of a value. - - - - Gets or sets the coordinate system identifier (SRID) of this value. - - - Gets or sets the well known text representation of this value. - - - Gets or sets the well known binary representation of this value. - - - - A provider-independent service API for geospatial (Geometry/Geography) type support. - - - - - When implemented in derived types, reads an instance of from the column at the specified column ordinal. - - The instance of DbGeography at the specified column value - The ordinal of the column that contains the geography value - - - - Asynchronously reads an instance of from the column at the specified column ordinal. - - - Providers should override with an appropriate implementation. - The default implementation invokes the synchronous method and returns - a completed task, blocking the calling thread. - - The ordinal of the column that contains the geography value. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the instance of at the specified column value. - - - - - When implemented in derived types, reads an instance of from the column at the specified column ordinal. - - The instance of DbGeometry at the specified column value - The ordinal of the data record column that contains the provider-specific geometry data - - - - Asynchronously reads an instance of from the column at the specified column ordinal. - - - Providers should override with an appropriate implementation. - The default implementation invokes the synchronous method and returns - a completed task, blocking the calling thread. - - The ordinal of the data record column that contains the provider-specific geometry data. - - A to observe while waiting for the task to complete. - - - A task that represents the asynchronous operation. - The task result contains the instance of at the specified column value. - - - - - Returns whether the column at the specified column ordinal is of geography type - - The column ordinal. - - true if the column at the specified column ordinal is of geography type; - false otherwise. - - - - - Returns whether the column at the specified column ordinal is of geometry type - - The column ordinal. - - true if the column at the specified column ordinal is of geometry type; - false otherwise. - - - - - A provider-independent service API for geospatial (Geometry/Geography) type support. - - - - - Gets the default services for the . - - The default services. - - - - Override this property to allow the spatial provider to fail fast when native types or other - resources needed for the spatial provider to function correctly are not available. - The default value is true which means that EF will continue with the assumption - that the provider has the necessary types/resources rather than failing fast. - - - - - This method is intended for use by derived implementations of - - after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation. - - - A new instance that contains the specified providerValue and uses the specified spatialServices as its spatial implementation. - - - The spatial services instance that the returned value will depend on for its implementation of spatial functionality. - - The provider value. - - - - Creates a new value based on a provider-specific value that is compatible with this spatial services implementation. - - - A new value backed by this spatial services implementation and the specified provider value. - - A provider-specific value that this spatial services implementation is capable of interpreting as a geography value. - A new DbGeography value backed by this spatial services implementation and the specified provider value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known - - representation. - - A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation. - - An instance of that contains the well-known representation of a geography value. - - - - - Creates an instance of that represents the specified - - value using one or both of the standard well-known spatial formats. - - - The well-known representation of geographyValue, as a new - - . - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on the specified well-known binary value. - - - A new value as defined by the well-known binary value with the default - - coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - - - Creates a new value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known binary value and coordinate system identifier. - - - The new multiline value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known binary value and coordinate system identifier. - - - A new multipoint value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known binary value and coordinate system identifier. - - - A new multi polygon value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified well-known text value. - - - A new value as defined by the well-known text value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - - - Creates a new value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known text value and coordinate system identifier. - - - A new multiline value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known text value and coordinate system identifier. - - - A new multipoint value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known text value and coordinate system identifier. - - - A new multi polygon value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new value as defined by the GML value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a Geometry Markup Language (GML) representation of the geography value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - - A new value as defined by the GML value with the specified coordinate system identifier (SRID). - - A string that contains a Geometry Markup Language (GML) representation of the geography value. - - The identifier of the coordinate system that the new value should use. - - - - - Returns the coordinate system identifier of the given value. - - - The coordinate system identifier of the given value. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of geographyValue, or the largest element dimension if - - is a collection. - - The geography value for which the dimension value should be retrieved. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that indicates the spatial type name of the given - - value. - - - The spatial type name of the given value. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is empty. - - - True if the given value is empty; otherwise, false. - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known text representation of the given value. This value should include only the Longitude and Latitude of points. - - A string containing the well-known text representation of geographyValue. - The geography value for which the well-known text should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a text representation of with elevation and measure. - - - A text representation of . - - The geography value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known binary representation of the given value. - - - The well-known binary representation of the given value. - - The geography value for which the well-known binary should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Generates the Geography Markup Language (GML) representation of this - - value. - - A string containing the GML representation of this DbGeography value. - The geography value for which the GML should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially equal. - - true if geographyValue is spatially equal to otherGeography; otherwise false. - The first geography value to compare for equality. - The second geography value to compare for equality. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially disjoint. - - true if geographyValue is disjoint from otherGeography; otherwise false. - The first geography value to compare for disjointness. - The second geography value to compare for disjointness. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially intersect. - - true if geographyValue intersects otherGeography; otherwise false. - The first geography value to compare for intersection. - The second geography value to compare for intersection. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Creates a geography value representing all points less than or equal to distance from the given - - value. - - A new DbGeography value representing all points less than or equal to distance from geographyValue. - The geography value. - A double value specifying how far from geographyValue to buffer. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the distance between the closest points in two values. - - A double value that specifies the distance between the two closest points in geographyValue and otherGeography. - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the intersection of two values. - - - A new value representing the intersection of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the union of two values. - - - A new value representing the union of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the difference of two values. - - A new DbGeography value representing the difference of geographyValue and otherGeography. - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the symmetric difference of two values. - - - A new value representing the symmetric difference of geographyValue and otherGeography. - - The first geography value. - The second geography value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns the number of elements in the given value, if it represents a geography collection. - - The number of elements in geographyValue, if it represents a collection of other geography values; otherwise null. - The geography value, which need not represent a geography collection. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an element of the given value, if it represents a geography collection. - - The element in geographyValue at position index, if it represents a collection of other geography values; otherwise null. - The geography value, which need not represent a geography collection. - The position within the geography value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Latitude coordinate of the given value, if it represents a point. - - - The Latitude coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Longitude coordinate of the given value, if it represents a point. - - - The Longitude coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the elevation (Z coordinate) of the given value, if it represents a point. - - The elevation (Z coordinate) of geographyValue, if it represents a point; otherwise null. - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the M (Measure) coordinate of the given value, if it represents a point. - - - The M (Measure) coordinate of the given value. - - The geography value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the length of the given - - value, which may be null if the value does not represent a curve. - - - The length of the given value. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the start point of the given DbGeography value, which may be null if the value does not represent a curve. - - - The start point of the given value. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the end point of the given DbGeography value, which may be null if the value does not represent a curve. - - The end point of geographyValue, if it represents a curve; otherwise null. - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is closed, which may be null if the value does not represent a curve. - - - True if the given value is closed; otherwise, false. - - The geography value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of points in the given value, if it represents a linestring or linear ring. - - - The number of points in the given value. - - The geography value, which need not represent a linestring or linear ring. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a point element of the given value, if it represents a linestring or linear ring. - - The point in geographyValue at position index, if it represents a linestring or linear ring; otherwise null. - The geography value, which need not represent a linestring or linear ring. - The position within the geography value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the area of the given - - value, which may be null if the value does not represent a surface. - - - A nullable double value that indicates the area of the given value. - - The geography value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - This method is intended for use by derived implementations of - - after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation. - - - A new instance that contains the specified providerValue and uses the specified spatialServices as its spatial implementation. - - - The spatial services instance that the returned value will depend on for its implementation of spatial functionality. - - A provider value. - - - - Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known - - representation. - - A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation. - - An instance of that contains the well-known representation of a geometry value. - - - - - Creates an instance of that represents the specified - - value using one or both of the standard well-known spatial formats. - - - The well-known representation of geometryValue, as a new - - . - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on a provider-specific value that is compatible with this spatial services implementation. - - - A new value backed by this spatial services implementation and the specified provider value. - - A provider-specific value that this spatial services implementation is capable of interpreting as a geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Creates a new value based on the specified well-known binary value. - - - A new value as defined by the well-known binary value with the default - - coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - - - Creates a new value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known binary value and coordinate system identifier. - - - The new multiline value - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known binary value and coordinate system identifier. - - - A new multipoint value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known binary value and coordinate system identifier. - - - A new multi polygon value. - - The well-known binary value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known binary value and coordinate system identifier (SRID). - - - A new value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( - - ). - - A byte array that contains a well-known binary representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified well-known text value. - - - A new value as defined by the well-known text value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - - - Creates a new value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new line value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new point value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new polygon value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new multiline value based on the specified well-known text value and coordinate system identifier. - - - A new multiline value - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multipoint value based on the specified well-known text value and coordinate system identifier. - - - A new multipoint value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new multi polygon value based on the specified well-known text value and coordinate system identifier. - - - A new multi polygon value. - - The well-known text value. - The coordinate system identifier. - - - - Creates a new collection value based on the specified well-known text value and coordinate system identifier (SRID). - - - A new value as defined by the well-known text value with the specified coordinate system identifier (SRID) ( - - ). - - A string that contains a well-known text representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Creates a new value based on the specified Geography Markup Language (GML) value. - - - A new value as defined by the GML value with the default - - coordinate system identifier (SRID) ( - - ). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - - - - Creates a new value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). - - - A new value as defined by the GML value with the specified coordinate system identifier (SRID). - - A string that contains a Geography Markup Language (GML) representation of the geometry value. - - The identifier of the coordinate system that the new value should use. - - - - - Returns the coordinate system identifier of the given value. - - - The coordinate system identifier of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the boundary of the given - - value. - - - The boundary of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the dimension of the given value or, if the value is a collections, the largest element dimension. - - - The dimension of geometryValue, or the largest element dimension if - - is a collection. - - The geometry value for which the dimension value should be retrieved. - - - - Gets the envelope (minimum bounding box) of the given value, as a geometry value. - - - The envelope of geometryValue, as a value. - - The geometry value for which the envelope value should be retrieved. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that indicates the spatial type name of the given - - value. - - - The spatial type name of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is empty. - - - True if the given value is empty; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is simple. - - - True if the given value is simple; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is valid. - - - True if the given value is valid; otherwise, false. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known text representation of the given value, including only X and Y coordinates for points. - - A string containing the well-known text representation of geometryValue. - The geometry value for which the well-known text should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a text representation of with elevation and measure. - - - A text representation of with elevation and measure. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Gets the well-known binary representation of the given value. - - - The well-known binary representation of the given value. - - The geometry value for which the well-known binary should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Generates the Geography Markup Language (GML) representation of this - - value. - - A string containing the GML representation of this DbGeometry value. - The geometry value for which the GML should be generated. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially equal. - - true if geometryValue is spatially equal to otherGeometry; otherwise false. - The first geometry value to compare for equality. - The second geometry value to compare for equality. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially disjoint. - - true if geometryValue is disjoint from otherGeometry; otherwise false. - The first geometry value to compare for disjointness. - The second geometry value to compare for disjointness. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially intersect. - - true if geometryValue intersects otherGeometry; otherwise false. - The first geometry value to compare for intersection. - The second geometry value to compare for intersection. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially touch. - - true if geometryValue touches otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially cross. - - true if geometryValue crosses otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether one value is spatially within the other. - - true if geometryValue is within otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether one value spatially contains the other. - - true if geometryValue contains otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values spatially overlap. - - true if geometryValue overlaps otherGeometry; otherwise false. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Determines whether the two given values are spatially related according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern. - - true if this geometryValue value relates to otherGeometry according to the specified intersection pattern matrix; otherwise false. - The first geometry value. - The geometry value that should be compared with the first geometry value for relation. - A string that contains the text representation of the (DE-9IM) intersection pattern that defines the relation. - - - , - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Creates a geometry value representing all points less than or equal to distance from the given - - value. - - A new DbGeometry value representing all points less than or equal to distance from geometryValue. - The geometry value. - A double value specifying how far from geometryValue to buffer. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the distance between the closest points in two values. - - A double value that specifies the distance between the two closest points in geometryValue and otherGeometry. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the convex hull of the given - - value. - - - The convex hull of the given value. - - The geometry value. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Computes the intersection of two values. - - - A new value representing the intersection of geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the union of two values. - - - A new value representing the union of geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the difference between two values. - - A new DbGeometry value representing the difference between geometryValue and otherGeometry. - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Computes the symmetric difference between two values. - - - A new value representing the symmetric difference between geometryValue and otherGeometry. - - The first geometry value. - The second geometry value. - - - or - - is null. - - - - or - - is not compatible with this spatial services implementation. - - - - - Returns the number of elements in the given value, if it represents a geometry collection. - - The number of elements in geometryValue, if it represents a collection of other geometry values; otherwise null. - The geometry value, which need not represent a geometry collection. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an element of the given value, if it represents a geometry collection. - - The element in geometryValue at position index, if it represents a collection of other geometry values; otherwise null. - The geometry value, which need not represent a geometry collection. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the X coordinate of the given value, if it represents a point. - - - The X coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the Y coordinate of the given value, if it represents a point. - - - The Y coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the elevation (Z) of the given value, if it represents a point. - - The elevation (Z) of geometryValue, if it represents a point; otherwise null. - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the M (Measure) coordinate of the given value, if it represents a point. - - - The M (Measure) coordinate of the given value. - - The geometry value, which need not represent a point. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the length of the given - - value, which may be null if the value does not represent a curve. - - - The length of the given value. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the start point of the given DbGeometry value, which may be null if the value does not represent a curve. - - - The start point of the given value. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the end point of the given DbGeometry value, which may be null if the value does not represent a curve. - - The end point of geometryValue, if it represents a curve; otherwise null. - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is closed, which may be null if the value does not represent a curve. - - - True if the given value is closed; otherwise, false. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable Boolean value that whether the given value is a ring, which may be null if the value does not represent a curve. - - - True if the given value is a ring; otherwise, false. - - The geometry value, which need not represent a curve. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of points in the given value, if it represents a linestring or linear ring. - - - The number of points in the given value. - - The geometry value, which need not represent a linestring or linear ring. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a point element of the given value, if it represents a linestring or linear ring. - - The point in geometryValue at position index, if it represents a linestring or linear ring; otherwise null. - The geometry value, which need not represent a linestring or linear ring. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a nullable double value that indicates the area of the given - - value, which may be null if the value does not represent a surface. - - - A nullable double value that indicates the area of the given value. - - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the centroid of the given DbGeometry value, which may be null if the value does not represent a surface. - - The centroid of geometryValue, if it represents a surface; otherwise null. - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents a point on the surface of the given DbGeometry value, which may be null if the value does not represent a surface. - - - A value that represents a point on the surface of the given DbGeometry value. - - The geometry value, which need not represent a surface. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns a value that represents the exterior ring of the given DbGeometry value, which may be null if the value does not represent a polygon. - - A DbGeometry value representing the exterior ring on geometryValue, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns the number of interior rings in the given value, if it represents a polygon. - - The number of elements in geometryValue, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Returns an interior ring from the given value, if it represents a polygon. - - The interior ring in geometryValue at position index, if it represents a polygon; otherwise null. - The geometry value, which need not represent a polygon. - The position within the geometry value from which the element should be taken. - - - is null. - - - - is not compatible with this spatial services implementation. - - - - - Controls the transaction creation behavior while executing a database command or query. - - - - - If no transaction is present then a new transaction will be used for the operation. - - - - - If an existing transaction is present then use it, otherwise execute the command or query without a transaction. - - - - - Contains extension methods for the class. - - - - - Configures an awaiter used to await this to avoid - marshalling the continuation - back to the original context, but preserve the current culture and UI culture. - - - The type of the result produced by the associated . - - The task to be awaited on. - An object used to await this task. - - - - Configures an awaiter used to await this to avoid - marshalling the continuation - back to the original context, but preserve the current culture and UI culture. - - The task to be awaited on. - An object used to await this task. - - - - Provides an awaitable object that allows for awaits on that - preserve the culture. - - - The type of the result produced by the associated . - - This type is intended for compiler use only. - - - - Constructs a new instance of the class. - - The task to be awaited on. - - - Gets an awaiter used to await this . - An awaiter instance. - This method is intended for compiler user rather than use directly in code. - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - Ends the await on the completed . - The result of the completed . - The awaiter was not properly initialized. - The task was canceled. - The task completed in a Faulted state. - - - This method is not implemented and should not be called. - The action to invoke when the await operation completes. - - - - Schedules the continuation onto the associated with this - . - - The action to invoke when the await operation completes. - - The argument is null - (Nothing in Visual Basic). - - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - - Provides an awaitable object that allows for awaits on that - preserve the culture. - - This type is intended for compiler use only. - - - - Constructs a new instance of the class. - - The task to be awaited on. - - - Gets an awaiter used to await this . - An awaiter instance. - This method is intended for compiler user rather than use directly in code. - - - - Gets whether this Task has completed. - - - will return true when the Task is in one of the three - final states: RanToCompletion, - Faulted, or - Canceled. - - - - Ends the await on the completed . - The awaiter was not properly initialized. - The task was canceled. - The task completed in a Faulted state. - - - This method is not implemented and should not be called. - The action to invoke when the await operation completes. - - - - Schedules the continuation onto the associated with this - . - - The action to invoke when the await operation completes. - - The argument is null - (Nothing in Visual Basic). - - The awaiter was not properly initialized. - This method is intended for compiler user rather than use directly in code. - - - - Exception thrown from when validating entities fails. - - - - - Initializes a new instance of DbEntityValidationException. - - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - Validation results. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - The inner exception. - - - - Initializes a new instance of DbEntityValidationException. - - The exception message. - Validation results. - The inner exception. - - - - Initializes a new instance of the DbEntityValidationException class with the specified serialization information and context. - - The data necessary to serialize or deserialize an object. - Description of the source and destination of the specified serialized stream. - - - - Validation results. - - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - Represents validation results for single entity. - - - - - Creates an instance of class. - - Entity entry the results applies to. Never null. - - List of instances. Never null. Can be empty meaning the entity is valid. - - - - - Gets an instance of the results applies to. - - - - - Gets validation errors. Never null. - - - - - Gets an indicator if the entity is valid. - - - - - Exception thrown from when an exception is thrown from the validation - code. - - - - - Initializes a new instance of DbUnexpectedValidationException. - - - - - Initializes a new instance of DbUnexpectedValidationException. - - The exception message. - - - - Initializes a new instance of DbUnexpectedValidationException. - - The exception message. - The inner exception. - - - - Initializes a new instance of DbUnexpectedValidationException with the specified serialization info and - context. - - The serialization info. - The streaming context. - - - - Validation error. Can be either entity or property level validation error. - - - - - Creates an instance of . - - Name of the invalid property. Can be null. - Validation error message. Can be null. - - - - Gets name of the invalid property. - - - - - Gets validation error message. - - - - - When this attribute is placed on a property it indicates that the database column to which the - property is mapped has an index. - - - This attribute is used by Entity Framework Migrations to create indexes on mapped database columns. - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - Creates a instance for an index that will be named by convention and - has no column order, clustering, or uniqueness specified. - - - - - Creates a instance for an index with the given name and - has no column order, clustering, or uniqueness specified. - - The index name. - - - - Creates a instance for an index with the given name and column order, - but with no clustering or uniqueness specified. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - The index name. - A number which will be used to determine column ordering for multi-column indexes. - - - - The index name. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - A number which will be used to determine column ordering for multi-column indexes. This will be -1 if no - column order has been specified. - - - Multi-column indexes are created by using the same index name in multiple attributes. The information - in these attributes is then merged together to specify the actual database index. - - - - - Set this property to true to define a clustered index. Set this property to false to define a - non-clustered index. - - - The value of this property is only relevant if returns true. - If returns false, then the value of this property is meaningless. - - - - - Returns true if has been set to a value. - - - - - Set this property to true to define a unique index. Set this property to false to define a - non-unique index. - - - The value of this property is only relevant if returns true. - If returns false, then the value of this property is meaningless. - - - - - Returns true if has been set to a value. - - - - - Returns a different ID for each object instance such that type descriptors won't - attempt to combine all IndexAttribute instances into a single instance. - - - - - Returns true if this attribute specifies the same name and configuration as the given attribute. - - The attribute to compare. - True if the other object is equal to this object; otherwise false. - - - - - - - Returns true if this attribute specifies the same name and configuration as the given attribute. - - The attribute to compare. - True if the other object is equal to this object; otherwise false. - - - - - - diff --git a/app/packages/EntityFramework.6.4.4/tools/EntityFramework6.PS2.psd1 b/app/packages/EntityFramework.6.4.4/tools/EntityFramework6.PS2.psd1 deleted file mode 100644 index 22f369c..0000000 --- a/app/packages/EntityFramework.6.4.4/tools/EntityFramework6.PS2.psd1 +++ /dev/null @@ -1,285 +0,0 @@ -# -# Module manifest for module 'EntityFramework6.PS2' -# - -@{ - -# Script module or binary module file associated with this manifest -ModuleToProcess = 'EntityFramework6.PS2.psm1' - -# Version number of this module. -ModuleVersion = '6.4.4' - -# ID used to uniquely identify this module -GUID = 'a0032654-4b7b-4934-ae70-4036796a7318' - -# Author of this module -Author = 'Entity Framework Team' - -# Company or vendor of this module -CompanyName = 'Microsoft Corporation' - -# Copyright statement for this module -Copyright = '(c) Microsoft Corporation. All rights reserved.' - -# Description of the functionality provided by this module -Description = 'EntityFramework PowerShell module for use within NuGet''s Package Manager Console' - -# Minimum version of the Windows PowerShell engine required by this module -PowerShellVersion = '2.0' - -# Name of the Windows PowerShell host required by this module -PowerShellHostName = 'Package Manager Host' - -# Minimum version of the Windows PowerShell host required by this module -PowerShellHostVersion = '1.2' - -# Minimum version of the .NET Framework required by this module -DotNetFrameworkVersion = '4.0' - -# Minimum version of the common language runtime (CLR) required by this module -CLRVersion = '' - -# Processor architecture (None, X86, Amd64, IA64) required by this module -ProcessorArchitecture = '' - -# Modules that must be imported into the global environment prior to importing this module -RequiredModules = @() - -# Assemblies that must be loaded prior to importing this module -RequiredAssemblies = @() - -# Script files (.ps1) that are run in the caller's environment prior to importing this module -ScriptsToProcess = @() - -# Type files (.ps1xml) to be loaded when importing this module -TypesToProcess = @() - -# Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = @() - -# Modules to import as nested modules of the module specified in ModuleToProcess -NestedModules = @() - -# Functions to export from this module -FunctionsToExport = ( - 'Add-EFDefaultConnectionFactory', - 'Add-EFProvider', - 'Add-Migration', - 'Enable-Migrations', - 'Get-Migrations', - 'Update-Database' -) - -# Cmdlets to export from this module -CmdletsToExport = @() - -# Variables to export from this module -VariablesToExport = '*' - -# Aliases to export from this module -AliasesToExport = @() - -# List of all modules packaged with this module -ModuleList = @() - -# List of all files packaged with this module -FileList = @() - -# Private data to pass to the module specified in ModuleToProcess -PrivateData = '' - -} - -# SIG # Begin signature block -# MIIjhgYJKoZIhvcNAQcCoIIjdzCCI3MCAQExDzANBglghkgBZQMEAgEFADB5Bgor -# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG -# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBtmRvdCYX3xCDe -# VH8jmb7pD7R4fhg2kAnOhieN7cYgH6CCDYEwggX/MIID56ADAgECAhMzAAABUZ6N -# j0Bxow5BAAAAAAFRMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD -# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p -# bmcgUENBIDIwMTEwHhcNMTkwNTAyMjEzNzQ2WhcNMjAwNTAyMjEzNzQ2WjB0MQsw -# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u -# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB -# AQCVWsaGaUcdNB7xVcNmdfZiVBhYFGcn8KMqxgNIvOZWNH9JYQLuhHhmJ5RWISy1 -# oey3zTuxqLbkHAdmbeU8NFMo49Pv71MgIS9IG/EtqwOH7upan+lIq6NOcw5fO6Os -# +12R0Q28MzGn+3y7F2mKDnopVu0sEufy453gxz16M8bAw4+QXuv7+fR9WzRJ2CpU -# 62wQKYiFQMfew6Vh5fuPoXloN3k6+Qlz7zgcT4YRmxzx7jMVpP/uvK6sZcBxQ3Wg -# B/WkyXHgxaY19IAzLq2QiPiX2YryiR5EsYBq35BP7U15DlZtpSs2wIYTkkDBxhPJ -# IDJgowZu5GyhHdqrst3OjkSRAgMBAAGjggF+MIIBejAfBgNVHSUEGDAWBgorBgEE -# AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQUV4Iarkq57esagu6FUBb270Zijc8w -# UAYDVR0RBEkwR6RFMEMxKTAnBgNVBAsTIE1pY3Jvc29mdCBPcGVyYXRpb25zIFB1 -# ZXJ0byBSaWNvMRYwFAYDVQQFEw0yMzAwMTIrNDU0MTM1MB8GA1UdIwQYMBaAFEhu -# ZOVQBdOCqhc3NyK1bajKdQKVMFQGA1UdHwRNMEswSaBHoEWGQ2h0dHA6Ly93d3cu -# bWljcm9zb2Z0LmNvbS9wa2lvcHMvY3JsL01pY0NvZFNpZ1BDQTIwMTFfMjAxMS0w -# Ny0wOC5jcmwwYQYIKwYBBQUHAQEEVTBTMFEGCCsGAQUFBzAChkVodHRwOi8vd3d3 -# Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NlcnRzL01pY0NvZFNpZ1BDQTIwMTFfMjAx -# MS0wNy0wOC5jcnQwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQsFAAOCAgEAWg+A -# rS4Anq7KrogslIQnoMHSXUPr/RqOIhJX+32ObuY3MFvdlRElbSsSJxrRy/OCCZdS -# se+f2AqQ+F/2aYwBDmUQbeMB8n0pYLZnOPifqe78RBH2fVZsvXxyfizbHubWWoUf -# NW/FJlZlLXwJmF3BoL8E2p09K3hagwz/otcKtQ1+Q4+DaOYXWleqJrJUsnHs9UiL -# crVF0leL/Q1V5bshob2OTlZq0qzSdrMDLWdhyrUOxnZ+ojZ7UdTY4VnCuogbZ9Zs -# 9syJbg7ZUS9SVgYkowRsWv5jV4lbqTD+tG4FzhOwcRQwdb6A8zp2Nnd+s7VdCuYF -# sGgI41ucD8oxVfcAMjF9YX5N2s4mltkqnUe3/htVrnxKKDAwSYliaux2L7gKw+bD -# 1kEZ/5ozLRnJ3jjDkomTrPctokY/KaZ1qub0NUnmOKH+3xUK/plWJK8BOQYuU7gK -# YH7Yy9WSKNlP7pKj6i417+3Na/frInjnBkKRCJ/eYTvBH+s5guezpfQWtU4bNo/j -# 8Qw2vpTQ9w7flhH78Rmwd319+YTmhv7TcxDbWlyteaj4RK2wk3pY1oSz2JPE5PNu -# Nmd9Gmf6oePZgy7Ii9JLLq8SnULV7b+IP0UXRY9q+GdRjM2AEX6msZvvPCIoG0aY -# HQu9wZsKEK2jqvWi8/xdeeeSI9FN6K1w4oVQM4Mwggd6MIIFYqADAgECAgphDpDS -# AAAAAAADMA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMK -# V2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0 -# IENvcnBvcmF0aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0 -# ZSBBdXRob3JpdHkgMjAxMTAeFw0xMTA3MDgyMDU5MDlaFw0yNjA3MDgyMTA5MDla -# MH4xCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdS -# ZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMT -# H01pY3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBIDIwMTEwggIiMA0GCSqGSIb3DQEB -# AQUAA4ICDwAwggIKAoICAQCr8PpyEBwurdhuqoIQTTS68rZYIZ9CGypr6VpQqrgG -# OBoESbp/wwwe3TdrxhLYC/A4wpkGsMg51QEUMULTiQ15ZId+lGAkbK+eSZzpaF7S -# 35tTsgosw6/ZqSuuegmv15ZZymAaBelmdugyUiYSL+erCFDPs0S3XdjELgN1q2jz -# y23zOlyhFvRGuuA4ZKxuZDV4pqBjDy3TQJP4494HDdVceaVJKecNvqATd76UPe/7 -# 4ytaEB9NViiienLgEjq3SV7Y7e1DkYPZe7J7hhvZPrGMXeiJT4Qa8qEvWeSQOy2u -# M1jFtz7+MtOzAz2xsq+SOH7SnYAs9U5WkSE1JcM5bmR/U7qcD60ZI4TL9LoDho33 -# X/DQUr+MlIe8wCF0JV8YKLbMJyg4JZg5SjbPfLGSrhwjp6lm7GEfauEoSZ1fiOIl -# XdMhSz5SxLVXPyQD8NF6Wy/VI+NwXQ9RRnez+ADhvKwCgl/bwBWzvRvUVUvnOaEP -# 6SNJvBi4RHxF5MHDcnrgcuck379GmcXvwhxX24ON7E1JMKerjt/sW5+v/N2wZuLB -# l4F77dbtS+dJKacTKKanfWeA5opieF+yL4TXV5xcv3coKPHtbcMojyyPQDdPweGF -# RInECUzF1KVDL3SV9274eCBYLBNdYJWaPk8zhNqwiBfenk70lrC8RqBsmNLg1oiM -# CwIDAQABo4IB7TCCAekwEAYJKwYBBAGCNxUBBAMCAQAwHQYDVR0OBBYEFEhuZOVQ -# BdOCqhc3NyK1bajKdQKVMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsGA1Ud -# DwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFHItOgIxkEO5FAVO -# 4eqnxzHRI4k0MFoGA1UdHwRTMFEwT6BNoEuGSWh0dHA6Ly9jcmwubWljcm9zb2Z0 -# LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dDIwMTFfMjAxMV8wM18y -# Mi5jcmwwXgYIKwYBBQUHAQEEUjBQME4GCCsGAQUFBzAChkJodHRwOi8vd3d3Lm1p -# Y3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY1Jvb0NlckF1dDIwMTFfMjAxMV8wM18y -# Mi5jcnQwgZ8GA1UdIASBlzCBlDCBkQYJKwYBBAGCNy4DMIGDMD8GCCsGAQUFBwIB -# FjNodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2RvY3MvcHJpbWFyeWNw -# cy5odG0wQAYIKwYBBQUHAgIwNB4yIB0ATABlAGcAYQBsAF8AcABvAGwAaQBjAHkA -# XwBzAHQAYQB0AGUAbQBlAG4AdAAuIB0wDQYJKoZIhvcNAQELBQADggIBAGfyhqWY -# 4FR5Gi7T2HRnIpsLlhHhY5KZQpZ90nkMkMFlXy4sPvjDctFtg/6+P+gKyju/R6mj -# 82nbY78iNaWXXWWEkH2LRlBV2AySfNIaSxzzPEKLUtCw/WvjPgcuKZvmPRul1LUd -# d5Q54ulkyUQ9eHoj8xN9ppB0g430yyYCRirCihC7pKkFDJvtaPpoLpWgKj8qa1hJ -# Yx8JaW5amJbkg/TAj/NGK978O9C9Ne9uJa7lryft0N3zDq+ZKJeYTQ49C/IIidYf -# wzIY4vDFLc5bnrRJOQrGCsLGra7lstnbFYhRRVg4MnEnGn+x9Cf43iw6IGmYslmJ -# aG5vp7d0w0AFBqYBKig+gj8TTWYLwLNN9eGPfxxvFX1Fp3blQCplo8NdUmKGwx1j -# NpeG39rz+PIWoZon4c2ll9DuXWNB41sHnIc+BncG0QaxdR8UvmFhtfDcxhsEvt9B -# xw4o7t5lL+yX9qFcltgA1qFGvVnzl6UJS0gQmYAf0AApxbGbpT9Fdx41xtKiop96 -# eiL6SJUfq/tHI4D1nvi/a7dLl+LrdXga7Oo3mXkYS//WsyNodeav+vyL6wuA6mk7 -# r/ww7QRMjt/fdW1jkT3RnVZOT7+AVyKheBEyIXrvQQqxP/uozKRdwaGIm1dxVk5I -# RcBCyZt2WwqASGv9eZ/BvW1taslScxMNelDNMYIVWzCCFVcCAQEwgZUwfjELMAkG -# A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQx -# HjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEoMCYGA1UEAxMfTWljcm9z -# b2Z0IENvZGUgU2lnbmluZyBQQ0EgMjAxMQITMwAAAVGejY9AcaMOQQAAAAABUTAN -# BglghkgBZQMEAgEFAKCBrjAZBgkqhkiG9w0BCQMxDAYKKwYBBAGCNwIBBDAcBgor -# BgEEAYI3AgELMQ4wDAYKKwYBBAGCNwIBFTAvBgkqhkiG9w0BCQQxIgQgz60fp058 -# XyyeVmKwwdlMs+REHQB8qGMA7ivdq70W2+AwQgYKKwYBBAGCNwIBDDE0MDKgFIAS -# AE0AaQBjAHIAbwBzAG8AZgB0oRqAGGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbTAN -# BgkqhkiG9w0BAQEFAASCAQBdwOCELvy68v2IaSclsVm56UcXxALSDvvSAvQheCAK -# uRYBsMV/I9XAW0/Oc/KMGUmRKsEZvdLSK8kHpPIDgLbhRcxRxY38XBjPH1MSQ43A -# b+8ubwboYGs75NWxUkP3rQhFy0KwtrGGBwOcc8P1/HhIEiTJYX7252VuacR5Kdp+ -# TbshECu6h6Q+XF8bJrPeZ4o6bjZOdJ6kyS/j+WTOeJywNuZXTwkAkZIPyS8OTXHf -# wsTeJvzQDTqO2Oydoa8lnDwUTCKe5pohpOOY3TUGutjafJc3atsmINKC5O0bUM3V -# aXhBCXmY8cSd3YrFgWMraP25DhsyyT/uDrlNjk6cclrQoYIS5TCCEuEGCisGAQQB -# gjcDAwExghLRMIISzQYJKoZIhvcNAQcCoIISvjCCEroCAQMxDzANBglghkgBZQME -# AgEFADCCAVEGCyqGSIb3DQEJEAEEoIIBQASCATwwggE4AgEBBgorBgEEAYRZCgMB -# MDEwDQYJYIZIAWUDBAIBBQAEIBdNh9PEYObquVr8yumuEvN8c0Aju1X33+9OxJlI -# RZfIAgZegg4Kdp8YEzIwMjAwNDE2MjIxMzQ3LjI0NFowBIACAfSggdCkgc0wgcox -# CzAJBgNVBAYTAlVTMQswCQYDVQQIEwJXQTEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG -# A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQg -# SXJlbGFuZCBPcGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1Mg -# RVNOOjJBRDQtNEI5Mi1GQTAxMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFt -# cCBTZXJ2aWNloIIOPDCCBPEwggPZoAMCAQICEzMAAAEIff9FWXBF+oQAAAAAAQgw -# DQYJKoZIhvcNAQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0 -# b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3Jh -# dGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcN -# MTkxMDIzMjMxOTEzWhcNMjEwMTIxMjMxOTEzWjCByjELMAkGA1UEBhMCVVMxCzAJ -# BgNVBAgTAldBMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQg -# Q29ycG9yYXRpb24xLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9wZXJhdGlv -# bnMgTGltaXRlZDEmMCQGA1UECxMdVGhhbGVzIFRTUyBFU046MkFENC00QjkyLUZB -# MDExJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2UwggEiMA0G -# CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC5E4jLyHDxZk05wGziyso3t6RNRL6/ -# vG1sZeC01Kl5BnaWNXfUAyhr8CuThyyjwQ7YfYiZ+F+zEHh3wM2KHmwPyl4CPCUg -# ZLIXmy02+xusq9mMmh3R5N5yup6NrvDftP4HgRLOXTAy8LbrP1A573a2Jinpfa8U -# sO2iEmHBTivFrFHYN4UAdbrMI6ls9ZyMHnph6oMw5QJSDfh99u4yGDNYFa5N89kF -# 4mrcMFF3lvDmb95hn4BLi+mUa/hj7ok7gyscK+GI5J3n8XNLCNKbszHyvuIrHfVJ -# l+lqW8aRydJfrn1Pi5/lh/5GcBpeoBQAjYrPLxocpTlf1VS1/8TocGgLAgMBAAGj -# ggEbMIIBFzAdBgNVHQ4EFgQU85RiSQuUCJR0KryRPfMVQ8K+AFQwHwYDVR0jBBgw -# FoAU1WM6XIoxkPNDe3xGG8UzaFqFbVUwVgYDVR0fBE8wTTBLoEmgR4ZFaHR0cDov -# L2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwvcHJvZHVjdHMvTWljVGltU3RhUENB -# XzIwMTAtMDctMDEuY3JsMFoGCCsGAQUFBwEBBE4wTDBKBggrBgEFBQcwAoY+aHR0 -# cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWNUaW1TdGFQQ0FfMjAx -# MC0wNy0wMS5jcnQwDAYDVR0TAQH/BAIwADATBgNVHSUEDDAKBggrBgEFBQcDCDAN -# BgkqhkiG9w0BAQsFAAOCAQEAeHkZLhdho+Jm0M2d2nfjwT/CBDO/PtS13eyvm722 -# J4bqN1Kl26z+T65lxhPxBisJmSI39itM61F6U9FdmcxM9joxleIH7SeTpZMZOm+x -# 4kyF2GdywALg93RYPcdYj/91/MFsdk8/YPI8cFUPwN7P0nucgy3SvVD462WMPI76 -# T8+bQMb8XsuiGYObZ0xH1SqsJntKA0SO8gREuXiLm7BZuGFCHn5mcEjy54z4j+o2 -# 9nk21sKPzqhdQTDIav8WZtJTXVCkMMDfZVoUSP7ha8xzUTdfSMUAEmsgc4SJ2lN2 -# bjWo1KQ1dLFB+D6PCWo+y3bcpVlfoot07xoeCNAk4DrdlTCCBnEwggRZoAMCAQIC -# CmEJgSoAAAAAAAIwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYD -# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jvc29mdCBSb290IENlcnRp -# ZmljYXRlIEF1dGhvcml0eSAyMDEwMB4XDTEwMDcwMTIxMzY1NVoXDTI1MDcwMTIx -# NDY1NVowfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV -# BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG -# A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwggEiMA0GCSqGSIb3 -# DQEBAQUAA4IBDwAwggEKAoIBAQCpHQ28dxGKOiDs/BOX9fp/aZRrdFQQ1aUKAIKF -# ++18aEssX8XD5WHCdrc+Zitb8BVTJwQxH0EbGpUdzgkTjnxhMFmxMEQP8WCIhFRD -# DNdNuDgIs0Ldk6zWczBXJoKjRQ3Q6vVHgc2/JGAyWGBG8lhHhjKEHnRhZ5FfgVSx -# z5NMksHEpl3RYRNuKMYa+YaAu99h/EbBJx0kZxJyGiGKr0tkiVBisV39dx898Fd1 -# rL2KQk1AUdEPnAY+Z3/1ZsADlkR+79BL/W7lmsqxqPJ6Kgox8NpOBpG2iAg16Hgc -# sOmZzTznL0S6p/TcZL2kAcEgCZN4zfy8wMlEXV4WnAEFTyJNAgMBAAGjggHmMIIB -# 4jAQBgkrBgEEAYI3FQEEAwIBADAdBgNVHQ4EFgQU1WM6XIoxkPNDe3xGG8UzaFqF -# bVUwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMA8GA1Ud -# EwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU1fZWy4/oolxiaNE9lJBb186aGMQwVgYD -# VR0fBE8wTTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwv -# cHJvZHVjdHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3JsMFoGCCsGAQUFBwEB -# BE4wTDBKBggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9j -# ZXJ0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcnQwgaAGA1UdIAEB/wSBlTCB -# kjCBjwYJKwYBBAGCNy4DMIGBMD0GCCsGAQUFBwIBFjFodHRwOi8vd3d3Lm1pY3Jv -# c29mdC5jb20vUEtJL2RvY3MvQ1BTL2RlZmF1bHQuaHRtMEAGCCsGAQUFBwICMDQe -# MiAdAEwAZQBnAGEAbABfAFAAbwBsAGkAYwB5AF8AUwB0AGEAdABlAG0AZQBuAHQA -# LiAdMA0GCSqGSIb3DQEBCwUAA4ICAQAH5ohRDeLG4Jg/gXEDPZ2joSFvs+umzPUx -# vs8F4qn++ldtGTCzwsVmyWrf9efweL3HqJ4l4/m87WtUVwgrUYJEEvu5U4zM9GAS -# inbMQEBBm9xcF/9c+V4XNZgkVkt070IQyK+/f8Z/8jd9Wj8c8pl5SpFSAK84Dxf1 -# L3mBZdmptWvkx872ynoAb0swRCQiPM/tA6WWj1kpvLb9BOFwnzJKJ/1Vry/+tuWO -# M7tiX5rbV0Dp8c6ZZpCM/2pif93FSguRJuI57BlKcWOdeyFtw5yjojz6f32WapB4 -# pm3S4Zz5Hfw42JT0xqUKloakvZ4argRCg7i1gJsiOCC1JeVk7Pf0v35jWSUPei45 -# V3aicaoGig+JFrphpxHLmtgOR5qAxdDNp9DvfYPw4TtxCd9ddJgiCGHasFAeb73x -# 4QDf5zEHpJM692VHeOj4qEir995yfmFrb3epgcunCaw5u+zGy9iCtHLNHfS4hQEe -# gPsbiSpUObJb2sgNVZl6h3M7COaYLeqN4DMuEin1wC9UJyH3yKxO2ii4sanblrKn -# QqLJzxlBTeCG+SqaoxFmMNO7dDJL32N79ZmKLxvHIa9Zta7cRDyXUHHXodLFVeNp -# 3lfB0d4wwP3M5k37Db9dT+mdHhk4L7zPWAUu7w2gUDXa7wknHNWzfjUeCLraNtvT -# X4/edIhJEqGCAs4wggI3AgEBMIH4oYHQpIHNMIHKMQswCQYDVQQGEwJVUzELMAkG -# A1UECBMCV0ExEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD -# b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u -# cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoyQUQ0LTRCOTItRkEw -# MTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIjCgEBMAcG -# BSsOAwIaAxUAiOLRN/zGucSkQ6IL4N/BU+T20AyggYMwgYCkfjB8MQswCQYDVQQG -# EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG -# A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQg -# VGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOJC9bwwIhgPMjAy -# MDA0MTYyMzE4MjBaGA8yMDIwMDQxNzIzMTgyMFowdzA9BgorBgEEAYRZCgQBMS8w -# LTAKAgUA4kL1vAIBADAKAgEAAgILYwIB/zAHAgEAAgIRyjAKAgUA4kRHPAIBADA2 -# BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQowCAIB -# AAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBACFSC8/CfU//GIBBV+FnkFAE00aqFZqt -# xOGhY9HXfvRjDhpQv98IoQnJ6tAIzceIRuBzaES5KtEvmNYRuv0a+IYjzawx3sV5 -# Ir62AV/dQYSGfJFERvZdMVNk0COKYLAxE1AJcM3Cr7drkH1k2R7Um1MusivS0alD -# EyO+3JpJmJmRMYIDDTCCAwkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgT -# Cldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m -# dCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENB -# IDIwMTACEzMAAAEIff9FWXBF+oQAAAAAAQgwDQYJYIZIAWUDBAIBBQCgggFKMBoG -# CSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQg6SdxGggm -# /SV4iEwnm9s2YX4eQorOq4/3lnByXJzCNEswgfoGCyqGSIb3DQEJEAIvMYHqMIHn -# MIHkMIG9BCDgAzZO4EXd9UqiFVHP2IiCy0/tDAky9BuuDiapxVmDRzCBmDCBgKR+ -# MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdS -# ZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMT -# HU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAABCH3/RVlwRfqEAAAA -# AAEIMCIEIAR7hoEvq3nYLbqApGCaBLqEGwH4qKwRrBpFNOMqn8WZMA0GCSqGSIb3 -# DQEBCwUABIIBAH20VXijrVk0acGdnaEmzxD4gPAqID5PUXgQY496Xt/XtUzLf0A5 -# QaNmMB+oshPCE0qPJfzHnqdOBwFRUvm0X2aX+Z4Bc+Lfl/bjktZhQ0qWMyEdEOnp -# 4HGZGuAcHy70HCnKIobZP4vgyza91T8NPiy0EpHUWQPx5zRlYSlqRTSBgWmrNjL0 -# 0m2zga1QSq4RZYM1giGBPKHr+HQpeRfzQGgn6XRvInZpIU6txxBKtMgnTglYNi3t -# XOOGhRsTDg1MJNTmqRLEZDS3JE3jY411nFdQuFkhba43mxO7ps+1IrBPWTTJhmOK -# Tii7+z0Im6zmZ4AqaOtpgJ9sADRUkSnkb+o= -# SIG # End signature block diff --git a/app/packages/EntityFramework.6.4.4/tools/EntityFramework6.PS2.psm1 b/app/packages/EntityFramework.6.4.4/tools/EntityFramework6.PS2.psm1 deleted file mode 100644 index c332ef2..0000000 --- a/app/packages/EntityFramework.6.4.4/tools/EntityFramework6.PS2.psm1 +++ /dev/null @@ -1,731 +0,0 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. - -$ErrorActionPreference = 'Stop' -$InitialDatabase = '0' - -$UpdatePowerShell = 'The Entity Framework Package Manager Console Tools require Windows PowerShell 3.0 or higher. ' + - 'Install Windows Management Framework 3.0, restart Visual Studio, and try again. https://aka.ms/wmf3download' - -<# -.SYNOPSIS - Adds or updates an Entity Framework provider entry in the project config - file. - -.DESCRIPTION - Adds an entry into the 'entityFramework' section of the project config - file for the specified provider invariant name and provider type. If an - entry for the given invariant name already exists, then that entry is - updated with the given type name, unless the given type name already - matches, in which case no action is taken. The 'entityFramework' - section is added if it does not exist. The config file is automatically - saved if and only if a change was made. - - This command is typically used only by Entity Framework provider NuGet - packages and is run from the 'install.ps1' script. - -.PARAMETER Project - The Visual Studio project to update. When running in the NuGet install.ps1 - script the '$project' variable provided as part of that script should be - used. - -.PARAMETER InvariantName - The provider invariant name that uniquely identifies this provider. For - example, the Microsoft SQL Server provider is registered with the invariant - name 'System.Data.SqlClient'. - -.PARAMETER TypeName - The assembly-qualified type name of the provider-specific type that - inherits from 'System.Data.Entity.Core.Common.DbProviderServices'. For - example, for the Microsoft SQL Server provider, this type is - 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'. -#> -function Add-EFProvider -{ - [CmdletBinding(PositionalBinding = $false)] - param( - [parameter(Position = 0, Mandatory = $true)] - $Project, - [parameter(Position = 1, Mandatory = $true)] - [string] $InvariantName, - [parameter(Position = 2, Mandatory = $true)] - [string] $TypeName) - - $configPath = GetConfigPath($Project) - if (!$configPath) - { - return - } - - [xml] $configXml = Get-Content $configPath - - $providers = $configXml.configuration.entityFramework.providers - - $providers.provider | - where invariantName -eq $InvariantName | - %{ $providers.RemoveChild($_) | Out-Null } - - $provider = $providers.AppendChild($configXml.CreateElement('provider')) - $provider.SetAttribute('invariantName', $InvariantName) - $provider.SetAttribute('type', $TypeName) - - $configXml.Save($configPath) -} - -<# -.SYNOPSIS - Adds or updates an Entity Framework default connection factory in the - project config file. - -.DESCRIPTION - Adds an entry into the 'entityFramework' section of the project config - file for the connection factory that Entity Framework will use by default - when creating new connections by convention. Any existing entry will be - overridden if it does not match. The 'entityFramework' section is added if - it does not exist. The config file is automatically saved if and only if - a change was made. - - This command is typically used only by Entity Framework provider NuGet - packages and is run from the 'install.ps1' script. - -.PARAMETER Project - The Visual Studio project to update. When running in the NuGet install.ps1 - script the '$project' variable provided as part of that script should be - used. - -.PARAMETER TypeName - The assembly-qualified type name of the connection factory type that - implements the 'System.Data.Entity.Infrastructure.IDbConnectionFactory' - interface. For example, for the Microsoft SQL Server Express provider - connection factory, this type is - 'System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework'. - -.PARAMETER ConstructorArguments - An optional array of strings that will be passed as arguments to the - connection factory type constructor. -#> -function Add-EFDefaultConnectionFactory -{ - [CmdletBinding(PositionalBinding = $false)] - param( - [parameter(Position = 0, Mandatory = $true)] - $Project, - [parameter(Position = 1, Mandatory = $true)] - [string] $TypeName, - [string[]] $ConstructorArguments) - - $configPath = GetConfigPath($Project) - if (!$configPath) - { - return - } - - [xml] $configXml = Get-Content $configPath - - $entityFramework = $configXml.configuration.entityFramework - $defaultConnectionFactory = $entityFramework.defaultConnectionFactory - if ($defaultConnectionFactory) - { - $entityFramework.RemoveChild($defaultConnectionFactory) | Out-Null - } - $defaultConnectionFactory = $entityFramework.AppendChild($configXml.CreateElement('defaultConnectionFactory')) - - $defaultConnectionFactory.SetAttribute('type', $TypeName) - - if ($ConstructorArguments) - { - $parameters = $defaultConnectionFactory.AppendChild($configXml.CreateElement('parameters')) - - foreach ($constructorArgument in $ConstructorArguments) - { - $parameter = $parameters.AppendChild($configXml.CreateElement('parameter')) - $parameter.SetAttribute('value', $constructorArgument) - } - } - - $configXml.Save($configPath) -} - -<# -.SYNOPSIS - Enables Code First Migrations in a project. - -.DESCRIPTION - Enables Migrations by scaffolding a migrations configuration class in the project. If the - target database was created by an initializer, an initial migration will be created (unless - automatic migrations are enabled via the EnableAutomaticMigrations parameter). - -.PARAMETER ContextTypeName - Specifies the context to use. If omitted, migrations will attempt to locate a - single context type in the target project. - -.PARAMETER EnableAutomaticMigrations - Specifies whether automatic migrations will be enabled in the scaffolded migrations configuration. - If omitted, automatic migrations will be disabled. - -.PARAMETER MigrationsDirectory - Specifies the name of the directory that will contain migrations code files. - If omitted, the directory will be named "Migrations". - -.PARAMETER ProjectName - Specifies the project that the scaffolded migrations configuration class will - be added to. If omitted, the default project selected in package manager - console is used. - -.PARAMETER StartUpProjectName - Specifies the configuration file to use for named connection strings. If - omitted, the specified project's configuration file is used. - -.PARAMETER ContextProjectName - Specifies the project which contains the DbContext class to use. If omitted, - the context is assumed to be in the same project used for migrations. - -.PARAMETER ConnectionStringName - Specifies the name of a connection string to use from the application's - configuration file. - -.PARAMETER ConnectionString - Specifies the connection string to use. If omitted, the context's - default connection will be used. - -.PARAMETER ConnectionProviderName - Specifies the provider invariant name of the connection string. - -.PARAMETER Force - Specifies that the migrations configuration be overwritten when running more - than once for a given project. - -.PARAMETER ContextAssemblyName - Specifies the name of the assembly which contains the DbContext class to use. Use this - parameter instead of ContextProjectName when the context is contained in a referenced - assembly rather than in a project of the solution. - -.PARAMETER AppDomainBaseDirectory - Specifies the directory to use for the app-domain that is used for running Migrations - code such that the app-domain is able to find all required assemblies. This is an - advanced option that should only be needed if the solution contains several projects - such that the assemblies needed for the context and configuration are not all - referenced from either the project containing the context or the project containing - the migrations. - -.EXAMPLE - Enable-Migrations - # Scaffold a migrations configuration in a project with only one context - -.EXAMPLE - Enable-Migrations -Auto - # Scaffold a migrations configuration with automatic migrations enabled for a project - # with only one context - -.EXAMPLE - Enable-Migrations -ContextTypeName MyContext -MigrationsDirectory DirectoryName - # Scaffold a migrations configuration for a project with multiple contexts - # This scaffolds a migrations configuration for MyContext and will put the configuration - # and subsequent configurations in a new directory called "DirectoryName" - -#> -function Enable-Migrations( - $ContextTypeName, - [alias('Auto')] - [switch] $EnableAutomaticMigrations, - $MigrationsDirectory, - $ProjectName, - $StartUpProjectName, - $ContextProjectName, - $ConnectionStringName, - $ConnectionString, - $ConnectionProviderName, - [switch] $Force, - $ContextAssemblyName, - $AppDomainBaseDirectory) - - WarnIfOtherEFs 'Enable-Migrations' - throw $UpdatePowerShell -} - -<# -.SYNOPSIS - Scaffolds a migration script for any pending model changes. - -.DESCRIPTION - Scaffolds a new migration script and adds it to the project. - -.PARAMETER Name - Specifies the name of the custom script. - -.PARAMETER Force - Specifies that the migration user code be overwritten when re-scaffolding an - existing migration. - -.PARAMETER ProjectName - Specifies the project that contains the migration configuration type to be - used. If omitted, the default project selected in package manager console - is used. - -.PARAMETER StartUpProjectName - Specifies the configuration file to use for named connection strings. If - omitted, the specified project's configuration file is used. - -.PARAMETER ConfigurationTypeName - Specifies the migrations configuration to use. If omitted, migrations will - attempt to locate a single migrations configuration type in the target - project. - -.PARAMETER ConnectionStringName - Specifies the name of a connection string to use from the application's - configuration file. - -.PARAMETER ConnectionString - Specifies the connection string to use. If omitted, the context's - default connection will be used. - -.PARAMETER ConnectionProviderName - Specifies the provider invariant name of the connection string. - -.PARAMETER IgnoreChanges - Scaffolds an empty migration ignoring any pending changes detected in the current model. - This can be used to create an initial, empty migration to enable Migrations for an existing - database. N.B. Doing this assumes that the target database schema is compatible with the - current model. - -.PARAMETER AppDomainBaseDirectory - Specifies the directory to use for the app-domain that is used for running Migrations - code such that the app-domain is able to find all required assemblies. This is an - advanced option that should only be needed if the solution contains several projects - such that the assemblies needed for the context and configuration are not all - referenced from either the project containing the context or the project containing - the migrations. - -.EXAMPLE - Add-Migration First - # Scaffold a new migration named "First" - -.EXAMPLE - Add-Migration First -IgnoreChanges - # Scaffold an empty migration ignoring any pending changes detected in the current model. - # This can be used to create an initial, empty migration to enable Migrations for an existing - # database. N.B. Doing this assumes that the target database schema is compatible with the - # current model. - -#> -function Add-Migration( - $Name, - [switch] $Force, - $ProjectName, - $StartUpProjectName, - $ConfigurationTypeName, - $ConnectionStringName, - $ConnectionString, - $ConnectionProviderName, - [switch] $IgnoreChanges, - $AppDomainBaseDirectory) - - WarnIfOtherEFs 'Add-Migration' - throw $UpdatePowerShell -} - -<# -.SYNOPSIS - Applies any pending migrations to the database. - -.DESCRIPTION - Updates the database to the current model by applying pending migrations. - -.PARAMETER SourceMigration - Only valid with -Script. Specifies the name of a particular migration to use - as the update's starting point. If omitted, the last applied migration in - the database will be used. - -.PARAMETER TargetMigration - Specifies the name of a particular migration to update the database to. If - omitted, the current model will be used. - -.PARAMETER Script - Generate a SQL script rather than executing the pending changes directly. - -.PARAMETER Force - Specifies that data loss is acceptable during automatic migration of the - database. - -.PARAMETER ProjectName - Specifies the project that contains the migration configuration type to be - used. If omitted, the default project selected in package manager console - is used. - -.PARAMETER StartUpProjectName - Specifies the configuration file to use for named connection strings. If - omitted, the specified project's configuration file is used. - -.PARAMETER ConfigurationTypeName - Specifies the migrations configuration to use. If omitted, migrations will - attempt to locate a single migrations configuration type in the target - project. - -.PARAMETER ConnectionStringName - Specifies the name of a connection string to use from the application's - configuration file. - -.PARAMETER ConnectionString - Specifies the connection string to use. If omitted, the context's - default connection will be used. - -.PARAMETER ConnectionProviderName - Specifies the provider invariant name of the connection string. - -.PARAMETER AppDomainBaseDirectory - Specifies the directory to use for the app-domain that is used for running Migrations - code such that the app-domain is able to find all required assemblies. This is an - advanced option that should only be needed if the solution contains several projects - such that the assemblies needed for the context and configuration are not all - referenced from either the project containing the context or the project containing - the migrations. - -.EXAMPLE - Update-Database - # Update the database to the latest migration - -.EXAMPLE - Update-Database -TargetMigration Second - # Update database to a migration named "Second" - # This will apply migrations if the target hasn't been applied or roll back migrations - # if it has - -.EXAMPLE - Update-Database -Script - # Generate a script to update the database from its current state to the latest migration - -.EXAMPLE - Update-Database -Script -SourceMigration Second -TargetMigration First - # Generate a script to migrate the database from a specified start migration - # named "Second" to a specified target migration named "First" - -.EXAMPLE - Update-Database -Script -SourceMigration $InitialDatabase - # Generate a script that can upgrade a database currently at any version to the latest version. - # The generated script includes logic to check the __MigrationsHistory table and only apply changes - # that haven't been previously applied. - -.EXAMPLE - Update-Database -TargetMigration $InitialDatabase - # Runs the Down method to roll-back any migrations that have been applied to the database - - -#> -function Update-Database( - $SourceMigration, - $TargetMigration, - [switch] $Script, - [switch] $Force, - $ProjectName, - $StartUpProjectName, - $ConfigurationTypeName, - $ConnectionStringName, - $ConnectionString, - $ConnectionProviderName, - $AppDomainBaseDirectory) - - WarnIfOtherEFs 'Update-Database' - throw $UpdatePowerShell -} - -<# -.SYNOPSIS - Displays the migrations that have been applied to the target database. - -.DESCRIPTION - Displays the migrations that have been applied to the target database. - -.PARAMETER ProjectName - Specifies the project that contains the migration configuration type to be - used. If omitted, the default project selected in package manager console - is used. - -.PARAMETER StartUpProjectName - Specifies the configuration file to use for named connection strings. If - omitted, the specified project's configuration file is used. - -.PARAMETER ConfigurationTypeName - Specifies the migrations configuration to use. If omitted, migrations will - attempt to locate a single migrations configuration type in the target - project. - -.PARAMETER ConnectionStringName - Specifies the name of a connection string to use from the application's - configuration file. - -.PARAMETER ConnectionString - Specifies the connection string to use. If omitted, the context's - default connection will be used. - -.PARAMETER ConnectionProviderName - Specifies the provider invariant name of the connection string. - -.PARAMETER AppDomainBaseDirectory - Specifies the directory to use for the app-domain that is used for running Migrations - code such that the app-domain is able to find all required assemblies. This is an - advanced option that should only be needed if the solution contains several projects - such that the assemblies needed for the context and configuration are not all - referenced from either the project containing the context or the project containing - the migrations. -#> -function Get-Migrations( - $ProjectName, - $StartUpProjectName, - $ConfigurationTypeName, - $ConnectionStringName, - $ConnectionString, - $ConnectionProviderName, - $AppDomainBaseDirectory) - - WarnIfOtherEFs 'Get-Migrations' - throw $UpdatePowerShell -} - -function GetConfigPath($project) -{ - $solution = Get-VSService 'Microsoft.VisualStudio.Shell.Interop.SVsSolution' 'Microsoft.VisualStudio.Shell.Interop.IVsSolution' - - $hierarchy = $null - $hr = $solution.GetProjectOfUniqueName($project.UniqueName, [ref] $hierarchy) - [Runtime.InteropServices.Marshal]::ThrowExceptionForHR($hr) - - $aggregatableProject = Get-Interface $hierarchy 'Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject' - if (!$aggregatableProject) - { - $projectTypes = $project.Kind - } - else - { - $projectTypeGuids = $null - $hr = $aggregatableProject.GetAggregateProjectTypeGuids([ref] $projectTypeGuids) - [Runtime.InteropServices.Marshal]::ThrowExceptionForHR($hr) - - $projectTypes = $projectTypeGuids.Split(';') - } - - $configFileName = 'app.config' - foreach ($projectType in $projectTypes) - { - if ($projectType -in '{349C5851-65DF-11DA-9384-00065B846F21}', '{E24C65DC-7377-472B-9ABA-BC803B73C61A}') - { - $configFileName = 'web.config' - - break - } - } - - try - { - return $project.ProjectItems.Item($configFileName).Properties.Item('FullPath').Value - } - catch - { - return $null - } -} - -function WarnIfOtherEFs($cmdlet) -{ - if (Get-Module 'EntityFrameworkCore') - { - Write-Warning "Both Entity Framework 6 and Entity Framework Core are installed. The Entity Framework 6 tools are running. Use 'EntityFrameworkCore\$cmdlet' for Entity Framework Core." - } - if (Get-Module 'EntityFramework') - { - Write-Warning "A version of Entity Framework older than 6.3 is also installed. The newer tools are running. Use 'EntityFramework\$cmdlet' for the older version." - } -} - -Export-ModuleMember 'Add-EFDefaultConnectionFactory', 'Add-EFProvider', 'Add-Migration', 'Enable-Migrations', 'Get-Migrations', 'Update-Database' -Variable 'InitialDatabase' - -# SIG # Begin signature block -# MIIjiQYJKoZIhvcNAQcCoIIjejCCI3YCAQExDzANBglghkgBZQMEAgEFADB5Bgor -# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG -# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBCukGtqR95vOzB -# mTRxRgJFbcuurrr/NN2TQIASywaOO6CCDYUwggYDMIID66ADAgECAhMzAAABUptA -# n1BWmXWIAAAAAAFSMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD -# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p -# bmcgUENBIDIwMTEwHhcNMTkwNTAyMjEzNzQ2WhcNMjAwNTAyMjEzNzQ2WjB0MQsw -# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u -# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB -# AQCxp4nT9qfu9O10iJyewYXHlN+WEh79Noor9nhM6enUNbCbhX9vS+8c/3eIVazS -# YnVBTqLzW7xWN1bCcItDbsEzKEE2BswSun7J9xCaLwcGHKFr+qWUlz7hh9RcmjYS -# kOGNybOfrgj3sm0DStoK8ljwEyUVeRfMHx9E/7Ca/OEq2cXBT3L0fVnlEkfal310 -# EFCLDo2BrE35NGRjG+/nnZiqKqEh5lWNk33JV8/I0fIcUKrLEmUGrv0CgC7w2cjm -# bBhBIJ+0KzSnSWingXol/3iUdBBy4QQNH767kYGunJeY08RjHMIgjJCdAoEM+2mX -# v1phaV7j+M3dNzZ/cdsz3oDfAgMBAAGjggGCMIIBfjAfBgNVHSUEGDAWBgorBgEE -# AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQU3f8Aw1sW72WcJ2bo/QSYGzVrRYcw -# VAYDVR0RBE0wS6RJMEcxLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9wZXJh -# dGlvbnMgTGltaXRlZDEWMBQGA1UEBRMNMjMwMDEyKzQ1NDEzNjAfBgNVHSMEGDAW -# gBRIbmTlUAXTgqoXNzcitW2oynUClTBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8v -# d3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NybC9NaWNDb2RTaWdQQ0EyMDExXzIw -# MTEtMDctMDguY3JsMGEGCCsGAQUFBwEBBFUwUzBRBggrBgEFBQcwAoZFaHR0cDov -# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jZXJ0cy9NaWNDb2RTaWdQQ0EyMDEx -# XzIwMTEtMDctMDguY3J0MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggIB -# AJTwROaHvogXgixWjyjvLfiRgqI2QK8GoG23eqAgNjX7V/WdUWBbs0aIC3k49cd0 -# zdq+JJImixcX6UOTpz2LZPFSh23l0/Mo35wG7JXUxgO0U+5drbQht5xoMl1n7/TQ -# 4iKcmAYSAPxTq5lFnoV2+fAeljVA7O43szjs7LR09D0wFHwzZco/iE8Hlakl23ZT -# 7FnB5AfU2hwfv87y3q3a5qFiugSykILpK0/vqnlEVB0KAdQVzYULQ/U4eFEjnis3 -# Js9UrAvtIhIs26445Rj3UP6U4GgOjgQonlRA+mDlsh78wFSGbASIvK+fkONUhvj8 -# B8ZHNn4TFfnct+a0ZueY4f6aRPxr8beNSUKn7QW/FQmn422bE7KfnqWncsH7vbNh -# G929prVHPsaa7J22i9wyHj7m0oATXJ+YjfyoEAtd5/NyIYaE4Uu0j1EhuYUo5VaJ -# JnMaTER0qX8+/YZRWrFN/heps41XNVjiAawpbAa0fUa3R9RNBjPiBnM0gvNPorM4 -# dsV2VJ8GluIQOrJlOvuCrOYDGirGnadOmQ21wPBoGFCWpK56PxzliKsy5NNmAXcE -# x7Qb9vUjY1WlYtrdwOXTpxN4slzIht69BaZlLIjLVWwqIfuNrhHKNDM9K+v7vgrI -# bf7l5/665g0gjQCDCN6Q5sxuttTAEKtJeS/pkpI+DbZ/MIIHejCCBWKgAwIBAgIK -# YQ6Q0gAAAAAAAzANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNV -# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv -# c29mdCBDb3Jwb3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlm -# aWNhdGUgQXV0aG9yaXR5IDIwMTEwHhcNMTEwNzA4MjA1OTA5WhcNMjYwNzA4MjEw -# OTA5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYD -# VQQDEx9NaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQSAyMDExMIICIjANBgkqhkiG -# 9w0BAQEFAAOCAg8AMIICCgKCAgEAq/D6chAcLq3YbqqCEE00uvK2WCGfQhsqa+la -# UKq4BjgaBEm6f8MMHt03a8YS2AvwOMKZBrDIOdUBFDFC04kNeWSHfpRgJGyvnkmc -# 6Whe0t+bU7IKLMOv2akrrnoJr9eWWcpgGgXpZnboMlImEi/nqwhQz7NEt13YxC4D -# dato88tt8zpcoRb0RrrgOGSsbmQ1eKagYw8t00CT+OPeBw3VXHmlSSnnDb6gE3e+ -# lD3v++MrWhAfTVYoonpy4BI6t0le2O3tQ5GD2Xuye4Yb2T6xjF3oiU+EGvKhL1nk -# kDstrjNYxbc+/jLTswM9sbKvkjh+0p2ALPVOVpEhNSXDOW5kf1O6nA+tGSOEy/S6 -# A4aN91/w0FK/jJSHvMAhdCVfGCi2zCcoOCWYOUo2z3yxkq4cI6epZuxhH2rhKEmd -# X4jiJV3TIUs+UsS1Vz8kA/DRelsv1SPjcF0PUUZ3s/gA4bysAoJf28AVs70b1FVL -# 5zmhD+kjSbwYuER8ReTBw3J64HLnJN+/RpnF78IcV9uDjexNSTCnq47f7Fufr/zd -# sGbiwZeBe+3W7UvnSSmnEyimp31ngOaKYnhfsi+E11ecXL93KCjx7W3DKI8sj0A3 -# T8HhhUSJxAlMxdSlQy90lfdu+HggWCwTXWCVmj5PM4TasIgX3p5O9JawvEagbJjS -# 4NaIjAsCAwEAAaOCAe0wggHpMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBRI -# bmTlUAXTgqoXNzcitW2oynUClTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTAL -# BgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBRyLToCMZBD -# uRQFTuHqp8cx0SOJNDBaBgNVHR8EUzBRME+gTaBLhklodHRwOi8vY3JsLm1pY3Jv -# c29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf -# MDNfMjIuY3JsMF4GCCsGAQUFBwEBBFIwUDBOBggrBgEFBQcwAoZCaHR0cDovL3d3 -# dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf -# MDNfMjIuY3J0MIGfBgNVHSAEgZcwgZQwgZEGCSsGAQQBgjcuAzCBgzA/BggrBgEF -# BQcCARYzaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9kb2NzL3ByaW1h -# cnljcHMuaHRtMEAGCCsGAQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAHAAbwBsAGkA -# YwB5AF8AcwB0AGEAdABlAG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQBn -# 8oalmOBUeRou09h0ZyKbC5YR4WOSmUKWfdJ5DJDBZV8uLD74w3LRbYP+vj/oCso7 -# v0epo/Np22O/IjWll11lhJB9i0ZQVdgMknzSGksc8zxCi1LQsP1r4z4HLimb5j0b -# pdS1HXeUOeLpZMlEPXh6I/MTfaaQdION9MsmAkYqwooQu6SpBQyb7Wj6aC6VoCo/ -# KmtYSWMfCWluWpiW5IP0wI/zRive/DvQvTXvbiWu5a8n7dDd8w6vmSiXmE0OPQvy -# CInWH8MyGOLwxS3OW560STkKxgrCxq2u5bLZ2xWIUUVYODJxJxp/sfQn+N4sOiBp -# mLJZiWhub6e3dMNABQamASooPoI/E01mC8CzTfXhj38cbxV9Rad25UAqZaPDXVJi -# hsMdYzaXht/a8/jyFqGaJ+HNpZfQ7l1jQeNbB5yHPgZ3BtEGsXUfFL5hYbXw3MYb -# BL7fQccOKO7eZS/sl/ahXJbYANahRr1Z85elCUtIEJmAH9AAKcWxm6U/RXceNcbS -# oqKfenoi+kiVH6v7RyOA9Z74v2u3S5fi63V4GuzqN5l5GEv/1rMjaHXmr/r8i+sL -# gOppO6/8MO0ETI7f33VtY5E90Z1WTk+/gFcioXgRMiF670EKsT/7qMykXcGhiJtX -# cVZOSEXAQsmbdlsKgEhr/Xmfwb1tbWrJUnMTDXpQzTGCFVowghVWAgEBMIGVMH4x -# CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRt -# b25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01p -# Y3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBIDIwMTECEzMAAAFSm0CfUFaZdYgAAAAA -# AVIwDQYJYIZIAWUDBAIBBQCgga4wGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQw -# HAYKKwYBBAGCNwIBCzEOMAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIBDq -# wSpkVRd34HAFhUI02JbLjpJvYPxaosKl7Ya85N83MEIGCisGAQQBgjcCAQwxNDAy -# oBSAEgBNAGkAYwByAG8AcwBvAGYAdKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5j -# b20wDQYJKoZIhvcNAQEBBQAEggEAo1kSS1wbXckEKe0kiAV5BJwC66PVMElqK8rS -# ZTKY35DPPW7CnSXjsSx6SnRnyOebu9iF3GShrADsgMh1C5x0GEE03pmEERNDy8aa -# /fQ0xYdR3rQEUaDEbDK6YWzqAnP0nugpJ60ariJpMfvvXUZpHgSJeO8wJ5RAe67N -# yrpic3zdE+e8YvSsiD8+rf7WAOxHEI86mWd7ZoD4OJMRlDAdfhEd8VvOzj91froW -# FHiShpb0mkdSIisw0dPGkk/jzn9Fd0a0JHGbn5YLI76iKOvRwcqKWX96LRezXZF4 -# Y+jWO+p31xoZ0TUHYxQ3HaulMq7vXZ8MHJkSdsUsWEgTVCLGkKGCEuQwghLgBgor -# BgEEAYI3AwMBMYIS0DCCEswGCSqGSIb3DQEHAqCCEr0wghK5AgEDMQ8wDQYJYIZI -# AWUDBAIBBQAwggFQBgsqhkiG9w0BCRABBKCCAT8EggE7MIIBNwIBAQYKKwYBBAGE -# WQoDATAxMA0GCWCGSAFlAwQCAQUABCCa+i2okJFSkVB87EudNU6rFwhh43v28S+m -# SdpTpEuO2QIGXoIOfEnAGBIyMDIwMDQxNjIyMTM0Mi45MVowBIACAfSggdCkgc0w -# gcoxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJXQTEQMA4GA1UEBxMHUmVkbW9uZDEe -# MBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3Nv -# ZnQgSXJlbGFuZCBPcGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBU -# U1MgRVNOOjE3OUUtNEJCMC04MjQ2MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1T -# dGFtcCBTZXJ2aWNloIIOPDCCBPEwggPZoAMCAQICEzMAAAEMqnhu3MxCTMEAAAAA -# AQwwDQYJKoZIhvcNAQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hp -# bmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw -# b3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAw -# HhcNMTkxMDIzMjMxOTE2WhcNMjEwMTIxMjMxOTE2WjCByjELMAkGA1UEBhMCVVMx -# CzAJBgNVBAgTAldBMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3Nv -# ZnQgQ29ycG9yYXRpb24xLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9wZXJh -# dGlvbnMgTGltaXRlZDEmMCQGA1UECxMdVGhhbGVzIFRTUyBFU046MTc5RS00QkIw -# LTgyNDYxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2UwggEi -# MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCrnTXX5epUmZAq2LDf2KB4Qy8I -# txnV+itubGwOSmcI3VKtOEoj6fY+vfOpPMlWB0kUKgqbWSzWC1Ensdovq0OSs7Dx -# cmZ8lrHJACW4JD57jQ0j4DjD67n0bLz0BVjmUk2uYK9rqCjN+DWTHDpptXlZav4+ -# MSk0KyE7iHG/dSqAxwIqdPZhVJnMXUbLsA+5vV9jQ/W80S44Uqs0IQS9YgpGuqx7 -# IEHvcbwoPbLDqN/PRUrE1JEB2ElX+CE7KsO3lr4voLebWumvyyqKh/eKiG/cA0iA -# 2rDp7H7j4b4Hskxsgdsak915t50vp49u4EKduAmgOffjSTRrDqKPbUa+9SeRAgMB -# AAGjggEbMIIBFzAdBgNVHQ4EFgQUCUI6r0MMhrQDSiqAq0zm+O5l4r4wHwYDVR0j -# BBgwFoAU1WM6XIoxkPNDe3xGG8UzaFqFbVUwVgYDVR0fBE8wTTBLoEmgR4ZFaHR0 -# cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwvcHJvZHVjdHMvTWljVGltU3Rh -# UENBXzIwMTAtMDctMDEuY3JsMFoGCCsGAQUFBwEBBE4wTDBKBggrBgEFBQcwAoY+ -# aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWNUaW1TdGFQQ0Ff -# MjAxMC0wNy0wMS5jcnQwDAYDVR0TAQH/BAIwADATBgNVHSUEDDAKBggrBgEFBQcD -# CDANBgkqhkiG9w0BAQsFAAOCAQEARPfEGD8hn3N05/BsMYrtwreopi3+pQ6VtEHO -# B42NvfYrzqcZ5EaQF57XR1U4QZZTDoq0F5aHUtDvRvrj+0u2Ityx/0nNoDINhvWx -# GYyLl+NFnvndOq5pPxXs0ntF8S5h+9mW5t9APQxVtTi3Ox1l1i7ETftXYn2k3z2P -# sagU20CdKcKfUxHEQ0AguC31fN5DNMQOEVhbQ3YM2mFORE9caOkObCLpa2Qnl+/S -# JPIHh3AQL7953SUZsUtzK0mgzB9M0x0fqByceUzOyeKiucYVlrk8+JXvxehn0V66 -# kqjxko0aEsssHkZO2p8d7HmejeKhVKr422G+FfQj9X6JcmyimjCCBnEwggRZoAMC -# AQICCmEJgSoAAAAAAAIwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYTAlVTMRMw -# EQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVN -# aWNyb3NvZnQgQ29ycG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jvc29mdCBSb290IENl -# cnRpZmljYXRlIEF1dGhvcml0eSAyMDEwMB4XDTEwMDcwMTIxMzY1NVoXDTI1MDcw -# MTIxNDY1NVowfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAO -# BgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEm -# MCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwggEiMA0GCSqG -# SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCpHQ28dxGKOiDs/BOX9fp/aZRrdFQQ1aUK -# AIKF++18aEssX8XD5WHCdrc+Zitb8BVTJwQxH0EbGpUdzgkTjnxhMFmxMEQP8WCI -# hFRDDNdNuDgIs0Ldk6zWczBXJoKjRQ3Q6vVHgc2/JGAyWGBG8lhHhjKEHnRhZ5Ff -# gVSxz5NMksHEpl3RYRNuKMYa+YaAu99h/EbBJx0kZxJyGiGKr0tkiVBisV39dx89 -# 8Fd1rL2KQk1AUdEPnAY+Z3/1ZsADlkR+79BL/W7lmsqxqPJ6Kgox8NpOBpG2iAg1 -# 6HgcsOmZzTznL0S6p/TcZL2kAcEgCZN4zfy8wMlEXV4WnAEFTyJNAgMBAAGjggHm -# MIIB4jAQBgkrBgEEAYI3FQEEAwIBADAdBgNVHQ4EFgQU1WM6XIoxkPNDe3xGG8Uz -# aFqFbVUwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMA8G -# A1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU1fZWy4/oolxiaNE9lJBb186aGMQw -# VgYDVR0fBE8wTTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9j -# cmwvcHJvZHVjdHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3JsMFoGCCsGAQUF -# BwEBBE4wTDBKBggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br -# aS9jZXJ0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcnQwgaAGA1UdIAEB/wSB -# lTCBkjCBjwYJKwYBBAGCNy4DMIGBMD0GCCsGAQUFBwIBFjFodHRwOi8vd3d3Lm1p -# Y3Jvc29mdC5jb20vUEtJL2RvY3MvQ1BTL2RlZmF1bHQuaHRtMEAGCCsGAQUFBwIC -# MDQeMiAdAEwAZQBnAGEAbABfAFAAbwBsAGkAYwB5AF8AUwB0AGEAdABlAG0AZQBu -# AHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQAH5ohRDeLG4Jg/gXEDPZ2joSFvs+um -# zPUxvs8F4qn++ldtGTCzwsVmyWrf9efweL3HqJ4l4/m87WtUVwgrUYJEEvu5U4zM -# 9GASinbMQEBBm9xcF/9c+V4XNZgkVkt070IQyK+/f8Z/8jd9Wj8c8pl5SpFSAK84 -# Dxf1L3mBZdmptWvkx872ynoAb0swRCQiPM/tA6WWj1kpvLb9BOFwnzJKJ/1Vry/+ -# tuWOM7tiX5rbV0Dp8c6ZZpCM/2pif93FSguRJuI57BlKcWOdeyFtw5yjojz6f32W -# apB4pm3S4Zz5Hfw42JT0xqUKloakvZ4argRCg7i1gJsiOCC1JeVk7Pf0v35jWSUP -# ei45V3aicaoGig+JFrphpxHLmtgOR5qAxdDNp9DvfYPw4TtxCd9ddJgiCGHasFAe -# b73x4QDf5zEHpJM692VHeOj4qEir995yfmFrb3epgcunCaw5u+zGy9iCtHLNHfS4 -# hQEegPsbiSpUObJb2sgNVZl6h3M7COaYLeqN4DMuEin1wC9UJyH3yKxO2ii4sanb -# lrKnQqLJzxlBTeCG+SqaoxFmMNO7dDJL32N79ZmKLxvHIa9Zta7cRDyXUHHXodLF -# VeNp3lfB0d4wwP3M5k37Db9dT+mdHhk4L7zPWAUu7w2gUDXa7wknHNWzfjUeCLra -# NtvTX4/edIhJEqGCAs4wggI3AgEBMIH4oYHQpIHNMIHKMQswCQYDVQQGEwJVUzEL -# MAkGA1UECBMCV0ExEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m -# dCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0 -# aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoxNzlFLTRCQjAt -# ODI0NjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIjCgEB -# MAcGBSsOAwIaAxUAyyD0VD2mA8tcjYt3nPvENLRABn2ggYMwgYCkfjB8MQswCQYD -# VQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEe -# MBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3Nv -# ZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOJC9iswIhgP -# MjAyMDA0MTYyMzIwMTFaGA8yMDIwMDQxNzIzMjAxMVowdzA9BgorBgEEAYRZCgQB -# MS8wLTAKAgUA4kL2KwIBADAKAgEAAgIWJAIB/zAHAgEAAgIRrDAKAgUA4kRHqwIB -# ADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQow -# CAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAEHV+nFYHL4nwG3Cv45d3muMOacd -# 9h01K6V7pfzXDuIePSV1D9xmGhztfVgHC0cAbauT3gNpgEaHzs2vh1JSrxouvO2+ -# zZevWOZMtICkVCmF0uclqLw3bqefmjjgbpwymjJ7vjYWAgwoIO9iC9fpkU43TCbz -# Namo2O5OL4C77X8TMYIDDTCCAwkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNV -# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv -# c29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAg -# UENBIDIwMTACEzMAAAEMqnhu3MxCTMEAAAAAAQwwDQYJYIZIAWUDBAIBBQCgggFK -# MBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgi+a8 -# w9UqRk8uHF0LSAA5zAtzOvED7T6G0K+oPz5kGkYwgfoGCyqGSIb3DQEJEAIvMYHq -# MIHnMIHkMIG9BCCDkBYpfszX6bb//5XuqZG+3Ur/DDky67xfMYkGrKBUKTCBmDCB -# gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH -# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV -# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAABDKp4btzMQkzB -# AAAAAAEMMCIEIB82fTmbi7Zy6T8ucYfCkg1b/ShiH+5DNUPaql1UKnuBMA0GCSqG -# SIb3DQEBCwUABIIBACQTQfKgFwgsHa87Ff0vNwkZvOIJqYCj97sZHeqLh/7kGvqH -# HtHPlTdQqGeKsIdgvlME0zkbcNuRACN86PE1x8w61ADvaPNIv400MAN0iKKh08z/ -# ONuhHXzcavQm47rT0Fe2nuOFe/TuurEQMXjGGPp/dILEw+neBBHiNhNivEH0flmw -# UnaYpZH2lNy5ldHfV+hCc4QCDB2CHj9qPeGgEJS+n0ZcFO6Hm4D5mNvfR23qnM94 -# Ijbqi6AGtjL/d+MdNPcqJFcUPBVHQJDEcQTyoZBFme4UqYPr/gkRSwNQ7sASCYdK -# hZ7F9GEj2CiayE5NqMADUnRDyyMJLUoCiACRpVg= -# SIG # End signature block diff --git a/app/packages/EntityFramework.6.4.4/tools/EntityFramework6.psd1 b/app/packages/EntityFramework.6.4.4/tools/EntityFramework6.psd1 deleted file mode 100644 index 588e042..0000000 --- a/app/packages/EntityFramework.6.4.4/tools/EntityFramework6.psd1 +++ /dev/null @@ -1,323 +0,0 @@ -# -# Module manifest for module 'EntityFramework6' -# - -@{ - -# Script module or binary module file associated with this manifest. -RootModule = 'EntityFramework6.psm1' - -# Version number of this module. -ModuleVersion = '6.4.4' - -# Supported PSEditions -# CompatiblePSEditions = @() - -# ID used to uniquely identify this module -GUID = 'ca09d46c-54a3-4aa3-9a62-cd8c94d6b6b9' - -# Author of this module -Author = 'Entity Framework Team' - -# Company or vendor of this module -CompanyName = 'Microsoft Corporation' - -# Copyright statement for this module -Copyright = '(c) Microsoft Corporation. All rights reserved.' - -# Description of the functionality provided by this module -Description = 'EntityFramework PowerShell module for use within NuGet''s Package Manager Console' - -# Minimum version of the Windows PowerShell engine required by this module -PowerShellVersion = '3.0' - -# Name of the Windows PowerShell host required by this module -PowerShellHostName = 'Package Manager Host' - -# Minimum version of the Windows PowerShell host required by this module -PowerShellHostVersion = '1.2' - -# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. -DotNetFrameworkVersion = '4.0' - -# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. -# CLRVersion = '' - -# Processor architecture (None, X86, Amd64) required by this module -# ProcessorArchitecture = '' - -# Modules that must be imported into the global environment prior to importing this module -# RequiredModules = @() - -# Assemblies that must be loaded prior to importing this module -# RequiredAssemblies = @() - -# Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() - -# Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() - -# Format files (.ps1xml) to be loaded when importing this module -# FormatsToProcess = @() - -# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess -# NestedModules = @() - -# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. -FunctionsToExport = ( - 'Add-EFDefaultConnectionFactory', - 'Add-EFProvider', - 'Add-Migration', - 'Enable-Migrations', - 'Get-Migrations', - 'Update-Database' -) - -# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. -CmdletsToExport = @() - -# Variables to export from this module -VariablesToExport = '*' - -# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. -AliasesToExport = @() - -# DSC resources to export from this module -# DscResourcesToExport = @() - -# List of all modules packaged with this module -# ModuleList = @() - -# List of all files packaged with this module -# FileList = @() - -# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. -PrivateData = @{ - - PSData = @{ - - # Tags applied to this module. These help with module discovery in online galleries. - # Tags = @() - - # A URL to the license for this module. - # LicenseUri = '' - - # A URL to the main website for this project. - # ProjectUri = '' - - # A URL to an icon representing this module. - # IconUri = '' - - # ReleaseNotes of this module - # ReleaseNotes = '' - - } # End of PSData hashtable - -} # End of PrivateData hashtable - -# HelpInfo URI of this module -# HelpInfoURI = '' - -# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. -# DefaultCommandPrefix = '' - -} - -# SIG # Begin signature block -# MIIkXwYJKoZIhvcNAQcCoIIkUDCCJEwCAQExDzANBglghkgBZQMEAgEFADB5Bgor -# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG -# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCcG0KjFL1QWHcc -# ieFGXdhIsk7IeHsfD93SuoZCwJ+nH6CCDYUwggYDMIID66ADAgECAhMzAAABUptA -# n1BWmXWIAAAAAAFSMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD -# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p -# bmcgUENBIDIwMTEwHhcNMTkwNTAyMjEzNzQ2WhcNMjAwNTAyMjEzNzQ2WjB0MQsw -# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u -# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB -# AQCxp4nT9qfu9O10iJyewYXHlN+WEh79Noor9nhM6enUNbCbhX9vS+8c/3eIVazS -# YnVBTqLzW7xWN1bCcItDbsEzKEE2BswSun7J9xCaLwcGHKFr+qWUlz7hh9RcmjYS -# kOGNybOfrgj3sm0DStoK8ljwEyUVeRfMHx9E/7Ca/OEq2cXBT3L0fVnlEkfal310 -# EFCLDo2BrE35NGRjG+/nnZiqKqEh5lWNk33JV8/I0fIcUKrLEmUGrv0CgC7w2cjm -# bBhBIJ+0KzSnSWingXol/3iUdBBy4QQNH767kYGunJeY08RjHMIgjJCdAoEM+2mX -# v1phaV7j+M3dNzZ/cdsz3oDfAgMBAAGjggGCMIIBfjAfBgNVHSUEGDAWBgorBgEE -# AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQU3f8Aw1sW72WcJ2bo/QSYGzVrRYcw -# VAYDVR0RBE0wS6RJMEcxLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9wZXJh -# dGlvbnMgTGltaXRlZDEWMBQGA1UEBRMNMjMwMDEyKzQ1NDEzNjAfBgNVHSMEGDAW -# gBRIbmTlUAXTgqoXNzcitW2oynUClTBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8v -# d3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NybC9NaWNDb2RTaWdQQ0EyMDExXzIw -# MTEtMDctMDguY3JsMGEGCCsGAQUFBwEBBFUwUzBRBggrBgEFBQcwAoZFaHR0cDov -# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jZXJ0cy9NaWNDb2RTaWdQQ0EyMDEx -# XzIwMTEtMDctMDguY3J0MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggIB -# AJTwROaHvogXgixWjyjvLfiRgqI2QK8GoG23eqAgNjX7V/WdUWBbs0aIC3k49cd0 -# zdq+JJImixcX6UOTpz2LZPFSh23l0/Mo35wG7JXUxgO0U+5drbQht5xoMl1n7/TQ -# 4iKcmAYSAPxTq5lFnoV2+fAeljVA7O43szjs7LR09D0wFHwzZco/iE8Hlakl23ZT -# 7FnB5AfU2hwfv87y3q3a5qFiugSykILpK0/vqnlEVB0KAdQVzYULQ/U4eFEjnis3 -# Js9UrAvtIhIs26445Rj3UP6U4GgOjgQonlRA+mDlsh78wFSGbASIvK+fkONUhvj8 -# B8ZHNn4TFfnct+a0ZueY4f6aRPxr8beNSUKn7QW/FQmn422bE7KfnqWncsH7vbNh -# G929prVHPsaa7J22i9wyHj7m0oATXJ+YjfyoEAtd5/NyIYaE4Uu0j1EhuYUo5VaJ -# JnMaTER0qX8+/YZRWrFN/heps41XNVjiAawpbAa0fUa3R9RNBjPiBnM0gvNPorM4 -# dsV2VJ8GluIQOrJlOvuCrOYDGirGnadOmQ21wPBoGFCWpK56PxzliKsy5NNmAXcE -# x7Qb9vUjY1WlYtrdwOXTpxN4slzIht69BaZlLIjLVWwqIfuNrhHKNDM9K+v7vgrI -# bf7l5/665g0gjQCDCN6Q5sxuttTAEKtJeS/pkpI+DbZ/MIIHejCCBWKgAwIBAgIK -# YQ6Q0gAAAAAAAzANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNV -# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv -# c29mdCBDb3Jwb3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlm -# aWNhdGUgQXV0aG9yaXR5IDIwMTEwHhcNMTEwNzA4MjA1OTA5WhcNMjYwNzA4MjEw -# OTA5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYD -# VQQDEx9NaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQSAyMDExMIICIjANBgkqhkiG -# 9w0BAQEFAAOCAg8AMIICCgKCAgEAq/D6chAcLq3YbqqCEE00uvK2WCGfQhsqa+la -# UKq4BjgaBEm6f8MMHt03a8YS2AvwOMKZBrDIOdUBFDFC04kNeWSHfpRgJGyvnkmc -# 6Whe0t+bU7IKLMOv2akrrnoJr9eWWcpgGgXpZnboMlImEi/nqwhQz7NEt13YxC4D -# dato88tt8zpcoRb0RrrgOGSsbmQ1eKagYw8t00CT+OPeBw3VXHmlSSnnDb6gE3e+ -# lD3v++MrWhAfTVYoonpy4BI6t0le2O3tQ5GD2Xuye4Yb2T6xjF3oiU+EGvKhL1nk -# kDstrjNYxbc+/jLTswM9sbKvkjh+0p2ALPVOVpEhNSXDOW5kf1O6nA+tGSOEy/S6 -# A4aN91/w0FK/jJSHvMAhdCVfGCi2zCcoOCWYOUo2z3yxkq4cI6epZuxhH2rhKEmd -# X4jiJV3TIUs+UsS1Vz8kA/DRelsv1SPjcF0PUUZ3s/gA4bysAoJf28AVs70b1FVL -# 5zmhD+kjSbwYuER8ReTBw3J64HLnJN+/RpnF78IcV9uDjexNSTCnq47f7Fufr/zd -# sGbiwZeBe+3W7UvnSSmnEyimp31ngOaKYnhfsi+E11ecXL93KCjx7W3DKI8sj0A3 -# T8HhhUSJxAlMxdSlQy90lfdu+HggWCwTXWCVmj5PM4TasIgX3p5O9JawvEagbJjS -# 4NaIjAsCAwEAAaOCAe0wggHpMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBRI -# bmTlUAXTgqoXNzcitW2oynUClTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTAL -# BgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBRyLToCMZBD -# uRQFTuHqp8cx0SOJNDBaBgNVHR8EUzBRME+gTaBLhklodHRwOi8vY3JsLm1pY3Jv -# c29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf -# MDNfMjIuY3JsMF4GCCsGAQUFBwEBBFIwUDBOBggrBgEFBQcwAoZCaHR0cDovL3d3 -# dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf -# MDNfMjIuY3J0MIGfBgNVHSAEgZcwgZQwgZEGCSsGAQQBgjcuAzCBgzA/BggrBgEF -# BQcCARYzaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9kb2NzL3ByaW1h -# cnljcHMuaHRtMEAGCCsGAQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAHAAbwBsAGkA -# YwB5AF8AcwB0AGEAdABlAG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQBn -# 8oalmOBUeRou09h0ZyKbC5YR4WOSmUKWfdJ5DJDBZV8uLD74w3LRbYP+vj/oCso7 -# v0epo/Np22O/IjWll11lhJB9i0ZQVdgMknzSGksc8zxCi1LQsP1r4z4HLimb5j0b -# pdS1HXeUOeLpZMlEPXh6I/MTfaaQdION9MsmAkYqwooQu6SpBQyb7Wj6aC6VoCo/ -# KmtYSWMfCWluWpiW5IP0wI/zRive/DvQvTXvbiWu5a8n7dDd8w6vmSiXmE0OPQvy -# CInWH8MyGOLwxS3OW560STkKxgrCxq2u5bLZ2xWIUUVYODJxJxp/sfQn+N4sOiBp -# mLJZiWhub6e3dMNABQamASooPoI/E01mC8CzTfXhj38cbxV9Rad25UAqZaPDXVJi -# hsMdYzaXht/a8/jyFqGaJ+HNpZfQ7l1jQeNbB5yHPgZ3BtEGsXUfFL5hYbXw3MYb -# BL7fQccOKO7eZS/sl/ahXJbYANahRr1Z85elCUtIEJmAH9AAKcWxm6U/RXceNcbS -# oqKfenoi+kiVH6v7RyOA9Z74v2u3S5fi63V4GuzqN5l5GEv/1rMjaHXmr/r8i+sL -# gOppO6/8MO0ETI7f33VtY5E90Z1WTk+/gFcioXgRMiF670EKsT/7qMykXcGhiJtX -# cVZOSEXAQsmbdlsKgEhr/Xmfwb1tbWrJUnMTDXpQzTGCFjAwghYsAgEBMIGVMH4x -# CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRt -# b25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01p -# Y3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBIDIwMTECEzMAAAFSm0CfUFaZdYgAAAAA -# AVIwDQYJYIZIAWUDBAIBBQCgga4wGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQw -# HAYKKwYBBAGCNwIBCzEOMAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIFiI -# NIl1ZAwQ5+xMDrKFC+l0KnnIIIT1hsM2wLg4UECKMEIGCisGAQQBgjcCAQwxNDAy -# oBSAEgBNAGkAYwByAG8AcwBvAGYAdKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5j -# b20wDQYJKoZIhvcNAQEBBQAEggEAQQvAdfgP9B94hZUcOJvbC+bT8A0phbfq7f/l -# JG6lGG0JJ3XWnfhw0hZ3VnAOmrYGhraB2pe5rFC1MkOTX9LbWK/WGxOakjtTz8rG -# eqdvv7XZ7M93jfzZVPtep8kWwUcyLKrIAi9VB+PngmDE1YjhDz/afzRcBj/ke8Vb -# NgPHN5o2UZRkSJb6CY+3eSvENs2KWo0fz+Gj+7Vxg8DPy8wixdGlXRJzrM63hvkI -# zyxBgxZZ8viHNKUzFTu2twYGB0SK0hXszpE1GInBLoyPmzf3XSFYBFWcOimI6W2e -# KM9lkYPmZhbaYHdObe/aGZ5pupbjfpaI1WcLQ67NwXUljNfoVKGCE7owghO2Bgor -# BgEEAYI3AwMBMYITpjCCE6IGCSqGSIb3DQEHAqCCE5MwghOPAgEDMQ8wDQYJYIZI -# AWUDBAIBBQAwggFYBgsqhkiG9w0BCRABBKCCAUcEggFDMIIBPwIBAQYKKwYBBAGE -# WQoDATAxMA0GCWCGSAFlAwQCAQUABCByo81xQmtg/4brZ/DJLRKTBt3urhdJLYFL -# W4x6UD/9CQIGXno8lH3RGBMyMDIwMDQxNjIyMTM0MS4xNDdaMAcCAQGAAgH0oIHU -# pIHRMIHOMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSkwJwYD -# VQQLEyBNaWNyb3NvZnQgT3BlcmF0aW9ucyBQdWVydG8gUmljbzEmMCQGA1UECxMd -# VGhhbGVzIFRTUyBFU046NzI4RC1DNDVGLUY5RUIxJTAjBgNVBAMTHE1pY3Jvc29m -# dCBUaW1lLVN0YW1wIFNlcnZpY2Wggg8iMIIE9TCCA92gAwIBAgITMwAAAQQJAXUI -# WIctKQAAAAABBDANBgkqhkiG9w0BAQsFADB8MQswCQYDVQQGEwJVUzETMBEGA1UE -# CBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z -# b2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQ -# Q0EgMjAxMDAeFw0xOTA5MDYyMDQxMThaFw0yMDEyMDQyMDQxMThaMIHOMQswCQYD -# VQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEe -# MBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSkwJwYDVQQLEyBNaWNyb3Nv -# ZnQgT3BlcmF0aW9ucyBQdWVydG8gUmljbzEmMCQGA1UECxMdVGhhbGVzIFRTUyBF -# U046NzI4RC1DNDVGLUY5RUIxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1w -# IFNlcnZpY2UwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDILQegEboY -# ZpaU4WD8FoJrTtqDVU02ch4GEAXNxh/ydcOm4YE3IKTYmZxmXtpL9QG8oOwAUj+n -# pIKUYVqQcseYDnjsaZZT15AsaYjJShRcfvkZ8YNDdWBTdmgLFY/RkTFnN0eoTyrY -# BTB11Cz8Y4t37ug04I3zotqYoea/zvnKdTovCr3U/vKeSZUTpNf/OZ7E4IBPNArn -# T/zYboiK0r5gzSlZjjBd2n1FlLMFT+r+rfXBo0lhtxjBjWXvBQd1VTi/qTbQm0Vf -# N6oULZMiMgPB7xmnIgH612Yv0A+Qv7yu13L6Hh24s4e4+ZV1A9z4h9H36h7zKefJ -# bFPwI6aq+WRnAgMBAAGjggEbMIIBFzAdBgNVHQ4EFgQUmNVe38JEGg4XAYvxmdPD -# IrDomuowHwYDVR0jBBgwFoAU1WM6XIoxkPNDe3xGG8UzaFqFbVUwVgYDVR0fBE8w -# TTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwvcHJvZHVj -# dHMvTWljVGltU3RhUENBXzIwMTAtMDctMDEuY3JsMFoGCCsGAQUFBwEBBE4wTDBK -# BggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9N -# aWNUaW1TdGFQQ0FfMjAxMC0wNy0wMS5jcnQwDAYDVR0TAQH/BAIwADATBgNVHSUE -# DDAKBggrBgEFBQcDCDANBgkqhkiG9w0BAQsFAAOCAQEAPRXUs3dpfDQDF9e0RXli -# 4TqpzgIMlyIx/LXVtcgPeGXc8p/DXrpHI8iC+/z5I/EeyhLRFC9HH0Z3bOiiE2jw -# V8ZaLM9YvpDIX3eneJEoJz1ptKqANeH6sSVDOj+X2X1kRlK7ZDSYWujfCHdQorso -# m6uytNxJ0y4JYtxF9S15cwTsssozN4QxlcYD5PQ+wcOYpIFY7vmKpfrV444Bv6Bc -# Plib8ATe2Lp2kVdOiSmcLGBj7DmANasnPFVwaMnihhSoSNqE4U/z+yDN4QsSzXOH -# 4sd7C2inuDWbWtK43bLGPCs/meLK/E/XWl0hWu5FKSlcOdu+/tEBQnOm5Kx45Sgf -# 5TCCBnEwggRZoAMCAQICCmEJgSoAAAAAAAIwDQYJKoZIhvcNAQELBQAwgYgxCzAJ -# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k -# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jv -# c29mdCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAyMDEwMB4XDTEwMDcwMTIx -# MzY1NVoXDTI1MDcwMTIxNDY1NVowfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh -# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD -# b3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIw -# MTAwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCpHQ28dxGKOiDs/BOX -# 9fp/aZRrdFQQ1aUKAIKF++18aEssX8XD5WHCdrc+Zitb8BVTJwQxH0EbGpUdzgkT -# jnxhMFmxMEQP8WCIhFRDDNdNuDgIs0Ldk6zWczBXJoKjRQ3Q6vVHgc2/JGAyWGBG -# 8lhHhjKEHnRhZ5FfgVSxz5NMksHEpl3RYRNuKMYa+YaAu99h/EbBJx0kZxJyGiGK -# r0tkiVBisV39dx898Fd1rL2KQk1AUdEPnAY+Z3/1ZsADlkR+79BL/W7lmsqxqPJ6 -# Kgox8NpOBpG2iAg16HgcsOmZzTznL0S6p/TcZL2kAcEgCZN4zfy8wMlEXV4WnAEF -# TyJNAgMBAAGjggHmMIIB4jAQBgkrBgEEAYI3FQEEAwIBADAdBgNVHQ4EFgQU1WM6 -# XIoxkPNDe3xGG8UzaFqFbVUwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYD -# VR0PBAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU1fZWy4/oolxi -# aNE9lJBb186aGMQwVgYDVR0fBE8wTTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3Nv -# ZnQuY29tL3BraS9jcmwvcHJvZHVjdHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMu -# Y3JsMFoGCCsGAQUFBwEBBE4wTDBKBggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNy -# b3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcnQw -# gaAGA1UdIAEB/wSBlTCBkjCBjwYJKwYBBAGCNy4DMIGBMD0GCCsGAQUFBwIBFjFo -# dHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vUEtJL2RvY3MvQ1BTL2RlZmF1bHQuaHRt -# MEAGCCsGAQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAFAAbwBsAGkAYwB5AF8AUwB0 -# AGEAdABlAG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQAH5ohRDeLG4Jg/ -# gXEDPZ2joSFvs+umzPUxvs8F4qn++ldtGTCzwsVmyWrf9efweL3HqJ4l4/m87WtU -# VwgrUYJEEvu5U4zM9GASinbMQEBBm9xcF/9c+V4XNZgkVkt070IQyK+/f8Z/8jd9 -# Wj8c8pl5SpFSAK84Dxf1L3mBZdmptWvkx872ynoAb0swRCQiPM/tA6WWj1kpvLb9 -# BOFwnzJKJ/1Vry/+tuWOM7tiX5rbV0Dp8c6ZZpCM/2pif93FSguRJuI57BlKcWOd -# eyFtw5yjojz6f32WapB4pm3S4Zz5Hfw42JT0xqUKloakvZ4argRCg7i1gJsiOCC1 -# JeVk7Pf0v35jWSUPei45V3aicaoGig+JFrphpxHLmtgOR5qAxdDNp9DvfYPw4Ttx -# Cd9ddJgiCGHasFAeb73x4QDf5zEHpJM692VHeOj4qEir995yfmFrb3epgcunCaw5 -# u+zGy9iCtHLNHfS4hQEegPsbiSpUObJb2sgNVZl6h3M7COaYLeqN4DMuEin1wC9U -# JyH3yKxO2ii4sanblrKnQqLJzxlBTeCG+SqaoxFmMNO7dDJL32N79ZmKLxvHIa9Z -# ta7cRDyXUHHXodLFVeNp3lfB0d4wwP3M5k37Db9dT+mdHhk4L7zPWAUu7w2gUDXa -# 7wknHNWzfjUeCLraNtvTX4/edIhJEqGCA7AwggKYAgEBMIH+oYHUpIHRMIHOMQsw -# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u -# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSkwJwYDVQQLEyBNaWNy -# b3NvZnQgT3BlcmF0aW9ucyBQdWVydG8gUmljbzEmMCQGA1UECxMdVGhhbGVzIFRT -# UyBFU046NzI4RC1DNDVGLUY5RUIxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0 -# YW1wIFNlcnZpY2WiJQoBATAJBgUrDgMCGgUAAxUAs0Yef0dI8yhMiFS2cxh4FtwV -# Cn2ggd4wgdukgdgwgdUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9u -# MRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRp -# b24xKTAnBgNVBAsTIE1pY3Jvc29mdCBPcGVyYXRpb25zIFB1ZXJ0byBSaWNvMScw -# JQYDVQQLEx5uQ2lwaGVyIE5UUyBFU046NERFOS0wQzVFLTNFMDkxKzApBgNVBAMT -# Ik1pY3Jvc29mdCBUaW1lIFNvdXJjZSBNYXN0ZXIgQ2xvY2swDQYJKoZIhvcNAQEF -# BQACBQDiQwzZMCIYDzIwMjAwNDE3MDA1NjU3WhgPMjAyMDA0MTgwMDU2NTdaMHcw -# PQYKKwYBBAGEWQoEATEvMC0wCgIFAOJDDNkCAQAwCgIBAAICDs8CAf8wBwIBAAIC -# GdQwCgIFAOJEXlkCAQAwNgYKKwYBBAGEWQoEAjEoMCYwDAYKKwYBBAGEWQoDAaAK -# MAgCAQACAxbjYKEKMAgCAQACAwehIDANBgkqhkiG9w0BAQUFAAOCAQEAVR5+BjNf -# Gc+5pG6BYZN1foVdYAhowMIzZku0Wn47KaKZitoIUPeatitszQkCDyXpF/oVrnry -# 4xmOFrItv3q38dsuXxDO7UlaWle/OJgZGi6sYH7H+ZvMGqHVFAyMeUTazzFY4QYV -# rMDJjolp113C/X01QTEk+zG3gsJspiAMGjKeOJsFba4/4mxrYhPx93HbT0HIzdg9 -# D/0vU17zrvL13nsWkeWkpODZ2KoVOhkpUUTwKSwGTMEFjC0j3ffO3a91albF86RW -# FG40o2cWNGXSY7N1yiR9MGH1RD92ZT9T6oKwsNQKlX4FidP/geCN0q85PkoAqfcq -# a6UuVo1fRGEDQjGCAvUwggLxAgEBMIGTMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQI -# EwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3Nv -# ZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBD -# QSAyMDEwAhMzAAABBAkBdQhYhy0pAAAAAAEEMA0GCWCGSAFlAwQCAQUAoIIBMjAa -# BgkqhkiG9w0BCQMxDQYLKoZIhvcNAQkQAQQwLwYJKoZIhvcNAQkEMSIEIAyAZXxY -# xS9hHHh9BPYXPuaSgjyv5xF4mZLXsdyi0QHtMIHiBgsqhkiG9w0BCRACDDGB0jCB -# zzCBzDCBsQQUs0Yef0dI8yhMiFS2cxh4FtwVCn0wgZgwgYCkfjB8MQswCQYDVQQG -# EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG -# A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQg -# VGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAQQJAXUIWIctKQAAAAABBDAWBBS6KRcG -# MO6TSAD4ldO5lf1QBYOnjTANBgkqhkiG9w0BAQsFAASCAQBCdLtpeDxrqA0pkyDv -# MCD7/VYYdMuQhoXQ90sYgx0tBr7CMNBZzd14daBMHpjWvB4lBsgcIsbt5P5Us9fV -# 6LQjfVjkRv+QQPSiT6n8DXGOaVY82irsBExvAGGIHfyrLF86Z2gu2sVQhoy0a7ab -# XE0uuAc2pakzaH7JqDgIwTmJwTVwMxqdMtl7AAeGoh1wrtt9G7rR2IqRRnLBEic6 -# PHqwfeuQTXp951s5morS6uyekb9j0hqAw7jnlM/WpSp3DvD6wc/Q1EVrNpxiADAT -# HEavZS9jIsX7xYpVm+YGl7/tOBm1R6ra67YL9+iPHOZMsvOQ+q94rgpJJVpYKa6O -# APYU -# SIG # End signature block diff --git a/app/packages/EntityFramework.6.4.4/tools/EntityFramework6.psm1 b/app/packages/EntityFramework.6.4.4/tools/EntityFramework6.psm1 deleted file mode 100644 index d5f1c6a..0000000 --- a/app/packages/EntityFramework.6.4.4/tools/EntityFramework6.psm1 +++ /dev/null @@ -1,1407 +0,0 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. - -$ErrorActionPreference = 'Stop' -$InitialDatabase = '0' - -<# -.SYNOPSIS - Adds or updates an Entity Framework provider entry in the project config - file. - -.DESCRIPTION - Adds an entry into the 'entityFramework' section of the project config - file for the specified provider invariant name and provider type. If an - entry for the given invariant name already exists, then that entry is - updated with the given type name, unless the given type name already - matches, in which case no action is taken. The 'entityFramework' - section is added if it does not exist. The config file is automatically - saved if and only if a change was made. - - This command is typically used only by Entity Framework provider NuGet - packages and is run from the 'install.ps1' script. - -.PARAMETER Project - The Visual Studio project to update. When running in the NuGet install.ps1 - script the '$project' variable provided as part of that script should be - used. - -.PARAMETER InvariantName - The provider invariant name that uniquely identifies this provider. For - example, the Microsoft SQL Server provider is registered with the invariant - name 'System.Data.SqlClient'. - -.PARAMETER TypeName - The assembly-qualified type name of the provider-specific type that - inherits from 'System.Data.Entity.Core.Common.DbProviderServices'. For - example, for the Microsoft SQL Server provider, this type is - 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'. -#> -function Add-EFProvider -{ - [CmdletBinding(PositionalBinding = $false)] - param( - [parameter(Position = 0, Mandatory = $true)] - $Project, - [parameter(Position = 1, Mandatory = $true)] - [string] $InvariantName, - [parameter(Position = 2, Mandatory = $true)] - [string] $TypeName) - - $configPath = GetConfigPath $Project - if (!$configPath) - { - return - } - - [xml] $configXml = Get-Content $configPath - - $providers = $configXml.configuration.entityFramework.providers - - $providers.provider | - where invariantName -eq $InvariantName | - %{ $providers.RemoveChild($_) | Out-Null } - - $provider = $providers.AppendChild($configXml.CreateElement('provider')) - $provider.SetAttribute('invariantName', $InvariantName) - $provider.SetAttribute('type', $TypeName) - - $configXml.Save($configPath) -} - -<# -.SYNOPSIS - Adds or updates an Entity Framework default connection factory in the - project config file. - -.DESCRIPTION - Adds an entry into the 'entityFramework' section of the project config - file for the connection factory that Entity Framework will use by default - when creating new connections by convention. Any existing entry will be - overridden if it does not match. The 'entityFramework' section is added if - it does not exist. The config file is automatically saved if and only if - a change was made. - - This command is typically used only by Entity Framework provider NuGet - packages and is run from the 'install.ps1' script. - -.PARAMETER Project - The Visual Studio project to update. When running in the NuGet install.ps1 - script the '$project' variable provided as part of that script should be - used. - -.PARAMETER TypeName - The assembly-qualified type name of the connection factory type that - implements the 'System.Data.Entity.Infrastructure.IDbConnectionFactory' - interface. For example, for the Microsoft SQL Server Express provider - connection factory, this type is - 'System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework'. - -.PARAMETER ConstructorArguments - An optional array of strings that will be passed as arguments to the - connection factory type constructor. -#> -function Add-EFDefaultConnectionFactory -{ - [CmdletBinding(PositionalBinding = $false)] - param( - [parameter(Position = 0, Mandatory = $true)] - $Project, - [parameter(Position = 1, Mandatory = $true)] - [string] $TypeName, - [string[]] $ConstructorArguments) - - $configPath = GetConfigPath $Project - if (!$configPath) - { - return - } - - [xml] $configXml = Get-Content $configPath - - $entityFramework = $configXml.configuration.entityFramework - $defaultConnectionFactory = $entityFramework.defaultConnectionFactory - if ($defaultConnectionFactory) - { - $entityFramework.RemoveChild($defaultConnectionFactory) | Out-Null - } - $defaultConnectionFactory = $entityFramework.AppendChild($configXml.CreateElement('defaultConnectionFactory')) - - $defaultConnectionFactory.SetAttribute('type', $TypeName) - - if ($ConstructorArguments) - { - $parameters = $defaultConnectionFactory.AppendChild($configXml.CreateElement('parameters')) - - foreach ($constructorArgument in $ConstructorArguments) - { - $parameter = $parameters.AppendChild($configXml.CreateElement('parameter')) - $parameter.SetAttribute('value', $constructorArgument) - } - } - - $configXml.Save($configPath) -} - -<# -.SYNOPSIS - Enables Code First Migrations in a project. - -.DESCRIPTION - Enables Migrations by scaffolding a migrations configuration class in the project. If the - target database was created by an initializer, an initial migration will be created (unless - automatic migrations are enabled via the EnableAutomaticMigrations parameter). - -.PARAMETER ContextTypeName - Specifies the context to use. If omitted, migrations will attempt to locate a - single context type in the target project. - -.PARAMETER EnableAutomaticMigrations - Specifies whether automatic migrations will be enabled in the scaffolded migrations configuration. - If omitted, automatic migrations will be disabled. - -.PARAMETER MigrationsDirectory - Specifies the name of the directory that will contain migrations code files. - If omitted, the directory will be named "Migrations". - -.PARAMETER ProjectName - Specifies the project that the scaffolded migrations configuration class will - be added to. If omitted, the default project selected in package manager - console is used. - -.PARAMETER StartUpProjectName - Specifies the configuration file to use for named connection strings. If - omitted, the specified project's configuration file is used. - -.PARAMETER ContextProjectName - Specifies the project which contains the DbContext class to use. If omitted, - the context is assumed to be in the same project used for migrations. - -.PARAMETER ConnectionStringName - Specifies the name of a connection string to use from the application's - configuration file. - -.PARAMETER ConnectionString - Specifies the connection string to use. If omitted, the context's - default connection will be used. - -.PARAMETER ConnectionProviderName - Specifies the provider invariant name of the connection string. - -.PARAMETER Force - Specifies that the migrations configuration be overwritten when running more - than once for a given project. - -.PARAMETER ContextAssemblyName - Specifies the name of the assembly which contains the DbContext class to use. Use this - parameter instead of ContextProjectName when the context is contained in a referenced - assembly rather than in a project of the solution. - -.PARAMETER AppDomainBaseDirectory - Specifies the directory to use for the app-domain that is used for running Migrations - code such that the app-domain is able to find all required assemblies. This is an - advanced option that should only be needed if the solution contains several projects - such that the assemblies needed for the context and configuration are not all - referenced from either the project containing the context or the project containing - the migrations. - -.EXAMPLE - Enable-Migrations - # Scaffold a migrations configuration in a project with only one context - -.EXAMPLE - Enable-Migrations -Auto - # Scaffold a migrations configuration with automatic migrations enabled for a project - # with only one context - -.EXAMPLE - Enable-Migrations -ContextTypeName MyContext -MigrationsDirectory DirectoryName - # Scaffold a migrations configuration for a project with multiple contexts - # This scaffolds a migrations configuration for MyContext and will put the configuration - # and subsequent configurations in a new directory called "DirectoryName" - -#> -function Enable-Migrations -{ - [CmdletBinding(DefaultParameterSetName = 'ConnectionStringName', PositionalBinding = $false)] - param( - [string] $ContextTypeName, - [alias('Auto')] - [switch] $EnableAutomaticMigrations, - [string] $MigrationsDirectory, - [string] $ProjectName, - [string] $StartUpProjectName, - [string] $ContextProjectName, - [parameter(ParameterSetName = 'ConnectionStringName')] - [string] $ConnectionStringName, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', Mandatory = $true)] - [string] $ConnectionString, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', Mandatory = $true)] - [string] $ConnectionProviderName, - [switch] $Force, - [string] $ContextAssemblyName, - [string] $AppDomainBaseDirectory) - - WarnIfOtherEFs 'Enable-Migrations' - - $project = GetProject $ProjectName - $startupProject = GetStartupProject $StartUpProjectName $project - - if (!$ContextAssemblyName -and $ContextProjectName) - { - $contextProject = Get-Project $ContextProjectName - $ContextAssemblyName = GetProperty $contextProject.Properties 'AssemblyName' - } - - $params = 'migrations', 'enable', '--json' - - if ($ContextTypeName) - { - $params += '--context', $ContextTypeName - } - - if ($ContextAssemblyName) - { - $params += '--context-assembly', $ContextAssemblyName - } - - if ($EnableAutomaticMigrations) - { - $params += '--auto' - } - - if ($MigrationsDirectory) - { - $params += '--migrations-dir', $MigrationsDirectory - } - - $params += GetParams $ConnectionStringName $ConnectionString $ConnectionProviderName - - if ($Force) - { - $params += '--force' - } - - # NB: -join is here to support ConvertFrom-Json on PowerShell 3.0 - $result = (EF6 $project $startupProject $AppDomainBaseDirectory $params) -join "`n" | ConvertFrom-Json - - $project.ProjectItems.AddFromFile($result.migrationsConfiguration) | Out-Null - $DTE.ItemOperations.OpenFile($result.migrationsConfiguration) | Out-Null - ShowConsole - - if ($result.migration) - { - $project.ProjectItems.AddFromFile($result.migration) | Out-Null - $resourcesProperties = $project.ProjectItems.AddFromFile($result.migrationResources).Properties - $project.ProjectItems.AddFromFile($result.migrationDesigner) | Out-Null - } -} - -<# -.SYNOPSIS - Scaffolds a migration script for any pending model changes. - -.DESCRIPTION - Scaffolds a new migration script and adds it to the project. - -.PARAMETER Name - Specifies the name of the custom script. - -.PARAMETER Force - Specifies that the migration user code be overwritten when re-scaffolding an - existing migration. - -.PARAMETER ProjectName - Specifies the project that contains the migration configuration type to be - used. If omitted, the default project selected in package manager console - is used. - -.PARAMETER StartUpProjectName - Specifies the configuration file to use for named connection strings. If - omitted, the specified project's configuration file is used. - -.PARAMETER ConfigurationTypeName - Specifies the migrations configuration to use. If omitted, migrations will - attempt to locate a single migrations configuration type in the target - project. - -.PARAMETER ConnectionStringName - Specifies the name of a connection string to use from the application's - configuration file. - -.PARAMETER ConnectionString - Specifies the connection string to use. If omitted, the context's - default connection will be used. - -.PARAMETER ConnectionProviderName - Specifies the provider invariant name of the connection string. - -.PARAMETER IgnoreChanges - Scaffolds an empty migration ignoring any pending changes detected in the current model. - This can be used to create an initial, empty migration to enable Migrations for an existing - database. N.B. Doing this assumes that the target database schema is compatible with the - current model. - -.PARAMETER AppDomainBaseDirectory - Specifies the directory to use for the app-domain that is used for running Migrations - code such that the app-domain is able to find all required assemblies. This is an - advanced option that should only be needed if the solution contains several projects - such that the assemblies needed for the context and configuration are not all - referenced from either the project containing the context or the project containing - the migrations. - -.EXAMPLE - Add-Migration First - # Scaffold a new migration named "First" - -.EXAMPLE - Add-Migration First -IgnoreChanges - # Scaffold an empty migration ignoring any pending changes detected in the current model. - # This can be used to create an initial, empty migration to enable Migrations for an existing - # database. N.B. Doing this assumes that the target database schema is compatible with the - # current model. - -#> -function Add-Migration -{ - [CmdletBinding(DefaultParameterSetName = 'ConnectionStringName', PositionalBinding = $false)] - param( - [parameter(Position = 0, Mandatory = $true)] - [string] $Name, - [switch] $Force, - [string] $ProjectName, - [string] $StartUpProjectName, - [string] $ConfigurationTypeName, - [parameter(ParameterSetName = 'ConnectionStringName')] - [string] $ConnectionStringName, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', Mandatory = $true)] - [string] $ConnectionString, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', Mandatory = $true)] - [string] $ConnectionProviderName, - [switch] $IgnoreChanges, - [string] $AppDomainBaseDirectory) - - WarnIfOtherEFs 'Add-Migration' - - $project = GetProject $ProjectName - $startupProject = GetStartupProject $StartUpProjectName $project - - $params = 'migrations', 'add', $Name, '--json' - - if ($Force) - { - $params += '--force' - } - - if ($ConfigurationTypeName) - { - $params += '--migrations-config', $ConfigurationTypeName - } - - if ($IgnoreChanges) - { - $params += '--ignore-changes' - } - - $params += GetParams $ConnectionStringName $ConnectionString $ConnectionProviderName - - # NB: -join is here to support ConvertFrom-Json on PowerShell 3.0 - $result = (EF6 $project $startupProject $AppDomainBaseDirectory $params) -join "`n" | ConvertFrom-Json - - $project.ProjectItems.AddFromFile($result.migration) | Out-Null - $DTE.ItemOperations.OpenFile($result.migration) | Out-Null - $resourcesProperties = $project.ProjectItems.AddFromFile($result.migrationResources).Properties - $project.ProjectItems.AddFromFile($result.migrationDesigner) | Out-Null -} - -<# -.SYNOPSIS - Applies any pending migrations to the database. - -.DESCRIPTION - Updates the database to the current model by applying pending migrations. - -.PARAMETER SourceMigration - Only valid with -Script. Specifies the name of a particular migration to use - as the update's starting point. If omitted, the last applied migration in - the database will be used. - -.PARAMETER TargetMigration - Specifies the name of a particular migration to update the database to. If - omitted, the current model will be used. - -.PARAMETER Script - Generate a SQL script rather than executing the pending changes directly. - -.PARAMETER Force - Specifies that data loss is acceptable during automatic migration of the - database. - -.PARAMETER ProjectName - Specifies the project that contains the migration configuration type to be - used. If omitted, the default project selected in package manager console - is used. - -.PARAMETER StartUpProjectName - Specifies the configuration file to use for named connection strings. If - omitted, the specified project's configuration file is used. - -.PARAMETER ConfigurationTypeName - Specifies the migrations configuration to use. If omitted, migrations will - attempt to locate a single migrations configuration type in the target - project. - -.PARAMETER ConnectionStringName - Specifies the name of a connection string to use from the application's - configuration file. - -.PARAMETER ConnectionString - Specifies the connection string to use. If omitted, the context's - default connection will be used. - -.PARAMETER ConnectionProviderName - Specifies the provider invariant name of the connection string. - -.PARAMETER AppDomainBaseDirectory - Specifies the directory to use for the app-domain that is used for running Migrations - code such that the app-domain is able to find all required assemblies. This is an - advanced option that should only be needed if the solution contains several projects - such that the assemblies needed for the context and configuration are not all - referenced from either the project containing the context or the project containing - the migrations. - -.EXAMPLE - Update-Database - # Update the database to the latest migration - -.EXAMPLE - Update-Database -TargetMigration Second - # Update database to a migration named "Second" - # This will apply migrations if the target hasn't been applied or roll back migrations - # if it has - -.EXAMPLE - Update-Database -Script - # Generate a script to update the database from its current state to the latest migration - -.EXAMPLE - Update-Database -Script -SourceMigration Second -TargetMigration First - # Generate a script to migrate the database from a specified start migration - # named "Second" to a specified target migration named "First" - -.EXAMPLE - Update-Database -Script -SourceMigration $InitialDatabase - # Generate a script that can upgrade a database currently at any version to the latest version. - # The generated script includes logic to check the __MigrationsHistory table and only apply changes - # that haven't been previously applied. - -.EXAMPLE - Update-Database -TargetMigration $InitialDatabase - # Runs the Down method to roll-back any migrations that have been applied to the database - - -#> -function Update-Database -{ - [CmdletBinding(DefaultParameterSetName = 'ConnectionStringName', PositionalBinding = $false)] - param( - [string] $SourceMigration, - [string] $TargetMigration, - [switch] $Script, - [switch] $Force, - [string] $ProjectName, - [string] $StartUpProjectName, - [string] $ConfigurationTypeName, - [parameter(ParameterSetName = 'ConnectionStringName')] - [string] $ConnectionStringName, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', Mandatory = $true)] - [string] $ConnectionString, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', Mandatory = $true)] - [string] $ConnectionProviderName, - [string] $AppDomainBaseDirectory) - - WarnIfOtherEFs 'Update-Database' - - $project = GetProject $ProjectName - $startupProject = GetStartupProject $StartUpProjectName $project - - $params = 'database', 'update' - - if ($SourceMigration) - { - $params += '--source', $SourceMigration - } - - if ($TargetMigration) - { - $params += '--target', $TargetMigration - } - - if ($Script) - { - $params += '--script' - } - - if ($Force) - { - $params += '--force' - } - - if ($ConfigurationTypeName) - { - $params += '--migrations-config', $ConfigurationTypeName - } - - $params += GetParams $ConnectionStringName $ConnectionString $ConnectionProviderName - - $result = (EF6 $project $startupProject $AppDomainBaseDirectory $params) -join "`n" - if ($result) - { - try - { - $window = $DTE.ItemOperations.NewFile('General\Sql File') - $textDocument = $window.Document.Object('TextDocument') - $editPoint = $textDocument.StartPoint.CreateEditPoint() - $editPoint.Insert($result) - } - catch - { - $intermediatePath = GetIntermediatePath $project - if (![IO.Path]::IsPathRooted($intermediatePath)) - { - $projectDir = GetProperty $project.Properties 'FullPath' - $intermediatePath = Join-Path $projectDir $intermediatePath -Resolve | Convert-Path - } - - $fileName = [IO.Path]::ChangeExtension([IO.Path]::GetRandomFileName(), '.sql') - $sqlFile = Join-Path $intermediatePath $fileName - - [IO.File]::WriteAllText($sqlFile, $result) - - $DTE.ItemOperations.OpenFile($sqlFile) | Out-Null - } - - ShowConsole - } -} - -<# -.SYNOPSIS - Displays the migrations that have been applied to the target database. - -.DESCRIPTION - Displays the migrations that have been applied to the target database. - -.PARAMETER ProjectName - Specifies the project that contains the migration configuration type to be - used. If omitted, the default project selected in package manager console - is used. - -.PARAMETER StartUpProjectName - Specifies the configuration file to use for named connection strings. If - omitted, the specified project's configuration file is used. - -.PARAMETER ConfigurationTypeName - Specifies the migrations configuration to use. If omitted, migrations will - attempt to locate a single migrations configuration type in the target - project. - -.PARAMETER ConnectionStringName - Specifies the name of a connection string to use from the application's - configuration file. - -.PARAMETER ConnectionString - Specifies the connection string to use. If omitted, the context's - default connection will be used. - -.PARAMETER ConnectionProviderName - Specifies the provider invariant name of the connection string. - -.PARAMETER AppDomainBaseDirectory - Specifies the directory to use for the app-domain that is used for running Migrations - code such that the app-domain is able to find all required assemblies. This is an - advanced option that should only be needed if the solution contains several projects - such that the assemblies needed for the context and configuration are not all - referenced from either the project containing the context or the project containing - the migrations. -#> -function Get-Migrations -{ - [CmdletBinding(DefaultParameterSetName = 'ConnectionStringName', PositionalBinding = $false)] - param( - [string] $ProjectName, - [string] $StartUpProjectName, - [string] $ConfigurationTypeName, - [parameter(ParameterSetName = 'ConnectionStringName')] - [string] $ConnectionStringName, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', Mandatory = $true)] - [string] $ConnectionString, - [parameter(ParameterSetName = 'ConnectionStringAndProviderName', Mandatory = $true)] - [string] $ConnectionProviderName, - [string] $AppDomainBaseDirectory) - - WarnIfOtherEFs 'Get-Migrations' - - $project = GetProject $ProjectName - $startupProject = GetStartupProject $StartUpProjectName $project - - $params = 'migrations', 'list' - - if ($ConfigurationTypeName) - { - $params += '--migrations-config', $ConfigurationTypeName - } - - $params += GetParams $ConnectionStringName $ConnectionString $ConnectionProviderName - - return EF6 $project $startupProject $AppDomainBaseDirectory $params -} - -function WarnIfOtherEFs($cmdlet) -{ - if (Get-Module 'EntityFrameworkCore') - { - Write-Warning "Both Entity Framework 6 and Entity Framework Core are installed. The Entity Framework 6 tools are running. Use 'EntityFrameworkCore\$cmdlet' for Entity Framework Core." - } - - if (Get-Module 'EntityFramework') - { - Write-Warning "A version of Entity Framework older than 6.3 is also installed. The newer tools are running. Use 'EntityFramework\$cmdlet' for the older version." - } -} - -function GetProject($projectName) -{ - if (!$projectName) - { - return Get-Project - } - - return Get-Project $projectName -} - -function GetStartupProject($name, $fallbackProject) -{ - if ($name) - { - return Get-Project $name - } - - $startupProjectPaths = $DTE.Solution.SolutionBuild.StartupProjects - if ($startupProjectPaths) - { - if ($startupProjectPaths.Length -eq 1) - { - $startupProjectPath = $startupProjectPaths[0] - if (![IO.Path]::IsPathRooted($startupProjectPath)) - { - $solutionPath = Split-Path (GetProperty $DTE.Solution.Properties 'Path') - $startupProjectPath = Join-Path $solutionPath $startupProjectPath -Resolve | Convert-Path - } - - $startupProject = GetSolutionProjects | - ?{ - try - { - $fullName = $_.FullName - } - catch [NotImplementedException] - { - return $false - } - - if ($fullName -and $fullName.EndsWith('\')) - { - $fullName = $fullName.Substring(0, $fullName.Length - 1) - } - - return $fullName -eq $startupProjectPath - } - if ($startupProject) - { - return $startupProject - } - - Write-Warning "Unable to resolve startup project '$startupProjectPath'." - } - else - { - Write-Warning 'Multiple startup projects set.' - } - } - else - { - Write-Warning 'No startup project set.' - } - - Write-Warning "Using project '$($fallbackProject.ProjectName)' as the startup project." - - return $fallbackProject -} - -function GetSolutionProjects() -{ - $projects = New-Object 'System.Collections.Stack' - - $DTE.Solution.Projects | - %{ $projects.Push($_) } - - while ($projects.Count) - { - $project = $projects.Pop(); - - <# yield return #> $project - - if ($project.ProjectItems) - { - $project.ProjectItems | - ?{ $_.SubProject } | - %{ $projects.Push($_.SubProject) } - } - } -} - -function GetParams($connectionStringName, $connectionString, $connectionProviderName) -{ - $params = @() - - if ($connectionStringName) - { - $params += '--connection-string-name', $connectionStringName - } - - if ($connectionString) - { - $params += '--connection-string', $connectionString, - '--connection-provider', $connectionProviderName - } - - return $params -} - -function ShowConsole -{ - $componentModel = Get-VSComponentModel - $powerConsoleWindow = $componentModel.GetService([NuGetConsole.IPowerConsoleWindow]) - $powerConsoleWindow.Show() -} - -function WriteErrorLine($message) -{ - try - { - # Call the internal API NuGet uses to display errors - $componentModel = Get-VSComponentModel - $powerConsoleWindow = $componentModel.GetService([NuGetConsole.IPowerConsoleWindow]) - $bindingFlags = [Reflection.BindingFlags]::Instance -bor [Reflection.BindingFlags]::NonPublic - $activeHostInfo = $powerConsoleWindow.GetType().GetProperty('ActiveHostInfo', $bindingFlags).GetValue($powerConsoleWindow) - $internalHost = $activeHostInfo.WpfConsole.Host - $reportErrorMethod = $internalHost.GetType().GetMethod('ReportError', $bindingFlags, $null, [Exception], $null) - $exception = New-Object Exception $message - $reportErrorMethod.Invoke($internalHost, $exception) - } - catch - { - Write-Host $message -ForegroundColor DarkRed - } -} - -function EF6($project, $startupProject, $workingDir, $params) -{ - $solutionBuild = $DTE.Solution.SolutionBuild - $solutionBuild.BuildProject( - $solutionBuild.ActiveConfiguration.Name, - $project.UniqueName, - <# WaitForBuildToFinish #> $true) - if ($solutionBuild.LastBuildInfo) - { - throw "The project '$($project.ProjectName)' failed to build." - } - - $projectDir = GetProperty $project.Properties 'FullPath' - $outputPath = GetProperty $project.ConfigurationManager.ActiveConfiguration.Properties 'OutputPath' - $targetDir = [IO.Path]::GetFullPath([IO.Path]::Combine($projectDir, $outputPath)) - $targetFrameworkMoniker = GetProperty $project.Properties 'TargetFrameworkMoniker' - $frameworkName = New-Object 'System.Runtime.Versioning.FrameworkName' $targetFrameworkMoniker - $targetFrameworkIdentifier = $frameworkName.Identifier - $targetFrameworkVersion = $frameworkName.Version - - if ($targetFrameworkIdentifier -in '.NETFramework') - { - if ($targetFrameworkVersion -lt '4.5') - { - $frameworkDir = 'net40' - } - else - { - $frameworkDir = 'net45' - } - - $platformTarget = GetPlatformTarget $project - if ($platformTarget -eq 'x86') - { - $runtimeDir = 'win-x86' - } - elseif ($platformTarget -in 'AnyCPU', 'x64') - { - $runtimeDir = 'any' - } - else - { - throw "Project '$($project.ProjectName)' has an active platform of '$platformTarget'. Select a different " + - 'platform and try again.' - } - - $exePath = Join-Path $PSScriptRoot "$frameworkDir\$runtimeDir\ef6.exe" - } - elseif ($targetFrameworkIdentifier -eq '.NETCoreApp') - { - $exePath = (Get-Command 'dotnet').Path - - $targetName = GetProperty $project.Properties 'AssemblyName' - $depsFile = Join-Path $targetDir ($targetName + '.deps.json') - $projectAssetsFile = GetCpsProperty $project 'ProjectAssetsFile' - $runtimeConfig = Join-Path $targetDir ($targetName + '.runtimeconfig.json') - $runtimeFrameworkVersion = GetCpsProperty $project 'RuntimeFrameworkVersion' - $efPath = Join-Path $PSScriptRoot 'netcoreapp3.0\any\ef6.dll' - - $dotnetParams = 'exec', '--depsfile', $depsFile - - if ($projectAssetsFile) - { - # NB: Don't use Get-Content. It doesn't handle UTF-8 without a signature - # NB: Don't use ReadAllLines. ConvertFrom-Json won't work on PowerShell 3.0 - $projectAssets = [IO.File]::ReadAllText($projectAssetsFile) | ConvertFrom-Json - $projectAssets.packageFolders.psobject.Properties.Name | - %{ $dotnetParams += '--additionalprobingpath', $_.TrimEnd('\') } - } - - if (Test-Path $runtimeConfig) - { - $dotnetParams += '--runtimeconfig', $runtimeConfig - } - elseif ($runtimeFrameworkVersion) - { - $dotnetParams += '--fx-version', $runtimeFrameworkVersion - } - - $dotnetParams += $efPath - - $params = $dotnetParams + $params - } - else - { - throw "Project '$($startupProject.ProjectName)' targets framework '$targetFrameworkIdentifier'. The Entity Framework " + - 'Package Manager Console Tools don''t support this framework.' - } - - $targetFileName = GetProperty $project.Properties 'OutputFileName' - $targetPath = Join-Path $targetDir $targetFileName - $rootNamespace = GetProperty $project.Properties 'RootNamespace' - $language = GetLanguage $project - - $params += '--verbose', - '--no-color', - '--prefix-output', - '--assembly', $targetPath, - '--project-dir', $projectDir, - '--language', $language - - if (IsWeb $startupProject) - { - $startupProjectDir = GetProperty $startupProject.Properties 'FullPath' - $params += '--data-dir', (Join-Path $startupProjectDir 'App_Data') - } - - if ($rootNamespace) - { - $params += '--root-namespace', $rootNamespace - } - - $configFile = GetConfigPath $startupProject - if ($configFile) - { - $params += '--config', $configFile - } - - if (!$workingDir) - { - $workingDir = $targetDir - } - - $arguments = ToArguments $params - $startInfo = New-Object 'System.Diagnostics.ProcessStartInfo' -Property @{ - FileName = $exePath; - Arguments = $arguments; - UseShellExecute = $false; - CreateNoWindow = $true; - RedirectStandardOutput = $true; - StandardOutputEncoding = [Text.Encoding]::UTF8; - RedirectStandardError = $true; - WorkingDirectory = $workingDir; - } - - Write-Verbose "$exePath $arguments" - - $process = [Diagnostics.Process]::Start($startInfo) - - while (($line = $process.StandardOutput.ReadLine()) -ne $null) - { - $level = $null - $text = $null - - $parts = $line.Split(':', 2) - if ($parts.Length -eq 2) - { - $level = $parts[0] - - $i = 0 - $count = 8 - $level.Length - while ($i -lt $count -and $parts[1][$i] -eq ' ') - { - $i++ - } - - $text = $parts[1].Substring($i) - } - - switch ($level) - { - 'error' { WriteErrorLine $text } - 'warn' { Write-Warning $text } - 'info' { Write-Host $text } - 'data' { Write-Output $text } - 'verbose' { Write-Verbose $text } - default { Write-Host $line } - } - } - - $process.WaitForExit() - - if ($process.ExitCode) - { - while (($line = $process.StandardError.ReadLine()) -ne $null) - { - WriteErrorLine $line - } - - exit - } -} - -function IsCpsProject($project) -{ - $hierarchy = GetVsHierarchy $project - $isCapabilityMatch = [Microsoft.VisualStudio.Shell.PackageUtilities].GetMethod( - 'IsCapabilityMatch', - [type[]]([Microsoft.VisualStudio.Shell.Interop.IVsHierarchy], [string])) - - return $isCapabilityMatch.Invoke($null, ($hierarchy, 'CPS')) -} - -function IsWeb($project) -{ - $hierarchy = GetVsHierarchy $project - - $aggregatableProject = Get-Interface $hierarchy 'Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject' - if (!$aggregatableProject) - { - $projectTypes = $project.Kind - } - else - { - $projectTypeGuids = $null - $hr = $aggregatableProject.GetAggregateProjectTypeGuids([ref] $projectTypeGuids) - [Runtime.InteropServices.Marshal]::ThrowExceptionForHR($hr) - - $projectTypes = $projectTypeGuids.Split(';') - } - - foreach ($projectType in $projectTypes) - { - if ($projectType -in '{349C5851-65DF-11DA-9384-00065B846F21}', '{E24C65DC-7377-472B-9ABA-BC803B73C61A}') - { - return $true - } - } - - return $false; -} - -function GetIntermediatePath($project) -{ - $intermediatePath = GetProperty $project.ConfigurationManager.ActiveConfiguration.Properties 'IntermediatePath' - if ($intermediatePath) - { - return $intermediatePath - } - - return GetMSBuildProperty $project 'IntermediateOutputPath' -} - -function GetPlatformTarget($project) -{ - if (IsCpsProject $project) - { - $platformTarget = GetCpsProperty $project 'PlatformTarget' - if ($platformTarget) - { - return $platformTarget - } - - return GetCpsProperty $project 'Platform' - } - - $platformTarget = GetProperty $project.ConfigurationManager.ActiveConfiguration.Properties 'PlatformTarget' - if ($platformTarget) - { - return $platformTarget - } - - # NB: For classic F# projects - $platformTarget = GetMSBuildProperty $project 'PlatformTarget' - if ($platformTarget) - { - return $platformTarget - } - - return 'AnyCPU' -} - -function GetLanguage($project) -{ - if (IsCpsProject $project) - { - return GetCpsProperty $project 'Language' - } - - return GetMSBuildProperty $project 'Language' -} - -function GetVsHierarchy($project) -{ - $solution = Get-VSService 'Microsoft.VisualStudio.Shell.Interop.SVsSolution' 'Microsoft.VisualStudio.Shell.Interop.IVsSolution' - $hierarchy = $null - $hr = $solution.GetProjectOfUniqueName($project.UniqueName, [ref] $hierarchy) - [Runtime.InteropServices.Marshal]::ThrowExceptionForHR($hr) - - return $hierarchy -} - -function GetProperty($properties, $propertyName) -{ - try - { - return $properties.Item($propertyName).Value - } - catch - { - return $null - } -} - -function GetCpsProperty($project, $propertyName) -{ - $browseObjectContext = Get-Interface $project 'Microsoft.VisualStudio.ProjectSystem.Properties.IVsBrowseObjectContext' - $unconfiguredProject = $browseObjectContext.UnconfiguredProject - $configuredProject = $unconfiguredProject.GetSuggestedConfiguredProjectAsync().Result - $properties = $configuredProject.Services.ProjectPropertiesProvider.GetCommonProperties() - - return $properties.GetEvaluatedPropertyValueAsync($propertyName).Result -} - -function GetMSBuildProperty($project, $propertyName) -{ - $msbuildProject = [Microsoft.Build.Evaluation.ProjectCollection]::GlobalProjectCollection.LoadedProjects | - where FullPath -eq $project.FullName - - return $msbuildProject.GetProperty($propertyName).EvaluatedValue -} - -function ToArguments($params) -{ - $arguments = '' - for ($i = 0; $i -lt $params.Length; $i++) - { - if ($i) - { - $arguments += ' ' - } - - if (!$params[$i].Contains(' ')) - { - $arguments += $params[$i] - - continue - } - - $arguments += '"' - - $pendingBackslashs = 0 - for ($j = 0; $j -lt $params[$i].Length; $j++) - { - switch ($params[$i][$j]) - { - '"' - { - if ($pendingBackslashs) - { - $arguments += '\' * $pendingBackslashs * 2 - $pendingBackslashs = 0 - } - $arguments += '\"' - } - - '\' - { - $pendingBackslashs++ - } - - default - { - if ($pendingBackslashs) - { - if ($pendingBackslashs -eq 1) - { - $arguments += '\' - } - else - { - $arguments += '\' * $pendingBackslashs * 2 - } - - $pendingBackslashs = 0 - } - - $arguments += $params[$i][$j] - } - } - } - - if ($pendingBackslashs) - { - $arguments += '\' * $pendingBackslashs * 2 - } - - $arguments += '"' - } - - return $arguments -} - -function GetConfigPath($project) -{ - if (IsWeb $project) - { - $configFileName = 'web.config' - } - else - { - $configFileName = 'app.config' - } - - $item = $project.ProjectItems | - where Name -eq $configFileName | - select -First 1 - - return GetProperty $item.Properties 'FullPath' -} - -Export-ModuleMember 'Add-EFDefaultConnectionFactory', 'Add-EFProvider', 'Add-Migration', 'Enable-Migrations', 'Get-Migrations', 'Update-Database' -Variable 'InitialDatabase' - -# SIG # Begin signature block -# MIIkXwYJKoZIhvcNAQcCoIIkUDCCJEwCAQExDzANBglghkgBZQMEAgEFADB5Bgor -# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG -# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBU8UKKdFAqCZNi -# qPoRSiuscSg+YrZwC3TMOd7p8fuNZKCCDYUwggYDMIID66ADAgECAhMzAAABUptA -# n1BWmXWIAAAAAAFSMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD -# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p -# bmcgUENBIDIwMTEwHhcNMTkwNTAyMjEzNzQ2WhcNMjAwNTAyMjEzNzQ2WjB0MQsw -# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u -# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB -# AQCxp4nT9qfu9O10iJyewYXHlN+WEh79Noor9nhM6enUNbCbhX9vS+8c/3eIVazS -# YnVBTqLzW7xWN1bCcItDbsEzKEE2BswSun7J9xCaLwcGHKFr+qWUlz7hh9RcmjYS -# kOGNybOfrgj3sm0DStoK8ljwEyUVeRfMHx9E/7Ca/OEq2cXBT3L0fVnlEkfal310 -# EFCLDo2BrE35NGRjG+/nnZiqKqEh5lWNk33JV8/I0fIcUKrLEmUGrv0CgC7w2cjm -# bBhBIJ+0KzSnSWingXol/3iUdBBy4QQNH767kYGunJeY08RjHMIgjJCdAoEM+2mX -# v1phaV7j+M3dNzZ/cdsz3oDfAgMBAAGjggGCMIIBfjAfBgNVHSUEGDAWBgorBgEE -# AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQU3f8Aw1sW72WcJ2bo/QSYGzVrRYcw -# VAYDVR0RBE0wS6RJMEcxLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9wZXJh -# dGlvbnMgTGltaXRlZDEWMBQGA1UEBRMNMjMwMDEyKzQ1NDEzNjAfBgNVHSMEGDAW -# gBRIbmTlUAXTgqoXNzcitW2oynUClTBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8v -# d3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NybC9NaWNDb2RTaWdQQ0EyMDExXzIw -# MTEtMDctMDguY3JsMGEGCCsGAQUFBwEBBFUwUzBRBggrBgEFBQcwAoZFaHR0cDov -# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jZXJ0cy9NaWNDb2RTaWdQQ0EyMDEx -# XzIwMTEtMDctMDguY3J0MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggIB -# AJTwROaHvogXgixWjyjvLfiRgqI2QK8GoG23eqAgNjX7V/WdUWBbs0aIC3k49cd0 -# zdq+JJImixcX6UOTpz2LZPFSh23l0/Mo35wG7JXUxgO0U+5drbQht5xoMl1n7/TQ -# 4iKcmAYSAPxTq5lFnoV2+fAeljVA7O43szjs7LR09D0wFHwzZco/iE8Hlakl23ZT -# 7FnB5AfU2hwfv87y3q3a5qFiugSykILpK0/vqnlEVB0KAdQVzYULQ/U4eFEjnis3 -# Js9UrAvtIhIs26445Rj3UP6U4GgOjgQonlRA+mDlsh78wFSGbASIvK+fkONUhvj8 -# B8ZHNn4TFfnct+a0ZueY4f6aRPxr8beNSUKn7QW/FQmn422bE7KfnqWncsH7vbNh -# G929prVHPsaa7J22i9wyHj7m0oATXJ+YjfyoEAtd5/NyIYaE4Uu0j1EhuYUo5VaJ -# JnMaTER0qX8+/YZRWrFN/heps41XNVjiAawpbAa0fUa3R9RNBjPiBnM0gvNPorM4 -# dsV2VJ8GluIQOrJlOvuCrOYDGirGnadOmQ21wPBoGFCWpK56PxzliKsy5NNmAXcE -# x7Qb9vUjY1WlYtrdwOXTpxN4slzIht69BaZlLIjLVWwqIfuNrhHKNDM9K+v7vgrI -# bf7l5/665g0gjQCDCN6Q5sxuttTAEKtJeS/pkpI+DbZ/MIIHejCCBWKgAwIBAgIK -# YQ6Q0gAAAAAAAzANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNV -# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv -# c29mdCBDb3Jwb3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlm -# aWNhdGUgQXV0aG9yaXR5IDIwMTEwHhcNMTEwNzA4MjA1OTA5WhcNMjYwNzA4MjEw -# OTA5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYD -# VQQDEx9NaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQSAyMDExMIICIjANBgkqhkiG -# 9w0BAQEFAAOCAg8AMIICCgKCAgEAq/D6chAcLq3YbqqCEE00uvK2WCGfQhsqa+la -# UKq4BjgaBEm6f8MMHt03a8YS2AvwOMKZBrDIOdUBFDFC04kNeWSHfpRgJGyvnkmc -# 6Whe0t+bU7IKLMOv2akrrnoJr9eWWcpgGgXpZnboMlImEi/nqwhQz7NEt13YxC4D -# dato88tt8zpcoRb0RrrgOGSsbmQ1eKagYw8t00CT+OPeBw3VXHmlSSnnDb6gE3e+ -# lD3v++MrWhAfTVYoonpy4BI6t0le2O3tQ5GD2Xuye4Yb2T6xjF3oiU+EGvKhL1nk -# kDstrjNYxbc+/jLTswM9sbKvkjh+0p2ALPVOVpEhNSXDOW5kf1O6nA+tGSOEy/S6 -# A4aN91/w0FK/jJSHvMAhdCVfGCi2zCcoOCWYOUo2z3yxkq4cI6epZuxhH2rhKEmd -# X4jiJV3TIUs+UsS1Vz8kA/DRelsv1SPjcF0PUUZ3s/gA4bysAoJf28AVs70b1FVL -# 5zmhD+kjSbwYuER8ReTBw3J64HLnJN+/RpnF78IcV9uDjexNSTCnq47f7Fufr/zd -# sGbiwZeBe+3W7UvnSSmnEyimp31ngOaKYnhfsi+E11ecXL93KCjx7W3DKI8sj0A3 -# T8HhhUSJxAlMxdSlQy90lfdu+HggWCwTXWCVmj5PM4TasIgX3p5O9JawvEagbJjS -# 4NaIjAsCAwEAAaOCAe0wggHpMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBRI -# bmTlUAXTgqoXNzcitW2oynUClTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTAL -# BgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBRyLToCMZBD -# uRQFTuHqp8cx0SOJNDBaBgNVHR8EUzBRME+gTaBLhklodHRwOi8vY3JsLm1pY3Jv -# c29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf -# MDNfMjIuY3JsMF4GCCsGAQUFBwEBBFIwUDBOBggrBgEFBQcwAoZCaHR0cDovL3d3 -# dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf -# MDNfMjIuY3J0MIGfBgNVHSAEgZcwgZQwgZEGCSsGAQQBgjcuAzCBgzA/BggrBgEF -# BQcCARYzaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9kb2NzL3ByaW1h -# cnljcHMuaHRtMEAGCCsGAQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAHAAbwBsAGkA -# YwB5AF8AcwB0AGEAdABlAG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQBn -# 8oalmOBUeRou09h0ZyKbC5YR4WOSmUKWfdJ5DJDBZV8uLD74w3LRbYP+vj/oCso7 -# v0epo/Np22O/IjWll11lhJB9i0ZQVdgMknzSGksc8zxCi1LQsP1r4z4HLimb5j0b -# pdS1HXeUOeLpZMlEPXh6I/MTfaaQdION9MsmAkYqwooQu6SpBQyb7Wj6aC6VoCo/ -# KmtYSWMfCWluWpiW5IP0wI/zRive/DvQvTXvbiWu5a8n7dDd8w6vmSiXmE0OPQvy -# CInWH8MyGOLwxS3OW560STkKxgrCxq2u5bLZ2xWIUUVYODJxJxp/sfQn+N4sOiBp -# mLJZiWhub6e3dMNABQamASooPoI/E01mC8CzTfXhj38cbxV9Rad25UAqZaPDXVJi -# hsMdYzaXht/a8/jyFqGaJ+HNpZfQ7l1jQeNbB5yHPgZ3BtEGsXUfFL5hYbXw3MYb -# BL7fQccOKO7eZS/sl/ahXJbYANahRr1Z85elCUtIEJmAH9AAKcWxm6U/RXceNcbS -# oqKfenoi+kiVH6v7RyOA9Z74v2u3S5fi63V4GuzqN5l5GEv/1rMjaHXmr/r8i+sL -# gOppO6/8MO0ETI7f33VtY5E90Z1WTk+/gFcioXgRMiF670EKsT/7qMykXcGhiJtX -# cVZOSEXAQsmbdlsKgEhr/Xmfwb1tbWrJUnMTDXpQzTGCFjAwghYsAgEBMIGVMH4x -# CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRt -# b25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01p -# Y3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBIDIwMTECEzMAAAFSm0CfUFaZdYgAAAAA -# AVIwDQYJYIZIAWUDBAIBBQCgga4wGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQw -# HAYKKwYBBAGCNwIBCzEOMAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEINlr -# YoMQI0s38aqnYes89d7O1smBsAmM5yEpwvrrBd+CMEIGCisGAQQBgjcCAQwxNDAy -# oBSAEgBNAGkAYwByAG8AcwBvAGYAdKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5j -# b20wDQYJKoZIhvcNAQEBBQAEggEAA4wFr+j9nOalk2Cbg/LovvaZmWFRfopTwGj9 -# QbzMUO6cby0vTfP/4Mn2UI603aPDCIt96YavP5mbGk2oIHe51CZLRkVZyv2dO0l4 -# McDfHEbRYUQ7Ya9FEfpF9FJ5sieT8hKbqkj0ajqLAHEmW6kVmioXqj0xQya3j5zI -# 7t2WnMIDsUNLWYI3dlLo50rPd87ZVxWnDIE2IVhyMMtsK5urrL4WYcgGjT8jihVE -# FbQo9nL5y1hWd0ZSGMfLwCoVmDq4wVki9f5WjT/gPkrS/F+TrP+GZZPvyrhf0PTN -# R0BJPgugbrZr/lfPpPfb8r367uJYNIq0ChMNLrUdmAUWLQn23aGCE7owghO2Bgor -# BgEEAYI3AwMBMYITpjCCE6IGCSqGSIb3DQEHAqCCE5MwghOPAgEDMQ8wDQYJYIZI -# AWUDBAIBBQAwggFYBgsqhkiG9w0BCRABBKCCAUcEggFDMIIBPwIBAQYKKwYBBAGE -# WQoDATAxMA0GCWCGSAFlAwQCAQUABCARzTf7SSdAq/qlhyAN9oDwFAkk/oxC+YnX -# h2AQyOBq8gIGXno7qpjuGBMyMDIwMDQxNjIyMTM0MC45NDFaMAcCAQGAAgH0oIHU -# pIHRMIHOMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSkwJwYD -# VQQLEyBNaWNyb3NvZnQgT3BlcmF0aW9ucyBQdWVydG8gUmljbzEmMCQGA1UECxMd -# VGhhbGVzIFRTUyBFU046NTg0Ny1GNzYxLTRGNzAxJTAjBgNVBAMTHE1pY3Jvc29m -# dCBUaW1lLVN0YW1wIFNlcnZpY2Wggg8iMIIE9TCCA92gAwIBAgITMwAAAQUHOepZ -# 81W/KgAAAAABBTANBgkqhkiG9w0BAQsFADB8MQswCQYDVQQGEwJVUzETMBEGA1UE -# CBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z -# b2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQ -# Q0EgMjAxMDAeFw0xOTA5MDYyMDQxMThaFw0yMDEyMDQyMDQxMThaMIHOMQswCQYD -# VQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEe -# MBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSkwJwYDVQQLEyBNaWNyb3Nv -# ZnQgT3BlcmF0aW9ucyBQdWVydG8gUmljbzEmMCQGA1UECxMdVGhhbGVzIFRTUyBF -# U046NTg0Ny1GNzYxLTRGNzAxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1w -# IFNlcnZpY2UwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDMIpZjVUiL -# WQGqDFLLaeGfhc9bxCwi8HQx+gcaF5Zz2GodhM71oyjal6uqnRM8QHxj49uKFmY/ -# SWEhlV+so3IrmEHVLmskeEQaio5PxVgUWRm+sBIJpS9GjwKrGPZ2ub4ST2J9fu5F -# xbfTmJyB2AL6W7WcSUON8tyuz2/NRAII6YuojdMa6mjVXamL2AS7PBo1GW4Pa4Xb -# NhEQoA4/siS4JGbcfAwVMGv87bhKapDqpXLbDq6LbFdLAv7Q7eUHiHS4eccXRNGA -# npkdhHOK7s1O9FqpRZYsbx/UpkaoyqiQe/JFTA+1keYZsZgaQqgPNpGYD50SDDyQ -# Z2vtNx7KVgXtAgMBAAGjggEbMIIBFzAdBgNVHQ4EFgQUPXQb/rp3KEzK6DYOy3Fn -# /QIzNyIwHwYDVR0jBBgwFoAU1WM6XIoxkPNDe3xGG8UzaFqFbVUwVgYDVR0fBE8w -# TTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwvcHJvZHVj -# dHMvTWljVGltU3RhUENBXzIwMTAtMDctMDEuY3JsMFoGCCsGAQUFBwEBBE4wTDBK -# BggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9N -# aWNUaW1TdGFQQ0FfMjAxMC0wNy0wMS5jcnQwDAYDVR0TAQH/BAIwADATBgNVHSUE -# DDAKBggrBgEFBQcDCDANBgkqhkiG9w0BAQsFAAOCAQEAp85hd3trAVfmVAPmcOAq -# nM47TbWB9S0ySGG/eNvIfhgYC0YjCLEZhiiQyOeRTws0lIOWGv7tM5tr70RGzNo1 -# /C7SQadqQ2dT5sUj7Ga6LHO2excdzRvUIwdeOaVuaj4VpiXnhjPBRu2CVNGXPe1d -# 7Zzw7di8xh2D6ooZBjhHLh7yGf2ZFjBjLcDVjrfaLwd4YqefJgg42s8EMUoXzsTp -# PlS0IBKWeX+RbBycOUhXpK9qlvFbBQGp4N+uLEV6haG33oVOtWwrbhu5F0E4UDzs -# FUaZ8OALyKraR1dIo+ZU+zjpn3Na7KUkrT/1UFYdnWYwoUDm9e+DmBhqdhUlxIhR -# nzCCBnEwggRZoAMCAQICCmEJgSoAAAAAAAIwDQYJKoZIhvcNAQELBQAwgYgxCzAJ -# BgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25k -# MR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jv -# c29mdCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAyMDEwMB4XDTEwMDcwMTIx -# MzY1NVoXDTI1MDcwMTIxNDY1NVowfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh -# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD -# b3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIw -# MTAwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCpHQ28dxGKOiDs/BOX -# 9fp/aZRrdFQQ1aUKAIKF++18aEssX8XD5WHCdrc+Zitb8BVTJwQxH0EbGpUdzgkT -# jnxhMFmxMEQP8WCIhFRDDNdNuDgIs0Ldk6zWczBXJoKjRQ3Q6vVHgc2/JGAyWGBG -# 8lhHhjKEHnRhZ5FfgVSxz5NMksHEpl3RYRNuKMYa+YaAu99h/EbBJx0kZxJyGiGK -# r0tkiVBisV39dx898Fd1rL2KQk1AUdEPnAY+Z3/1ZsADlkR+79BL/W7lmsqxqPJ6 -# Kgox8NpOBpG2iAg16HgcsOmZzTznL0S6p/TcZL2kAcEgCZN4zfy8wMlEXV4WnAEF -# TyJNAgMBAAGjggHmMIIB4jAQBgkrBgEEAYI3FQEEAwIBADAdBgNVHQ4EFgQU1WM6 -# XIoxkPNDe3xGG8UzaFqFbVUwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYD -# VR0PBAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU1fZWy4/oolxi -# aNE9lJBb186aGMQwVgYDVR0fBE8wTTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3Nv -# ZnQuY29tL3BraS9jcmwvcHJvZHVjdHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMu -# Y3JsMFoGCCsGAQUFBwEBBE4wTDBKBggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNy -# b3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcnQw -# gaAGA1UdIAEB/wSBlTCBkjCBjwYJKwYBBAGCNy4DMIGBMD0GCCsGAQUFBwIBFjFo -# dHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vUEtJL2RvY3MvQ1BTL2RlZmF1bHQuaHRt -# MEAGCCsGAQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAFAAbwBsAGkAYwB5AF8AUwB0 -# AGEAdABlAG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQAH5ohRDeLG4Jg/ -# gXEDPZ2joSFvs+umzPUxvs8F4qn++ldtGTCzwsVmyWrf9efweL3HqJ4l4/m87WtU -# VwgrUYJEEvu5U4zM9GASinbMQEBBm9xcF/9c+V4XNZgkVkt070IQyK+/f8Z/8jd9 -# Wj8c8pl5SpFSAK84Dxf1L3mBZdmptWvkx872ynoAb0swRCQiPM/tA6WWj1kpvLb9 -# BOFwnzJKJ/1Vry/+tuWOM7tiX5rbV0Dp8c6ZZpCM/2pif93FSguRJuI57BlKcWOd -# eyFtw5yjojz6f32WapB4pm3S4Zz5Hfw42JT0xqUKloakvZ4argRCg7i1gJsiOCC1 -# JeVk7Pf0v35jWSUPei45V3aicaoGig+JFrphpxHLmtgOR5qAxdDNp9DvfYPw4Ttx -# Cd9ddJgiCGHasFAeb73x4QDf5zEHpJM692VHeOj4qEir995yfmFrb3epgcunCaw5 -# u+zGy9iCtHLNHfS4hQEegPsbiSpUObJb2sgNVZl6h3M7COaYLeqN4DMuEin1wC9U -# JyH3yKxO2ii4sanblrKnQqLJzxlBTeCG+SqaoxFmMNO7dDJL32N79ZmKLxvHIa9Z -# ta7cRDyXUHHXodLFVeNp3lfB0d4wwP3M5k37Db9dT+mdHhk4L7zPWAUu7w2gUDXa -# 7wknHNWzfjUeCLraNtvTX4/edIhJEqGCA7AwggKYAgEBMIH+oYHUpIHRMIHOMQsw -# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u -# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSkwJwYDVQQLEyBNaWNy -# b3NvZnQgT3BlcmF0aW9ucyBQdWVydG8gUmljbzEmMCQGA1UECxMdVGhhbGVzIFRT -# UyBFU046NTg0Ny1GNzYxLTRGNzAxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0 -# YW1wIFNlcnZpY2WiJQoBATAJBgUrDgMCGgUAAxUA0nmc7MiH2Pr0x33n13Zg4RlV -# 9qqggd4wgdukgdgwgdUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9u -# MRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRp -# b24xKTAnBgNVBAsTIE1pY3Jvc29mdCBPcGVyYXRpb25zIFB1ZXJ0byBSaWNvMScw -# JQYDVQQLEx5uQ2lwaGVyIE5UUyBFU046NERFOS0wQzVFLTNFMDkxKzApBgNVBAMT -# Ik1pY3Jvc29mdCBUaW1lIFNvdXJjZSBNYXN0ZXIgQ2xvY2swDQYJKoZIhvcNAQEF -# BQACBQDiQwziMCIYDzIwMjAwNDE3MDA1NzA2WhgPMjAyMDA0MTgwMDU3MDZaMHcw -# PQYKKwYBBAGEWQoEATEvMC0wCgIFAOJDDOICAQAwCgIBAAICGcICAf8wBwIBAAIC -# GH4wCgIFAOJEXmICAQAwNgYKKwYBBAGEWQoEAjEoMCYwDAYKKwYBBAGEWQoDAaAK -# MAgCAQACAxbjYKEKMAgCAQACAwehIDANBgkqhkiG9w0BAQUFAAOCAQEATA6xpN+7 -# +epEr0I3lwl33d7P6eYuhfTZxDtgP5dr9jnFv/10jXgI47Qs0KHY4jwkeLZ9ExCM -# muBD0RcyOx/T0xkUANz57TNPssoqTztK5hHmt6ZmwTNyzUYxVJ8ARFPp62WhWiJ9 -# Tt9vKtuPrDIuVuHzxjY63QEPhZ1+UYAnQwu+DT1XPG1rikQOEXBM9MkzTgD/8AxY -# prHt87u+g7MObUd0t1sAyJI+0lzgJRlqeEAw5pW4CfkzGfEGXPgT/HfjWVIc176l -# C0ntYiOma8s4znFps5hAgnxSApopGy9c9QuuNuOfiSNa3/L5ws6RYulq/qHTuifW -# gZ90UMQ7TrA2VjGCAvUwggLxAgEBMIGTMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQI -# EwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3Nv -# ZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBD -# QSAyMDEwAhMzAAABBQc56lnzVb8qAAAAAAEFMA0GCWCGSAFlAwQCAQUAoIIBMjAa -# BgkqhkiG9w0BCQMxDQYLKoZIhvcNAQkQAQQwLwYJKoZIhvcNAQkEMSIEIEIjFCBe -# 4MtXOBW+4EQjXEL8OLx5+eGw0ZT8w0o9gW4DMIHiBgsqhkiG9w0BCRACDDGB0jCB -# zzCBzDCBsQQU0nmc7MiH2Pr0x33n13Zg4RlV9qowgZgwgYCkfjB8MQswCQYDVQQG -# EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG -# A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQg -# VGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAQUHOepZ81W/KgAAAAABBTAWBBS6OC+C -# 8E5t3KIl3SZn6YRcv4X++TANBgkqhkiG9w0BAQsFAASCAQBtzHRroeehPY5IFmFC -# 0CCu+fgjt2iyDYX1P1rHZUyU1YseSFj4GEaOj5vSW2VKxlJzVl0C5/xZjQCZ73+j -# xRFZaUKSVkh5rPDV7++x6wUcCYAfj+b0QwRh5XH3HYMB8HUwusbG2WRnZCpjmrB6 -# EQfRZcvyWiD+Lcc+QXgt0/JyOEtVpMIfwWclbYX3wltt9H3Q1PXQy5pf26A5Yu6Q -# 58h3xsTXCXyJZ3jUrP6qImMS4KrsXrgh6OQWczyL3E+dzOm2OvF8QfErkK0ooXGh -# zbodmkxNfq4WhN/BpRMKsRi8QdURQ1q3qLB2GJ4JjgLBzkhXvEtWD1xqF9AINmTe -# 3n5C -# SIG # End signature block diff --git a/app/packages/EntityFramework.6.4.4/tools/about_EntityFramework6.help.txt b/app/packages/EntityFramework.6.4.4/tools/about_EntityFramework6.help.txt deleted file mode 100644 index c65be46..0000000 --- a/app/packages/EntityFramework.6.4.4/tools/about_EntityFramework6.help.txt +++ /dev/null @@ -1,52 +0,0 @@ - - ___ - / __| - ___ ___ | |__ - | __|| __| | _ \ - | _| | _| | |_| | - |___||_| \___/ - -TOPIC - about_EntityFramework6 - -SHORT DESCRIPTION - Provides information about Entity Framework commands. - -LONG DESCRIPTION - This topic describes the Entity Framework commands. Entity Framework is - Microsoft's recommended data access technology for new applications. - - The following Entity Framework cmdlets are used with Entity Framework - Migrations. - - Cmdlet Description - ----------------- --------------------------------------------------- - Enable-Migrations Enables Code First Migrations in a project. - - Add-Migration Scaffolds a migration script for any pending model - changes. - - Update-Database Applies any pending migrations to the database. - - Get-Migrations Displays the migrations that have been applied to - the target database. - - The following Entity Framework cmdlets are used by NuGet packages that - install Entity Framework providers. These commands are not usually used as - part of normal application development. - - Cmdlet Description - ------------------------------ --------------------------------------- - Add-EFProvider Adds or updates an Entity Framework - provider entry in the project config - file. - - Add-EFDefaultConnectionFactory Adds or updates an Entity Framework - default connection factory in the - project config file. - -SEE ALSO - Enable-Migrations - Add-Migration - Update-Database - Get-Migrations diff --git a/app/packages/EntityFramework.6.4.4/tools/init.ps1 b/app/packages/EntityFramework.6.4.4/tools/init.ps1 deleted file mode 100644 index 1a0750a..0000000 --- a/app/packages/EntityFramework.6.4.4/tools/init.ps1 +++ /dev/null @@ -1,231 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -# NB: Not set for scripts in PowerShell 2.0 -if (!$PSScriptRoot) -{ - $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent -} - -if ($PSVersionTable.PSVersion -lt '3.0') -{ - Import-Module (Join-Path $PSScriptRoot 'EntityFramework6.PS2.psd1') - - return -} - -$importedModule = Get-Module 'EntityFramework6' -$moduleToImport = Test-ModuleManifest (Join-Path $PSScriptRoot 'EntityFramework6.psd1') -$import = $true -if ($importedModule) -{ - if ($importedModule.Version -le $moduleToImport.Version) - { - Remove-Module 'EntityFramework6' - } - else - { - $import = $false - } -} - -if ($import) -{ - Import-Module $moduleToImport -} - -# SIG # Begin signature block -# MIIkWwYJKoZIhvcNAQcCoIIkTDCCJEgCAQExDzANBglghkgBZQMEAgEFADB5Bgor -# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG -# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAWXs44Wb6F5hXF -# Tnl/wiBkO/u4wSvVRemf0sjDnTNTeqCCDYEwggX/MIID56ADAgECAhMzAAABUZ6N -# j0Bxow5BAAAAAAFRMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD -# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p -# bmcgUENBIDIwMTEwHhcNMTkwNTAyMjEzNzQ2WhcNMjAwNTAyMjEzNzQ2WjB0MQsw -# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u -# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB -# AQCVWsaGaUcdNB7xVcNmdfZiVBhYFGcn8KMqxgNIvOZWNH9JYQLuhHhmJ5RWISy1 -# oey3zTuxqLbkHAdmbeU8NFMo49Pv71MgIS9IG/EtqwOH7upan+lIq6NOcw5fO6Os -# +12R0Q28MzGn+3y7F2mKDnopVu0sEufy453gxz16M8bAw4+QXuv7+fR9WzRJ2CpU -# 62wQKYiFQMfew6Vh5fuPoXloN3k6+Qlz7zgcT4YRmxzx7jMVpP/uvK6sZcBxQ3Wg -# B/WkyXHgxaY19IAzLq2QiPiX2YryiR5EsYBq35BP7U15DlZtpSs2wIYTkkDBxhPJ -# IDJgowZu5GyhHdqrst3OjkSRAgMBAAGjggF+MIIBejAfBgNVHSUEGDAWBgorBgEE -# AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQUV4Iarkq57esagu6FUBb270Zijc8w -# UAYDVR0RBEkwR6RFMEMxKTAnBgNVBAsTIE1pY3Jvc29mdCBPcGVyYXRpb25zIFB1 -# ZXJ0byBSaWNvMRYwFAYDVQQFEw0yMzAwMTIrNDU0MTM1MB8GA1UdIwQYMBaAFEhu -# ZOVQBdOCqhc3NyK1bajKdQKVMFQGA1UdHwRNMEswSaBHoEWGQ2h0dHA6Ly93d3cu -# bWljcm9zb2Z0LmNvbS9wa2lvcHMvY3JsL01pY0NvZFNpZ1BDQTIwMTFfMjAxMS0w -# Ny0wOC5jcmwwYQYIKwYBBQUHAQEEVTBTMFEGCCsGAQUFBzAChkVodHRwOi8vd3d3 -# Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NlcnRzL01pY0NvZFNpZ1BDQTIwMTFfMjAx -# MS0wNy0wOC5jcnQwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQsFAAOCAgEAWg+A -# rS4Anq7KrogslIQnoMHSXUPr/RqOIhJX+32ObuY3MFvdlRElbSsSJxrRy/OCCZdS -# se+f2AqQ+F/2aYwBDmUQbeMB8n0pYLZnOPifqe78RBH2fVZsvXxyfizbHubWWoUf -# NW/FJlZlLXwJmF3BoL8E2p09K3hagwz/otcKtQ1+Q4+DaOYXWleqJrJUsnHs9UiL -# crVF0leL/Q1V5bshob2OTlZq0qzSdrMDLWdhyrUOxnZ+ojZ7UdTY4VnCuogbZ9Zs -# 9syJbg7ZUS9SVgYkowRsWv5jV4lbqTD+tG4FzhOwcRQwdb6A8zp2Nnd+s7VdCuYF -# sGgI41ucD8oxVfcAMjF9YX5N2s4mltkqnUe3/htVrnxKKDAwSYliaux2L7gKw+bD -# 1kEZ/5ozLRnJ3jjDkomTrPctokY/KaZ1qub0NUnmOKH+3xUK/plWJK8BOQYuU7gK -# YH7Yy9WSKNlP7pKj6i417+3Na/frInjnBkKRCJ/eYTvBH+s5guezpfQWtU4bNo/j -# 8Qw2vpTQ9w7flhH78Rmwd319+YTmhv7TcxDbWlyteaj4RK2wk3pY1oSz2JPE5PNu -# Nmd9Gmf6oePZgy7Ii9JLLq8SnULV7b+IP0UXRY9q+GdRjM2AEX6msZvvPCIoG0aY -# HQu9wZsKEK2jqvWi8/xdeeeSI9FN6K1w4oVQM4Mwggd6MIIFYqADAgECAgphDpDS -# AAAAAAADMA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMK -# V2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0 -# IENvcnBvcmF0aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0 -# ZSBBdXRob3JpdHkgMjAxMTAeFw0xMTA3MDgyMDU5MDlaFw0yNjA3MDgyMTA5MDla -# MH4xCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdS -# ZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMT -# H01pY3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBIDIwMTEwggIiMA0GCSqGSIb3DQEB -# AQUAA4ICDwAwggIKAoICAQCr8PpyEBwurdhuqoIQTTS68rZYIZ9CGypr6VpQqrgG -# OBoESbp/wwwe3TdrxhLYC/A4wpkGsMg51QEUMULTiQ15ZId+lGAkbK+eSZzpaF7S -# 35tTsgosw6/ZqSuuegmv15ZZymAaBelmdugyUiYSL+erCFDPs0S3XdjELgN1q2jz -# y23zOlyhFvRGuuA4ZKxuZDV4pqBjDy3TQJP4494HDdVceaVJKecNvqATd76UPe/7 -# 4ytaEB9NViiienLgEjq3SV7Y7e1DkYPZe7J7hhvZPrGMXeiJT4Qa8qEvWeSQOy2u -# M1jFtz7+MtOzAz2xsq+SOH7SnYAs9U5WkSE1JcM5bmR/U7qcD60ZI4TL9LoDho33 -# X/DQUr+MlIe8wCF0JV8YKLbMJyg4JZg5SjbPfLGSrhwjp6lm7GEfauEoSZ1fiOIl -# XdMhSz5SxLVXPyQD8NF6Wy/VI+NwXQ9RRnez+ADhvKwCgl/bwBWzvRvUVUvnOaEP -# 6SNJvBi4RHxF5MHDcnrgcuck379GmcXvwhxX24ON7E1JMKerjt/sW5+v/N2wZuLB -# l4F77dbtS+dJKacTKKanfWeA5opieF+yL4TXV5xcv3coKPHtbcMojyyPQDdPweGF -# RInECUzF1KVDL3SV9274eCBYLBNdYJWaPk8zhNqwiBfenk70lrC8RqBsmNLg1oiM -# CwIDAQABo4IB7TCCAekwEAYJKwYBBAGCNxUBBAMCAQAwHQYDVR0OBBYEFEhuZOVQ -# BdOCqhc3NyK1bajKdQKVMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsGA1Ud -# DwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFHItOgIxkEO5FAVO -# 4eqnxzHRI4k0MFoGA1UdHwRTMFEwT6BNoEuGSWh0dHA6Ly9jcmwubWljcm9zb2Z0 -# LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dDIwMTFfMjAxMV8wM18y -# Mi5jcmwwXgYIKwYBBQUHAQEEUjBQME4GCCsGAQUFBzAChkJodHRwOi8vd3d3Lm1p -# Y3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY1Jvb0NlckF1dDIwMTFfMjAxMV8wM18y -# Mi5jcnQwgZ8GA1UdIASBlzCBlDCBkQYJKwYBBAGCNy4DMIGDMD8GCCsGAQUFBwIB -# FjNodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2RvY3MvcHJpbWFyeWNw -# cy5odG0wQAYIKwYBBQUHAgIwNB4yIB0ATABlAGcAYQBsAF8AcABvAGwAaQBjAHkA -# XwBzAHQAYQB0AGUAbQBlAG4AdAAuIB0wDQYJKoZIhvcNAQELBQADggIBAGfyhqWY -# 4FR5Gi7T2HRnIpsLlhHhY5KZQpZ90nkMkMFlXy4sPvjDctFtg/6+P+gKyju/R6mj -# 82nbY78iNaWXXWWEkH2LRlBV2AySfNIaSxzzPEKLUtCw/WvjPgcuKZvmPRul1LUd -# d5Q54ulkyUQ9eHoj8xN9ppB0g430yyYCRirCihC7pKkFDJvtaPpoLpWgKj8qa1hJ -# Yx8JaW5amJbkg/TAj/NGK978O9C9Ne9uJa7lryft0N3zDq+ZKJeYTQ49C/IIidYf -# wzIY4vDFLc5bnrRJOQrGCsLGra7lstnbFYhRRVg4MnEnGn+x9Cf43iw6IGmYslmJ -# aG5vp7d0w0AFBqYBKig+gj8TTWYLwLNN9eGPfxxvFX1Fp3blQCplo8NdUmKGwx1j -# NpeG39rz+PIWoZon4c2ll9DuXWNB41sHnIc+BncG0QaxdR8UvmFhtfDcxhsEvt9B -# xw4o7t5lL+yX9qFcltgA1qFGvVnzl6UJS0gQmYAf0AApxbGbpT9Fdx41xtKiop96 -# eiL6SJUfq/tHI4D1nvi/a7dLl+LrdXga7Oo3mXkYS//WsyNodeav+vyL6wuA6mk7 -# r/ww7QRMjt/fdW1jkT3RnVZOT7+AVyKheBEyIXrvQQqxP/uozKRdwaGIm1dxVk5I -# RcBCyZt2WwqASGv9eZ/BvW1taslScxMNelDNMYIWMDCCFiwCAQEwgZUwfjELMAkG -# A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQx -# HjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEoMCYGA1UEAxMfTWljcm9z -# b2Z0IENvZGUgU2lnbmluZyBQQ0EgMjAxMQITMwAAAVGejY9AcaMOQQAAAAABUTAN -# BglghkgBZQMEAgEFAKCBrjAZBgkqhkiG9w0BCQMxDAYKKwYBBAGCNwIBBDAcBgor -# BgEEAYI3AgELMQ4wDAYKKwYBBAGCNwIBFTAvBgkqhkiG9w0BCQQxIgQgq4QMk5E8 -# PVNKR1iqur8cR7NUPVJFuHBNDkH4tmrt+acwQgYKKwYBBAGCNwIBDDE0MDKgFIAS -# AE0AaQBjAHIAbwBzAG8AZgB0oRqAGGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbTAN -# BgkqhkiG9w0BAQEFAASCAQCUbemaYV+Cnthc3mcHucXERj1gFbL8I+5eZeP2iIK8 -# atd29VDDMFhOP7Im3KiSeJXjk9rqPJoFELotc/TjrJzKs/2zUotLmTOrFtQZJHW6 -# kHJLR0JrkI6SEHHatb88vTGGl6eXNSe7Dyvy0uFYREZUH/KPP7mIr2uqFR7HHXkO -# 0f2l/MC/UmeYXFAr//PPcJx+hcJnnbtTCwW7zqVIAZaSDrM2BzfoAS4KHIte0cvm -# dGxE6G6bcemiSS6Khl2yAKN0cUWXyGiUBlPK+cpTWu1mpECF7V72KLTbyGeK6UZF -# b7biJg5tvqloTBG60yz4u7SSkSU7yh6iq0d9QKQRoebHoYITujCCE7YGCisGAQQB -# gjcDAwExghOmMIITogYJKoZIhvcNAQcCoIITkzCCE48CAQMxDzANBglghkgBZQME -# AgEFADCCAVgGCyqGSIb3DQEJEAEEoIIBRwSCAUMwggE/AgEBBgorBgEEAYRZCgMB -# MDEwDQYJYIZIAWUDBAIBBQAEIATn/vF0Muh20ZK+H3p3DUuI8FQwKzcqRQWc7kLf -# uxneAgZeeiZ4Qd0YEzIwMjAwNDE2MjIxMzQxLjEzOVowBwIBAYACAfSggdSkgdEw -# gc4xCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdS -# ZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKTAnBgNVBAsT -# IE1pY3Jvc29mdCBPcGVyYXRpb25zIFB1ZXJ0byBSaWNvMSYwJAYDVQQLEx1UaGFs -# ZXMgVFNTIEVTTjpCMUI3LUY2N0YtRkVDMjElMCMGA1UEAxMcTWljcm9zb2Z0IFRp -# bWUtU3RhbXAgU2VydmljZaCCDyIwggT1MIID3aADAgECAhMzAAABA+pOK3i2KieT -# AAAAAAEDMA0GCSqGSIb3DQEBCwUAMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpX -# YXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQg -# Q29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAy -# MDEwMB4XDTE5MDkwNjIwNDExN1oXDTIwMTIwNDIwNDExN1owgc4xCzAJBgNVBAYT -# AlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYD -# VQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKTAnBgNVBAsTIE1pY3Jvc29mdCBP -# cGVyYXRpb25zIFB1ZXJ0byBSaWNvMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjpC -# MUI3LUY2N0YtRkVDMjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2Vy -# dmljZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALCRV96uFMhQPoee -# fQrvxbzOW3Y7LKElUOxYoMR9HW2+DOgS3ECplmsQJZbcXZJ1686/7CV7skdSO95r -# G7k9cnI9tvX4OW0WDRjtcaFOvmDdENyBUYmIf+kuPHwA8Edbzeg7OPkBCtvM5nUJ -# 5xVnQuiT9R5NF9axjwoYkHaIcaj9GWQgW5h+awLofbWyY0rWyXYk8GndPVK3MkT3 -# FnFPWLGY6OB2lRMEgpBLw1uKpCUHqp4Fpff5gnvb93EVSliLr11lwfYwEF5RjNDe -# gi9P39MjpnuXGwI2LjGKUsF66VGaVw4rdaUKQlPKJ0P/h/b9LCcVZyBVfwAD/Xap -# Woo2JEsCAwEAAaOCARswggEXMB0GA1UdDgQWBBTiNi2Y/aGPja1lJu2PPODMEW9a -# CDAfBgNVHSMEGDAWgBTVYzpcijGQ80N7fEYbxTNoWoVtVTBWBgNVHR8ETzBNMEug -# SaBHhkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9N -# aWNUaW1TdGFQQ0FfMjAxMC0wNy0wMS5jcmwwWgYIKwYBBQUHAQEETjBMMEoGCCsG -# AQUFBzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY1Rp -# bVN0YVBDQV8yMDEwLTA3LTAxLmNydDAMBgNVHRMBAf8EAjAAMBMGA1UdJQQMMAoG -# CCsGAQUFBwMIMA0GCSqGSIb3DQEBCwUAA4IBAQB8Naig5oqAZfKHIUhs99mL2pqt -# Va6yca9TwUyeM9yC/Soduk4CXbtGtn+/j7yMpQldXXFefBh9PIg3bdlLchCtL8RX -# VxdmxDQYcjyxYtEmxCxxS+6EOBfl9I1ouXDj8Aq8wGZZ9PbAraJDeqxgVqd9W/YC -# rC4la3tg4HzF1hot6L0oxNlTnu+RyXmZ7f6f/Vq6KZAZPyaKbI5P6qHBG3REPAgr -# 45+GySpbWAQhZjUNZ9pJ3NcePbuaa8N2xiIJsc9t8/FTSCj1xoiK9q2YvXoA64/h -# kyUIn/fBFY3BD6meMnQCG500ruiAm0GujHYOmZxAbosMOxtLPahmQUkcbQCPMIIG -# cTCCBFmgAwIBAgIKYQmBKgAAAAAAAjANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UE -# BhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAc -# BgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0 -# IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTAwHhcNMTAwNzAxMjEzNjU1 -# WhcNMjUwNzAxMjE0NjU1WjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGlu -# Z3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBv -# cmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCC -# ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKkdDbx3EYo6IOz8E5f1+n9p -# lGt0VBDVpQoAgoX77XxoSyxfxcPlYcJ2tz5mK1vwFVMnBDEfQRsalR3OCROOfGEw -# WbEwRA/xYIiEVEMM1024OAizQt2TrNZzMFcmgqNFDdDq9UeBzb8kYDJYYEbyWEeG -# MoQedGFnkV+BVLHPk0ySwcSmXdFhE24oxhr5hoC732H8RsEnHSRnEnIaIYqvS2SJ -# UGKxXf13Hz3wV3WsvYpCTUBR0Q+cBj5nf/VmwAOWRH7v0Ev9buWayrGo8noqCjHw -# 2k4GkbaICDXoeByw6ZnNPOcvRLqn9NxkvaQBwSAJk3jN/LzAyURdXhacAQVPIk0C -# AwEAAaOCAeYwggHiMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBTVYzpcijGQ -# 80N7fEYbxTNoWoVtVTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8E -# BAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBTV9lbLj+iiXGJo0T2U -# kFvXzpoYxDBWBgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3JsLm1pY3Jvc29mdC5j -# b20vcGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcmww -# WgYIKwYBBQUHAQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8vd3d3Lm1pY3Jvc29m -# dC5jb20vcGtpL2NlcnRzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIzLmNydDCBoAYD -# VR0gAQH/BIGVMIGSMIGPBgkrBgEEAYI3LgMwgYEwPQYIKwYBBQUHAgEWMWh0dHA6 -# Ly93d3cubWljcm9zb2Z0LmNvbS9QS0kvZG9jcy9DUFMvZGVmYXVsdC5odG0wQAYI -# KwYBBQUHAgIwNB4yIB0ATABlAGcAYQBsAF8AUABvAGwAaQBjAHkAXwBTAHQAYQB0 -# AGUAbQBlAG4AdAAuIB0wDQYJKoZIhvcNAQELBQADggIBAAfmiFEN4sbgmD+BcQM9 -# naOhIW+z66bM9TG+zwXiqf76V20ZMLPCxWbJat/15/B4vceoniXj+bzta1RXCCtR -# gkQS+7lTjMz0YBKKdsxAQEGb3FwX/1z5Xhc1mCRWS3TvQhDIr79/xn/yN31aPxzy -# mXlKkVIArzgPF/UveYFl2am1a+THzvbKegBvSzBEJCI8z+0DpZaPWSm8tv0E4XCf -# Mkon/VWvL/625Y4zu2JfmttXQOnxzplmkIz/amJ/3cVKC5Em4jnsGUpxY517IW3D -# nKOiPPp/fZZqkHimbdLhnPkd/DjYlPTGpQqWhqS9nhquBEKDuLWAmyI4ILUl5WTs -# 9/S/fmNZJQ96LjlXdqJxqgaKD4kWumGnEcua2A5HmoDF0M2n0O99g/DhO3EJ3110 -# mCIIYdqwUB5vvfHhAN/nMQekkzr3ZUd46PioSKv33nJ+YWtvd6mBy6cJrDm77MbL -# 2IK0cs0d9LiFAR6A+xuJKlQ5slvayA1VmXqHczsI5pgt6o3gMy4SKfXAL1QnIffI -# rE7aKLixqduWsqdCosnPGUFN4Ib5KpqjEWYw07t0MkvfY3v1mYovG8chr1m1rtxE -# PJdQcdeh0sVV42neV8HR3jDA/czmTfsNv11P6Z0eGTgvvM9YBS7vDaBQNdrvCScc -# 1bN+NR4Iuto229Nfj950iEkSoYIDsDCCApgCAQEwgf6hgdSkgdEwgc4xCzAJBgNV -# BAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4w -# HAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKTAnBgNVBAsTIE1pY3Jvc29m -# dCBPcGVyYXRpb25zIFB1ZXJ0byBSaWNvMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVT -# TjpCMUI3LUY2N0YtRkVDMjElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAg -# U2VydmljZaIlCgEBMAkGBSsOAwIaBQADFQBrXDo2eDr68GRJRlXYVs3aqGzas6CB -# 3jCB26SB2DCB1TELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAO -# BgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEp -# MCcGA1UECxMgTWljcm9zb2Z0IE9wZXJhdGlvbnMgUHVlcnRvIFJpY28xJzAlBgNV -# BAsTHm5DaXBoZXIgTlRTIEVTTjo0REU5LTBDNUUtM0UwOTErMCkGA1UEAxMiTWlj -# cm9zb2Z0IFRpbWUgU291cmNlIE1hc3RlciBDbG9jazANBgkqhkiG9w0BAQUFAAIF -# AOJDDLIwIhgPMjAyMDA0MTcwMDU2MThaGA8yMDIwMDQxODAwNTYxOFowdzA9Bgor -# BgEEAYRZCgQBMS8wLTAKAgUA4kMMsgIBADAKAgEAAgIkJgIB/zAHAgEAAgIYujAK -# AgUA4kReMgIBADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMBoAowCAIB -# AAIDFuNgoQowCAIBAAIDB6EgMA0GCSqGSIb3DQEBBQUAA4IBAQATjVw32hwIjvFS -# agZUTduGeimyeurvcx4sOzWAV5mEm48saShHCjoq6IGBdIi08Ow2BqXWq0nmAzs3 -# M2az+HtNijXHfUNDlg8mB8iceGigOeg59EwcF2uRdGXr3PFgHtSSbBiEOWCDO02w -# q3Pl+jfQ0wDxKsg1d6yRKMuaEGMvDRLI0byRU63vUMIYG1KhWxbnjOzyLLqNAigG -# RfJfzS/VUGe8VUR4YLNdPWtZyXKIykeOd/JdNwlcU2WrauMOrwz7gWhmFS5WygTR -# zuzpxwz58gyxhFZkNri24e8MQC5QG4drTBaULmbMLc4Bro4rlv3rRHZFem816/R7 -# ELyU6MWLMYIC9TCCAvECAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh -# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD -# b3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIw -# MTACEzMAAAED6k4reLYqJ5MAAAAAAQMwDQYJYIZIAWUDBAIBBQCgggEyMBoGCSqG -# SIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQg0TG1rBHplgOK -# 7L3AfY2xi3Kf+/XG7C3t4t0jQ+AiY6owgeIGCyqGSIb3DQEJEAIMMYHSMIHPMIHM -# MIGxBBRrXDo2eDr68GRJRlXYVs3aqGzaszCBmDCBgKR+MHwxCzAJBgNVBAYTAlVT -# MRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQK -# ExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1l -# LVN0YW1wIFBDQSAyMDEwAhMzAAABA+pOK3i2KieTAAAAAAEDMBYEFPRqdmYGpXMF -# K/nz1xrwrVH/SicLMA0GCSqGSIb3DQEBCwUABIIBAD95lLQdmSib58P6fV8RnD2Q -# OkK9eO7FmOdDrcq4l228tMVftnJVr7o0PhITJQogBpTMpzGRAK2zwxtwOXVRuRrK -# is1rTPKfc8+280VusNXHzJ1PxNDIuxtpkb4AhFIMcEAGWAGfZSMspIT2MKHUL59i -# fnBErvjcz0F4eiVPR7I5sHoA6CD8rPLvgLxkzB3BFUUus2KxuBkpVwXPxYT9g4Wt -# qDz/Lwsf4/m5hftNLDpOtiuYvq61/kPlsJ/OVkKwVHKnM9XhybFAJfixgMJzOg9u -# +y6hDWYX4HRtqZIdfJ6fcqqyyOdZU7gCpTtEhUaQbCmW7CqnZyh5L0WYxUnV574= -# SIG # End signature block diff --git a/app/packages/EntityFramework.6.4.4/tools/install.ps1 b/app/packages/EntityFramework.6.4.4/tools/install.ps1 deleted file mode 100644 index 690fbf0..0000000 --- a/app/packages/EntityFramework.6.4.4/tools/install.ps1 +++ /dev/null @@ -1,223 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -if (Get-Service | ?{ $_.Name -eq 'MSSQL$SQLEXPRESS' -and $_.Status -eq 'Running' }) -{ - Add-EFDefaultConnectionFactory $project 'System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework' -} -else -{ - $localDbVersion = Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server Local DB\Installed Versions' -ErrorAction SilentlyContinue | - %{ $_.PSChildName } | - sort -Descending | - select -First 1 - if (!$localDbVersion -or $localDbVersion -ge '12.0') - { - $localDbVersion = 'mssqllocaldb' - } - else - { - $localDbVersion = "v$localDbVersion" - } - - Add-EFDefaultConnectionFactory $project 'System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework' -ConstructorArguments $localDbVersion -} - -$project.Object.References | - ?{ $_.Identity -eq 'System.Data.Entity' } | - %{ $_.Remove() } - -Write-Host -Write-Host "Type 'get-help EntityFramework6' to see all available Entity Framework commands." - -# SIG # Begin signature block -# MIIjigYJKoZIhvcNAQcCoIIjezCCI3cCAQExDzANBglghkgBZQMEAgEFADB5Bgor -# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG -# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAyC8P3Y/ONSqHQ -# 3OLSABCdTniNaBaTHx45JvdAACyBm6CCDYUwggYDMIID66ADAgECAhMzAAABUptA -# n1BWmXWIAAAAAAFSMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD -# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p -# bmcgUENBIDIwMTEwHhcNMTkwNTAyMjEzNzQ2WhcNMjAwNTAyMjEzNzQ2WjB0MQsw -# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u -# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB -# AQCxp4nT9qfu9O10iJyewYXHlN+WEh79Noor9nhM6enUNbCbhX9vS+8c/3eIVazS -# YnVBTqLzW7xWN1bCcItDbsEzKEE2BswSun7J9xCaLwcGHKFr+qWUlz7hh9RcmjYS -# kOGNybOfrgj3sm0DStoK8ljwEyUVeRfMHx9E/7Ca/OEq2cXBT3L0fVnlEkfal310 -# EFCLDo2BrE35NGRjG+/nnZiqKqEh5lWNk33JV8/I0fIcUKrLEmUGrv0CgC7w2cjm -# bBhBIJ+0KzSnSWingXol/3iUdBBy4QQNH767kYGunJeY08RjHMIgjJCdAoEM+2mX -# v1phaV7j+M3dNzZ/cdsz3oDfAgMBAAGjggGCMIIBfjAfBgNVHSUEGDAWBgorBgEE -# AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQU3f8Aw1sW72WcJ2bo/QSYGzVrRYcw -# VAYDVR0RBE0wS6RJMEcxLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9wZXJh -# dGlvbnMgTGltaXRlZDEWMBQGA1UEBRMNMjMwMDEyKzQ1NDEzNjAfBgNVHSMEGDAW -# gBRIbmTlUAXTgqoXNzcitW2oynUClTBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8v -# d3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NybC9NaWNDb2RTaWdQQ0EyMDExXzIw -# MTEtMDctMDguY3JsMGEGCCsGAQUFBwEBBFUwUzBRBggrBgEFBQcwAoZFaHR0cDov -# L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jZXJ0cy9NaWNDb2RTaWdQQ0EyMDEx -# XzIwMTEtMDctMDguY3J0MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggIB -# AJTwROaHvogXgixWjyjvLfiRgqI2QK8GoG23eqAgNjX7V/WdUWBbs0aIC3k49cd0 -# zdq+JJImixcX6UOTpz2LZPFSh23l0/Mo35wG7JXUxgO0U+5drbQht5xoMl1n7/TQ -# 4iKcmAYSAPxTq5lFnoV2+fAeljVA7O43szjs7LR09D0wFHwzZco/iE8Hlakl23ZT -# 7FnB5AfU2hwfv87y3q3a5qFiugSykILpK0/vqnlEVB0KAdQVzYULQ/U4eFEjnis3 -# Js9UrAvtIhIs26445Rj3UP6U4GgOjgQonlRA+mDlsh78wFSGbASIvK+fkONUhvj8 -# B8ZHNn4TFfnct+a0ZueY4f6aRPxr8beNSUKn7QW/FQmn422bE7KfnqWncsH7vbNh -# G929prVHPsaa7J22i9wyHj7m0oATXJ+YjfyoEAtd5/NyIYaE4Uu0j1EhuYUo5VaJ -# JnMaTER0qX8+/YZRWrFN/heps41XNVjiAawpbAa0fUa3R9RNBjPiBnM0gvNPorM4 -# dsV2VJ8GluIQOrJlOvuCrOYDGirGnadOmQ21wPBoGFCWpK56PxzliKsy5NNmAXcE -# x7Qb9vUjY1WlYtrdwOXTpxN4slzIht69BaZlLIjLVWwqIfuNrhHKNDM9K+v7vgrI -# bf7l5/665g0gjQCDCN6Q5sxuttTAEKtJeS/pkpI+DbZ/MIIHejCCBWKgAwIBAgIK -# YQ6Q0gAAAAAAAzANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNV -# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv -# c29mdCBDb3Jwb3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlm -# aWNhdGUgQXV0aG9yaXR5IDIwMTEwHhcNMTEwNzA4MjA1OTA5WhcNMjYwNzA4MjEw -# OTA5WjB+MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYD -# VQQDEx9NaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQSAyMDExMIICIjANBgkqhkiG -# 9w0BAQEFAAOCAg8AMIICCgKCAgEAq/D6chAcLq3YbqqCEE00uvK2WCGfQhsqa+la -# UKq4BjgaBEm6f8MMHt03a8YS2AvwOMKZBrDIOdUBFDFC04kNeWSHfpRgJGyvnkmc -# 6Whe0t+bU7IKLMOv2akrrnoJr9eWWcpgGgXpZnboMlImEi/nqwhQz7NEt13YxC4D -# dato88tt8zpcoRb0RrrgOGSsbmQ1eKagYw8t00CT+OPeBw3VXHmlSSnnDb6gE3e+ -# lD3v++MrWhAfTVYoonpy4BI6t0le2O3tQ5GD2Xuye4Yb2T6xjF3oiU+EGvKhL1nk -# kDstrjNYxbc+/jLTswM9sbKvkjh+0p2ALPVOVpEhNSXDOW5kf1O6nA+tGSOEy/S6 -# A4aN91/w0FK/jJSHvMAhdCVfGCi2zCcoOCWYOUo2z3yxkq4cI6epZuxhH2rhKEmd -# X4jiJV3TIUs+UsS1Vz8kA/DRelsv1SPjcF0PUUZ3s/gA4bysAoJf28AVs70b1FVL -# 5zmhD+kjSbwYuER8ReTBw3J64HLnJN+/RpnF78IcV9uDjexNSTCnq47f7Fufr/zd -# sGbiwZeBe+3W7UvnSSmnEyimp31ngOaKYnhfsi+E11ecXL93KCjx7W3DKI8sj0A3 -# T8HhhUSJxAlMxdSlQy90lfdu+HggWCwTXWCVmj5PM4TasIgX3p5O9JawvEagbJjS -# 4NaIjAsCAwEAAaOCAe0wggHpMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBRI -# bmTlUAXTgqoXNzcitW2oynUClTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTAL -# BgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBRyLToCMZBD -# uRQFTuHqp8cx0SOJNDBaBgNVHR8EUzBRME+gTaBLhklodHRwOi8vY3JsLm1pY3Jv -# c29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf -# MDNfMjIuY3JsMF4GCCsGAQUFBwEBBFIwUDBOBggrBgEFBQcwAoZCaHR0cDovL3d3 -# dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFf -# MDNfMjIuY3J0MIGfBgNVHSAEgZcwgZQwgZEGCSsGAQQBgjcuAzCBgzA/BggrBgEF -# BQcCARYzaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9kb2NzL3ByaW1h -# cnljcHMuaHRtMEAGCCsGAQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAHAAbwBsAGkA -# YwB5AF8AcwB0AGEAdABlAG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQBn -# 8oalmOBUeRou09h0ZyKbC5YR4WOSmUKWfdJ5DJDBZV8uLD74w3LRbYP+vj/oCso7 -# v0epo/Np22O/IjWll11lhJB9i0ZQVdgMknzSGksc8zxCi1LQsP1r4z4HLimb5j0b -# pdS1HXeUOeLpZMlEPXh6I/MTfaaQdION9MsmAkYqwooQu6SpBQyb7Wj6aC6VoCo/ -# KmtYSWMfCWluWpiW5IP0wI/zRive/DvQvTXvbiWu5a8n7dDd8w6vmSiXmE0OPQvy -# CInWH8MyGOLwxS3OW560STkKxgrCxq2u5bLZ2xWIUUVYODJxJxp/sfQn+N4sOiBp -# mLJZiWhub6e3dMNABQamASooPoI/E01mC8CzTfXhj38cbxV9Rad25UAqZaPDXVJi -# hsMdYzaXht/a8/jyFqGaJ+HNpZfQ7l1jQeNbB5yHPgZ3BtEGsXUfFL5hYbXw3MYb -# BL7fQccOKO7eZS/sl/ahXJbYANahRr1Z85elCUtIEJmAH9AAKcWxm6U/RXceNcbS -# oqKfenoi+kiVH6v7RyOA9Z74v2u3S5fi63V4GuzqN5l5GEv/1rMjaHXmr/r8i+sL -# gOppO6/8MO0ETI7f33VtY5E90Z1WTk+/gFcioXgRMiF670EKsT/7qMykXcGhiJtX -# cVZOSEXAQsmbdlsKgEhr/Xmfwb1tbWrJUnMTDXpQzTGCFVswghVXAgEBMIGVMH4x -# CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRt -# b25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01p -# Y3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBIDIwMTECEzMAAAFSm0CfUFaZdYgAAAAA -# AVIwDQYJYIZIAWUDBAIBBQCgga4wGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQw -# HAYKKwYBBAGCNwIBCzEOMAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIJDm -# 6u3fKNHhSVdXwhZL2U0SggUob53btFQTpjz0w19vMEIGCisGAQQBgjcCAQwxNDAy -# oBSAEgBNAGkAYwByAG8AcwBvAGYAdKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5j -# b20wDQYJKoZIhvcNAQEBBQAEggEAhEzKUz8+6D1eB34MxfDcSMWHaaMTM6p+z30c -# DT9MYmOUS51Sl5wINphWTUI48Mk5oKgT/gLg64UmIUcWHicfZC9f9XFrvFHthh+6 -# y4iulP3BhH34iXHyOqr39GcigQIUPkuQsZUqm9ZKV8QcWXBu4yOqF+aR28qq9czs -# b38Z03LW3Paeaf+PNDVjek66QZj0+nR/nBpfAVp+BomzZqa0jQ2yekxDNPLaRmJB -# hG57RJxEznVOpwB/fuCnnAH8lH0JHAmGJuJAimIDx6meei2kFk/AHMkW46vSGDww -# A+1DL9Sjy7UhCnkCjYvgQBe4eJUAgD5aEmxn6t55QZ7+wKlDI6GCEuUwghLhBgor -# BgEEAYI3AwMBMYIS0TCCEs0GCSqGSIb3DQEHAqCCEr4wghK6AgEDMQ8wDQYJYIZI -# AWUDBAIBBQAwggFRBgsqhkiG9w0BCRABBKCCAUAEggE8MIIBOAIBAQYKKwYBBAGE -# WQoDATAxMA0GCWCGSAFlAwQCAQUABCAgrqGTkQYbZFjHoXeplz13S4sXHhfN25+b -# YqXYRW1EJwIGXoIPTMYpGBMyMDIwMDQxNjIyMTM0MS43MTJaMASAAgH0oIHQpIHN -# MIHKMQswCQYDVQQGEwJVUzELMAkGA1UECBMCV0ExEDAOBgNVBAcTB1JlZG1vbmQx -# HjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9z -# b2Z0IElyZWxhbmQgT3BlcmF0aW9ucyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMg -# VFNTIEVTTjo4RDQxLTRCRjctQjNCNzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUt -# U3RhbXAgU2VydmljZaCCDjwwggTxMIID2aADAgECAhMzAAABClLIOQFS0XBLAAAA -# AAEKMA0GCSqGSIb3DQEBCwUAMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNo -# aW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29y -# cG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEw -# MB4XDTE5MTAyMzIzMTkxNVoXDTIxMDEyMTIzMTkxNVowgcoxCzAJBgNVBAYTAlVT -# MQswCQYDVQQIEwJXQTEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z -# b2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQgSXJlbGFuZCBPcGVy -# YXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjhENDEtNEJG -# Ny1CM0I3MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNlMIIB -# IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuz4brZShcMWfhnj1P1dKTJHt -# teR0l/D3C19YY2FG8ghEQRbO/8BMK28DCGXTqOzQ6nCFIV17d5MYNTqgScbqM1XA -# ifCcEcv1SO/adWXi20r92jDMaLjs6KmjS/w5m/Ak/VBHKqtzxdfLzL9XGX5PGaYb -# lUhjzNHlrCbxNZHz1wibGM7Gbbq6tIxCOlwYfYabikKvCkl76KghN+xGVq2Fst7o -# USZ7K3eE6tmIGLMlkP2kBdtHW+92VsCLVxuE1JcuCENKXEIvf1B937FbtOqvP8jb -# 3OzHyHJp2DlDzshTAYdBFudfSv5oP8WIDIbZmZZ85rx56+Z6cyU4sGwboZ8FJwID -# AQABo4IBGzCCARcwHQYDVR0OBBYEFPhElKX9OkxNUN6R+DqtAaKRcYUoMB8GA1Ud -# IwQYMBaAFNVjOlyKMZDzQ3t8RhvFM2hahW1VMFYGA1UdHwRPME0wS6BJoEeGRWh0 -# dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1RpbVN0 -# YVBDQV8yMDEwLTA3LTAxLmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKG -# Pmh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljVGltU3RhUENB -# XzIwMTAtMDctMDEuY3J0MAwGA1UdEwEB/wQCMAAwEwYDVR0lBAwwCgYIKwYBBQUH -# AwgwDQYJKoZIhvcNAQELBQADggEBAFSXrnzUFfLd03MlqtErt51WGX3UXFeorE6d -# GY+YIwSmfFRKRNwEe8cmLt0EOxezyTV6+/fdYTyrPcPDvgR3k6F5sHeKExohjrqc -# jxAa3yVQ9SJZakXZVKzaHWzbvMuA8kcmzj0J/Y6/pk57aFsp/kr+lu5aNdw5V3Wg -# itJYpwE6foZQsBrTTPNRhIXVMHnPEk6s2+7nC6Ty9ZLIJhYeMyqLuitJGKvEiRhD -# 8PYzkGJnLkjp61ICDk/00ZVZvvlXLonth32ZooeZ9/+760o9g2lUhF8oaLHCB1i8 -# 2dUChXdzZulUEwQ5CZWh8WIjQZSUuvOO1vV0FfOqdNwcDyXuFdIwggZxMIIEWaAD -# AgECAgphCYEqAAAAAAACMA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJVUzET -# MBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMV -# TWljcm9zb2Z0IENvcnBvcmF0aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQgUm9vdCBD -# ZXJ0aWZpY2F0ZSBBdXRob3JpdHkgMjAxMDAeFw0xMDA3MDEyMTM2NTVaFw0yNTA3 -# MDEyMTQ2NTVaMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAw -# DgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24x -# JjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMIIBIjANBgkq -# hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqR0NvHcRijog7PwTl/X6f2mUa3RUENWl -# CgCChfvtfGhLLF/Fw+Vhwna3PmYrW/AVUycEMR9BGxqVHc4JE458YTBZsTBED/Fg -# iIRUQwzXTbg4CLNC3ZOs1nMwVyaCo0UN0Or1R4HNvyRgMlhgRvJYR4YyhB50YWeR -# X4FUsc+TTJLBxKZd0WETbijGGvmGgLvfYfxGwScdJGcSchohiq9LZIlQYrFd/Xcf -# PfBXday9ikJNQFHRD5wGPmd/9WbAA5ZEfu/QS/1u5ZrKsajyeioKMfDaTgaRtogI -# Neh4HLDpmc085y9Euqf03GS9pAHBIAmTeM38vMDJRF1eFpwBBU8iTQIDAQABo4IB -# 5jCCAeIwEAYJKwYBBAGCNxUBBAMCAQAwHQYDVR0OBBYEFNVjOlyKMZDzQ3t8RhvF -# M2hahW1VMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsGA1UdDwQEAwIBhjAP -# BgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJcYmjRPZSQW9fOmhjE -# MFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9wa2kv -# Y3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIzLmNybDBaBggrBgEF -# BQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9w -# a2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0MIGgBgNVHSABAf8E -# gZUwgZIwgY8GCSsGAQQBgjcuAzCBgTA9BggrBgEFBQcCARYxaHR0cDovL3d3dy5t -# aWNyb3NvZnQuY29tL1BLSS9kb2NzL0NQUy9kZWZhdWx0Lmh0bTBABggrBgEFBQcC -# AjA0HjIgHQBMAGUAZwBhAGwAXwBQAG8AbABpAGMAeQBfAFMAdABhAHQAZQBtAGUA -# bgB0AC4gHTANBgkqhkiG9w0BAQsFAAOCAgEAB+aIUQ3ixuCYP4FxAz2do6Ehb7Pr -# psz1Mb7PBeKp/vpXbRkws8LFZslq3/Xn8Hi9x6ieJeP5vO1rVFcIK1GCRBL7uVOM -# zPRgEop2zEBAQZvcXBf/XPleFzWYJFZLdO9CEMivv3/Gf/I3fVo/HPKZeUqRUgCv -# OA8X9S95gWXZqbVr5MfO9sp6AG9LMEQkIjzP7QOllo9ZKby2/QThcJ8ySif9Va8v -# /rbljjO7Yl+a21dA6fHOmWaQjP9qYn/dxUoLkSbiOewZSnFjnXshbcOco6I8+n99 -# lmqQeKZt0uGc+R38ONiU9MalCpaGpL2eGq4EQoO4tYCbIjggtSXlZOz39L9+Y1kl -# D3ouOVd2onGqBooPiRa6YacRy5rYDkeagMXQzafQ732D8OE7cQnfXXSYIghh2rBQ -# Hm+98eEA3+cxB6STOvdlR3jo+KhIq/fecn5ha293qYHLpwmsObvsxsvYgrRyzR30 -# uIUBHoD7G4kqVDmyW9rIDVWZeodzOwjmmC3qjeAzLhIp9cAvVCch98isTtoouLGp -# 25ayp0Kiyc8ZQU3ghvkqmqMRZjDTu3QyS99je/WZii8bxyGvWbWu3EQ8l1Bx16HS -# xVXjad5XwdHeMMD9zOZN+w2/XU/pnR4ZOC+8z1gFLu8NoFA12u8JJxzVs341Hgi6 -# 2jbb01+P3nSISRKhggLOMIICNwIBATCB+KGB0KSBzTCByjELMAkGA1UEBhMCVVMx -# CzAJBgNVBAgTAldBMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3Nv -# ZnQgQ29ycG9yYXRpb24xLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9wZXJh -# dGlvbnMgTGltaXRlZDEmMCQGA1UECxMdVGhhbGVzIFRTUyBFU046OEQ0MS00QkY3 -# LUIzQjcxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2WiIwoB -# ATAHBgUrDgMCGgMVADm9dqVx0X/uUa0VckV24hpoY975oIGDMIGApH4wfDELMAkG -# A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQx -# HjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9z -# b2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwDQYJKoZIhvcNAQEFBQACBQDiQvb4MCIY -# DzIwMjAwNDE2MjMyMzM2WhgPMjAyMDA0MTcyMzIzMzZaMHcwPQYKKwYBBAGEWQoE -# ATEvMC0wCgIFAOJC9vgCAQAwCgIBAAICDVECAf8wBwIBAAICEdcwCgIFAOJESHgC -# AQAwNgYKKwYBBAGEWQoEAjEoMCYwDAYKKwYBBAGEWQoDAqAKMAgCAQACAwehIKEK -# MAgCAQACAwGGoDANBgkqhkiG9w0BAQUFAAOBgQCi9Yk47yOs+idHtqxf1Bztg/7t -# gjK5JhDICmMIF+/qBZpZjCOSXowpqjO8GOCln5uOs73GNu2XVbQ2NzT1EUrfkK+6 -# CsrmOXP2ZtAKja7RY7FH9IoYD4bsUmp3aOaM76bMJSm3d+J7Jqcblwd9cU4kii+K -# daCFk5Zz9brYA+itbjGCAw0wggMJAgEBMIGTMHwxCzAJBgNVBAYTAlVTMRMwEQYD -# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1w -# IFBDQSAyMDEwAhMzAAABClLIOQFS0XBLAAAAAAEKMA0GCWCGSAFlAwQCAQUAoIIB -# SjAaBgkqhkiG9w0BCQMxDQYLKoZIhvcNAQkQAQQwLwYJKoZIhvcNAQkEMSIEIJBr -# lX3RMPnzDsT2OwSFdV+nSMcRwf6GO3VnFpU82HDoMIH6BgsqhkiG9w0BCRACLzGB -# 6jCB5zCB5DCBvQQgVwM2JDO6oQwoDehG8V22bUdxzZDWWhkjGB83y+TSrKowgZgw -# gYCkfjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UE -# BxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYD -# VQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAQpSyDkBUtFw -# SwAAAAABCjAiBCAPcA2FUPvx4YVbNm4dewSIE482jr5eh5w3As4qnw+bGjANBgkq -# hkiG9w0BAQsFAASCAQAjsYHBCGmxsZTzdg7kleQ0b44SH5aFvErimvb/0Ues1/K3 -# yW4lHf2Fo7VMXMQ4Yh6QPcaHt5th75b4X7XF3XRXr7mZ5YvKlNQI9z+x92y8CzGm -# bmHPK1HXro0MCcyzDDlNgMwKoeixvhS4xDUWdJEKZkL7U/KbgEBWabys82WnkMgB -# 8Z6UDGULt0NPKd3CPQrJ4CbX3YEUr2jJzbEEv7DFsmdjqEngImndMw8Fs2JaUCVj -# +Z+kaWU4TQNqocF7tt3NS4lo1xv5E9eWlxJ3VO9T3uPTSat5Q0XHwcULL1kONqIO -# VPUIwIBu1SzO7zrG3HTS54NQG1k7LkR5M+2gco5B -# SIG # End signature block diff --git a/app/packages/EntityFramework.6.4.4/tools/net40/any/ef6.exe b/app/packages/EntityFramework.6.4.4/tools/net40/any/ef6.exe deleted file mode 100644 index 7044333..0000000 Binary files a/app/packages/EntityFramework.6.4.4/tools/net40/any/ef6.exe and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/tools/net40/win-x86/ef6.exe b/app/packages/EntityFramework.6.4.4/tools/net40/win-x86/ef6.exe deleted file mode 100644 index 4d3399f..0000000 Binary files a/app/packages/EntityFramework.6.4.4/tools/net40/win-x86/ef6.exe and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/tools/net45/any/ef6.exe b/app/packages/EntityFramework.6.4.4/tools/net45/any/ef6.exe deleted file mode 100644 index 595aa40..0000000 Binary files a/app/packages/EntityFramework.6.4.4/tools/net45/any/ef6.exe and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/tools/net45/win-x86/ef6.exe b/app/packages/EntityFramework.6.4.4/tools/net45/win-x86/ef6.exe deleted file mode 100644 index 30fdd35..0000000 Binary files a/app/packages/EntityFramework.6.4.4/tools/net45/win-x86/ef6.exe and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/tools/netcoreapp3.0/any/ef6.dll b/app/packages/EntityFramework.6.4.4/tools/netcoreapp3.0/any/ef6.dll deleted file mode 100644 index 7fc6c50..0000000 Binary files a/app/packages/EntityFramework.6.4.4/tools/netcoreapp3.0/any/ef6.dll and /dev/null differ diff --git a/app/packages/EntityFramework.6.4.4/tools/netcoreapp3.0/any/ef6.runtimeconfig.json b/app/packages/EntityFramework.6.4.4/tools/netcoreapp3.0/any/ef6.runtimeconfig.json deleted file mode 100644 index 33ec9d0..0000000 --- a/app/packages/EntityFramework.6.4.4/tools/netcoreapp3.0/any/ef6.runtimeconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "netcoreapp3.0", - "framework": { - "name": "Microsoft.NETCore.App", - "version": "3.0.0" - } - } -} \ No newline at end of file diff --git a/app/packages/NLog.4.7.15/.signature.p7s b/app/packages/NLog.4.7.15/.signature.p7s deleted file mode 100644 index 7d61f30..0000000 Binary files a/app/packages/NLog.4.7.15/.signature.p7s and /dev/null differ diff --git a/app/packages/NLog.4.7.15/NLog.4.7.15.nupkg b/app/packages/NLog.4.7.15/NLog.4.7.15.nupkg deleted file mode 100644 index 64449c6..0000000 Binary files a/app/packages/NLog.4.7.15/NLog.4.7.15.nupkg and /dev/null differ diff --git a/app/packages/NLog.4.7.15/lib/monoandroid44/NLog.dll b/app/packages/NLog.4.7.15/lib/monoandroid44/NLog.dll deleted file mode 100644 index b7ace35..0000000 Binary files a/app/packages/NLog.4.7.15/lib/monoandroid44/NLog.dll and /dev/null differ diff --git a/app/packages/NLog.4.7.15/lib/monoandroid44/NLog.xml b/app/packages/NLog.4.7.15/lib/monoandroid44/NLog.xml deleted file mode 100644 index ac5352f..0000000 --- a/app/packages/NLog.4.7.15/lib/monoandroid44/NLog.xml +++ /dev/null @@ -1,26816 +0,0 @@ - - - - NLog - - - - - Indicates that the value of the marked element could be null sometimes, - so the check for null is necessary before its usage. - - - [CanBeNull] object Test() => null; - - void UseTest() { - var p = Test(); - var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' - } - - - - - Indicates that the value of the marked element could never be null. - - - [NotNull] object Foo() { - return null; // Warning: Possible 'null' assignment - } - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can never be null. - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can be null. - - - - - Indicates that the marked method builds string by format pattern and (optional) arguments. - Parameter, which contains format string, should be given in constructor. The format string - should be in -like form. - - - [StringFormatMethod("message")] - void ShowError(string message, params object[] args) { /* do something */ } - - void Foo() { - ShowError("Failed: {0}"); // Warning: Non-existing argument in format string - } - - - - - Specifies which parameter of an annotated method should be treated as format-string - - - - - For a parameter that is expected to be one of the limited set of values. - Specify fields of which type should be used as values for this parameter. - - - - - Indicates that the function argument should be string literal and match one - of the parameters of the caller function. For example, ReSharper annotates - the parameter of . - - - void Foo(string param) { - if (param == null) - throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol - } - - - - - Indicates that the method is contained in a type that implements - System.ComponentModel.INotifyPropertyChanged interface and this method - is used to notify that some property value changed. - - - The method should be non-static and conform to one of the supported signatures: - - NotifyChanged(string) - NotifyChanged(params string[]) - NotifyChanged{T}(Expression{Func{T}}) - NotifyChanged{T,U}(Expression{Func{T,U}}) - SetProperty{T}(ref T, T, string) - - - - public class Foo : INotifyPropertyChanged { - public event PropertyChangedEventHandler PropertyChanged; - - [NotifyPropertyChangedInvocator] - protected virtual void NotifyChanged(string propertyName) { ... } - - string _name; - - public string Name { - get { return _name; } - set { _name = value; NotifyChanged("LastName"); /* Warning */ } - } - } - - Examples of generated notifications: - - NotifyChanged("Property") - NotifyChanged(() => Property) - NotifyChanged((VM x) => x.Property) - SetProperty(ref myField, value, "Property") - - - - - - Describes dependency between method input and output. - - -

Function Definition Table syntax:

- - FDT ::= FDTRow [;FDTRow]* - FDTRow ::= Input => Output | Output <= Input - Input ::= ParameterName: Value [, Input]* - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} - Value ::= true | false | null | notnull | canbenull - - If method has single input parameter, it's name could be omitted.
- Using halt (or void/nothing, which is the same) for method output - means that the methods doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute - with rows separated by semicolon. There is no notion of order rows, all rows are checked - for applicability and applied per each program state tracked by R# analysis.
-
- - - [ContractAnnotation("=> halt")] - public void TerminationMethod() - - - [ContractAnnotation("halt <= condition: false")] - public void Assert(bool condition, string text) // regular assertion method - - - [ContractAnnotation("s:null => true")] - public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() - - - // A method that returns null if the parameter is null, - // and not null if the parameter is not null - [ContractAnnotation("null => null; notnull => notnull")] - public object Transform(object data) - - - [ContractAnnotation("=> true, result: notnull; => false, result: null")] - public bool TryParse(string s, out Person result) - - -
- - - Indicates that marked element should be localized or not. - - - [LocalizationRequiredAttribute(true)] - class Foo { - string str = "my string"; // Warning: Localizable string - } - - - - - Indicates that the value of the marked type (or its derivatives) - cannot be compared using '==' or '!=' operators and Equals() - should be used instead. However, using '==' or '!=' for comparison - with null is always permitted. - - - [CannotApplyEqualityOperator] - class NoEquality { } - - class UsesNoEquality { - void Test() { - var ca1 = new NoEquality(); - var ca2 = new NoEquality(); - if (ca1 != null) { // OK - bool condition = ca1 == ca2; // Warning - } - } - } - - - - - When applied to a target attribute, specifies a requirement for any type marked - with the target attribute to implement or inherit specific type or types. - - - [BaseTypeRequired(typeof(IComponent)] // Specify requirement - class ComponentAttribute : Attribute { } - - [Component] // ComponentAttribute requires implementing IComponent interface - class MyComponent : IComponent { } - - - - - Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), - so this symbol will not be marked as unused (as well as by other usage inspections). - - - - - Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes - as unused (as well as by other usage inspections) - - - - Only entity marked with attribute considered used. - - - Indicates implicit assignment to a member. - - - - Indicates implicit instantiation of a type with fixed constructor signature. - That means any unused constructor parameters won't be reported as such. - - - - Indicates implicit instantiation of a type. - - - - Specify what is considered used implicitly when marked - with or . - - - - Members of entity marked with attribute are considered used. - - - Entity marked with attribute and all its members considered used. - - - - This attribute is intended to mark publicly available API - which should not be removed and so is treated as used. - - - - - Tells code analysis engine if the parameter is completely handled when the invoked method is on stack. - If the parameter is a delegate, indicates that delegate is executed while the method is executed. - If the parameter is an enumerable, indicates that it is enumerated while the method is executed. - - - - - Indicates that a method does not make any observable state changes. - The same as System.Diagnostics.Contracts.PureAttribute. - - - [Pure] int Multiply(int x, int y) => x * y; - - void M() { - Multiply(123, 42); // Waring: Return value of pure method is not used - } - - - - - Indicates that the return value of method invocation must be used. - - - - - Indicates the type member or parameter of some type, that should be used instead of all other ways - to get the value that type. This annotation is useful when you have some "context" value evaluated - and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one. - - - class Foo { - [ProvidesContext] IBarService _barService = ...; - - void ProcessNode(INode node) { - DoSomething(node, node.GetGlobalServices().Bar); - // ^ Warning: use value of '_barService' field - } - } - - - - - Indicates that a parameter is a path to a file or a folder within a web project. - Path can be relative or absolute, starting from web root (~). - - - - - An extension method marked with this attribute is processed by ReSharper code completion - as a 'Source Template'. When extension method is completed over some expression, it's source code - is automatically expanded like a template at call site. - - - Template method body can contain valid source code and/or special comments starting with '$'. - Text inside these comments is added as source code when the template is applied. Template parameters - can be used either as additional method parameters or as identifiers wrapped in two '$' signs. - Use the attribute to specify macros for parameters. - - - In this example, the 'forEach' method is a source template available over all values - of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block: - - [SourceTemplate] - public static void forEach<T>(this IEnumerable<T> xs) { - foreach (var x in xs) { - //$ $END$ - } - } - - - - - - Allows specifying a macro for a parameter of a source template. - - - You can apply the attribute on the whole method or on any of its additional parameters. The macro expression - is defined in the property. When applied on a method, the target - template parameter is defined in the property. To apply the macro silently - for the parameter, set the property value = -1. - - - Applying the attribute on a source template method: - - [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] - public static void forEach<T>(this IEnumerable<T> collection) { - foreach (var item in collection) { - //$ $END$ - } - } - - Applying the attribute on a template method parameter: - - [SourceTemplate] - public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { - /*$ var $x$Id = "$newguid$" + x.ToString(); - x.DoSomething($x$Id); */ - } - - - - - - Allows specifying a macro that will be executed for a source template - parameter when the template is expanded. - - - - - Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. - - - If the target parameter is used several times in the template, only one occurrence becomes editable; - other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, - use values >= 0. To make the parameter non-editable when the template is expanded, use -1. - > - - - - Identifies the target parameter of a source template if the - is applied on a template method. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC action. If applied to a method, the MVC action name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC area. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is - an MVC controller. If applied to a method, the MVC controller name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC - partial view. If applied to a method, the MVC partial view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC template. - Use this attribute for custom wrappers similar to - System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component. If applied to a method, the MVC view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Controller.View(Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component name. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component view. If applied to a method, the MVC view component view name is default. - - - - - ASP.NET MVC attribute. When applied to a parameter of an attribute, - indicates that this parameter is an MVC action name. - - - [ActionName("Foo")] - public ActionResult Login(string returnUrl) { - ViewBag.ReturnUrl = Url.Action("Foo"); // OK - return RedirectToAction("Bar"); // Error: Cannot resolve action - } - - - - - Razor attribute. Indicates that a parameter or a method is a Razor section. - Use this attribute for custom wrappers similar to - System.Web.WebPages.WebPageBase.RenderSection(String). - - - - - Indicates how method, constructor invocation or property access - over collection type affects content of the collection. - - - - Method does not use or modify content of the collection. - - - Method only reads content of the collection but does not modify it. - - - Method can change content of the collection but does not add new elements. - - - Method can add new elements to the collection. - - - - Indicates that the marked method is assertion method, i.e. it halts control flow if - one of the conditions is satisfied. To set the condition, mark one of the parameters with - attribute. - - - - - Indicates the condition parameter of the assertion method. The method itself should be - marked by attribute. The mandatory argument of - the attribute is the assertion type. - - - - - Specifies assertion type. If the assertion method argument satisfies the condition, - then the execution continues. Otherwise, execution is assumed to be halted. - - - - Marked parameter should be evaluated to true. - - - Marked parameter should be evaluated to false. - - - Marked parameter should be evaluated to null value. - - - Marked parameter should be evaluated to not null value. - - - - Indicates that the marked method unconditionally terminates control flow execution. - For example, it could unconditionally throw exception. - - - - - Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select, - .Where). This annotation allows inference of [InstantHandle] annotation for parameters - of delegate type by analyzing LINQ method chains. - - - - - Indicates that IEnumerable, passed as parameter, is not enumerated. - - - - - Indicates that parameter is regular expression pattern. - - - - - Prevents the Member Reordering feature from tossing members of the marked class. - - - The attribute must be mentioned in your member reordering patterns - - - - - XAML attribute. Indicates the type that has ItemsSource property and should be treated - as ItemsControl-derived type, to enable inner items DataContext type resolve. - - - - - XAML attribute. Indicates the property of some BindingBase-derived type, that - is used to bind some item of ItemsControl-derived type. This annotation will - enable the DataContext type resolve for XAML bindings for such properties. - - - Property should have the tree ancestor of the ItemsControl type or - marked with the attribute. - - - - - Support implementation of - - - - - - - - - - - - - - - - - Asynchronous continuation delegate - function invoked at the end of asynchronous - processing. - - Exception during asynchronous processing or null if no exception - was thrown. - - - - Helpers for asynchronous operations. - - - - - Iterates over all items in the given collection and runs the specified action - in sequence (each action executes only after the preceding one has completed without an error). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end. - - The repeat count. - The asynchronous continuation to invoke at the end. - The action to invoke. - - - - Modifies the continuation by pre-pending given action to execute just before it. - - The async continuation. - The action to pre-pend. - Continuation which will execute the given action before forwarding to the actual continuation. - - - - Attaches a timeout to a continuation which will invoke the continuation when the specified - timeout has elapsed. - - The asynchronous continuation. - The timeout. - Wrapped continuation. - - - - Iterates over all items in the given collection and runs the specified action - in parallel (each action executes on a thread from thread pool). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Runs the specified asynchronous action synchronously (blocks until the continuation has - been invoked). - - The action. - - Using this method is not recommended because it will block the calling thread. - - - - - Wraps the continuation with a guard which will only make sure that the continuation function - is invoked only once. - - The asynchronous continuation. - Wrapped asynchronous continuation. - - - - Gets the combined exception from all exceptions in the list. - - The exceptions. - Combined exception or null if no exception was thrown. - - - - Disposes the Timer, and waits for it to leave the Timer-callback-method - - The Timer object to dispose - Timeout to wait (TimeSpan.Zero means dispose without waiting) - Timer disposed within timeout (true/false) - - - - Asynchronous action. - - Continuation to be invoked at the end of action. - - - - Asynchronous action with one argument. - - Type of the argument. - Argument to the action. - Continuation to be invoked at the end of action. - - - - Represents the logging event with asynchronous continuation. - - - - - Initializes a new instance of the struct. - - The log event. - The continuation. - - - - Gets the log event. - - - - - Gets the continuation. - - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - A value of true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - String Conversion Helpers - - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - Output value - Default value - Returns false if the input value could not be parsed - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - The type of the enum - Output value. Null if parse failed - - - - Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded. - - The enumeration type to which to convert value. - The string representation of the enumeration name or underlying value to convert. - true to ignore case; false to consider case. - When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized. - true if the value parameter was converted successfully; otherwise, false. - Wrapper because Enum.TryParse is not present in .net 3.5 - - - - Enum.TryParse implementation for .net 3.5 - - - - Don't uses reflection - - - - Enables to extract extra context details for - - - - - Name of context - - - - - The current LogFactory next to LogManager - - - - - NLog internal logger. - - Writes to file, console or custom text writer (see ) - - - Don't use as that can lead to recursive calls - stackoverflow - - - - - Gets a value indicating whether internal log includes Trace messages. - - - - - Gets a value indicating whether internal log includes Debug messages. - - - - - Gets a value indicating whether internal log includes Info messages. - - - - - Gets a value indicating whether internal log includes Warn messages. - - - - - Gets a value indicating whether internal log includes Error messages. - - - - - Gets a value indicating whether internal log includes Fatal messages. - - - - - Logs the specified message without an at the Trace level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - Log message. - - - - Logs the specified message without an at the Trace level. - will be only called when logging is enabled for level Trace. - - Function that returns the log message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Trace level. - will be only called when logging is enabled for level Trace. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Debug level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Debug level. - - Log message. - - - - Logs the specified message without an at the Debug level. - will be only called when logging is enabled for level Debug. - - Function that returns the log message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Debug level. - will be only called when logging is enabled for level Debug. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Info level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Info level. - - Log message. - - - - Logs the specified message without an at the Info level. - will be only called when logging is enabled for level Info. - - Function that returns the log message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Info level. - will be only called when logging is enabled for level Info. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Warn level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Warn level. - - Log message. - - - - Logs the specified message without an at the Warn level. - will be only called when logging is enabled for level Warn. - - Function that returns the log message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Warn level. - will be only called when logging is enabled for level Warn. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Error level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Error level. - - Log message. - - - - Logs the specified message without an at the Error level. - will be only called when logging is enabled for level Error. - - Function that returns the log message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Error level. - will be only called when logging is enabled for level Error. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Fatal level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Fatal level. - - Log message. - - - - Logs the specified message without an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Function that returns the log message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Exception to be logged. - Function that returns the log message. - - - - Initializes static members of the InternalLogger class. - - - - - Set the config of the InternalLogger with defaults and config. - - - - - Gets or sets the minimal internal log level. - - If set to , then messages of the levels , and will be written. - - - - Gets or sets a value indicating whether internal messages should be written to the console output stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the console error stream. - - Your application must be a console application. - - - - Gets or sets the file path of the internal log file. - - A value of value disables internal logging to a file. - - - - Gets or sets the text writer that will receive internal logs. - - - - - Event written to the internal log. - Please note that the event is not triggered when then event hasn't the minimal log level set by - - - - - Gets or sets a value indicating whether timestamp should be included in internal log output. - - - - - Is there an thrown when writing the message? - - - - - Logs the specified message without an at the specified level. - - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the specified level. - - Log level. - Log message. - - - - Logs the specified message without an at the specified level. - will be only called when logging is enabled for level . - - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - will be only called when logging is enabled for level . - - Exception to be logged. - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Log message. - - - - Write to internallogger. - - optional exception to be logged. - level - message - optional args for - - - - Create log line with timestamp, exception message etc (if configured) - - - - - Determine if logging should be avoided because of exception type. - - The exception to check. - true if logging should be avoided; otherwise, false. - - - - Determine if logging is enabled for given LogLevel - - The for the log event. - true if logging is enabled; otherwise, false. - - - - Determine if logging is enabled. - - true if logging is enabled; otherwise, false. - - - - Write internal messages to the log file defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged only when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged when the property is true, otherwise the - method has no effect. - - - - - Logs the assembly version and file version of the given Assembly. - - The assembly to log. - - - - A message has been written to the internal logger - - - - - The rendered message - - - - - The log level - - - - - The exception. Could be null. - - - - - The type that triggered this internal log event, for example the FileTarget. - This property is not always populated. - - - - - The context name that triggered this internal log event, for example the name of the Target. - This property is not always populated. - - - - - - - - A cyclic buffer of object. - - - - - Initializes a new instance of the class. - - Buffer size. - Whether buffer should grow as it becomes full. - The maximum number of items that the buffer can grow to. - - - - Gets the capacity of the buffer - - - - - Gets the number of items in the buffer - - - - - Adds the specified log event to the buffer. - - Log event. - The number of items in the buffer. - - - - Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation. - - Events in the buffer. - - - - Condition and expression. - - - - - Initializes a new instance of the class. - - Left hand side of the AND expression. - Right hand side of the AND expression. - - - - Gets the left hand side of the AND expression. - - - - - Gets the right hand side of the AND expression. - - - - - Returns a string representation of this expression. - - A concatenated '(Left) and (Right)' string. - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the conjunction operator. - - - - Exception during evaluation of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Base class for representing nodes in condition expression trees. - - - - - Converts condition text to a condition expression tree. - - Condition text to be converted. - Condition expression tree. - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition layout expression (represented by a string literal - with embedded ${}). - - - - - Initializes a new instance of the class. - - The layout. - - - - Gets the layout. - - The layout. - - - - Returns a string representation of this expression. - - String literal in single quotes. - - - - Evaluates the expression by calculating the value - of the layout in the specified evaluation context. - - Evaluation context. - The value of the layout. - - - - Condition level expression (represented by the level keyword). - - - - - Returns a string representation of the expression. - - The 'level' string. - - - - Evaluates to the current log level. - - Evaluation context. Ignored. - The object representing current log level. - - - - Condition literal expression (numeric, LogLevel.XXX, true or false). - - - - - Initializes a new instance of the class. - - Literal value. - ToString value. - - - - Gets the literal value. - - The literal value. - - - - Returns a string representation of the expression. - - The literal value. - - - - Evaluates the expression. - - Evaluation context. - The literal value as passed in the constructor. - - - - Condition logger name expression (represented by the logger keyword). - - - - - Returns a string representation of this expression. - - A logger string. - - - - Evaluates to the logger name. - - Evaluation context. - The logger name. - - - - Condition message expression (represented by the message keyword). - - - - - Returns a string representation of this expression. - - The 'message' string. - - - - Evaluates to the logger message. - - Evaluation context. - The logger message. - - - - Marks class as a log event Condition and assigns a name to it. - - - - - Initializes a new instance of the class. - - Condition method name. - - - - Condition method invocation expression (represented by method(p1,p2,p3) syntax). - - - - - Initializes a new instance of the class. - - Name of the condition method. - of the condition method. - Precompiled delegate of the condition method. - The method parameters. - - - - Gets the method info. - - - - - Gets the method parameters - - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - A bunch of utility methods (mostly predicates) which can be used in - condition expressions. Partially inspired by XPath 1.0. - - - - - Compares two values for equality. - - The first value. - The second value. - true when two objects are equal, false otherwise. - - - - Compares two strings for equality. - - The first string. - The second string. - Optional. If true, case is ignored; if false (default), case is significant. - true when two strings are equal, false otherwise. - - - - Gets or sets a value indicating whether the second string is a substring of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a substring of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a prefix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a suffix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Returns the length of a string. - - A string whose lengths is to be evaluated. - The length of the string. - - - - Indicates whether the specified regular expression finds a match in the specified input string. - - The string to search for a match. - The regular expression pattern to match. - A string consisting of the desired options for the test. The possible values are those of the separated by commas. - true if the regular expression finds a match; otherwise, false. - - - - - - - - - - - Marks the class as containing condition methods. - - - - - Condition not expression. - - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression to be negated. - - The expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition or expression. - - - - - Initializes a new instance of the class. - - Left hand side of the OR expression. - Right hand side of the OR expression. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the alternative operator. - - - - Exception during parsing of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Condition parser. Turns a string representation of condition expression - into an expression tree. - - - - - Initializes a new instance of the class. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - Instance of used to resolve references to condition methods and layout renderers. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - - Try stringed keyword to - - - - success? - - - - Parse number - - negative number? minus should be parsed first. - - - - - Condition relational (==, !=, <, <=, - > or >=) expression. - - - - - Initializes a new instance of the class. - - The left expression. - The right expression. - The relational operator. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Gets the relational operator. - - The operator. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Compares the specified values using specified relational operator. - - The first value. - The second value. - The relational operator. - Result of the given relational operator. - - - - Promote values to the type needed for the comparision, e.g. parse a string to int. - - - - - - - Promotes to type - - - - success? - - - - Try to promote both values. First try to promote to , - when failed, try to . - - - - - - Get the order for the type for comparision. - - - index, 0 to max int. Lower is first - - - - Dictionary from type to index. Lower index should be tested first. - - - - - Build the dictionary needed for the order of the types. - - - - - - Get the string representing the current - - - - - - Relational operators used in conditions. - - - - - Equality (==). - - - - - Inequality (!=). - - - - - Less than (<). - - - - - Greater than (>). - - - - - Less than or equal (<=). - - - - - Greater than or equal (>=). - - - - - Hand-written tokenizer for conditions. - - - - - Initializes a new instance of the class. - - The string reader. - - - - Gets the type of the token. - - The type of the token. - - - - Gets the token value. - - The token value. - - - - Gets the value of a string token. - - The string token value. - - - - Asserts current token type and advances to the next token. - - Expected token type. - If token type doesn't match, an exception is thrown. - - - - Asserts that current token is a keyword and returns its value and advances to the next token. - - Keyword value. - - - - Gets or sets a value indicating whether current keyword is equal to the specified value. - - The keyword. - - A value of true if current keyword is equal to the specified value; otherwise, false. - - - - - Gets or sets a value indicating whether the tokenizer has reached the end of the token stream. - - - A value of true if the tokenizer has reached the end of the token stream; otherwise, false. - - - - - Gets or sets a value indicating whether current token is a number. - - - A value of true if current token is a number; otherwise, false. - - - - - Gets or sets a value indicating whether the specified token is of specified type. - - The token type. - - A value of true if current token is of specified type; otherwise, false. - - - - - Gets the next token and sets and properties. - - - - - Try the comparison tokens (greater, smaller, greater-equals, smaller-equals) - - current char - is match - - - - Try the logical tokens (and, or, not, equals) - - current char - is match - - - - Mapping between characters and token types for punctuations. - - - - - Initializes a new instance of the CharToTokenType struct. - - The character. - Type of the token. - - - - Token types for condition expressions. - - - - - Marks the class or a member as advanced. Advanced classes and members are hidden by - default in generated documentation. - - - - - Initializes a new instance of the class. - - - - - Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain. - - - A layout(renderer) could be converted to a literal when: - - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput] - - Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout. - - - - - Used to mark configurable parameters which are arrays. - Specifies the mapping between XML elements and .NET types. - - - - - Initializes a new instance of the class. - - The type of the array item. - The XML element name that represents the item. - - - - Gets the .NET type of the array item. - - - - - Gets the XML element name. - - - - - An assembly is trying to load. - - - - - New event args - - - - - - The assembly that is trying to load. - - - - - Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. - - Type of the item. - Created object of the specified type. - - - - Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. - - Everything of an assembly could be loaded by - - - - - Called before the assembly will be loaded. - - - - - Initializes a new instance of the class. - - The assemblies to scan for named items. - - - - Gets or sets default singleton instance of . - - - This property implements lazy instantiation so that the is not built before - the internal logger is configured. - - - - - Gets or sets the creator delegate used to instantiate configuration objects. - - - By overriding this property, one can enable dependency injection or interception for created objects. - - - - - Gets the factory. - - The target factory. - - - - Gets the factory. - - The filter factory. - - - - gets the factory - - not using due to backwards-compatibility. - - - - - Gets the factory. - - The layout renderer factory. - - - - Gets the factory. - - The layout factory. - - - - Gets the ambient property factory. - - The ambient property factory. - - - - Legacy interface, no longer used by the NLog engine - - - - - Gets or sets the JSON serializer to use with or - - - - - Gets or sets the string serializer to use with - - - - - Gets or sets the custom object-type transformation for use in , or - - - - - Gets or sets the parameter converter to use with , or - - - - - Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect) - - - - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering. - - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with ) - - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging) - - - - - Gets the time source factory. - - The time source factory. - - - - Gets the condition method factory. - - The condition method factory. - - - - Gets the condition method factory (precompiled) - - The condition method factory. - - - - Registers named items from the assembly. - - The assembly. - - - - Registers named items from the assembly. - - The assembly. - Item name prefix. - - - - Call Preload for NLogPackageLoader - - - Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) - This method will be called just before registering all items in the assembly. - - - - - - Call the Preload method for . The Preload method must be static. - - - - - - Clears the contents of all factories. - - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Builds the default configuration item factory. - - Default factory. - - - - Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. - - - - - Attribute used to mark the default parameters for layout renderers. - - - - - Initializes a new instance of the class. - - - - - Dynamic filtering with a positive list of enabled levels - - - - - Dynamic filtering with a minlevel and maxlevel range - - - - - Format of the exception output to the specific target. - - - - - Appends the Message of an Exception to the specified target. - - - - - Appends the type of an Exception to the specified target. - - - - - Appends the short type of an Exception to the specified target. - - - - - Appends the result of calling ToString() on an Exception to the specified target. - - - - - Appends the method name from Exception's stack trace to the specified target. - - - - - Appends the stack trace from an Exception to the specified target. - - - - - Appends the contents of an Exception's Data property to the specified target. - - - - - Destructure the exception (usually into JSON) - - - - - Appends the from the application or the object that caused the error. - - - - - Appends the from the application or the object that caused the error. - - - - - Appends any additional properties that specific type of Exception might have. - - - - - Factory for class-based items. - - The base type of each item. - The type of the attribute used to annotate items. - - - - Scans the assembly. - - The types to scan. - The prefix. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Registers the item based on a type name. - - Name of the item. - Name of the type. - - - - Clears the contents of the factory. - - - - - Registers a single type definition. - - The item name. - The type of the item. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Creates an item instance. - - The name of the item. - Created item. - - - - Factory specialized for s. - - - - - Clear all func layouts - - - - - Register a layout renderer with a callback function. - - Name of the layoutrenderer, without ${}. - the renderer that renders the value. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.). - - - - - Implemented by objects which support installation and uninstallation. - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Interface for accessing configuration details - - - - - Name of the config section - - - - - Configuration Key/Value Pairs - - - - - Child config sections - - - - - Interface for loading NLog - - - - - Finds and loads the NLog configuration - - LogFactory that owns the NLog configuration - Name of NLog.config file (optional) - NLog configuration (or null if none found) - - - - Notifies when LoggingConfiguration has been successfully applied - - LogFactory that owns the NLog configuration - NLog Config - - - - Get file paths (including filename) for the possible NLog config files. - - Name of NLog.config file (optional) - The file paths to the possible config file - - - - Level enabled flags for each LogLevel ordinal - - - - - Converts the filter into a simple - - - - - Represents a factory of named items (such as targets, layouts, layout renderers, etc.). - - Base type for each item instance. - Item definition type (typically or ). - - - - Registers new item definition. - - Name of the item. - Item definition. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Creates item instance. - - Name of the item. - Newly created item instance. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides context for install/uninstall operations. - - - - - Mapping between log levels and console output colors. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log output. - - - - Gets or sets the installation log level. - - - - - Gets or sets a value indicating whether to ignore failures during installation. - - - - - Whether installation exceptions should be rethrown. If IgnoreFailures is set to true, - this property has no effect (there are no exceptions to rethrow). - - - - - Gets the installation parameters. - - - - - Gets or sets the log output. - - - - - Logs the specified trace message. - - The message. - The arguments. - - - - Logs the specified debug message. - - The message. - The arguments. - - - - Logs the specified informational message. - - The message. - The arguments. - - - - Logs the specified warning message. - - The message. - The arguments. - - - - Logs the specified error message. - - The message. - The arguments. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Creates the log event which can be used to render layouts during installation/uninstallations. - - Log event info object. - - - - Convert object-value into specified type - - - - - Parses the input value and converts into the wanted type - - Input Value - Wanted Type - Format to use when parsing - Culture to use when parsing - Output value with wanted type - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for extension loading - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for enabling NLog - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - LoggingConfiguration being built - - - - - Interface for fluent setup of LogFactory options for logevent serialization - - - - - LogFactory under configuration - - - - - Encapsulates and the logic to match the actual logger name - All subclasses defines immutable objects. - Concrete subclasses defines various matching rules through - - - - - Creates a concrete based on . - - - Rules used to select the concrete implementation returned: - - if is null => returns (never matches) - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals) - if == '*' => returns (always matches) - if doesn't contain '?' - - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns - - - returns - - - - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - A concrete - - - - Returns the argument passed to - - - - - Checks whether given name matches the logger name pattern. - - String to be matched. - A value of when the name matches, otherwise. - - - - Defines a that never matches. - Used when pattern is null - - - - - Defines a that always matches. - Used when pattern is '*' - - - - - Defines a that matches with a case-sensitive Equals - Used when pattern is a string without wildcards '?' '*' - - - - - Defines a that matches with a case-sensitive StartsWith - Used when pattern is a string like "*foobar" - - - - - Defines a that matches with a case-sensitive EndsWith - Used when pattern is a string like "foobar*" - - - - - Defines a that matches with a case-sensitive Contains - Used when pattern is a string like "*foobar*" - - - - - Defines a that matches with a complex wildcards combinations: - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - used when pattern is a string containing any number of '?' or '*' in any position - i.e. "*Server[*].Connection[?]" - - - - - Keeps logging configuration and provides simple API to modify it. - - This class is thread-safe..ToList() is used for that purpose. - - - - Variables defined in xml or in API. name is case case insensitive. - - - - - Gets the factory that will be configured - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. - - - - Gets the variables defined in the configuration. - - - - - Gets a collection of named targets specified in the configuration. - - - A list of named targets. - - - Unnamed targets (such as those wrapped by other targets) are not returned. - - - - - Gets the collection of file names which should be watched for changes by NLog. - - - - - Gets the collection of logging rules. - - - - - Gets or sets the default culture info to use as . - - - Specific culture info or null to use - - - - - Gets all targets. - - - - - Compare objects based on their name. - - This property is use to cache the comparer object. - - - - Defines methods to support the comparison of objects for equality based on their name. - - - - - Registers the specified target object. The name of the target is read from . - - - The target object with a non - - when is - - - - Registers the specified target object under a given name. - - Name of the target. - The target object. - when is - when is - - - - Finds the target with the specified name. - - - The name of the target to be found. - - - Found target or when the target is not found. - - - - - Finds the target with the specified name and specified type. - - - The name of the target to be found. - - Type of the target - - Found target or when the target is not found of not of type - - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for all loglevels. - - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Finds the logging rule with the specified name. - - The name of the logging rule to be found. - Found logging rule or when not found. - - - - Removes the specified named logging rule. - - The name of the logging rule to be removed. - Found one or more logging rule to remove, or when not found. - - - - Called by LogManager when one of the log configuration files changes. - - - A new instance of that represents the updated configuration. - - - - - Removes the specified named target. - - Name of the target. - - - - Installs target-specific objects on current system. - - The installation context. - - Installation typically runs with administrative permissions. - - - - - Uninstalls target-specific objects from current system. - - The installation context. - - Uninstallation typically runs with administrative permissions. - - - - - Closes all targets and releases any unmanaged resources. - - - - - Log to the internal (NLog) logger the information about the and associated with this instance. - - - The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is - recorded. - - - - - Validates the configuration. - - - - - Copies all variables from provided dictionary into current configuration variables. - - Master variables dictionary - - - - Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage. - - - - - - - Checks whether unused targets exist. If found any, just write an internal log at Warn level. - If initializing not started or failed, then checking process will be canceled - - - - - - - - Arguments for events. - - - - - Initializes a new instance of the class. - - The new configuration. - The old configuration. - - - - Gets the old configuration. - - The old configuration. - - - - Gets the new configuration. - - The new configuration. - - - - Gets the new configuration - - The new configuration. - - - - Gets the old configuration - - The old configuration. - - - - Gets the optional boolean attribute value. - - - Name of the attribute. - Default value to return if the attribute is not found or if there is a parse error - Boolean attribute value or default. - - - - Remove the namespace (before :) - - - x:a, will be a - - - - - - - Enables loading of NLog configuration from a file - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Loads NLog configuration from - - - - - Constructor - - - - - - Loads NLog configuration from provided config section - - - - - - - Builds list with unique keys, using last value of duplicates. High priority keys placed first. - - - - - - - Parse loglevel, but don't throw if exception throwing is disabled - - Name of attribute for logging. - Value of parse. - Used if there is an exception - - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Parse {Rules} xml element - - - Rules are added to this parameter. - - - - Parse {Logger} xml element - - - - - - Parse boolean - - Name of the property for logging. - value to parse - Default value to return if the parse failed - Boolean attribute value or default. - - - - Represents a logging rule. An equivalent of <logger /> configuration element. - - - - - Create an empty . - - - - - Create an empty . - - - - - Create a new with a and which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a new with a which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a (disabled) . You should call or to enable logging. - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Target to be written to when the rule matches. - - - - Rule identifier to allow rule lookup - - - - - Gets a collection of targets that should be written to when this rule matches. - - - - - Gets a collection of child rules to be evaluated when this rule matches. - - - - - Gets a collection of filters to be checked before writing to targets. - - - - - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - - Gets or sets logger name pattern. - - - Logger name pattern used by to check if a logger name matches this rule. - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - - - - Gets the collection of log levels enabled by this rule. - - - - - Default action if none of the filters match - - - - - Enables logging for a particular level. - - Level to be enabled. - - - - Enables logging for a particular levels between (included) and . - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Disables logging for a particular level. - - Level to be disabled. - - - - Disables logging for particular levels between (included) and . - - Minimum log level to be disables. - Maximum log level to de disabled. - - - - Enables logging the levels between (included) and . All the other levels will be disabled. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Returns a string representation of . Used for debugging. - - - A that represents the current . - - - - - Checks whether te particular log level is enabled for this rule. - - Level to be checked. - A value of when the log level is enabled, otherwise. - - - - Checks whether given name matches the . - - String to be matched. - A value of when the name matches, otherwise. - - - - Default filtering with static level config - - - - - Factory for locating methods. - - - - - Initializes a new instance of the class. - - Helper method to extract relevant methods from type - - - - Scans the assembly for classes marked with expected class - and methods marked with expected and adds them - to the factory. - - The types to scan. - The prefix to use for names. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Scans a type for relevant methods with their symbolic names - - Include types that are marked with this attribute - Include methods that are marked with this attribute - Class Type to scan - Collection of methods with their symbolic names - - - - Clears contents of the factory. - - - - - Registers the definition of a single method. - - The method name. - The method info. - - - - Registers the definition of a single method. - - The method name. - The method info. - The precompiled method delegate. - - - - Tries to retrieve method by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Tries to retrieve method-delegate by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Retrieves method by name. - - Method name. - MethodInfo object. - - - - Retrieves method by name. - - Method name. - Method delegate object. - - - - Tries to get method definition. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Marks the layout or layout renderer depends on mutable objects from the LogEvent - - This can be or - - - - - Attaches a simple name to an item (such as , - , , etc.). - - - - - Initializes a new instance of the class. - - The name of the item. - - - - Gets the name of the item. - - The name of the item. - - - - Indicates NLog should not scan this property during configuration. - - - - - Initializes a new instance of the class. - - - - - Marks the object as configuration item for NLog. - - - - - Initializes a new instance of the class. - - - - - Represents simple XML element with case-insensitive attribute semantics. - - - - - Initializes a new instance of the class. - - The reader to initialize element from. - - - - Prevents a default instance of the class from being created. - - - - - Gets the element name. - - - - - Gets the dictionary of attribute values. - - - - - Gets the collection of child elements. - - - - - Gets the value of the element. - - - - - Last error occured during configuration read - - - - - Returns children elements with the specified element name. - - Name of the element. - Children elements with the specified element name. - - - - Asserts that the name of the element is among specified element names. - - The allowed names. - - - - Returns all parsing errors from current and all child elements. - - - - - Special attribute we could ignore - - - - - Default implementation of - - - - - - - - Attribute used to mark the required parameters for targets, - layout targets and filters. - - - - - Provides simple programmatic configuration API used for trivial logging cases. - - Warning, these methods will overwrite the current config. - - - - - Configures NLog for console logging so that all messages above and including - the level are output to the console. - - - - - Configures NLog for console logging so that all messages above and including - the specified level are output to the console. - - The minimal logging level. - - - - Configures NLog for to log to the specified target so that all messages - above and including the level are output. - - The target to log all messages to. - - - - Configures NLog for to log to the specified target so that all messages - above and including the specified level are output. - - The target to log all messages to. - The minimal logging level. - - - - Configures NLog for file logging so that all messages above and including - the level are written to the specified file. - - Log file name. - - - - Configures NLog for file logging so that all messages above and including - the specified level are written to the specified file. - - Log file name. - The minimal logging level. - - - - Value indicating how stack trace should be captured when processing the log event. - - - - - Stack trace should not be captured. - - - - - Stack trace should be captured without source-level information. - - - - - Stack trace should be captured including source-level information such as line numbers. - - - - - Capture maximum amount of the stack trace information supported on the platform. - - - - - Marks the layout or layout renderer as thread independent - it producing correct results - regardless of the thread it's running on. - - Without this attribute everything is rendered on the main thread. - - - If this attribute is set on a layout, it could be rendered on the another thread. - This could be more efficient as it's skipped when not needed. - - If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - - See the AsyncTargetWrapper and BufferTargetWrapper with the , using - - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - - - - - Marks the layout or layout renderer as thread safe - it producing correct results - regardless of the number of threads it's running on. - - Without this attribute then the target concurrency will be reduced - - - - - A class for configuring NLog through an XML configuration file - (App.config style or App.nlog style). - - Parsing of the XML file is also implemented in this class. - - - - This class is thread-safe..ToList() is used for that purpose. - - Update TemplateXSD.xml for changes outside targets - - - - - Prefix for assets in Xamarin Android - - - - - Initializes a new instance of the class. - - Configuration file to be read. - - - - Initializes a new instance of the class. - - Configuration file to be read. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - XML reader to read from. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - The XML contents. - Name of the XML file. - The to which to apply any applicable configuration values. - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - NLog LogFactory - - - - Did the Succeeded? true= success, false= error, null = initialize not started yet. - - - - - Gets or sets a value indicating whether all of the configuration files - should be watched for changes and reloaded automatically when changed. - - - - - Gets the collection of file names which should be watched for changes by NLog. - This is the list of configuration files processed. - If the autoReload attribute is not set it returns empty collection. - - - - - Re-reads the original configuration file and returns the new object. - - The new object. - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Create XML reader for (xml config) file. - - filepath - reader or null if filename is empty. - - - - Initializes the configuration. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Checks whether any error during XML configuration parsing has occured. - If there are any and ThrowConfigExceptions or ThrowExceptions - setting is enabled - throws NLogConfigurationException, otherwise - just write an internal log at Warn level. - - Root NLog configuration xml element - - - - Add a file with configuration. Check if not already included. - - - - - - - Parse the root - - - path to config file. - The default value for the autoReload option. - - - - Parse {configuration} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parse {NLog} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Include (multiple) files by filemask, e.g. *.nlog - - base directory in case if is relative - relative or absolute fileMask - - - - - - - - Matches when the specified condition is met. - - - Conditions are expressed using a simple language - described here. - - - - - Gets or sets the condition expression. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - An abstract filter class. Provides a way to eliminate log messages - based on properties other than logger name and log level. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the action to be taken when filter matches. - - - - - - Gets the result of evaluating filter against given log event. - - The log event. - Filter result. - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Marks class as a layout renderer and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the filter. - - - - Filter result. - - - - - The filter doesn't want to decide whether to log or discard the message. - - - - - The message should be logged. - - - - - The message should not be logged. - - - - - The message should be logged and processing should be finished. - - - - - The message should not be logged and processing should be finished. - - - - - A base class for filters that are based on comparing a value to a layout. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the layout to be used to filter log messages. - - The layout. - - - - - Matches when the calculated layout contains the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets the substring to be matched. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets a string to compare the layout to. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches the provided filter-method - - - - - Initializes a new instance of the class. - - - - - - - - Matches when the calculated layout does NOT contain the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets the substring to be matched. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is NOT equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a string to compare the layout to. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the result of the calculated layout has been repeated a moment ago - - - - - How long before a filter expires, and logging is accepted again - - - - - - Max length of filter values, will truncate if above limit - - - - - - Applies the configured action to the initial logevent that starts the timeout period. - Used to configure that it should ignore all events until timeout. - - - - - - Max number of unique filter values to expect simultaneously - - - - - - Default number of unique filter values to expect, will automatically increase if needed - - - - - - Insert FilterCount value into when an event is no longer filtered - - - - - - Append FilterCount to the when an event is no longer filtered - - - - - - Reuse internal buffers, and doesn't have to constantly allocate new buffers - - - - - - Default buffer size for the internal buffers - - - - - - Can be used if has been enabled. - - - - - Initializes a new instance of the class. - - - - - Checks whether log event should be logged or not. In case the LogEvent has just been repeated. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Uses object pooling, and prunes stale filter items when the pool runs dry - - - - - Remove stale filter-value from the cache, and fill them into the pool for reuse - - - - - Renders the Log Event into a filter value, that is used for checking if just repeated - - - - - Repeated LogEvent detected. Checks if it should activate filter-action - - - - - Filter Value State (mutable) - - - - - Filter Lookup Key (immutable) - - - - - A fluent class to build log events for NLog. - - - - - Initializes a new instance of the class. - - The to send the log event. - - - - Initializes a new instance of the class. - - The to send the log event. - The for the log event. - - - - Gets the created by the builder. - - - - - Sets the information of the logging event. - - The exception information of the logging event. - current for chaining calls. - - - - Sets the level of the logging event. - - The level of the logging event. - current for chaining calls. - - - - Sets the logger name of the logging event. - - The logger name of the logging event. - current for chaining calls. - - - - Sets the log message on the logging event. - - The log message for the logging event. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - The fourth object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - An object that supplies culture-specific formatting information. - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets a per-event context property on the logging event. - - The name of the context property. - The value of the context property. - current for chaining calls. - - - - Sets multiple per-event context properties on the logging event. - - The properties to set. - current for chaining calls. - - - - Sets the timestamp of the logging event. - - The timestamp of the logging event. - current for chaining calls. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - current for chaining calls. - - - - Writes the log event to the underlying logger. - - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Extension methods for NLog . - - - - - Starts building a log event with the specified . - - The logger to write the log event to. - The log level. - current for chaining calls. - - - - Starts building a log event at the Trace level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Debug level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Info level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Warn level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Error level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Fatal level. - - The logger to write the log event to. - current for chaining calls. - - - - Global Diagnostics Context - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Global Diagnostics Context - a dictionary structure to hold per-application-instance values. - - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The item value, if defined; otherwise null. - - - - Returns all item names - - A collection of the names of all items in the Global Diagnostics Context. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Include context properties - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Interface for serialization of object values into JSON format - - - - - Serialization of an object into JSON format. - - The object to serialize to JSON. - Output destination. - Serialize succeeded (true/false) - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format.s - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Logger with only generic methods (passing 'LogLevel' to methods) and core properties. - - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Extensions for NLog . - - - - - Writes the diagnostic message and exception at the specified level. - - A logger implementation that will handle the message. - The log level. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Allocates new builder and appends to the provided target builder on dispose - - - - - Access the new builder allocated - - - - - Helpers for . - - - - - Load from url - - file or path, including .dll - basepath, optional - - - - - Load from url - - name without .dll - - - - - Forward declare of system delegate type for use by other classes - - - - - Keeps track of pending operation count, and can notify when pending operation count reaches zero - - - - - Mark operation has started - - - - - Mark operation has completed - - Exception coming from the completed operation [optional] - - - - Registers an AsyncContinuation to be called when all pending operations have completed - - Invoked on completion - AsyncContinuation operation - - - - Clear o - - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Legacy attempt to skip async MoveNext, but caused source file line number to be lost - - - - - Gets the entire stack trace. - - - - - Finds first user stack frame in a stack trace - - The stack trace of the logging method invocation - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - Index of the first user stack frame or 0 if all stack frames are non-user - - - - This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame - - The stack trace of the logging method invocation - Starting point for skipping async MoveNext-frames - - - - Assembly to skip? - - Find assembly via this frame. - true, we should skip. - - - - Is this the type of the logger? - - get type of this logger in this frame. - Type of the logger. - - - - - Memory optimized filtering - - Passing state too avoid delegate capture and memory-allocations. - - - - Provides untyped IDictionary interface on top of generic IDictionary. - - The type of the key. - The type of the value. - - - - Initializes a new instance of the DictionaryAdapter class. - - The implementation. - - - - Gets an object containing the values in the object. - - - - An object containing the values in the object. - - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - - Gets an object that can be used to synchronize access to the . - - - - An object that can be used to synchronize access to the . - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - - Gets an object containing the keys of the object. - - - - An object containing the keys of the object. - - - - - Gets or sets the with the specified key. - - Dictionary key. - Value corresponding to key or null if not found - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - - - Removes all elements from the object. - - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - True if the contains an element with the key; otherwise, false. - - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Wrapper IDictionaryEnumerator. - - - - - Initializes a new instance of the class. - - The wrapped. - - - - Gets both the key and the value of the current dictionary entry. - - - - A containing both the key and the value of the current dictionary entry. - - - - - Gets the key of the current dictionary entry. - - - - The key of the current element of the enumeration. - - - - - Gets the value of the current dictionary entry. - - - - The value of the current element of the enumeration. - - - - - Gets the current element in the collection. - - - - The current element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - - - Ensures that IDictionary.GetEnumerator returns DictionaryEntry values - - - - - UTF-8 BOM 239, 187, 191 - - - - - Safe way to get environment variables. - - - - - Helper class for dealing with exceptions. - - - - - Mark this exception as logged to the . - - - - - - - Is this exception logged to the ? - - - trueif the has been logged to the . - - - - Determines whether the exception must be rethrown and logs the error to the if is false. - - Advised to log first the error to the before calling this method. - - The exception to check. - Target context of the exception. - trueif the must be rethrown, false otherwise. - - - - Determines whether the exception must be rethrown immediately, without logging the error to the . - - Only used this method in special cases. - - The exception to check. - trueif the must be rethrown, false otherwise. - - - - Object construction helper. - - - - - Adapter for to - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Creates an AppDomainWrapper for the current - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Abstract calls for the application environment - - - - - Gets current process name (excluding filename extension, if any). - - - - - Abstract calls to FileSystem - - - - Determines whether the specified file exists. - The file to check. - - - Returns the content of the specified file - The file to load. - - - - Base class for optimized file appenders. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the path of the file, including file extension. - - The name of the file. - - - - Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated - Universal Time [UTC] standard. - - The creation time of the file. - - - - Gets or sets the creation time for a file associated with the appender. Synchronized by - The time format is based on - - - - - Gets the last time the file associated with the appender is opened. The time returned is in Coordinated - Universal Time [UTC] standard. - - The time the file was last opened. - - - - Gets the file creation parameters. - - The file creation parameters. - - - - Writes the specified bytes. - - The bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates the file stream. - - If set to true sets the file stream to allow shared writing. - If larger than 0 then it will be used instead of the default BufferSize for the FileStream. - A object which can be used to write to the file. - - - - Base class for optimized file appenders which require the usage of a mutex. - - It is possible to use this class as replacement of BaseFileAppender and the mutex functionality - is not enforced to the implementing subclasses. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Implementation of which caches - file information. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Closes this instance of the appender. - - - - - Flushes this current appender. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Writes the specified bytes to a file. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Factory class which creates objects. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Maintains a collection of file appenders usually associated with file targets. - - - - - An "empty" instance of the class with zero size and empty list of appenders. - - - - - Initializes a new "empty" instance of the class with zero size and empty - list of appenders. - - - - - Initializes a new instance of the class. - - - The size of the list should be positive. No validations are performed during initialization as it is an - internal class. - - Total number of appenders allowed in list. - Factory used to create each appender. - Parameters used for creating a file. - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface that provides parameters for create file function. - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - Gets or sets the log file buffer size in bytes. - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Should archive mutex be created? - - - - - Should manual simple detection of file deletion be enabled? - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface implemented by all factories capable of creating file appenders. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - Instance of which can be used to write to the file. - - - - Appender used to discard data for the FileTarget. - Used mostly for testing entire stack except the actual writing to disk. - Throws away all data. - - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Multi-process and multi-host file appender which attempts - to get exclusive write access and retries if it's not available. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Optimized single-process file appender which keeps the file open for exclusive write. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - A layout that represents a filePath. - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid file names char array to avoid memory allocation every time Path.GetInvalidFileNameChars() is called. - - - - - not null when == false - - - - - non null is fixed, - - - - - is the cache-key, and when newly rendered filename matches the cache-key, - then it reuses the cleaned cache-value . - - - - - is the cache-value that is reused, when the newly rendered filename - matches the cache-key - - - - Initializes a new instance of the class. - - - - Render the raw filename from Layout - - The log event. - StringBuilder to minimize allocations [optional]. - String representation of a layout. - - - - Convert the raw filename to a correct filename - - The filename generated by Layout. - String representation of a correct filename. - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Convert object to string - - value - format for conversion. - - - If is null and isn't a already, then the will get a locked by - - - - - Interface for the wrapper around System.Configuration.ConfigurationManager. - - - - - Gets the wrapper around ConfigurationManager.AppSettings. - - - - - Format a log message - - - - - Format the message and return - - LogEvent with message to be formatted - formatted message - - - - Has the logevent properties? - - LogEvent with message to be formatted - False when logevent has no properties to be extracted - - - - Appends the logevent message to the provided StringBuilder - - LogEvent with message to be formatted - The to append the formatted message. - - - - Get the Raw, unformatted and unstrinyfied, value - - - - - Get the raw value - - - The value - RawValue supported? - - - - Interface implemented by layouts and layout renderers. - - - - - Renders the the value of layout or layout renderer in the context of the specified log event. - - The log event. - String representation of a layout. - - - - Supports mocking of SMTP Client code. - - - - - Specifies how outgoing email messages will be handled. - - - - - Gets or sets the name or IP address of the host used for SMTP transactions. - - - - - Gets or sets the port used for SMTP transactions. - - - - - Gets or sets a value that specifies the amount of time after which a synchronous Send call times out. - - - - - Gets or sets the credentials used to authenticate the sender. - - - - - Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted. - - - System.Net.Mail.MailMessage - MailMessage - A MailMessage that contains the message to send. - - - - Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. - - - - - Supports rendering as string value with limited or no allocations (preferred) - - - - - Renders the value of layout renderer in the context of the specified log event - - - null if not possible or unknown - - - - Supports object initialization and termination. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Allows components to request stack trace information to be provided in the . - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Render the event info as parse as short - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as int - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as bool - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Logger configuration. - - - - - Initializes a new instance of the class. - - The targets by level. - Use the old exception log handling of NLog 3.0? - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. - - - - Gets targets for the specified level. - - The level. - Chain of targets with attached filters. - - - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - New formatter - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - The MessageFormatter delegate - - - - - - - - Most-Recently-Used-Cache, that discards less frequently used items on overflow - - - - - Constructor - - Maximum number of items the cache will hold before discarding. - - - - Attempt to insert item into cache. - - Key of the item to be inserted in the cache. - Value of the item to be inserted in the cache. - true when the key does not already exist in the cache, false otherwise. - - - - Lookup existing item in cache. - - Key of the item to be searched in the cache. - Output value of the item found in the cache. - True when the key is found in the cache, false otherwise. - - - - Supports mocking of SMTP Client code. - - - Disabled Error CS0618 'SmtpClient' is obsolete: 'SmtpClient and its network of types are poorly designed, - we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead' - - - - - Network sender which uses HTTP or HTTPS POST. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Creates instances of objects for given URLs. - - - - - Creates a new instance of the network sender based on a network URL. - - URL that determines the network sender to be created. - The maximum queue size. - SSL protocols for TCP - KeepAliveTime for TCP - - A newly created network sender. - - - - - Interface for mocking socket calls. - - - - - A base class for all network senders. Supports one-way sending of messages - over various protocols. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Gets the address of the network endpoint. - - - - - Gets the last send time. - - - - - Initializes this network sender. - - - - - Closes the sender and releases any unmanaged resources. - - The continuation. - - - - Flushes any pending messages and invokes a continuation. - - The continuation. - - - - Send the given text over the specified protocol. - - Bytes to be sent. - Offset in buffer. - Number of bytes to send. - The asynchronous continuation. - - - - Closes the sender and releases any unmanaged resources. - - - - - Performs sender-specific initialization. - - - - - Performs sender-specific close operation. - - The continuation. - - - - Performs sender-specific flush. - - The continuation. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Parses the URI into an endpoint address. - - The URI to parse. - The address family. - Parsed endpoint. - - - - Default implementation of . - - - - - - - - A base class for network senders that can block or send out-of-order - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Performs sender-specific flush. - - The continuation. - - - - Socket proxy for mocking Socket code. - - - - - Initializes a new instance of the class. - - The address family. - Type of the socket. - Type of the protocol. - - - - Gets underlying socket instance. - - - - - Closes the wrapped socket. - - - - - Invokes ConnectAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendToAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Sends messages over a TCP network connection. - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - The address family. - - - - Creates the socket with given parameters. - - The host address. - The address family. - Type of the socket. - Type of the protocol. - Instance of which represents the socket. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Facilitates mocking of class. - - - - - Raises the Completed event. - - - - - Sends messages over the network as UDP datagrams. - - - - - Initializes a new instance of the class. - - URL. Must start with udp://. - The address family. - - - - Creates the socket. - - The address family. - Type of the socket. - Type of the protocol. - Implementation of to use. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Sends the specified text as a UDP datagram. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Scans (breadth-first) the object graph following all the edges whose are - instances have attached and returns - all objects implementing a specified interfaces. - - - - - Finds the objects which have attached which are reachable - from any of the given root objects when traversing the object graph over public properties. - - Type of the objects to return. - Also search the properties of the wanted objects. - The root objects. - Ordered list of objects implementing T. - - - ISet is not there in .net35, so using HashSet - - - - Helper for extracting propertyPath - - - - - Object Path to check - - - - - Try get value from , using , and set into - - - - - - - - Converts object into a List of property-names and -values using reflection - - - - - Scans properties for name (Skips string-compare and value-lookup until finding match) - - - - - Scans properties for name (Skips property value lookup until finding match) - - - - - Scans properties for name - - - - - Combine paths - - basepath, not null - optional dir - optional file - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Trims directory separators from the path - - path, could be null - never null - - - - Detects the platform the NLog is running on. - - - - - Gets the current runtime OS. - - - - - Gets a value indicating whether current OS is Win32-based (desktop or mobile). - - - - - Gets a value indicating whether current OS is Unix-based. - - - - - Gets a value indicating whether current runtime is Mono-based - - - - - Gets a value indicating whether current runtime supports use of mutex - - - - - Will creating a mutex succeed runtime? - "Cached" detection - - - - - Will creating a mutex succeed runtime? - - - - - Dictionary that combines the standard with the - MessageTemplate-properties extracted from the . - - The are returned as the first items - in the collection, and in positional order. - - - - - Value of the property - - - - - Is this a property of the message? - - - - - - - Value of the property - Is this a property of the message? - - - - The properties of the logEvent - - - - - The properties extracted from the message - - - - - Wraps the list of message-template-parameters into the IDictionary-interface - - Message-template-parameters - - - - Transforms the list of event-properties into IDictionary-interface - - Message-template-parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Check if the message-template-parameters can be used directly without allocating a dictionary - - Message-template-parameters - Are all parameter names unique (true / false) - - - - Attempt to insert the message-template-parameters into an empty dictionary - - Message-template-parameters - The initially empty dictionary - Message-template-parameters was inserted into dictionary without trouble (true/false) - - - - Attempt to override the existing dictionary values using the message-template-parameters - - Message-template-parameters - The already filled dictionary - List of unique message-template-parameters - - - - - - - - - - - - - - - - - - - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - - - - - - - - - - - - - - - - - Reflection helpers for accessing properties. - - - - - Set value parsed from string. - - object instance to set with property - name of the property on - The value to be parsed. - - - - - Get property info - - object which could have property - property name on - result when success. - success. - - - - Try parse of string to (Generic) list, comma separated. - - - If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape - - - - - Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase) - - - - - Try get the property - - - - - Reflection helpers. - - - - - Gets all usable exported types from the given assembly. - - Assembly to scan. - Usable types from the given assembly. - Types which cannot be loaded are skipped. - - - - Is this a static class? - - - - This is a work around, as Type doesn't have this property. - From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static - - - - - Optimized delegate for calling MethodInfo - - Object instance, use null for static methods. - Complete list of parameters that matches the method, including optional/default parameters. - - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) - - - - - Controls a single allocated char[]-buffer for reuse (only one active user) - - - - - Controls a single allocated StringBuilder for reuse (only one active user) - - - - - Controls a single allocated object for reuse (only one active user) - - - - Empty handle when is disabled - - - - Creates handle to the reusable char[]-buffer for active usage - - Handle to the reusable item, that can release it again - - - - Access the acquired reusable object - - - - - Controls a single allocated MemoryStream for reuse (only one active user) - - - - - Supported operating systems. - - - If you add anything here, make sure to add the appropriate detection - code to - - - - - Unknown operating system. - - - - - Unix/Linux operating systems. - - - - - Desktop versions of Windows (95,98,ME). - - - - - Windows NT, 2000, 2003 and future versions based on NT technology. - - - - - Macintosh Mac OSX - - - - - Simple character tokenizer. - - - - - Initializes a new instance of the class. - - The text to be tokenized. - - - - Current position in - - - - - Full text to be parsed - - - - - Check current char while not changing the position. - - - - - - Read the current char and change position - - - - - - Get the substring of the - - - - - - - - Implements a single-call guard around given continuation function. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - - - - Continuation function which implements the single-call guard. - - The exception. - - - - HashSet optimized for single item - - - - - - Insert single item on scope start, and remove on scope exit - - Item to insert in scope - Existing hashset to update - Force allocation of real hashset-container - HashSet EqualityComparer - - - - Add item to collection, if it not already exists - - Item to insert - - - - Clear hashset - - - - - Check if hashset contains item - - - Item exists in hashset (true/false) - - - - Remove item from hashset - - - Item removed from hashset (true/false) - - - - Copy items in hashset to array - - Destination array - Array offset - - - - Create hashset enumerator - - Enumerator - - - - Provides helpers to sort log events and associated continuations. - - - - - Key selector delegate. - - The type of the value. - The type of the key. - Value to extract key information from. - Key selected from log event. - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - The key comparer function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. - - - - - - - - - - - - - - - - Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. - Consider to use instead for better safety. - - Key value for lookup - Mapped value found - - - - Non-Allocating struct-enumerator - - - - - - - - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - - - - Will always throw, as dictionary is readonly - - - - Utilities for dealing with values. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - StackFrame from the calling method - Fully qualified class name - - - - Returns the assembly from the provided StackFrame (If not internal assembly) - - Valid assembly, or null if assembly was internal - - - - Returns the classname from the provided StackFrame (If not from internal assembly) - - - Valid class name, or empty string if assembly was internal - - - - Stream helpers - - - - - Copy to output stream and skip BOM if encoding is UTF8 - - - - - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - .net35 doesn't have a .copyto - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - first bytes to skip (optional) - - - - Helpers for , which is used in e.g. layout renderers. - - - - - Renders the specified log event context item and appends it to the specified . - - append to this - value to be appended - format string. If @, then serialize the value with the Default JsonConverter. - provider, for example culture - - - - Appends int without using culture, and most importantly without garbage - - - value to append - - - - Appends uint without using culture, and most importantly without garbage - - Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ - - - value to append - - - - Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 6801 date (Round-Trip-Time) - - - - - Clears the provider StringBuilder - - - - - - Copies the contents of the StringBuilder to the MemoryStream using the specified encoding (Without BOM/Preamble) - - StringBuilder source - MemoryStream destination - Encoding used for converter string into byte-stream - Helper char-buffer to minimize memory allocations - - - - Copies the contents of the StringBuilder to the destination StringBuilder - - StringBuilder source - StringBuilder destination - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle character to search for - - Index of the first occurrence (Else -1) - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle characters to search for - - Index of the first occurrence (Else -1) - - - - Compares the contents of two StringBuilders - - - Correct implementation of that also works when is not the same - - True when content is the same - - - - Compares the contents of a StringBuilder and a String - - True when content is the same - - - - Append a number and pad with 0 to 2 digits - - append to this - the number - - - - Append a number and pad with 0 to 4 digits - - append to this - the number - - - - Append a int type (byte, int) as string - - - - - Constructor - - Max number of items - Initial StringBuilder Size - Max StringBuilder Size - - - - Takes StringBuilder from pool - - Allow return to pool - - - - Releases StringBuilder back to pool at its right place - - - - - Keeps track of acquired pool item - - - - - Releases pool item back into pool - - - - - Helpers for . - - - - - IsNullOrWhiteSpace, including for .NET 3.5 - - - - - - - Split a string - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Represents target with a chain of filters which determine - whether logging should happen. - - - - - cached result as calculating is expensive. - - - - - Initializes a new instance of the class. - - The target. - The filter chain. - Default action if none of the filters match. - - - - Gets the target. - - The target. - - - - Gets the filter chain. - - The filter chain. - - - - Default action if none of the filters match. - - - - - Gets or sets the next item in the chain. - - The next item in the chain. - This is for example the 'target2' logger in writeTo='target1,target2' - - - - Gets the stack trace usage. - - A value that determines stack trace handling. - - - - Helper for dealing with thread-local storage. - - - - - Allocates the data slot for storing thread-local information. - - Allocated slot key. - - - - Gets the data for a slot in thread-local storage. - - Type of the data. - The slot to get data for. - Automatically create the object if it doesn't exist. - - Slot data (will create T if null). - - - - - Wraps with a timeout. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - The timeout. - - - - Continuation function which implements the timeout logic. - - The exception. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Transformation on a layout. Pre-calculated if the layout has a fixed value. - - - - - Create TransformedLayout. - - Layout - Transformation method - Optional renderer, otherwise is used - - - - - - - Create TransformedLayout. If is null, then the returns null - - Layout - Transformation method - Optional renderer, otherwise is used - null if is null - - - - - - - - - - URL Encoding helper. - - - - Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - - - Use RFC2396 standard (instead of RFC3986) - - - Should use lowercase when doing HEX escaping of special characters - - - Replace space ' ' with '+' instead of '%20' - - - Skip UTF8 encoding, and prefix special characters with '%u' - - - - Escape unicode string data for use in http-requests - - unicode string-data to be encoded - target for the encoded result - s for how to perform the encoding - - - - Convert the wide-char into utf8-bytes, and then escape - - - - - - - - - Is allowed? - - - - - - - - Is a-z / A-Z / 0-9 - - - - - - - Prevents the Xamarin linker from linking the target. - - - By applying this attribute all of the members of the target will be kept as if they had been referenced by the code. - - - - - Ensures that all members of this type are preserved - - - - - Flags the method as a method to preserve during linking if the container class is pulled in. - - - - - Helper class for XML - - - - - removes any unusual unicode characters that can't be encoded into XML - - - - - Cleans string of any invalid XML chars found - - unclean string - string with only valid XML chars - - - - Pretest, small text and not escape needed - - - - - - - - Converts object value to invariant format, and strips any invalid xml-characters - - Object value - Object value converted to string - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object value converted to string - - - - XML elements must follow these naming rules: - - Element names are case-sensitive - - Element names must start with a letter or underscore - - Element names can contain letters, digits, hyphens, underscores, and periods - - Element names cannot contain spaces - - - - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object TypeCode - Check and remove unusual unicode characters from the result string. - Object value converted to string - - - - Safe version of WriteAttributeString - - - - - - - - - - Safe version of WriteAttributeString - - - - - - - - Safe version of WriteElementSafeString - - - - - - - - - - Safe version of WriteCData - - - - - - - Interface for handling object transformation - - - - - Takes a dangerous (or massive) object and converts into a safe (or reduced) object - - - Null if unknown object, or object cannot be handled - - - - - Provides an interface to execute System.Actions without surfacing any exceptions raised for that action. - - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Render a message template property to a string - - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Log event context data. - - - - - Initializes a new instance of the class. - - - - - Gets or sets string that will be used to separate key/value pairs. - - - - - - Get or set if empty values should be included. - - A value is empty when null or in case of a string, null or empty string. - - - - - - Gets or sets the keys to exclude from the output. If omitted, none are excluded. - - - - - - Gets or sets how key/value pairs will be formatted. - - - - - - Renders all log event's properties and appends them to the specified . - - The to append the rendered data to. - Logging event. - - - - Designates a property of the class as an ambient property. - - - non-ambient: ${uppercase:${level}} - ambient : ${level:uppercase} - - - - - Initializes a new instance of the class. - - Ambient property name. - - - - Used to render the application domain name. - - - - - Create a new renderer - - - - - Create a new renderer - - - - - Format string. Possible values: "Short", "Long" or custom like {0} {1}. Default "Long" - The first parameter is the , the second the second the - This string is used in - - - - - - - - - - - - - - - Renders the assembly version information for the entry assembly or a named assembly. - - - As this layout renderer uses reflection and version information is unlikely to change during application execution, - it is recommended to use it in conjunction with the . - - - The entry assembly can't be found in some cases e.g. ASP.NET, unit tests, etc. - - - - - Initializes a new instance of the class. - - - - - The (full) name of the assembly. If null, using the entry assembly. - - - - - - Gets or sets the type of assembly version to retrieve. - - - Some version type and platform combinations are not fully supported. - - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified. - - Silverlight: Value for is always returned. - - - - - - Gets or sets the custom format of the assembly version output. - - - Supported placeholders are 'major', 'minor', 'build' and 'revision'. - The default .NET template for version numbers is 'major.minor.build.revision'. See - https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks - for details. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders an assembly version and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Gets the assembly specified by , or entry assembly otherwise - - Found assembly - - - - Type of assembly version to retrieve. - - - - - Gets the assembly version. - - - - - Gets the file version. - - - - - Gets additional version information. - - - - - The current application domain's base directory. - - - - - cached - - - - - Use base dir of current process. Alternative one can just use ${processdir} - - - - - - Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the base directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. - - - - - - Renders the application base directory and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source file name. Full callsite - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - The call site (class name, method name and source information). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to render the class name. - - - - - - Gets or sets a value indicating whether to render the include the namespace with . - - - - - - Gets or sets a value indicating whether to render the method name. - - - - - - Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate. - - - - - - Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation - (everything after an await-statement inside of an async method). - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets a value indicating whether to render the source file name and line number. - - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source line number. Full callsite - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - A counter value (increases on each layout rendering). - - - - - Gets or sets the initial value of the counter. - - - - - - Gets or sets the value to be added to the counter after each layout rendering. - - - - - - Gets or sets the name of the sequence. Different named sequences can have individual values. - - - - - - - - - The current working directory of the application. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the current directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the current directory. - - - - - - - - - - - - Current date and time. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format). - - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - - - - - - - - - - DB null for a database - - - - - - - - - - - The OS dependent directory separator - - - - - - - - - - - The environment variable. - - - - - Gets or sets the name of the environment variable. - - - - - - Gets or sets the default value to be used when the environment variable is not set. - - - - - - - - - - - - Thread identity information (username). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether username should be included. - - - - - - Gets or sets a value indicating whether domain name should be included. - - - - - - Gets or sets the default value to be used when the User is not set. - - - - - - Gets or sets the default value to be used when the Domain is not set. - - - - - - - - - - - - Log event context data. - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the name of the item. - - - - - - Renders the specified log event context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. See . - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - - - - - - - - - - Exception information provided through - a call to one of the Logger.*Exception() methods. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the format of the output. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - - - Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - Gets or sets the separator used to concatenate parts specified in the Format. - - - - - - Gets or sets the separator used to concatenate exception data specified in the Format. - - - - - - Gets or sets the maximum number of inner exceptions to include in the output. - By default inner exceptions are not enabled for compatibility with NLog 1.0. - - - - - - Gets or sets the separator between inner exceptions. - - - - - - Gets or sets whether to render innermost Exception from - - - - - Gets or sets whether to collapse exception tree using - - - - - Gets the formats of the output of inner exceptions to be rendered in target. - - - - - - - Gets the formats of the output to be rendered in target. - - - - - - - - - - - - - Appends the Message of an Exception to the specified . - - The to append the rendered data to. - The exception containing the Message to append. - - - - Appends the method name from Exception's stack trace to the specified . - - The to append the rendered data to. - The Exception whose method name should be appended. - - - - Appends the stack trace from an Exception to the specified . - - The to append the rendered data to. - The Exception whose stack trace should be appended. - - - - Appends the result of calling ToString() on an Exception to the specified . - - The to append the rendered data to. - The Exception whose call to ToString() should be appended. - - - - Appends the type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose type should be appended. - - - - Appends the short type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose short type should be appended. - - - - Appends the application source of an Exception to the specified . - - The to append the rendered data to. - The Exception whose source should be appended. - - - - Appends the HResult of an Exception to the specified . - - The to append the rendered data to. - The Exception whose HResult should be appended. - - - - Appends the contents of an Exception's Data property to the specified . - - The to append the rendered data to. - The Exception whose Data property elements should be appended. - - - - Appends all the serialized properties of an Exception into the specified . - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Appends all the additional properties of an Exception like Data key-value-pairs - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Split the string and then compile into list of Rendering formats. - - - - - Renders contents of the specified file. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file. - - - - - - Gets or sets the encoding used in the file. - - The encoding. - - - - - Renders the contents of the specified file and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - Name used in config without ${}. E.g. "test" could be used as "${test}". - - - - - Method that renders the layout. - - This public property will be removed in NLog 5. - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render the value for this log event - - The event info. - The value. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - The information about the garbage collector. - - - - - Gets or sets the property to retrieve. - - - - - - - - - Gets or sets the property of System.GC to retrieve. - - - - - Total memory allocated. - - - - - Total memory allocated (perform full garbage collection first). - - - - - Gets the number of Gen0 collections. - - - - - Gets the number of Gen1 collections. - - - - - Gets the number of Gen2 collections. - - - - - Maximum generation number supported by GC. - - - - - Render a Global Diagnostics Context item. See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - - - - Globally-unique identifier (GUID). - - - - - Gets or sets the GUID format as accepted by Guid.ToString() method. - - - - - - Generate the Guid from the NLog LogEvent (Will be the same for all targets) - - - - - - - - - - - - - - - The host name that the process is running on. - - - - - - - - Gets the host name and falls back to computer name if not available - - - - - Tries the lookup value. - - The lookup function. - Type of the lookup. - - - - - - - - Thread identity information (name and authentication information). - - - - - Gets or sets the separator to be used when concatenating - parts of identity information. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated. - - - - - - - - - Installation parameter (passed to InstallNLogConfig). - - - - - Gets or sets the name of the parameter. - - - - - - Renders the specified installation parameter and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render environmental information related to logging events. - - - - - Gets the logging configuration this target is part of. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Renders the the value of layout renderer in the context of the specified log event. - - The log event. - String representation of a layout renderer. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Renders the value of layout renderer in the context of the specified log event. - - The log event. - The layout render output is appended to builder - - - - Renders the value of layout renderer in the context of the specified log event into . - - The to append the rendered data to. - Logging event. - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Get the for rendering the messages to a - - LogEvent with culture - Culture in on Layout level - - - - - Get the for rendering the messages to a , needed for date and number formats - - LogEvent with culture - Culture in on Layout level - - - is preferred - - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Renderer with callback func - - - - Marks class as a layout renderer and assigns a name to it. - - This attribute is not required when registering the layout in the API. - - - - Initializes a new instance of the class. - - Name of the layout renderer, without the `${ }` - - - - Format of the ${level} layout renderer output. - - - - - Render the LogLevel standard name. - - - - - Render the first character of the level. - - - - - Render the ordinal (aka number) for the level. - - - - - Render the LogLevel full name, expanding Warn / Info abbreviations - - - - - The log level. - - - - - Gets or sets a value indicating the output format of the level. - - - - - - - - - - - - - - - A string literal. - - - This is used to escape '${' sequence - as ;${literal:text=${}' - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The literal text value. - This is used by the layout compiler. - - - - Gets or sets the literal text. - - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - XML event description compatible with log4j, Chainsaw and NLogViewer. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes the layout renderer. - - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets a value indicating whether the XML should use spaces for indentation. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the XML logging event and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The logger name. - - - - - Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character). - - - - - - - - - - - - The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the date in the long format (yyyy-MM-dd HH:mm:ss.ffff) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The machine name that the process is running on. - - - - - - - - - - - Render a Mapped Diagnostic Context item, See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render a Mapped Diagnostic Logical Context item (based on CallContext). - See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - The formatted log message. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to log exception along with message. - - - - - - Gets or sets the string that separates message from the exception. - - - - - - Gets or sets whether it should render the raw message without formatting parameters - - - - - - - - - - - - Render a Nested Diagnostic Context item. - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested diagnostics context output. - - - - - - Renders the specified Nested Diagnostics Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render a Nested Diagnostic Logical Context item (Async scope) - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested logical context output. - - - - - - Renders the specified Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Timing Renderer (Async scope) - - - - - Gets or sets whether to only include the duration of the last scope created - - - - - - Gets or sets whether to just display the scope creation time, and not the duration - - - - - - Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format). - - - - - - Renders the timing details of the Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A newline literal. - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The directory where NLog.dll is located. - - - - - Initializes static members of the NLogDirLayoutRenderer class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The executable directory from the FileName, - using the current process - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the process directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the process directory. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - The identifier of the current process. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - The information about the running process. - - - - - Gets or sets the property to retrieve. - - - - - - Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum) - - - - - - - - - - - - - - - Property of System.Diagnostics.Process to retrieve. - - - - - Base Priority. - - - - - Exit Code. - - - - - Exit Time. - - - - - Process Handle. - - - - - Handle Count. - - - - - Whether process has exited. - - - - - Process ID. - - - - - Machine name. - - - - - Handle of the main window. - - - - - Title of the main window. - - - - - Maximum Working Set. - - - - - Minimum Working Set. - - - - - Non-paged System Memory Size. - - - - - Non-paged System Memory Size (64-bit). - - - - - Paged Memory Size. - - - - - Paged Memory Size (64-bit).. - - - - - Paged System Memory Size. - - - - - Paged System Memory Size (64-bit). - - - - - Peak Paged Memory Size. - - - - - Peak Paged Memory Size (64-bit). - - - - - Peak Virtual Memory Size. - - - - - Peak Virtual Memory Size (64-bit).. - - - - - Peak Working Set Size. - - - - - Peak Working Set Size (64-bit). - - - - - Whether priority boost is enabled. - - - - - Priority Class. - - - - - Private Memory Size. - - - - - Private Memory Size (64-bit). - - - - - Privileged Processor Time. - - - - - Process Name. - - - - - Whether process is responding. - - - - - Session ID. - - - - - Process Start Time. - - - - - Total Processor Time. - - - - - User Processor Time. - - - - - Virtual Memory Size. - - - - - Virtual Memory Size (64-bit). - - - - - Working Set Size. - - - - - Working Set Size (64-bit). - - - - - The name of the current process. - - - - - Gets or sets a value indicating whether to write the full path to the process executable. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Renders the current process name (optionally with a full path). - - The to append the rendered data to. - Logging event. - - - - The process time in format HH:mm:ss.mmm. - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Write timestamp to builder with format hh:mm:ss:fff - - - - - The sequence ID - - - - - - - - - - - The short date in a sortable format yyyy-MM-dd. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the current short date string (yyyy-MM-dd) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - System special folder path (includes My Documents, My Music, Program Files, Desktop, and more). - - - - - Gets or sets the system special folder to use. - - - Full list of options is available at MSDN. - The most common ones are: -
    -
  • ApplicationData - roaming application data for current user.
  • -
  • CommonApplicationData - application data for all users.
  • -
  • MyDocuments - My Documents
  • -
  • DesktopDirectory - Desktop directory
  • -
  • LocalApplicationData - non roaming application data
  • -
  • Personal - user profile directory
  • -
  • System - System directory
  • -
-
- -
- - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Format of the ${stacktrace} layout renderer output. - - - - - Raw format (multiline - as returned by StackFrame.ToString() method). - - - - - Flat format (class and method names displayed in a single line). - - - - - Detailed flat format (method signatures displayed in a single line). - - - - - Stack trace renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the output format of the stack trace. - - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets the stack frame separator string. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A temporary directory. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The identifier of the current thread. - - - - - - - - The name of the current thread. - - - - - - - - The Ticks value of current date and time. - - - - - - - - - - - The time in a 24-hour, sortable format HH:mm:ss.mmmm. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - A renderer that puts into log a System.Diagnostics trace correlation id. - - - - - - - - - - - Render a NLog variable (xml or config) - - - - - Gets or sets the name of the NLog variable. - - - - - - Gets or sets the default value to be used when the variable is not set. - - Not used if Name is null - - - - - Initializes the layout renderer. - - - - - Try get the - - - - - - - Renders the specified variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Thread Windows identity information (username). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether domain name should be included. - - - - - - Gets or sets a value indicating whether username should be included. - - - - - - Renders the current thread windows identity information and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Applies caching to another layout output. - - - The value of the inner layout will be rendered only once and reused subsequently. - - - - - A value indicating when the cache is cleared. - - - - Never clear the cache. - - - Clear the cache whenever the is initialized. - - - Clear the cache whenever the is closed. - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether this is enabled. - - - - - - Gets or sets a value indicating when the cache is cleared. - - - - - - Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s - - - - - - Gets or sets a value indicating how many seconds the value should stay cached until it expires - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - - - - Filters characters not allowed in the file names by replacing them with safe character. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path - (illegal characters are replaced with '_'). - - - - - - - - - - - - Escapes output of another layout using JSON rules. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply JSON encoding. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - - - - - - - Left part of a text - - - - - Gets or sets the length in characters. - - - - - - Same as -property, so it can be used as ambient property. - - - ${message:truncate=80} - - - - - - - - - - - - Converts the result of another layout output to lower case. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Render the non-raw value of an object. - - For performance and/or full (formatted) control of the output. - - - - Gets or sets a value indicating whether to disable the IRawValue-interface - - A value of true if IRawValue-interface should be ignored; otherwise, false. - - - - - - - - - - - Render a single property of a object - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - Shortcut for - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - Only outputs the inner layout when exception has been defined for log message. - - - - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - ${onhasproperties:, Properties\: ${all-event-properties}} - - - - - - - - - - - Horizontal alignment for padding layout renderers. - - - - - When layout text is too long, align it to the left - (remove characters from the right). - - - - - When layout text is too long, align it to the right - (remove characters from the left). - - - - - Applies padding to another layout output. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of characters to pad the output to. - - - Positive padding values cause left padding, negative values - cause right padding to the desired width. - - - - - - Gets or sets the padding character. - - - - - - Gets or sets a value indicating whether to trim the - rendered text to the absolute value of the padding length. - - - - - - Gets or sets a value indicating whether a value that has - been truncated (when is true) - will be left-aligned (characters removed from the right) - or right-aligned (characters removed from the left). The - default is left alignment. - - RegistryLayoutRenderer - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Replaces a string in the output of another layout with another string. - - - ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}} - - - - - Gets or sets the text to search for. - - The text search for. - - - - - Gets or sets a value indicating whether regular expressions should be used. - - A value of true if regular expressions should be used otherwise, false. - - - - - Gets or sets the replacement string. - - The replacement string. - - - - - Gets or sets the group name to replace when using regular expressions. - Leave null or empty to replace without using group name. - - The group name. - - - - - Gets or sets a value indicating whether to ignore case. - - A value of true if case should be ignored when searching; otherwise, false. - - - - - Gets or sets a value indicating whether to search for whole words. - - A value of true if whole words should be searched for; otherwise, false. - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Initializes the layout renderer. - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass - - - - - A match evaluator for Regular Expression based replacing - - Input string. - Group name in the regex. - Replace value. - Match from regex. - Groups replaced with . - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating the string that should be used for separating lines. - - - - - - - - - - - - Right part of a text - - - - - Gets or sets the length in characters. - - - - - - - - - - - - Decodes text "encrypted" with ROT-13. - - - See https://en.wikipedia.org/wiki/ROT13. - - - - - Gets or sets the layout to be wrapped. - - The layout to be wrapped. - This variable is for backwards compatibility - - - - - Encodes/Decodes ROT-13-encoded string. - - The string to be encoded/decoded. - Encoded/Decoded text. - - - - - - - - - - Encodes/Decodes ROT-13-encoded string. - - - - - Substring the result - - - ${substring:${level}:start=2:length=2} - ${substring:${level}:start=-2:length=2} - ${substring:Inner=${level}:start=2:length=2} - - - - - Initializes a new instance of the class. - - - - - Gets or sets the start index. - - Index - - - - - Gets or sets the length in characters. If null, then the whole string - - Index - - - - - - - - - - - Calculate start position - - 0 or positive number - - - - Calculate needed length - - 0 or positive number - - - - Trims the whitespace from the result of another layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - - - - - - - Converts the result of another layout output to upper case. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - ${level:uppercase} // [AmbientProperty] - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether upper case conversion should be applied. - - A value of true if upper case conversion should be applied otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Encodes the result of another layout output for use with URLs. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether spaces should be translated to '+' or '%20'. - - A value of true if space should be translated to '+'; otherwise, false. - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - - - Gets or sets the layout to be rendered when original layout produced empty result. - - - - - - - - - - - - - - - Only outputs the inner layout when the specified condition has been met. - - - - - Gets or sets the condition that must be met for the layout to be printed. - - - - - - If is not met, print this layout. - - - - - - - - - - - - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the line length for wrapping. - - - Only positive values are allowed - - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - Base class for s which wrapping other s. - - This has the property (which is default) and can be used to wrap. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - - - - - Gets or sets the wrapped layout. - - [DefaultParameter] so Inner: is not required if it's the first - - - - - - - - - Renders the inner message, processes it and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Appends the rendered output from -layout and transforms the added output (when necessary) - - Logging event. - The to append the rendered data to. - Start position for any necessary transformation of . - - - - Transforms the output of another layout. - - Logging event. - Output to be transform. - Transformed text. - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - Base class for s which wrapping other s. - - This expects the transformation to work on a - - - - - - - - Transforms the output of another layout. - - - Output to be transform. - - - - Transforms the output of another layout. - - Output to be transform. - - - - Renders the inner layout contents. - - - for the result - - - - - - - - - - - - - - - - - - Converts the result of another layout output to be XML-compliant. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply XML encoding. - - Ensures always valid XML, but gives a performance hit - - - - - Gets or sets a value indicating whether to transform newlines (\r\n) into ( ) - - - - - - - - - - - - A layout containing one or more nested layouts. - - - - - Initializes a new instance of the class. - - - - - Gets the inner layouts. - - - - - - Initializes the layout. - - - - - Formats the log event relying on inner layouts. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event relying on inner layouts. - - The logging event. - for the result - - - - Closes the layout. - - - - - Generate description of Compound Layout - - Compound Layout String Description - - - - A column in the CSV. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column. - The layout of the column. - - - - Gets or sets the name of the column. - - - - - - Gets or sets the layout of the column. - - - - - - Gets or sets the override of Quoting mode - - - and are faster than the default - - - - - - Specifies allowed column delimiters. - - - - - Automatically detect from regional settings. - - - - - Comma (ASCII 44). - - - - - Semicolon (ASCII 59). - - - - - Tab character (ASCII 9). - - - - - Pipe character (ASCII 124). - - - - - Space character (ASCII 32). - - - - - Custom string, specified by the CustomDelimiter. - - - - - A specialized layout that renders CSV-formatted events. - - If is set, then the header generation with column names will be disabled. - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - Gets or sets a value indicating whether CVS should include header. - - A value of true if CVS should include header; otherwise, false. - - - - - Gets or sets the column delimiter. - - - - - - Gets or sets the quoting mode. - - - - - - Gets or sets the quote Character. - - - - - - Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom'). - - - - - - Initializes the layout. - - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event for write. - - The logging event. - for the result - - - - Get the headers with the column names. - - - - - - Header with column names for CSV layout. - - - - - Initializes a new instance of the class. - - The parent. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Generate description of CSV Layout - - CSV Layout String Description - - - - Specifies CSV quoting modes. - - - - - Quote all column (Fast) - - - - - Quote nothing (Very fast) - - - - - Quote only whose values contain the quote symbol or the separator (Slow) - - - - - JSON attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with json-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Json encoded. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A specialized layout that renders JSON-formatted events. - - - - - Initializes a new instance of the class. - - - - - Gets the array of attributes' configurations. - - - - - - Gets or sets the option to suppress the extra spaces in the output json - - - - - - Gets or sets the option to render the empty object value {} - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to exclude null/empty properties from the log event (as JSON) - - - - - - List of property names to exclude when is true - - - - - - How far should the JSON serializer follow object references before backing off - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Formats the log event as a JSON document for writing. - - The logging event. - for the result - - - - Formats the log event as a JSON document for writing. - - The log event to be formatted. - A JSON string representation of the log event. - - - - Generate description of JSON Layout - - JSON Layout String Description - - - - Abstract interface that layouts must implement. - - - - - Is this layout initialized? See - - - - - Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). - - - Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are - like that as well. - - Thread-agnostic layouts only use contents of for its output. - - - - - Gets the level of stack trace information required for rendering. - - - - - Gets the logging configuration this target is part of. - - - - - Converts a given text to a . - - Text to be converted. - object represented by the text. - - - - Implicitly converts the specified string to a . - - The layout string. - Instance of .' - - - - Implicitly converts the specified string to a . - - The layout string. - The NLog factories to use when resolving layout renderers. - Instance of . - - - - Implicitly converts the specified string to a . - - The layout string. - Whether should be thrown on parse errors (false = replace unrecognized tokens with a space). - Instance of . - - - - Create a from a lambda method. - - Method that renders the layout. - Tell if method is safe for concurrent threading. - Instance of . - - - - Precalculates the layout for the specified log event and stores the result - in per-log event cache. - - Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic]. - - The log event. - - Calling this method enables you to store the log event in a buffer - and/or potentially evaluate it in another thread even though the - layout may contain thread-dependent renderer. - - - - - Renders the event info in layout. - - The event info. - String representing log event. - - - - Optimized version of for internal Layouts. Works best - when override of is available. - - The event info. - Appends the string representing log event to target - Should rendering result be cached on LogEventInfo - - - - Valid default implementation of , when having implemented the optimized - - The logging event. - StringBuilder to help minimize allocations [optional]. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Optimized version of for internal Layouts, when - override of is available. - - - - - Try get value - - - rawValue if return result is true - false if we could not determine the rawValue - - - - Marks class as a layout renderer and assigns a format string to it. - - - - - Initializes a new instance of the class. - - Layout name. - - - - Parses layout strings. - - - - - Add to - - - - - - - Options available for - - - - - Default options - - - - - Layout renderer method can handle concurrent threads - - - - - Layout renderer method is agnostic to current thread context. This means it will render the same result indepdent of thread-context. - - - - - A specialized layout that supports header and footer. - - - - - Gets or sets the body layout (can be repeated multiple times). - - - - - - Gets or sets the header layout. - - - - - - Gets or sets the footer layout. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result. - - - - A specialized layout that renders Log4j-compatible XML events. - - - This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets the instance that renders log events. - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Represents a string with embedded placeholders that can render contextual information. - - - This layout is not meant to be used explicitly. Instead you can just use a string containing layout - renderers everywhere the layout is required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout string to parse. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - Whether should be thrown on parse errors. - - - - Original text before compile to Layout renderes - - - - - Gets or sets the layout text. - - - - - - Is the message fixed? (no Layout renderers used) - - - - - Get the fixed text. Only set when is true - - - - - Is the message a simple formatted string? (Can skip StringBuilder) - - - - - Gets a collection of objects that make up this layout. - - - - - Gets the level of stack trace information required for rendering. - - - - - Converts a text to a simple layout. - - Text to be converted. - A object. - - - - Escapes the passed text so that it can - be used literally in all places where - layout is normally expected without being - treated as layout. - - The text to be escaped. - The escaped text. - - Escaping is done by replacing all occurrences of - '${' with '${literal:text=${}' - - - - - Evaluates the specified text by expanding all layout renderers. - - The text to be evaluated. - Log event to be used for evaluation. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Evaluates the specified text by expanding all layout renderers - in new context. - - The text to be evaluated. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Returns a that represents the current object. - - - A that represents the current object. - - - - - - - - - - - - - - - - - - - - XML attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with xml-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A XML Element - - - - - - - - - - - Name of the element - - - - - - Value inside the element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - The name of the top XML node - The value of the top XML node - - - - Name of the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Value inside the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Auto indent and create new lines - - - - - - Gets the array of xml 'elements' configurations. - - - - - - Gets the array of 'attributes' configurations for the element - - - - - - Gets or sets whether a ElementValue with empty value should be included in the output - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - List of property names to exclude when is true - - - - - - XML element name to use when rendering properties - - - Support string-format where {0} means property-key-name - - Skips closing element tag when having configured - - - - - - XML attribute name to use when rendering property-key - - When null (or empty) then key-attribute is not included - - - Will replace newlines in attribute-value with - - - - - - XML attribute name to use when rendering property-value - - When null (or empty) then value-attribute is not included and - value is formatted as XML-element-value - - - Skips closing element tag when using attribute for value - - Will replace newlines in attribute-value with - - - - - - XML element name to use for rendering IList-collections items - - - - - - How far should the XML serializer follow object references before backing off - - - - - - Initializes the layout. - - - - - Formats the log event as a XML document for writing. - - The logging event. - for the result - - - - Formats the log event as a XML document for writing. - - The log event to be formatted. - A XML string representation of the log event. - - - - write attribute, only if is not empty - - - - - rendered - - - - Generate description of XML Layout - - XML Layout String Description - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - - - - - - - Name of the root XML element - - - - - - Value inside the root XML element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Represents the logging event. - - - - - Gets the date of the first log event created. - - - - - The formatted log message. - - - - - The log message including any parameter placeholders - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - Already parsed message template parameters. - - - - Initializes a new instance of the class. - - Log level. - Override default Logger name. Default is used when null - Log message. - List of event-properties - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - Exception information. - - - - Gets the unique identifier of log event which is automatically generated - and monotonously increasing. - - - - - Gets or sets the timestamp of the logging event. - - - - - Gets or sets the level of the logging event. - - - - - Gets a value indicating whether stack trace has been set for this event. - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Gets the entire stack trace. - - - - - Gets the callsite class name - - - - - Gets the callsite member function name - - - - - Gets the callsite source file path - - - - - Gets the callsite source file line number - - - - - Gets or sets the exception information. - - - - - Gets or sets the logger name. - - - - - Gets the logger short name. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the log message including any parameter placeholders. - - - - - Gets or sets the parameter values or null if no parameters have been specified. - - - - - Gets or sets the format provider that was provided while logging or - when no formatProvider was specified. - - - - - Gets or sets the message formatter for generating - Uses string.Format(...) when nothing else has been configured. - - - - - Gets the formatted message. - - - - - Checks if any per-event properties (Without allocation) - - - - - Gets the dictionary of per-event context properties. - - - - - Gets the dictionary of per-event context properties. - Internal helper for the PropertiesDictionary type. - - Create the event-properties dictionary, even if no initial template parameters - Provided when having parsed the message template and capture template parameters (else null) - - - - - Gets the named parameters extracted from parsing as MessageTemplate - - - - - Gets the dictionary of per-event context properties. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Creates the null event. - - Null log event. - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - The exception. - Instance of . - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates from this by attaching the specified asynchronous continuation. - - The asynchronous continuation. - Instance of with attached continuation. - - - - Returns a string representation of this log event. - - String representation of the log event. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace (Negative means NLog should skip stackframes from System-assemblies). - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Set the - - true = Always, false = Never, null = Auto Detect - - - - Specialized LogFactory that can return instances of custom logger types. - - Use this only when a custom Logger type is defined. - The type of the logger to be returned. Must inherit from . - - - - Gets the logger with type . - - The logger name. - An instance of . - - - - Gets a custom logger with the full name of the current class (so namespace and class name) and type . - - An instance of . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Overwrite possible file paths (including filename) for possible NLog config files. - When this property is null, the default file paths ( are used. - - - - - Occurs when logging changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The config. - - - - Initializes a new instance of the class. - - The config loader - The custom AppEnvironmnet override - - - - Gets the current . - - - - - Gets or sets a value indicating whether exceptions should be thrown. See also . - - A value of true if exception should be thrown; otherwise, false. - By default exceptions are not thrown under any circumstances. - - - - Gets or sets a value indicating whether should be thrown. - - If null then is used. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. After setting this property all - existing loggers will be re-configured, so there is no need to call - manually. - - - - - Gets or sets the global log level threshold. Log events below this threshold are not logged. - - - - - Gets the default culture info to use as . - - - Specific culture info or null to use - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting - unmanaged resources. - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Creates a logger that discards all log messages. - - Null logger instance. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets the logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - The logger with type . - Type of the logger - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The type of the logger to create. The type must inherit from - The logger of type . - This is a slow-running method. Make sure you are not calling this method in a - loop. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - Name of the logger. - Type of the logger - The logger reference with type . Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The type of the logger to create. The type must inherit from . - The logger of type . Multiple calls to GetLogger with the - same argument aren't guaranteed to return the same logger reference. - - - - Loops through all loggers previously returned by GetLogger and recalculates their - target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time - will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flushes any pending log messages on all appenders. - - Config containing Targets to Flush - Flush completed notification (success / timeout) - Optional timeout that guarantees that completed notication is called. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Returns if logging is currently enabled. - - A value of if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Raises the event when the configuration is reloaded. - - Event arguments. - - - - Currently this is disposing? - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; - false to release only unmanaged resources. - - - - Dispose all targets, and shutdown logging. - - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Logger cache key. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Determines if two objects are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Determines if two objects of the same type are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Logger cache. - - - - - Inserts or updates. - - - - - - - Internal for unit tests - - - - - Enables logging in implementation. - - - - - Initializes a new instance of the class. - - The factory. - - - - Enables logging. - - - - - Logging methods which only are executed when the DEBUG conditional compilation symbol is set. - - Remarks: - The DEBUG conditional compilation symbol is default enabled (only) in a debug build. - - If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods. - This could lead to better performance. - - See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx - - - Provides logging interface and utility functions. - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Initializes a new instance of the class. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Collection of context properties for the Logger. The logger will append it for all log events - - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Creates new logger that automatically appends the specified property to all log events (without changing current logger) - - Property Name - Property Value - New Logger object that automatically appends specified property - - - - Updates the specified context property for the current logger. The logger will append it for all log events. - - It could be rendered with ${event-properties:YOURNAME} - - With property, all properties could be changed. - - - Will affect all locations/contexts that makes use of the same named logger object. - - Property Name - Property Value - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Raises the event when the logger is reconfigured. - - Event arguments - - - - Implementation of logging engine. - - - - - Gets the filter result. - - The filter chain. - The log event. - default result if there are no filters, or none of the filters decides. - The result of the filter. - - - - Defines available log levels. - - - - - Trace log level. - - - - - Debug log level. - - - - - Info log level. - - - - - Warn log level. - - - - - Error log level. - - - - - Fatal log level. - - - - - Off log level. - - - - - Gets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - - - - - Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) - i.e LogLevel.Off is excluded. - - - - - Initializes a new instance of . - - The log level name. - The log level ordinal number. - - - - Gets the name of the log level. - - - - - Gets the ordinal of the log level. - - - - - Compares two objects - and returns a value indicating whether - the first one is equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal == level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is not equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal != level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than the second one. - - The first level. - The second level. - The value of level1.Ordinal > level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal >= level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than the second one. - - The first level. - The second level. - The value of level1.Ordinal < level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal <= level2.Ordinal. - - - - Gets the that corresponds to the specified ordinal. - - The ordinal. - The instance. For 0 it returns , 1 gives and so on. - - - - Returns the that corresponds to the supplied . - - The textual representation of the log level. - The enumeration value. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Determines whether the specified instance is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Compares the level to the other object. - - - The object object. - - - A value less than zero when this logger's is - less than the other logger's ordinal, 0 when they are equal and - greater than zero when this ordinal is greater than the - other ordinal. - - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Delegate used to set/get the culture in use. - - This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the instance used in the . - - Could be used to pass the to other methods - - - - Occurs when logging changes. - - - - - Gets or sets a value indicating whether NLog should throw exceptions. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether should be thrown. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. - - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Gets or sets the global log threshold. Log events below this threshold are not logged. - - - - - Gets or sets the default culture to use. - - This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Adds the given assembly which will be skipped - when NLog is trying to find the calling method on stack trace. - - The assembly to skip. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The logger class. This class must inherit from . - The logger of type . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates a logger that discards all log messages. - - Null logger which discards all log messages. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - - - - Gets the specified named custom logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The logger class. This class must inherit from . - The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - The generic way for this method is - - - - Loops through all loggers previously returned by GetLogger. - and recalculates their target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Checks if logging is currently enabled. - - if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Dispose all targets, and shutdown logging. - - - - - Generates a formatted message from the log event - - Log event. - Formatted message - - - - Returns a log message. Used to defer calculation of - the log message until it's actually needed. - - Log message. - - - - Service contract for Log Receiver client. - - This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Internal configuration of Log Receiver Service contracts. - - - - - Wire format for NLog Event. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the client-generated identifier of the event. - - - - - Gets or sets the ordinal of the log level. - - - - - Gets or sets the logger ordinal (index into . - - The logger ordinal. - - - - Gets or sets the time delta (in ticks) between the time of the event and base time. - - - - - Gets or sets the message string index. - - - - - Gets or sets the collection of layout values. - - - - - Gets the collection of indexes into array for each layout value. - - - - - Converts the to . - - The object this is part of.. - The logger name prefix to prepend in front of the logger name. - Converted . - - - - Wire format for NLog event package. - - - - - Gets or sets the name of the client. - - The name of the client. - - - - Gets or sets the base time (UTC ticks) for all events in the package. - - The base time UTC. - - - - Gets or sets the collection of layout names which are shared among all events. - - The layout names. - - - - Gets or sets the collection of logger names. - - The logger names. - - - - Gets or sets the list of events. - - The events. - - - - Converts the events to sequence of objects suitable for routing through NLog. - - The logger name prefix to prepend in front of each logger name. - - Sequence of objects. - - - - - Converts the events to sequence of objects suitable for routing through NLog. - - - Sequence of objects. - - - - - List of strings annotated for more terse serialization. - - - - - Initializes a new instance of the class. - - - - - Mapped Diagnostics Context - a thread-local structure that keeps a dictionary - of strings and provides methods to output them in layouts. - - - - - Gets the thread-local dictionary - - Must be true for any subsequent dictionary modification operation - - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The to use when converting a value to a . - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Returns all item names - - A set of the names of all items in current thread-MDC. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified exists in current thread MDC. - - - - Removes the specified from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary - of strings and provides methods to output them in layouts. Allows for maintaining state across - asynchronous tasks and call contexts. - - - Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original - NLog library so that state can be maintained for multiple threads in asynchronous situations. - - - - - Simulate ImmutableDictionary behavior (which is not yet part of all .NET frameworks). - In future the real ImmutableDictionary could be used here to minimize memory usage and copying time. - - Must be true for any subsequent dictionary modification operation - Prepare dictionary for additional inserts - - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The to use when converting a value to a string. - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Updates the current logical context with multiple items in single operation - - . - >An that can be used to remove the item from the current logical context (null if no items). - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Returns all item names - - A collection of the names of all items in current logical context. - - - - Checks whether the specified exists in current logical context. - - Item name. - A boolean indicating whether the specified exists in current logical context. - - - - Removes the specified from current logical context. - - Item name. - - - - Clears the content of current logical context. - - - - - Clears the content of current logical context. - - Free the full slot. - - - - Mapped Diagnostics Context - - This class marked as obsolete before NLog 2.0 and it may be removed in a future release. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified item exists in current thread MDC. - - - - Removes the specified item from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mark a parameter of a method for message templating - - - - - Specifies which parameter of an annotated method should be treated as message-template-string - - - - - The name of the parameter that should be as treated as message-template-string - - - - - The type of the captured hole - - - - - Not decided - - - - - normal {x} - - - - - Serialize operator {@x} (aka destructure) - - - - - stringification operator {$x} - - - - - A hole that will be replaced with a value - - - - - Constructor - - - - Parameter name sent to structured loggers. - This is everything between "{" and the first of ",:}". - Including surrounding spaces and names that are numbers. - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - Type - - - - When the template is positional, this is the parsed name of this parameter. - For named templates, the value of Index is undefined. - - - Alignment to render the parameter, by default 0. - This is the parsed value between "," and the first of ":}" - - - - A fixed value - - - - Number of characters from the original template to copy at the current position. - This can be 0 when the template starts with a hole or when there are multiple consecutive holes. - - - Number of characters to skip in the original template at the current position. - 0 is a special value that mean: 1 escaped char, no hole. It can also happen last when the template ends with a literal. - - - - Combines Literal and Hole - - - - Literal - - - Hole - Uninitialized when = 0. - - - - Description of a single parameter extracted from a MessageTemplate - - - - - Parameter Name extracted from - This is everything between "{" and the first of ",:}". - - - - - Parameter Value extracted from the -array - - - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - - Parameter method that should be used to render the parameter - See also - - - - - Returns index for , when - - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - Parameter CaptureType - - - - Parameters extracted from parsing as MessageTemplate - - - - - - - - - - - Gets the parameters at the given index - - - - - Number of parameters - - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Indicates whether the template was parsed successful, and there are no unmatched parameters - - - - - Constructor for parsing the message template with parameters - - including any parameter placeholders - All - - - - Constructor for named parameters that already has been parsed - - - - - Create MessageTemplateParameter from - - - - - A message template - - - - The original template string. - This is the key passed to structured targets. - - - The list of literal parts, useful for string rendering. - It indicates the number of characters from the original string to print, - then there's a hole with how many chars to skip. - - "Hello {firstName} {lastName}!" - ------------------------------------- - ║P |S ║P|S ║P|S║ - ║6 |11 ║1|10 ║1|0║ - ║Hello |{firstName}║ |{lastName}║!║ - - "{x} * 2 = {2x}" - -------------------- - ║P|S ║P |S ║ - ║0|3 ║7 |4 ║ - ║{x}║ * 2 = |{2x}║ - - The tricky part is escaped braces. They are represented by a skip = 0, - which is interpreted as "move one char forward, no hole". - - "Escaped }} is fun." - ---------------------- - ║P |S║P |S║ - ║9 |0║8 |0║ - ║Escaped }|}║ is fun.|║ - - - - This list of holes. It's used both to fill the string rendering - and to send values along the template to structured targets. - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Create a template, which is already parsed - - - - - - - - - Create a template, which is already parsed - - - - - - - - This is for testing only: recreates from the parsed data. - - - - This is for testing only: rebuilds the hole - - Add to this string builder - ref for performance - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Gets the current literal/hole in the template - - - - - Clears the enumerator - - - - - Restarts the enumerator of the template - - - - - Moves to the next literal/hole in the template - - Found new element [true/false] - - - - Parse format after hole name/index. Handle the escaped { and } in the format. Don't read the last } - - - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Error when parsing a template. - - - - - Current index when the error occurred. - - - - - The template we were parsing - - - - - New exception - - The message to be shown. - Current index when the error occurred. - - - - - Render templates - - - - - Render a template to a string. - - The template. - Culture. - Parameters for the holes. - Do not fallback to StringBuilder.Format for positional templates. - The String Builder destination. - Parameters for the holes. - - - - Render a template to a string. - - The template. - The String Builder destination. - Culture. - Parameters for the holes. - Rendered template, never null. - - - - Convert Render or serialize a value, with optionally backwards-compatible with - - - - Singleton - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Format an object to a readable string, or if it's an object, serialize - - The value to convert - - - - - - - - Try serializing a scalar (string, int, NULL) or simple type (IFormattable) - - - - - Serialize Dictionary as JSON like structure, without { and } - - - "FirstOrder"=true, "Previous login"=20-12-2017 14:55:32, "number of tries"=1 - - - formatstring of an item - - - - - - - - - Convert a value to a string with format and append to . - - The value to convert. - Format sting for the value. - Format provider for the value. - Append to this - - - - Nested Diagnostics Context - - This class marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top object off the NDC stack. The object is removed from the stack. - - The top object from the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all objects on the NDC stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Nested Diagnostics Context - a thread-local structure that keeps a stack - of strings and provides methods to output them in layouts - - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object at the top of the NDC stack if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified object on current thread NDC. - - The object to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top message from the NDC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top object off the NDC stack. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Peeks the first object on the NDC stack - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. - - Array of objects on the stack. - - - - Resets the stack to the original count during . - - - - - Initializes a new instance of the class. - - The stack. - The previous count. - - - - Reverts the stack to original item count. - - - - - Async version of - a logical context structure that keeps a stack - Allows for maintaining scope across asynchronous tasks and call contexts. - - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDLC stack. - - The top message which is no longer on the stack. - this methods returns a object instead of string, this because of backwards-compatibility - - - - Pops the top message from the NDLC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top message off the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the top object on the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the current scope, and returns its start time - - Scope Creation Time - - - - Peeks the first scope, and returns its start time - - Scope Creation Time - - - - Clears current stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Exception thrown during NLog configuration. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The inner exception. - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Exception thrown during log event processing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - It works as a normal but it discards all messages which an application requests - to be logged. - - It effectively implements the "Null Object" pattern for objects. - - - - - Initializes a new instance of . - - The factory class to be used for the creation of this logger. - - - - Extension methods to setup LogFactory options - - - - - Gets the logger with the full name of the current class, so namespace and class name. - - - - - Gets the specified named logger. - - - - - Configures loading of NLog extensions for Targets and LayoutRenderers - - - - - Configures the output of NLog for diagnostics / troubleshooting - - - - - Configures serialization and transformation of LogEvents - - - - - Loads NLog config created by the method - - - - - Loads NLog config provided in - - - - - Loads NLog config from filename if provided, else fallback to scanning for NLog.config - - - - - Loads NLog config from XML in - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Enable/disables autoloading of NLog extensions by scanning and loading available assemblies - - - Enabled by default, and gives a huge performance hit during startup. Recommended to disable this when running in the cloud. - - - - - Registers NLog extensions from the assembly. - - - - - Registers NLog extensions from the assembly type name - - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - MethodInfo extracted by reflection - typeof(MyClass).GetMethod("MyFunc", BindingFlags.Static). - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Extension methods to setup NLog options - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Overrides the active with a new custom implementation - - - - - Overrides the active with a new custom implementation - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Specifies the way archive numbering is performed. - - - - - Sequence style numbering. The most recent archive has the highest number. - - - - - Rolling style numbering (the most recent is always #0 then #1, ..., #N. - - - - - Date style numbering. Archives will be stamped with the prior period - (Year, Month, Day, Hour, Minute) datetime. - - - - - Date and sequence style numbering. - Archives will be stamped with the prior period (Year, Month, Day) datetime. - The most recent archive has the highest number (in combination with the date). - - - - - Abstract Target with async Task support - - - - - How many milliseconds to delay the actual write operation to optimize for batching - - - - - How many seconds a Task is allowed to run before it is cancelled. - - - - - How many attempts to retry the same Task, before it is aborted - - - - - How many milliseconds to wait before next retry (will double with each retry) - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Task Scheduler used for processing async Tasks - - - - - Constructor - - - - - Initializes the internal queue for pending logevents - - - - - Override this to create the actual logging task - - Example of how to override this method, and call custom async method - - protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) - { - return CustomWriteAsync(logEvent, token); - } - - private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) - { - await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); - } - - - The log event. - The cancellation token - - - - - Override this to create the actual logging task for handling batch of logevents - - A batch of logevents. - The cancellation token - - - - - Handle cleanup after failed write operation - - Exception from previous failed Task - The cancellation token - Number of retries remaining - Time to sleep before retrying - Should attempt retry - - - - Schedules the LogEventInfo for async writing - - The log event. - - - - Write to queue without locking - - - - - - Schedules notification of when all messages has been written - - - - - - Closes Target by updating CancellationToken - - - - - Releases any managed resources - - - - - - Checks the internal queue for the next to create a new task for - - Used for race-condition validation between task-completion and timeout - Signals whether previousTask completed an almost full BatchSize - - - - Generates recursive task-chain to perform retry of writing logevents with increasing retry-delay - - - - - Creates new task to handle the writing of the input - - LogEvents to write - New Task created [true / false] - - - - Handles that scheduled task has completed (successfully or failed), and starts the next pending task - - Task just completed - AsyncContinuation to notify of success or failure - - - - Timer method, that is fired when pending task fails to complete within timeout - - - - - - Sends log messages to the remote instance of Chainsaw application from log4j. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a name. - - Name of the target. - - - - Color formatting for using ANSI Color Codes - - - - - Not using bold to get light colors, as it has to be cleared - - - - - Not using bold to get light colors, as it has to be cleared (And because it only works for text, and not background) - - - - - Resets both foreground and background color. - - - - - ANSI have 8 color-codes (30-37) by default. The "bright" (or "intense") color-codes (90-97) are extended values not supported by all terminals - - - - - Writes log messages to the console with customizable coloring. - - Documentation on NLog Wiki - - - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default.In multithreaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether the error stream (stderr) should be used instead of the output stream (stdout). - - - - - - Gets or sets a value indicating whether to use default row highlighting rules. - - - The default rules are: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ConditionForeground ColorBackground Color
level == LogLevel.FatalRedNoChange
level == LogLevel.ErrorYellowNoChange
level == LogLevel.WarnMagentaNoChange
level == LogLevel.InfoWhiteNoChange
level == LogLevel.DebugGrayNoChange
level == LogLevel.TraceDarkGrayNoChange
-
- -
- - - Gets or sets a value indicating whether to auto-check if the console is available. - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-check if the console has been redirected to file - - Disables coloring logic when System.Console.IsOutputRedirected = true - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Enables output using ANSI Color Codes - - - - - - Gets the row highlighting rules. - - - - - - Gets the word highlighting rules. - - - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified log event to the console highlighting entries - and words based on a set of defined rules. - - Log event. - - - - Colored console output color. - - - Note that this enumeration is defined to be binary compatible with - .NET 2.0 System.ConsoleColor + some additions - - - - - Black Color (#000000). - - - - - Dark blue Color (#000080). - - - - - Dark green Color (#008000). - - - - - Dark Cyan Color (#008080). - - - - - Dark Red Color (#800000). - - - - - Dark Magenta Color (#800080). - - - - - Dark Yellow Color (#808000). - - - - - Gray Color (#C0C0C0). - - - - - Dark Gray Color (#808080). - - - - - Blue Color (#0000FF). - - - - - Green Color (#00FF00). - - - - - Cyan Color (#00FFFF). - - - - - Red Color (#FF0000). - - - - - Magenta Color (#FF00FF). - - - - - Yellow Color (#FFFF00). - - - - - White Color (#FFFFFF). - - - - - Don't change the color. - - - - - The row-highlighting condition. - - - - - Initializes static members of the ConsoleRowHighlightingRule class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The condition. - Color of the foreground. - Color of the background. - - - - Gets the default highlighting rule. Doesn't change the color. - - - - - Gets or sets the condition that must be met in order to set the specified foreground and background color. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Checks whether the specified log event matches the condition (if any). - - - Log event. - - - A value of if the condition is not defined or - if it matches, otherwise. - - - - - Writes log messages to the console. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default. In multi threaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. - - - - - - Gets or sets a value indicating whether to auto-check if the console is available - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Gets or sets whether to enable batch writing using char[]-buffers, instead of using - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified logging event to the Console.Out or - Console.Error depending on the value of the Error flag. - - The logging event. - - Note that the Error option is not supported on .NET Compact Framework. - - - - - - - - Write to output - - - - - Highlighting rule for Win32 colorful console. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The text to be matched.. - Color of the foreground. - Color of the background. - - - - Gets or sets the regular expression to be matched. You must specify either text or regex. - - - - - - Gets or sets the condition that must be met before scanning the row for highlight of words - - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets the text to be matched. You must specify either text or regex. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Gets the compiled regular expression that matches either Text or Regex property. Only used when is true. - - - - - A descriptor for an archive created with the DateAndSequence numbering mode. - - - - - The full name of the archive file. - - - - - The parsed date contained in the file name. - - - - - The parsed sequence number contained in the file name. - - - - - Determines whether produces the same string as the current instance's date once formatted with the current instance's date format. - - The date to compare the current object's date to. - True if the formatted dates are equal, otherwise False. - - - - Initializes a new instance of the class. - - - - - Writes log messages to the attached managed debugger. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the attached debugger. - - The logging event. - - - - Mock target - useful for testing. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the number of times this target has been called. - - - - - - Gets the last message rendered by this target. - - - - - - Increases the number of messages. - - The logging event. - - - - Default class for serialization of values to JSON format. - - - - - Singleton instance of the serializer. - - - - - Private. Use - - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - Serialized value. - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - serialisation options - Serialized value. - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - The objects in path (Avoid cyclic reference loop). - The current depth (level) of recursion. - Object serialized successfully (true/false). - - - - No quotes needed for this type? - - - - - Checks the object if it is numeric - - TypeCode for the object - Accept fractional types as numeric type. - - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - all options - JSON escaped string - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - Should non-ascii characters be encoded - - JSON escaped string - - - - Action that should be taken if the message is greater than - the max message size allowed by the Event Log. - - - - - Truncate the message before writing to the Event Log. - - - - - Split the message and write multiple entries to the Event Log. - - - - - Discard of the message. It will not be written to the Event Log. - - - - - Check if cleanup should be performed on initialize new file - - Skip cleanup when initializing new file, just after having performed archive operation - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Characters determining the start of the . - - - - - Characters determining the end of the . - - - - - File name which is used as template for matching and replacements. - It is expected to contain a pattern to match. - - - - - The begging position of the - within the . -1 is returned - when no pattern can be found. - - - - - The ending position of the - within the . -1 is returned - when no pattern can be found. - - - - - Replace the pattern with the specified String. - - - - - - - Archives the log-files using a date style numbering. Archives will be stamped with the - prior period (Year, Month, Day, Hour, Minute) datetime. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Archives the log-files using a date and sequence style numbering. Archives will be stamped - with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in - combination with the date). - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Parse filename with date and sequence pattern - - - dateformat for archive - - the found pattern. When failed, then default - the found pattern. When failed, then default - - - - - Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes - duplicate archive filenames, then sequence-style is automatically enforced. - - Example: - Base Filename trace.log - Next Filename trace.0.log - - The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern. - Before called the original IFileArchiveMode, that has been wrapped by this - - - - - Determines if the file name as contains a numeric pattern i.e. {#} in it. - - Example: - trace{#}.log Contains the numeric pattern. - trace{###}.log Contains the numeric pattern. - trace{#X#}.log Contains the numeric pattern (See remarks). - trace.log Does not contain the pattern. - - Occasionally, this method can identify the existence of the {#} pattern incorrectly. - File name to be checked. - when the pattern is found; otherwise. - - - - Archives the log-files using a rolling style numbering (the most recent is always #0 then - #1, ..., #N. - - When the number of archive files exceed the obsolete archives - are deleted. - - - - - Replaces the numeric pattern i.e. {#} in a file name with the parameter value. - - File name which contains the numeric pattern. - Value which will replace the numeric pattern. - File name with the value of in the position of the numeric pattern. - - - - Archives the log-files using a sequence style numbering. The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Modes of archiving files based on time. - - - - - Don't archive based on time. - - - - - AddToArchive every year. - - - - - AddToArchive every month. - - - - - AddToArchive daily. - - - - - AddToArchive every hour. - - - - - AddToArchive every minute. - - - - - AddToArchive every Sunday. - - - - - AddToArchive every Monday. - - - - - AddToArchive every Tuesday. - - - - - AddToArchive every Wednesday. - - - - - AddToArchive every Thursday. - - - - - AddToArchive every Friday. - - - - - AddToArchive every Saturday. - - - - - Type of filepath - - - - - Detect of relative or absolute - - - - - Relative path - - - - - Absolute path - - Best for performance - - - - Writes log messages to one or more files. - - Documentation on NLog Wiki - - - - Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list. - - Clean up period is defined in days. - - - - The maximum number of initialized files before clean up procedures are initiated, - to keep the number of initialized files to a minimum. Chose 25 to cater for monthly rolling of log-files. - - - - - This value disables file archiving based on the size. - - - - - Holds the initialized files each given time by the instance. Against each file, the last write time is stored. - - Last write time is store in local time (no UTC). - - - - List of the associated file appenders with the instance. - - - - - The number of initialized files at any one time. - - - - - The maximum number of archive files that should be kept. - - - - - The maximum days of archive files that should be kept. - - - - - The filename as target - - - - - The archive file name as target - - - - - The date of the previous log event. - - - - - The file name of the previous log event. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the name of the file to write to. - - - This FileName string is a layout which may include instances of layout renderers. - This lets you use a single target to write to multiple files. - - - The following value makes NLog write logging events to files based on the log level in the directory where - the application runs. - ${basedir}/${level}.log - All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on. - You can combine as many of the layout renderers as you want to produce an arbitrary log file name. - - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. - If set to false, nothing gets written when the filename is wrong. - - - - - - Is the an absolute or relative path? - - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - - Gets or sets a value indicating whether to delete old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - - - - - - Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end. - - - - - - Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event. - - - Setting this property to True helps improve performance. - - - - - - Gets or sets the maximum number of log file names that should be stored as existing. - - - The bigger this number is the longer it will take to write each log record. The smaller the number is - the higher the chance that the clean function will be run when no new files have been opened. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - - Gets or sets the line ending mode. - - - - - - Gets or sets a value indicating whether to automatically flush the file buffers after each log message. - - - - - - Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance - in a situation where a single File target is writing to many files - (such as splitting by level or by logger). - - - The files are managed on a LRU (least recently used) basis, which flushes - the files that have not been used for the longest period of time should the - cache become full. As a rule of thumb, you shouldn't set this parameter to - a very high value. A number like 10-15 shouldn't be exceeded, because you'd - be keeping a large number of files open which consumes system resources. - - - - - - Gets or sets the maximum number of seconds that files are kept open. If this number is negative the files are - not automatically closed after a period of inactivity. - - - - - - Gets or sets the maximum number of seconds before open files are flushed. If this number is negative or zero - the files are not flushed by timer. - - - - - - Gets or sets the log file buffer size in bytes. - - - - - - Gets or sets the file encoding. - - - - - - Gets or sets whether or not this target should just discard all data that its asked to write. - Mostly used for when testing NLog Stack except final write - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts. - - - This effectively prevents files from being kept open. - - - - - - Gets or sets a value indicating whether to write BOM (byte order mark) in created files - - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - The actual delay is a random value between 0 and the value specified - in this parameter. On each failed attempt the delay base is doubled - up to times. - - - Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:

- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...

- and so on. - - - - -

- Gets or sets a value indicating whether to archive old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - After archiving the old file, the current log file will be empty. - - -
- - - Gets or sets a value of the file size threshold to archive old log file on startup. - - - This option won't work if is set to false - Default value is 0 which means that the file is archived as soon as archival on - startup is enabled. - - - - - - Gets or sets a value specifying the date format to use when archiving files. - - - This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence. - - - - - - Gets or sets the size in bytes above which log files will be automatically archived. - - Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. - Choose: - - - Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. - - - - - - Gets or sets a value indicating whether to automatically archive log files every time the specified time passes. - - - Files are moved to the archive as part of the write operation if the current period of time changes. For example - if the current hour changes from 10 to 11, the first write that will occur - on or after 11:00 will trigger the archiving. -

- Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. -

-
- -
- - - Is the an absolute or relative path? - - - - - - Gets or sets the name of the file to be used for an archive. - - - It may contain a special placeholder {#####} - that will be replaced with a sequence of numbers depending on - the archiving strategy. The number of hash characters used determines - the number of numerical digits to be used for numbering files. - - - - - - Gets or sets the maximum number of archive files that should be kept. - - - - - - Gets or sets the maximum days of archive files that should be kept. - - - - - - Gets or sets the way file archives are numbered. - - - - - - Used to compress log files during archiving. - This may be used to provide your own implementation of a zip file compressor, - on platforms other than .Net4.5. - Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise. - - - - - - Gets or sets a value indicating whether to compress archive files into the zip archive format. - - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - - Gets or sets a value indicating whether the footer should be written only when the file is archived. - - - - - - Gets the characters that are appended after each line. - - - - - Refresh the ArchiveFilePatternToWatch option of the . - The log file must be watched for archiving when multiple processes are writing to the same - open file. - - - - - Removes records of initialized files that have not been - accessed in the last two days. - - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Removes records of initialized files that have not been - accessed after the specified date. - - The cleanup threshold. - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Flushes all pending file operations. - - The asynchronous continuation. - - The timeout parameter is ignored, because file APIs don't provide - the needed functionality. - - - - - Returns the suitable appender factory ( ) to be used to generate the file - appenders associated with the instance. - - The type of the file appender factory returned depends on the values of various properties. - - suitable for this instance. - - - - Initializes file logging by creating data structures that - enable efficient multi-file logging. - - - - - Closes the file(s) opened for writing. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Writes the specified logging event to a file specified in the FileName - parameter. - - The logging event. - - - - Get full filename (=absolute) and cleaned if needed. - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes the specified array of logging events to a file specified in the FileName - parameter. - - An array of objects. - - This function makes use of the fact that the events are batched by sorting - the requests by filename. This optimizes the number of open/close calls - and can help improve performance. - - - - - Returns estimated size for memory stream, based on events count and first event size in bytes. - - Count of events - Bytes count of first event - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Gets the bytes to be written to the file. - - Log event. - Array of bytes that are ready to be written. - - - - Modifies the specified byte array before it gets sent to a file. - - The byte array. - The modified byte array. The function can do the modification in-place. - - - - Gets the bytes to be written to the file. - - The log event to be formatted. - to help format log event. - Optional temporary char-array to help format log event. - Destination for the encoded result. - - - - Formats the log event for write. - - The log event to be formatted. - for the result. - - - - Modifies the specified byte array before it gets sent to a file. - - The LogEvent being written - The byte array. - - - - Archives fileName to archiveFileName. - - File name to be archived. - Name of the archive file. - - - - Gets the correct formatting to be used based on the value of for converting values which will be inserting into file - names during archiving. - - This value will be computed only when a empty value or is passed into - - Date format to used irrespectively of value. - Formatting for dates. - - - - Calculate the DateTime of the requested day of the week. - - The DateTime of the previous log event. - The next occuring day of the week to return a DateTime for. - The DateTime of the next occuring dayOfWeek. - For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return - Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. - - - - Invokes the archiving process after determining when and which type of archiving is required. - - File name to be checked and archived. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - - - - Gets the pattern that archive files will match - - Filename of the log file - Log event that the instance is currently processing. - A string with a pattern that will match the archive file names - - - - Archives the file if it should be archived. - - The file name to check for. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - True when archive operation of the file was completed (by this target or a concurrent target) - - - - Closes any active file-appenders that matches the input filenames. - File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive - - - - - Indicates if the automatic archiving process should be executed. - - File name to be written. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Returns the correct filename to archive - - - - - Gets the file name for archiving, or null if archiving should not occur based on file size. - - File name to be written. - The size in bytes of the next chunk of data to be written in the file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists - - - - - Returns the file name for archiving, or null if archiving should not occur based on date/time. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - - High resolution Time - Time Resolution Level - Truncated Low Resolution Time - - - - Evaluates which parts of a file should be written (header, content, footer) based on various properties of - instance and writes them. - - File name to be written. - Raw sequence of to be written into the content part of the file. - File has just been opened. - - - - Initialise a file to be used by the instance. Based on the number of initialized - files and the values of various instance properties clean up and/or archiving processes can be invoked. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file (DateTime.MinValue if just initialized). - - - - Writes the file footer and finalizes the file in instance internal structures. - - File name to close. - Indicates if the file is being finalized for archiving. - - - - Writes the footer information to a file. - - The file path to write to. - - - - Decision logic whether to archive logfile on startup. - and properties. - - File name to be written. - Decision whether to archive or not. - - - - Invokes the archiving and clean up of older archive file based on the values of - and - properties respectively. - - File name to be written. - Log event that the instance is currently processing. - - - - Creates the file specified in and writes the file content in each entirety i.e. - Header, Content and Footer. - - The name of the file to be written. - Sequence of to be written in the content section of the file. - First attempt to write? - This method is used when the content of the log file is re-written on every write. - - - - Writes the header information and byte order mark to a file. - - File appender associated with the file. - - - - The sequence of to be written in a file after applying any formatting and any - transformations required from the . - - The layout used to render output message. - Sequence of to be written. - Usually it is used to render the header and hooter of the files. - - - - Controls the text and color formatting for - - - - - Creates a TextWriter for the console to start building a colored text message - - Active console stream - Optional StringBuilder to optimize performance - TextWriter for the console - - - - Releases the TextWriter for the console after having built a colored text message (Restores console colors) - - Colored TextWriter - Active console stream - Original foreground color for console (If changed) - Original background color for console (If changed) - Flush TextWriter - - - - Changes foreground color for the Colored TextWriter - - Colored TextWriter - New foreground color for the console - Old previous backgroundColor color for the console - Old foreground color for the console - - - - Changes backgroundColor color for the Colored TextWriter - - Colored TextWriter - New backgroundColor color for the console - Old previous backgroundColor color for the console - Old backgroundColor color for the console - - - - Restores console colors back to their original state - - Colored TextWriter - Original foregroundColor color for the console - Original backgroundColor color for the console - - - - Writes multiple characters to console in one operation (faster) - - Colored TextWriter - Output Text - Start Index - End Index - - - - Writes single character to console - - Colored TextWriter - Output Text - - - - Writes whole string and completes with newline - - Colored TextWriter - Output Text - - - - Default row highlight rules for the console printer - - - - - Check if cleanup should be performed on initialize new file - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Create a wildcard file-mask that allows one to find all files belonging to the same archive. - - Base archive file pattern - Wildcard file-mask - - - - Search directory for all existing files that are part of the same archive. - - Base archive file pattern - - - - - Generate the next archive filename for the archive. - - Base archive file pattern - File date of archive - Existing files in the same archive - - - - - Return all files that should be removed from the provided archive. - - Base archive file pattern - Existing files in the same archive - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - - - - may be configured to compress archived files in a custom way - by setting before logging your first event. - - - - - Create archiveFileName by compressing fileName. - - Absolute path to the log file to compress. - Absolute path to the compressed archive file to create. - - - - Interface for serialization of values, maybe even objects to JSON format. - Useful for wrappers for existing serializers. - - - - - Returns a serialization of an object - into JSON format. - - The object to serialize to JSON. - Serialized value (null = Serialize failed). - - - - Options for JSON serialisation - - - - - Add quotes around object keys? - - - - - Format provider for value - - - - - Format string for value - - - - - Should non-ascii characters be encoded - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - - - Serialize enum as string value - - - - - Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_). - - Any other characters will be converted to underscore character (_) - - - - - How far down the rabbit hole should the Json Serializer go with object-reflection before stopping - - - - Initializes a new instance of the class. - - - - Line ending mode. - - - - - Insert platform-dependent end-of-line sequence after each line. - - - - - Insert CR LF sequence (ASCII 13, ASCII 10) after each line. - - - - - Insert CR character (ASCII 13) after each line. - - - - - Insert LF character (ASCII 10) after each line. - - - - - Insert null terminator (ASCII 0) after each line. - - - - - Do not insert any line ending. - - - - - Gets the name of the LineEndingMode instance. - - - - - Gets the new line characters (value) of the LineEndingMode instance. - - - - - Initializes a new instance of . - - The mode name. - The new line characters to be used. - - - - Returns the that corresponds to the supplied . - - - The textual representation of the line ending mode, such as CRLF, LF, Default etc. - Name is not case sensitive. - - The value, that corresponds to the . - There is no line ending mode with the specified name. - - - - Compares two objects and returns a - value indicating whether the first one is equal to the second one. - - The first level. - The second level. - The value of mode1.NewLineCharacters == mode2.NewLineCharacters. - - - - Compares two objects and returns a - value indicating whether the first one is not equal to the second one. - - The first mode - The second mode - The value of mode1.NewLineCharacters != mode2.NewLineCharacters. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms - and data structures like a hash table. - - - - - Determines whether the specified is - equal to this instance. - - The to compare with - this instance. - - Value of true if the specified - is equal to this instance; otherwise, false. - - - The parameter is null. - - - - Indicates whether the current object is equal to another object of the same type. - true if the current object is equal to the parameter; otherwise, false. - An object to compare with this object. - - - - Provides a type converter to convert objects to and from other representations. - - - - - Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context. - - - true if this converter can perform the conversion; otherwise, false. - - An that provides a format context. A that represents the type you want to convert from. - - - - Converts the given object to the type of this converter, using the specified context and culture information. - - - An that represents the converted value. - - An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed. - - - - Sends log messages by email using SMTP protocol. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- Mail target works best when used with BufferingWrapper target - which lets you send multiple log messages in single mail -

-

- To set up the buffered mail target in the configuration file, - use the following syntax: -

- -

- To set up the buffered mail target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets sender's email address (e.g. joe@domain.com). - - - - - - Gets or sets recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets a value indicating whether to add new lines between log entries. - - A value of true if new lines should be added; otherwise, false. - - - - - Gets or sets the mail subject. - - - - - - Gets or sets mail message body (repeated for each log message send in one mail). - - Alias for the Layout property. - - - - - Gets or sets encoding to be used for sending e-mail. - - - - - - Gets or sets a value indicating whether to send message as HTML instead of plain text. - - - - - - Gets or sets SMTP Server to be used for sending. - - - - - - Gets or sets SMTP Authentication mode. - - - - - - Gets or sets the username used to connect to SMTP server (used when SmtpAuthentication is set to "basic"). - - - - - - Gets or sets the password used to authenticate against SMTP server (used when SmtpAuthentication is set to "basic"). - - - - - - Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server. - - . - - - - Gets or sets the port number that SMTP Server is listening on. - - - - - - Gets or sets a value indicating whether the default Settings from System.Net.MailSettings should be used. - - - - - - Specifies how outgoing email messages will be handled. - - - - - - Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. - - - - - - Gets or sets the priority used for sending mails. - - - - - - Gets or sets a value indicating whether NewLine characters in the body should be replaced with
tags. -
- Only happens when is set to true. - -
- - - Gets or sets a value indicating the SMTP client timeout. - - Warning: zero is not infinite waiting - - - - - Writes async log event to the mail target. - - The logging event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes log events to the mail target. - - Array of logging events. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Create mail and send with SMTP - - event printed in the body of the event - - - - Create buffer for body - - all events - first event for header - last event for footer - - - - - Set properties of - - last event for username/password - client to set properties on - Configure not at , as the properties could have layout renderers. - - - - Handle if it is a virtual directory. - - - - - - - Create key for grouping. Needed for multiple events in one mail message - - event for rendering layouts - string to group on - - - - Append rendered to - - append to this - event for rendering - append if not null - - - - Create the mail message with the addresses, properties and body. - - - - - Render and add the addresses to - - Addresses appended to this list - layout with addresses, ; separated - event for rendering the - added a address? - - - - Writes log messages to in memory for programmatic retrieval. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the list of logs gathered in the . - - - - - Gets or sets the max number of items to have in memory - - - - - - Renders the logging event message and adds to - - The logging event. - - - - A parameter to MethodCall. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout to use for parameter value. - - - - Initializes a new instance of the class. - - Name of the parameter. - The layout. - - - - Initializes a new instance of the class. - - The name of the parameter. - The layout. - The type of the parameter. - - - - Gets or sets the name of the parameter. - - - - - - Gets or sets the type of the parameter. Obsolete alias for - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Calls the specified static method on each log message and passes contextual parameters to it. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets the class name. - - - - - - Gets or sets the method name. The method must be public and static. - - Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx - e.g. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - Name of the target. - Method to call on logevent. - - - - Initializes the target. - - - - - Calls the specified Method. - - Method parameters. - The logging event. - - - - Calls the specified Method. - - Method parameters. - - - - The base class for all targets which call methods (local or remote). - Manages parameters and type coercion. - - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - - - - Prepares an array of parameters to be passed based on the logging event and calls DoInvoke(). - - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Sends log messages over the network. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- To print the results, use any application that's able to receive messages over - TCP or UDP. NetCat is - a simple but very powerful command-line tool that can be used for that. This image - demonstrates the NetCat tool receiving log messages from Network target. -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will be very slow. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-

- There are two specialized versions of the Network target: Chainsaw - and NLogViewer which write to instances of Chainsaw log4j viewer - or NLogViewer application respectively. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the network address. - - - The network address can be: -
    -
  • tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
  • -
  • tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
  • -
  • tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
  • -
  • udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • http://host:port/pageName - HTTP using POST verb
  • -
  • https://host:port/pageName - HTTPS using POST verb
  • -
- For SOAP-based webservice support over HTTP use WebService target. -
- -
- - - Gets or sets a value indicating whether to keep connection open whenever possible. - - - - - - Gets or sets a value indicating whether to append newline at the end of log message. - - - - - - Gets or sets the end of line value if a newline is appended at the end of log message . - - - - - - Gets or sets the maximum message size in bytes. - - - - - - Gets or sets the size of the connection cache (number of connections which are kept alive). - - - - - - Gets or sets the maximum current connections. 0 = no maximum. - - - - - - Gets or sets the action that should be taken if the will be more connections than . - - - - - - Gets or sets the maximum queue size. - - - - - - Gets or sets the action that should be taken if the message is larger than - maxMessageSize. - - - - - - Gets or sets the encoding to be used. - - - - - - Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. - - - - - - The number of seconds a connection will remain idle before the first keep-alive probe is sent - - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Sends the - rendered logging event over the network optionally concatenating it with a newline character. - - The logging event. - - - - Try to remove. - - - - - removed something? - - - - Gets the bytes to be written. - - Log event. - Byte array. - - - - The action to be taken when there are more connections then the max. - - - - - Just allow it. - - - - - Discard the connection item. - - - - - Block until there's more room in the queue. - - - - - Action that should be taken if the message overflows. - - - - - Report an error. - - - - - Split the message into smaller pieces. - - - - - Discard the entire message. - - - - - Represents a parameter to a NLogViewer target. - - - - - Initializes a new instance of the class. - - - - - Gets or sets viewer parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - Sends log messages to the remote instance of NLog Viewer. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include stack contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the renderer for log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets the layout renderer which produces Log4j-compatible XML events. - - - - - Gets or sets the instance of that is used to format log messages. - - - - - - Discards log messages. Used mainly for debugging and benchmarking. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets a value indicating whether to perform layout calculation. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Does nothing. Optionally it calculates the layout text but - discards the results. - - The logging event. - - - - Outputs log messages through the OutputDebugString() Win32 API. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - - - - SMTP authentication modes. - - - - - No authentication. - - - - - Basic - username and password. - - - - - NTLM Authentication. - - - - - Represents logging target. - - - - Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts - - - - The Max StackTraceUsage of all the in this Target - - - - - Gets or sets the name of the target. - - - - - - Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers - Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - - - - Can be used if has been enabled. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - This method won't prerender if all layouts in this target are thread-agnostic. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Writes async log event to the log target. - - Async Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Log event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - NOTE! Obsolete, instead override WriteAsyncThreadSafe(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target, in a thread safe manner. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Renders the event info in layout. - - The layout. - The event info. - String representing log event. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Should the exception be rethrown? - - - Upgrade to private protected when using C# 7.2 - - - - Marks class as a logging target and assigns a name to it. - - This attribute is not required when registering the target in the API. - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page). - - - - - Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page). - - - - - Attribute details for - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Gets or sets when an empty value should cause the property to be included - - - - - Gets or sets the type of the property. - - - - - Represents target that supports context capture using MDLC, MDC, NDLC and NDC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets or sets a value indicating whether to include contents of the dictionary - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the - - - - - - Gets the array of custom attributes to be passed into the logevent context - - - - - - Constructor - - - - - - - - Check if logevent has properties (or context properties) - - - True if properties should be included - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Dictionary with any context properties for the logEvent (Null if none found) - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Optional prefilled dictionary - Dictionary with any context properties for the logEvent (Null if none found) - - - - Creates combined dictionary of all configured properties for logEvent - - - Dictionary with all collected properties for logEvent - - - - Creates combined dictionary of all configured properties for logEvent - - - Optional prefilled dictionary - Dictionary with all collected properties for logEvent - - - - Generates a new unique name, when duplicate names are detected - - LogEvent that triggered the duplicate name - Duplicate item name - Item Value - Dictionary of context values - New (unique) value (or null to skip value). If the same value is used then the item will be overwritten - - - - Returns the captured snapshot of for the - - - Dictionary with MDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with MDLC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with GDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDC key - MDC value - Snapshot of MDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDLC key - MDLC value - Snapshot of MDLC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDC value - Snapshot of NDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDLC value - Snapshot of NDLC value - Include object value in snapshot - - - - Take snapshot of a single object value - - Log event - Key Name (null when NDC / NDLC) - Object Value - Snapshot of value - Include object value in snapshot - - - Internal Layout that allows capture of MDC context - - - Internal Layout that allows capture of NDC context - - - Internal Layout that allows capture of MDLC context - - - Internal Layout that allows capture of NDLC context - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the layout used to format log messages. - - - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the text to be rendered. - - - - - - Gets or sets the footer. - - - - - - Gets or sets the header. - - - - - - Gets or sets the layout with header and footer. - - The layout with header and footer. - - - - Sends log messages through System.Diagnostics.Trace. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Always use independent of - - - - - - Forward to (Instead of ) - - - Trace.Fail can have special side-effects, and give fatal exceptions, message dialogs or Environment.FailFast - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Writes the specified logging event to the facility. - - Redirects the log message depending on and . - When is false: - - writes to - - writes to - - writes to - - writes to - - writes to - - writes to - - The logging event. - - - - Web service protocol. - - - - - Use SOAP 1.1 Protocol. - - - - - Use SOAP 1.2 Protocol. - - - - - Use HTTP POST Protocol. - - - - - Use HTTP GET Protocol. - - - - - Do an HTTP POST of a JSON document. - - - - - Do an HTTP POST of an XML document. - - - - - Web Service Proxy Configuration Type - - - - - Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy) - - - Example of how to configure default proxy using app.config - - <system.net> - <defaultProxy enabled = "true" useDefaultCredentials = "true" > - <proxy usesystemdefault = "True" /> - </defaultProxy> - </system.net> - - - - - - Automatic use of proxy with authentication (cached) - - - - - Disables use of proxy (fast) - - - - - Custom proxy address (cached) - - - - - Calls the specified web service on each log message. - - Documentation on NLog Wiki - - The web service must implement a method that accepts a number of string parameters. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

The example web service that works with this example is shown below

- -
-
- - - dictionary that maps a concrete implementation - to a specific -value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target - - - - Gets or sets the web service URL. - - - - - - Gets or sets the value of the User-agent HTTP header. - - - - - - Gets or sets the Web service method name. Only used with Soap. - - - - - - Gets or sets the Web service namespace. Only used with Soap. - - - - - - Gets or sets the protocol to be used when calling web service. - - - - - - Gets or sets the proxy configuration when calling web service - - - - - - Gets or sets the custom proxy address, include port separated by a colon - - - - - - Should we include the BOM (Byte-order-mark) for UTF? Influences the property. - - This will only work for UTF-8. - - - - - - Gets or sets the encoding. - - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Gets or sets the name of the root XML element, - if POST of XML document chosen. - If so, this property must not be null. - (see and ). - - - - - - Gets or sets the (optional) root namespace of the XML document, - if POST of XML document chosen. - (see and ). - - - - - - Gets the array of parameters to be passed. - - - - - - Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters) - - - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Invokes the web service method. - - Parameters to be passed. - The logging event. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. - - - - - - - Write from input to output. Fix the UTF-8 bom - - - - - - - - - base class for POST formatters, that - implement former PrepareRequest() method, - that creates the content for - the requested kind of HTTP request - - - - - Asynchronous request queue. - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Gets or sets the request limit. - - - - - Gets or sets the action to be taken when there's no more room in - the queue and another request is enqueued. - - - - - Notifies about log event that was dropped when set to - - - - - Notifies when queue size is growing over - - - - - Raise event when queued element was dropped because of queue overflow - - Dropped queue item - - - - Raise event when RequestCount overflow - - current requests count - - - - Provides asynchronous, buffered execution of target writes. - - Documentation on NLog Wiki - -

- Asynchronous target wrapper allows the logger code to execute more quickly, by queueing - messages and processing them in a separate thread. You should wrap targets - that spend a non-trivial amount of time in their Write() method with asynchronous - target to speed up logging. -

-

- Because asynchronous logging is quite a common scenario, NLog supports a - shorthand notation for wrapping all targets with AsyncWrapper. Just add async="true" to - the <targets/> element in the configuration file. -

- - - ... your targets go here ... - - ]]> -
- -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of requests in the queue. - The action to be taken when the queue overflows. - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity) - - - - - - Raise event when Target cannot store LogEvent. - Event arg contains lost LogEvents - - - - - Raises when event queue grow. - Queue can grow when was set to - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the limit of full s to write before yielding into - Performance is better when writing many small batches, than writing a single large batch - - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - - Gets the queue of lazy writer thread requests. - - - - - Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target by starting the lazy writer timer. - - - - - Shuts down the lazy writer timer. - - - - - Starts the lazy writer thread which periodically writes - queued log messages. - - - - - Attempts to start an instant timer-worker-thread which can write - queued log messages. - - Returns true when scheduled a timer-worker-thread - - - - Stops the lazy writer thread. - - - - - Adds the log event to asynchronous queue to be processed by - the lazy writer thread. - - The log event. - - The is called - to ensure that the log event can be processed in another thread. - - - - - Write to queue without locking - - - - - - The action to be taken when the queue overflows. - - - - - Grow the queue. - - - - - Discard the overflowing item. - - - - - Block until there's more room in the queue. - - - - - Causes a flush on a wrapped target if LogEvent satisfies the . - If condition isn't set, flushes on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Gets or sets the condition expression. Log events who meet this condition will cause - a flush on the wrapped target. - - - - - - Delay the flush until the LogEvent has been confirmed as written - - If not explicitly set, then disabled by default for and AsyncTaskTarget - - - - - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - The wrapped target. - Name of the target - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes the target. - - - - - Forwards the call to the .Write() - and calls on it if LogEvent satisfies - the flush condition or condition is null. - - Logging event to be written out. - - - - Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - A target that buffers log events and sends them in batches to the wrapped target. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - The action to take when the buffer overflows. - - - - Gets or sets the number of log events to be buffered. - - - - - - Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed - if there's no write in the specified period of time. Use -1 to disable timed flushes. - - - - - - Gets or sets a value indicating whether to use sliding timeout. - - - This value determines how the inactivity period is determined. If sliding timeout is enabled, - the inactivity timer is reset after each write, if it is disabled - inactivity timer will - count from the first event written to the buffer. - - - - - - Gets or sets the action to take if the buffer overflows. - - - Setting to will replace the - oldest event with new events without sending events down to the wrapped target, and - setting to will flush the - entire buffer to the wrapped target. - - - - - - Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target. - - - - - Closes the target by flushing pending events in the buffer (if any). - - - - - Adds the specified log event to the buffer and flushes - the buffer in case the buffer gets full. - - The log event. - - - - The action to be taken when the buffer overflows. - - - - - Flush the content of the buffer. - - - - - Discard the oldest item. - - - - - A base class for targets which wrap other (multiple) targets - and provide various forms of target routing. - - - - - Initializes a new instance of the class. - - The targets. - - - - Gets the collection of targets managed by this compound target. - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Writes logging event to the log target. - - Logging event to be written out. - - - - Flush any pending log messages for all wrapped targets. - - The asynchronous continuation. - - - - Provides fallback-on-error. - - Documentation on NLog Wiki - -

This example causes the messages to be written to server1, - and if it fails, messages go to server2.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Gets or sets a value indicating whether to return to the first target after any successful write. - - - - - - - - - - - - Forwards the log event to the sub-targets until one of them succeeds. - - The log event. - - The method remembers the last-known-successful target - and starts the iteration from it. - If is set, the method - resets the target to the first target - stored in . - - - - - Filtering rule for . - - - - - Initializes a new instance of the FilteringRule class. - - - - - Initializes a new instance of the FilteringRule class. - - Condition to be tested against all events. - Filter to apply to all log events when the first condition matches any of them. - - - - Gets or sets the condition to be tested. - - - - - - Gets or sets the resulting filter to be applied when the condition matches. - - - - - - Filters log entries based on a condition. - - Documentation on NLog Wiki - -

This example causes the messages not contains the string '1' to be ignored.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The condition. - - - - Initializes a new instance of the class. - - The wrapped target. - The condition. - - - - Gets or sets the condition expression. Log events who meet this condition will be forwarded - to the wrapped target. - - - - - - Gets or sets the filter. Log events who evaluates to will be discarded - - - - - - - - - Checks the condition against the passed log event. - If the condition is met, the log event is forwarded to - the wrapped target. - - Log event. - - - - - - - Limits the number of messages written per timespan to the wrapped target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of messages written per interval. - Interval in which the maximum number of messages can be written. - - - - Gets or sets the maximum allowed number of messages written per . - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets or sets the interval in which messages will be written up to the number of messages. - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets the DateTime when the current will be reset. - - - - - - Gets the number of written in the current . - - - - - - Initializes the target and resets the current Interval and . - - - - - Writes log event to the wrapped target if the current is lower than . - If the is already reached, no log event will be written to the wrapped target. - resets when the current is expired. - - Log event to be written out. - - - - Arguments for events. - - - - - - - - Instance of that was dropped by - - - - - Raises by when - queue is full - and set to - By default queue doubles it size. - - - - - Contains items count and new queue size. - - Required queue size - Current queue size - - - - New queue size - - - - - Current requests count - - - - - Logon provider. - - - - - Use the standard logon provider for the system. - - - The default security provider is negotiate, unless you pass NULL for the domain name and the user name - is not in UPN format. In this case, the default provider is NTLM. - NOTE: Windows 2000/NT: The default security provider is NTLM. - - - - - Filters buffered log entries based on a set of conditions that are evaluated on a group of events. - - Documentation on NLog Wiki - - PostFilteringWrapper must be used with some type of buffering target or wrapper, such as - AsyncTargetWrapper, BufferingWrapper or ASPNetBufferingWrapper. - - -

- This example works like this. If there are no Warn,Error or Fatal messages in the buffer - only Info messages are written to the file, but if there are any warnings or errors, - the output includes detailed trace (levels >= Debug). You can plug in a different type - of buffering wrapper (such as ASPNetBufferingWrapper) to achieve different - functionality. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Gets or sets the default filter to be applied when no specific rule matches. - - - - - - Gets the collection of filtering rules. The rules are processed top-down - and the first rule that matches determines the filtering condition to - be applied to log events. - - - - - - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Evaluates all filtering rules to find the first one that matches. - The matching rule determines the filtering condition to be applied - to all items in a buffer. If no condition matches, default filter - is applied to the array of log events. - - Array of log events to be post-filtered. - - - - Evaluate all the rules to get the filtering condition - - - - - - - Sends log messages to a randomly selected target. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt - chosen randomly on a per-message basis. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the log event to one of the sub-targets. - The sub-target is randomly chosen. - - The log event. - - - - Repeats each log event the specified number of times. - - Documentation on NLog Wiki - -

This example causes each log message to be repeated 3 times.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The repeat count. - - - - Initializes a new instance of the class. - - The wrapped target. - The repeat count. - - - - Gets or sets the number of times to repeat each log message. - - - - - - Forwards the log message to the by calling the method times. - - The log event. - - - - Retries in case of write error. - - Documentation on NLog Wiki - -

This example causes each write attempt to be repeated 3 times, - sleeping 1 second between attempts if first one fails.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Initializes a new instance of the class. - - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure. - - - - - - Gets or sets the time to wait between retries in milliseconds. - - - - - - Special SyncObject to allow closing down Target while busy retrying - - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Writes the specified log event to the wrapped target in a thread-safe manner. - - The log event. - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Distributes log events to targets in a round-robin fashion. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt. - Each odd message is written to file2.txt, each even message goes to file1.txt. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Ensures forwarding happens without holding lock - - - - - - Forwards the write to one of the targets from - the collection. - - The log event. - - The writes are routed in a round-robin fashion. - The first log event goes to the first target, the second - one goes to the second target and so on looping to the - first target when there are no more targets available. - In general request N goes to Targets[N % Targets.Count]. - - - - - Impersonation level. - - - - - Anonymous Level. - - - - - Identification Level. - - - - - Impersonation Level. - - - - - Delegation Level. - - - - - Logon type. - - - - - Interactive Logon. - - - This logon type is intended for users who will be interactively using the computer, such as a user being logged on - by a terminal server, remote shell, or similar process. - This logon type has the additional expense of caching logon information for disconnected operations; - therefore, it is inappropriate for some client/server applications, - such as a mail server. - - - - - Network Logon. - - - This logon type is intended for high performance servers to authenticate plaintext passwords. - The LogonUser function does not cache credentials for this logon type. - - - - - Batch Logon. - - - This logon type is intended for batch servers, where processes may be executing on behalf of a user without - their direct intervention. This type is also for higher performance servers that process many plaintext - authentication attempts at a time, such as mail or Web servers. - The LogonUser function does not cache credentials for this logon type. - - - - - Logon as a Service. - - - Indicates a service-type logon. The account provided must have the service privilege enabled. - - - - - Network Clear Text Logon. - - - This logon type preserves the name and password in the authentication package, which allows the server to make - connections to other network servers while impersonating the client. A server can accept plaintext credentials - from a client, call LogonUser, verify that the user can access the system across the network, and still - communicate with other servers. - NOTE: Windows NT: This value is not supported. - - - - - New Network Credentials. - - - This logon type allows the caller to clone its current token and specify new credentials for outbound connections. - The new logon session has the same local identifier but uses different credentials for other network connections. - NOTE: This logon type is supported only by the LOGON32_PROVIDER_WINNT50 logon provider. - NOTE: Windows NT: This value is not supported. - - - - - Writes log events to all targets. - - Documentation on NLog Wiki - -

This example causes the messages to be written to both file1.txt or file2.txt -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the specified log event to all sub-targets. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Base class for targets wrap other (single) targets. - - - - - Gets or sets the target that is wrapped by this target. - - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Current local time retrieved directly from DateTime.Now. - - - - - Gets current local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Current UTC time retrieved directly from DateTime.UtcNow. - - - - - Gets current UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Fast time source that updates current time only once per tick (15.6 milliseconds). - - - - - Gets raw uncached time from derived time source. - - - - - Gets current time cached for one system tick (15.6 milliseconds). - - - - - Fast local time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Fast UTC time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Defines source of current time. - - - - - Gets current time. - - - - - Gets or sets current global time source used in all log events. - - - Default time source is . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to the same form - as time values originated from this source. - - - - There are situations when NLog have to compare the time originated from TimeSource - to the time originated externally in the system. - To be able to provide meaningful result of such comparisons the system time must be expressed in - the same form as TimeSource time. - - - Examples: - - If the TimeSource provides time values of local time, it should also convert the provided - to the local time. - - If the TimeSource shifts or skews its time values, it should also apply - the same transform to the given . - - - - - - Marks class as a time source and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the time source. - -
-
diff --git a/app/packages/NLog.4.7.15/lib/net35/NLog.dll b/app/packages/NLog.4.7.15/lib/net35/NLog.dll deleted file mode 100644 index 9148b34..0000000 Binary files a/app/packages/NLog.4.7.15/lib/net35/NLog.dll and /dev/null differ diff --git a/app/packages/NLog.4.7.15/lib/net35/NLog.xml b/app/packages/NLog.4.7.15/lib/net35/NLog.xml deleted file mode 100644 index c5f41c6..0000000 --- a/app/packages/NLog.4.7.15/lib/net35/NLog.xml +++ /dev/null @@ -1,29304 +0,0 @@ - - - - NLog - - - - - Indicates that the value of the marked element could be null sometimes, - so the check for null is necessary before its usage. - - - [CanBeNull] object Test() => null; - - void UseTest() { - var p = Test(); - var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' - } - - - - - Indicates that the value of the marked element could never be null. - - - [NotNull] object Foo() { - return null; // Warning: Possible 'null' assignment - } - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can never be null. - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can be null. - - - - - Indicates that the marked method builds string by format pattern and (optional) arguments. - Parameter, which contains format string, should be given in constructor. The format string - should be in -like form. - - - [StringFormatMethod("message")] - void ShowError(string message, params object[] args) { /* do something */ } - - void Foo() { - ShowError("Failed: {0}"); // Warning: Non-existing argument in format string - } - - - - - Specifies which parameter of an annotated method should be treated as format-string - - - - - For a parameter that is expected to be one of the limited set of values. - Specify fields of which type should be used as values for this parameter. - - - - - Indicates that the function argument should be string literal and match one - of the parameters of the caller function. For example, ReSharper annotates - the parameter of . - - - void Foo(string param) { - if (param == null) - throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol - } - - - - - Indicates that the method is contained in a type that implements - System.ComponentModel.INotifyPropertyChanged interface and this method - is used to notify that some property value changed. - - - The method should be non-static and conform to one of the supported signatures: - - NotifyChanged(string) - NotifyChanged(params string[]) - NotifyChanged{T}(Expression{Func{T}}) - NotifyChanged{T,U}(Expression{Func{T,U}}) - SetProperty{T}(ref T, T, string) - - - - public class Foo : INotifyPropertyChanged { - public event PropertyChangedEventHandler PropertyChanged; - - [NotifyPropertyChangedInvocator] - protected virtual void NotifyChanged(string propertyName) { ... } - - string _name; - - public string Name { - get { return _name; } - set { _name = value; NotifyChanged("LastName"); /* Warning */ } - } - } - - Examples of generated notifications: - - NotifyChanged("Property") - NotifyChanged(() => Property) - NotifyChanged((VM x) => x.Property) - SetProperty(ref myField, value, "Property") - - - - - - Describes dependency between method input and output. - - -

Function Definition Table syntax:

- - FDT ::= FDTRow [;FDTRow]* - FDTRow ::= Input => Output | Output <= Input - Input ::= ParameterName: Value [, Input]* - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} - Value ::= true | false | null | notnull | canbenull - - If method has single input parameter, it's name could be omitted.
- Using halt (or void/nothing, which is the same) for method output - means that the methods doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute - with rows separated by semicolon. There is no notion of order rows, all rows are checked - for applicability and applied per each program state tracked by R# analysis.
-
- - - [ContractAnnotation("=> halt")] - public void TerminationMethod() - - - [ContractAnnotation("halt <= condition: false")] - public void Assert(bool condition, string text) // regular assertion method - - - [ContractAnnotation("s:null => true")] - public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() - - - // A method that returns null if the parameter is null, - // and not null if the parameter is not null - [ContractAnnotation("null => null; notnull => notnull")] - public object Transform(object data) - - - [ContractAnnotation("=> true, result: notnull; => false, result: null")] - public bool TryParse(string s, out Person result) - - -
- - - Indicates that marked element should be localized or not. - - - [LocalizationRequiredAttribute(true)] - class Foo { - string str = "my string"; // Warning: Localizable string - } - - - - - Indicates that the value of the marked type (or its derivatives) - cannot be compared using '==' or '!=' operators and Equals() - should be used instead. However, using '==' or '!=' for comparison - with null is always permitted. - - - [CannotApplyEqualityOperator] - class NoEquality { } - - class UsesNoEquality { - void Test() { - var ca1 = new NoEquality(); - var ca2 = new NoEquality(); - if (ca1 != null) { // OK - bool condition = ca1 == ca2; // Warning - } - } - } - - - - - When applied to a target attribute, specifies a requirement for any type marked - with the target attribute to implement or inherit specific type or types. - - - [BaseTypeRequired(typeof(IComponent)] // Specify requirement - class ComponentAttribute : Attribute { } - - [Component] // ComponentAttribute requires implementing IComponent interface - class MyComponent : IComponent { } - - - - - Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), - so this symbol will not be marked as unused (as well as by other usage inspections). - - - - - Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes - as unused (as well as by other usage inspections) - - - - Only entity marked with attribute considered used. - - - Indicates implicit assignment to a member. - - - - Indicates implicit instantiation of a type with fixed constructor signature. - That means any unused constructor parameters won't be reported as such. - - - - Indicates implicit instantiation of a type. - - - - Specify what is considered used implicitly when marked - with or . - - - - Members of entity marked with attribute are considered used. - - - Entity marked with attribute and all its members considered used. - - - - This attribute is intended to mark publicly available API - which should not be removed and so is treated as used. - - - - - Tells code analysis engine if the parameter is completely handled when the invoked method is on stack. - If the parameter is a delegate, indicates that delegate is executed while the method is executed. - If the parameter is an enumerable, indicates that it is enumerated while the method is executed. - - - - - Indicates that a method does not make any observable state changes. - The same as System.Diagnostics.Contracts.PureAttribute. - - - [Pure] int Multiply(int x, int y) => x * y; - - void M() { - Multiply(123, 42); // Waring: Return value of pure method is not used - } - - - - - Indicates that the return value of method invocation must be used. - - - - - Indicates the type member or parameter of some type, that should be used instead of all other ways - to get the value that type. This annotation is useful when you have some "context" value evaluated - and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one. - - - class Foo { - [ProvidesContext] IBarService _barService = ...; - - void ProcessNode(INode node) { - DoSomething(node, node.GetGlobalServices().Bar); - // ^ Warning: use value of '_barService' field - } - } - - - - - Indicates that a parameter is a path to a file or a folder within a web project. - Path can be relative or absolute, starting from web root (~). - - - - - An extension method marked with this attribute is processed by ReSharper code completion - as a 'Source Template'. When extension method is completed over some expression, it's source code - is automatically expanded like a template at call site. - - - Template method body can contain valid source code and/or special comments starting with '$'. - Text inside these comments is added as source code when the template is applied. Template parameters - can be used either as additional method parameters or as identifiers wrapped in two '$' signs. - Use the attribute to specify macros for parameters. - - - In this example, the 'forEach' method is a source template available over all values - of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block: - - [SourceTemplate] - public static void forEach<T>(this IEnumerable<T> xs) { - foreach (var x in xs) { - //$ $END$ - } - } - - - - - - Allows specifying a macro for a parameter of a source template. - - - You can apply the attribute on the whole method or on any of its additional parameters. The macro expression - is defined in the property. When applied on a method, the target - template parameter is defined in the property. To apply the macro silently - for the parameter, set the property value = -1. - - - Applying the attribute on a source template method: - - [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] - public static void forEach<T>(this IEnumerable<T> collection) { - foreach (var item in collection) { - //$ $END$ - } - } - - Applying the attribute on a template method parameter: - - [SourceTemplate] - public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { - /*$ var $x$Id = "$newguid$" + x.ToString(); - x.DoSomething($x$Id); */ - } - - - - - - Allows specifying a macro that will be executed for a source template - parameter when the template is expanded. - - - - - Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. - - - If the target parameter is used several times in the template, only one occurrence becomes editable; - other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, - use values >= 0. To make the parameter non-editable when the template is expanded, use -1. - > - - - - Identifies the target parameter of a source template if the - is applied on a template method. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC action. If applied to a method, the MVC action name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC area. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is - an MVC controller. If applied to a method, the MVC controller name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC - partial view. If applied to a method, the MVC partial view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC template. - Use this attribute for custom wrappers similar to - System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component. If applied to a method, the MVC view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Controller.View(Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component name. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component view. If applied to a method, the MVC view component view name is default. - - - - - ASP.NET MVC attribute. When applied to a parameter of an attribute, - indicates that this parameter is an MVC action name. - - - [ActionName("Foo")] - public ActionResult Login(string returnUrl) { - ViewBag.ReturnUrl = Url.Action("Foo"); // OK - return RedirectToAction("Bar"); // Error: Cannot resolve action - } - - - - - Razor attribute. Indicates that a parameter or a method is a Razor section. - Use this attribute for custom wrappers similar to - System.Web.WebPages.WebPageBase.RenderSection(String). - - - - - Indicates how method, constructor invocation or property access - over collection type affects content of the collection. - - - - Method does not use or modify content of the collection. - - - Method only reads content of the collection but does not modify it. - - - Method can change content of the collection but does not add new elements. - - - Method can add new elements to the collection. - - - - Indicates that the marked method is assertion method, i.e. it halts control flow if - one of the conditions is satisfied. To set the condition, mark one of the parameters with - attribute. - - - - - Indicates the condition parameter of the assertion method. The method itself should be - marked by attribute. The mandatory argument of - the attribute is the assertion type. - - - - - Specifies assertion type. If the assertion method argument satisfies the condition, - then the execution continues. Otherwise, execution is assumed to be halted. - - - - Marked parameter should be evaluated to true. - - - Marked parameter should be evaluated to false. - - - Marked parameter should be evaluated to null value. - - - Marked parameter should be evaluated to not null value. - - - - Indicates that the marked method unconditionally terminates control flow execution. - For example, it could unconditionally throw exception. - - - - - Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select, - .Where). This annotation allows inference of [InstantHandle] annotation for parameters - of delegate type by analyzing LINQ method chains. - - - - - Indicates that IEnumerable, passed as parameter, is not enumerated. - - - - - Indicates that parameter is regular expression pattern. - - - - - Prevents the Member Reordering feature from tossing members of the marked class. - - - The attribute must be mentioned in your member reordering patterns - - - - - XAML attribute. Indicates the type that has ItemsSource property and should be treated - as ItemsControl-derived type, to enable inner items DataContext type resolve. - - - - - XAML attribute. Indicates the property of some BindingBase-derived type, that - is used to bind some item of ItemsControl-derived type. This annotation will - enable the DataContext type resolve for XAML bindings for such properties. - - - Property should have the tree ancestor of the ItemsControl type or - marked with the attribute. - - - - - Support implementation of - - - - - - - - - - - - - - - - - Asynchronous continuation delegate - function invoked at the end of asynchronous - processing. - - Exception during asynchronous processing or null if no exception - was thrown. - - - - Helpers for asynchronous operations. - - - - - Iterates over all items in the given collection and runs the specified action - in sequence (each action executes only after the preceding one has completed without an error). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end. - - The repeat count. - The asynchronous continuation to invoke at the end. - The action to invoke. - - - - Modifies the continuation by pre-pending given action to execute just before it. - - The async continuation. - The action to pre-pend. - Continuation which will execute the given action before forwarding to the actual continuation. - - - - Attaches a timeout to a continuation which will invoke the continuation when the specified - timeout has elapsed. - - The asynchronous continuation. - The timeout. - Wrapped continuation. - - - - Iterates over all items in the given collection and runs the specified action - in parallel (each action executes on a thread from thread pool). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Runs the specified asynchronous action synchronously (blocks until the continuation has - been invoked). - - The action. - - Using this method is not recommended because it will block the calling thread. - - - - - Wraps the continuation with a guard which will only make sure that the continuation function - is invoked only once. - - The asynchronous continuation. - Wrapped asynchronous continuation. - - - - Gets the combined exception from all exceptions in the list. - - The exceptions. - Combined exception or null if no exception was thrown. - - - - Disposes the Timer, and waits for it to leave the Timer-callback-method - - The Timer object to dispose - Timeout to wait (TimeSpan.Zero means dispose without waiting) - Timer disposed within timeout (true/false) - - - - Asynchronous action. - - Continuation to be invoked at the end of action. - - - - Asynchronous action with one argument. - - Type of the argument. - Argument to the action. - Continuation to be invoked at the end of action. - - - - Represents the logging event with asynchronous continuation. - - - - - Initializes a new instance of the struct. - - The log event. - The continuation. - - - - Gets the log event. - - - - - Gets the continuation. - - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - A value of true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - String Conversion Helpers - - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - Output value - Default value - Returns false if the input value could not be parsed - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - The type of the enum - Output value. Null if parse failed - - - - Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded. - - The enumeration type to which to convert value. - The string representation of the enumeration name or underlying value to convert. - true to ignore case; false to consider case. - When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized. - true if the value parameter was converted successfully; otherwise, false. - Wrapper because Enum.TryParse is not present in .net 3.5 - - - - Enum.TryParse implementation for .net 3.5 - - - - Don't uses reflection - - - - Enables to extract extra context details for - - - - - Name of context - - - - - The current LogFactory next to LogManager - - - - - NLog internal logger. - - Writes to file, console or custom text writer (see ) - - - Don't use as that can lead to recursive calls - stackoverflow - - - - - Gets a value indicating whether internal log includes Trace messages. - - - - - Gets a value indicating whether internal log includes Debug messages. - - - - - Gets a value indicating whether internal log includes Info messages. - - - - - Gets a value indicating whether internal log includes Warn messages. - - - - - Gets a value indicating whether internal log includes Error messages. - - - - - Gets a value indicating whether internal log includes Fatal messages. - - - - - Logs the specified message without an at the Trace level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - Log message. - - - - Logs the specified message without an at the Trace level. - will be only called when logging is enabled for level Trace. - - Function that returns the log message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Trace level. - will be only called when logging is enabled for level Trace. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Debug level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Debug level. - - Log message. - - - - Logs the specified message without an at the Debug level. - will be only called when logging is enabled for level Debug. - - Function that returns the log message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Debug level. - will be only called when logging is enabled for level Debug. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Info level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Info level. - - Log message. - - - - Logs the specified message without an at the Info level. - will be only called when logging is enabled for level Info. - - Function that returns the log message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Info level. - will be only called when logging is enabled for level Info. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Warn level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Warn level. - - Log message. - - - - Logs the specified message without an at the Warn level. - will be only called when logging is enabled for level Warn. - - Function that returns the log message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Warn level. - will be only called when logging is enabled for level Warn. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Error level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Error level. - - Log message. - - - - Logs the specified message without an at the Error level. - will be only called when logging is enabled for level Error. - - Function that returns the log message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Error level. - will be only called when logging is enabled for level Error. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Fatal level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Fatal level. - - Log message. - - - - Logs the specified message without an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Function that returns the log message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Exception to be logged. - Function that returns the log message. - - - - Initializes static members of the InternalLogger class. - - - - - Set the config of the InternalLogger with defaults and config. - - - - - Gets or sets the minimal internal log level. - - If set to , then messages of the levels , and will be written. - - - - Gets or sets a value indicating whether internal messages should be written to the console output stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the console error stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the .Trace - - - - - Gets or sets the file path of the internal log file. - - A value of value disables internal logging to a file. - - - - Gets or sets the text writer that will receive internal logs. - - - - - Event written to the internal log. - Please note that the event is not triggered when then event hasn't the minimal log level set by - - - - - Gets or sets a value indicating whether timestamp should be included in internal log output. - - - - - Is there an thrown when writing the message? - - - - - Logs the specified message without an at the specified level. - - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the specified level. - - Log level. - Log message. - - - - Logs the specified message without an at the specified level. - will be only called when logging is enabled for level . - - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - will be only called when logging is enabled for level . - - Exception to be logged. - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Log message. - - - - Write to internallogger. - - optional exception to be logged. - level - message - optional args for - - - - Create log line with timestamp, exception message etc (if configured) - - - - - Determine if logging should be avoided because of exception type. - - The exception to check. - true if logging should be avoided; otherwise, false. - - - - Determine if logging is enabled for given LogLevel - - The for the log event. - true if logging is enabled; otherwise, false. - - - - Determine if logging is enabled. - - true if logging is enabled; otherwise, false. - - - - Write internal messages to the log file defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged only when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - A message to write. - - Works when property set to true. - The is used in Debug and Release configuration. - The works only in Debug configuration and this is reason why is replaced by . - in DEBUG - - - - - Logs the assembly version and file version of the given Assembly. - - The assembly to log. - - - - A message has been written to the internal logger - - - - - The rendered message - - - - - The log level - - - - - The exception. Could be null. - - - - - The type that triggered this internal log event, for example the FileTarget. - This property is not always populated. - - - - - The context name that triggered this internal log event, for example the name of the Target. - This property is not always populated. - - - - - - - - A cyclic buffer of object. - - - - - Initializes a new instance of the class. - - Buffer size. - Whether buffer should grow as it becomes full. - The maximum number of items that the buffer can grow to. - - - - Gets the capacity of the buffer - - - - - Gets the number of items in the buffer - - - - - Adds the specified log event to the buffer. - - Log event. - The number of items in the buffer. - - - - Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation. - - Events in the buffer. - - - - Condition and expression. - - - - - Initializes a new instance of the class. - - Left hand side of the AND expression. - Right hand side of the AND expression. - - - - Gets the left hand side of the AND expression. - - - - - Gets the right hand side of the AND expression. - - - - - Returns a string representation of this expression. - - A concatenated '(Left) and (Right)' string. - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the conjunction operator. - - - - Exception during evaluation of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Base class for representing nodes in condition expression trees. - - - - - Converts condition text to a condition expression tree. - - Condition text to be converted. - Condition expression tree. - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition layout expression (represented by a string literal - with embedded ${}). - - - - - Initializes a new instance of the class. - - The layout. - - - - Gets the layout. - - The layout. - - - - Returns a string representation of this expression. - - String literal in single quotes. - - - - Evaluates the expression by calculating the value - of the layout in the specified evaluation context. - - Evaluation context. - The value of the layout. - - - - Condition level expression (represented by the level keyword). - - - - - Returns a string representation of the expression. - - The 'level' string. - - - - Evaluates to the current log level. - - Evaluation context. Ignored. - The object representing current log level. - - - - Condition literal expression (numeric, LogLevel.XXX, true or false). - - - - - Initializes a new instance of the class. - - Literal value. - ToString value. - - - - Gets the literal value. - - The literal value. - - - - Returns a string representation of the expression. - - The literal value. - - - - Evaluates the expression. - - Evaluation context. - The literal value as passed in the constructor. - - - - Condition logger name expression (represented by the logger keyword). - - - - - Returns a string representation of this expression. - - A logger string. - - - - Evaluates to the logger name. - - Evaluation context. - The logger name. - - - - Condition message expression (represented by the message keyword). - - - - - Returns a string representation of this expression. - - The 'message' string. - - - - Evaluates to the logger message. - - Evaluation context. - The logger message. - - - - Marks class as a log event Condition and assigns a name to it. - - - - - Initializes a new instance of the class. - - Condition method name. - - - - Condition method invocation expression (represented by method(p1,p2,p3) syntax). - - - - - Initializes a new instance of the class. - - Name of the condition method. - of the condition method. - Precompiled delegate of the condition method. - The method parameters. - - - - Gets the method info. - - - - - Gets the method parameters - - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - A bunch of utility methods (mostly predicates) which can be used in - condition expressions. Partially inspired by XPath 1.0. - - - - - Compares two values for equality. - - The first value. - The second value. - true when two objects are equal, false otherwise. - - - - Compares two strings for equality. - - The first string. - The second string. - Optional. If true, case is ignored; if false (default), case is significant. - true when two strings are equal, false otherwise. - - - - Gets or sets a value indicating whether the second string is a substring of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a substring of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a prefix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a suffix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Returns the length of a string. - - A string whose lengths is to be evaluated. - The length of the string. - - - - Indicates whether the specified regular expression finds a match in the specified input string. - - The string to search for a match. - The regular expression pattern to match. - A string consisting of the desired options for the test. The possible values are those of the separated by commas. - true if the regular expression finds a match; otherwise, false. - - - - - - - - - - - Marks the class as containing condition methods. - - - - - Condition not expression. - - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression to be negated. - - The expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition or expression. - - - - - Initializes a new instance of the class. - - Left hand side of the OR expression. - Right hand side of the OR expression. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the alternative operator. - - - - Exception during parsing of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Condition parser. Turns a string representation of condition expression - into an expression tree. - - - - - Initializes a new instance of the class. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - Instance of used to resolve references to condition methods and layout renderers. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - - Try stringed keyword to - - - - success? - - - - Parse number - - negative number? minus should be parsed first. - - - - - Condition relational (==, !=, <, <=, - > or >=) expression. - - - - - Initializes a new instance of the class. - - The left expression. - The right expression. - The relational operator. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Gets the relational operator. - - The operator. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Compares the specified values using specified relational operator. - - The first value. - The second value. - The relational operator. - Result of the given relational operator. - - - - Promote values to the type needed for the comparision, e.g. parse a string to int. - - - - - - - Promotes to type - - - - success? - - - - Try to promote both values. First try to promote to , - when failed, try to . - - - - - - Get the order for the type for comparision. - - - index, 0 to max int. Lower is first - - - - Dictionary from type to index. Lower index should be tested first. - - - - - Build the dictionary needed for the order of the types. - - - - - - Get the string representing the current - - - - - - Relational operators used in conditions. - - - - - Equality (==). - - - - - Inequality (!=). - - - - - Less than (<). - - - - - Greater than (>). - - - - - Less than or equal (<=). - - - - - Greater than or equal (>=). - - - - - Hand-written tokenizer for conditions. - - - - - Initializes a new instance of the class. - - The string reader. - - - - Gets the type of the token. - - The type of the token. - - - - Gets the token value. - - The token value. - - - - Gets the value of a string token. - - The string token value. - - - - Asserts current token type and advances to the next token. - - Expected token type. - If token type doesn't match, an exception is thrown. - - - - Asserts that current token is a keyword and returns its value and advances to the next token. - - Keyword value. - - - - Gets or sets a value indicating whether current keyword is equal to the specified value. - - The keyword. - - A value of true if current keyword is equal to the specified value; otherwise, false. - - - - - Gets or sets a value indicating whether the tokenizer has reached the end of the token stream. - - - A value of true if the tokenizer has reached the end of the token stream; otherwise, false. - - - - - Gets or sets a value indicating whether current token is a number. - - - A value of true if current token is a number; otherwise, false. - - - - - Gets or sets a value indicating whether the specified token is of specified type. - - The token type. - - A value of true if current token is of specified type; otherwise, false. - - - - - Gets the next token and sets and properties. - - - - - Try the comparison tokens (greater, smaller, greater-equals, smaller-equals) - - current char - is match - - - - Try the logical tokens (and, or, not, equals) - - current char - is match - - - - Mapping between characters and token types for punctuations. - - - - - Initializes a new instance of the CharToTokenType struct. - - The character. - Type of the token. - - - - Token types for condition expressions. - - - - - Marks the class or a member as advanced. Advanced classes and members are hidden by - default in generated documentation. - - - - - Initializes a new instance of the class. - - - - - Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain. - - - A layout(renderer) could be converted to a literal when: - - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput] - - Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout. - - - - - Used to mark configurable parameters which are arrays. - Specifies the mapping between XML elements and .NET types. - - - - - Initializes a new instance of the class. - - The type of the array item. - The XML element name that represents the item. - - - - Gets the .NET type of the array item. - - - - - Gets the XML element name. - - - - - An assembly is trying to load. - - - - - New event args - - - - - - The assembly that is trying to load. - - - - - NLog configuration section handler class for configuring NLog from App.config. - - - - - Creates a configuration section handler. - - Parent object. - Configuration context object. - Section XML node. - The created section handler object. - - - - Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. - - Type of the item. - Created object of the specified type. - - - - Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. - - Everything of an assembly could be loaded by - - - - - Called before the assembly will be loaded. - - - - - Initializes a new instance of the class. - - The assemblies to scan for named items. - - - - Gets or sets default singleton instance of . - - - This property implements lazy instantiation so that the is not built before - the internal logger is configured. - - - - - Gets or sets the creator delegate used to instantiate configuration objects. - - - By overriding this property, one can enable dependency injection or interception for created objects. - - - - - Gets the factory. - - The target factory. - - - - Gets the factory. - - The filter factory. - - - - gets the factory - - not using due to backwards-compatibility. - - - - - Gets the factory. - - The layout renderer factory. - - - - Gets the factory. - - The layout factory. - - - - Gets the ambient property factory. - - The ambient property factory. - - - - Legacy interface, no longer used by the NLog engine - - - - - Gets or sets the JSON serializer to use with or - - - - - Gets or sets the string serializer to use with - - - - - Gets or sets the custom object-type transformation for use in , or - - - - - Gets or sets the parameter converter to use with , or - - - - - Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect) - - - - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering. - - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with ) - - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging) - - - - - Gets the time source factory. - - The time source factory. - - - - Gets the condition method factory. - - The condition method factory. - - - - Gets the condition method factory (precompiled) - - The condition method factory. - - - - Registers named items from the assembly. - - The assembly. - - - - Registers named items from the assembly. - - The assembly. - Item name prefix. - - - - Call Preload for NLogPackageLoader - - - Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) - This method will be called just before registering all items in the assembly. - - - - - - Call the Preload method for . The Preload method must be static. - - - - - - Clears the contents of all factories. - - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Builds the default configuration item factory. - - Default factory. - - - - Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. - - - - - Attribute used to mark the default parameters for layout renderers. - - - - - Initializes a new instance of the class. - - - - - Dynamic filtering with a positive list of enabled levels - - - - - Dynamic filtering with a minlevel and maxlevel range - - - - - Format of the exception output to the specific target. - - - - - Appends the Message of an Exception to the specified target. - - - - - Appends the type of an Exception to the specified target. - - - - - Appends the short type of an Exception to the specified target. - - - - - Appends the result of calling ToString() on an Exception to the specified target. - - - - - Appends the method name from Exception's stack trace to the specified target. - - - - - Appends the stack trace from an Exception to the specified target. - - - - - Appends the contents of an Exception's Data property to the specified target. - - - - - Destructure the exception (usually into JSON) - - - - - Appends the from the application or the object that caused the error. - - - - - Appends the from the application or the object that caused the error. - - - - - Appends any additional properties that specific type of Exception might have. - - - - - Factory for class-based items. - - The base type of each item. - The type of the attribute used to annotate items. - - - - Scans the assembly. - - The types to scan. - The prefix. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Registers the item based on a type name. - - Name of the item. - Name of the type. - - - - Clears the contents of the factory. - - - - - Registers a single type definition. - - The item name. - The type of the item. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Creates an item instance. - - The name of the item. - Created item. - - - - Factory specialized for s. - - - - - Clear all func layouts - - - - - Register a layout renderer with a callback function. - - Name of the layoutrenderer, without ${}. - the renderer that renders the value. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.). - - - - - Implemented by objects which support installation and uninstallation. - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Interface for accessing configuration details - - - - - Name of the config section - - - - - Configuration Key/Value Pairs - - - - - Child config sections - - - - - Interface for loading NLog - - - - - Finds and loads the NLog configuration - - LogFactory that owns the NLog configuration - Name of NLog.config file (optional) - NLog configuration (or null if none found) - - - - Notifies when LoggingConfiguration has been successfully applied - - LogFactory that owns the NLog configuration - NLog Config - - - - Get file paths (including filename) for the possible NLog config files. - - Name of NLog.config file (optional) - The file paths to the possible config file - - - - Level enabled flags for each LogLevel ordinal - - - - - Converts the filter into a simple - - - - - Represents a factory of named items (such as targets, layouts, layout renderers, etc.). - - Base type for each item instance. - Item definition type (typically or ). - - - - Registers new item definition. - - Name of the item. - Item definition. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Creates item instance. - - Name of the item. - Newly created item instance. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides context for install/uninstall operations. - - - - - Mapping between log levels and console output colors. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log output. - - - - Gets or sets the installation log level. - - - - - Gets or sets a value indicating whether to ignore failures during installation. - - - - - Whether installation exceptions should be rethrown. If IgnoreFailures is set to true, - this property has no effect (there are no exceptions to rethrow). - - - - - Gets the installation parameters. - - - - - Gets or sets the log output. - - - - - Logs the specified trace message. - - The message. - The arguments. - - - - Logs the specified debug message. - - The message. - The arguments. - - - - Logs the specified informational message. - - The message. - The arguments. - - - - Logs the specified warning message. - - The message. - The arguments. - - - - Logs the specified error message. - - The message. - The arguments. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Creates the log event which can be used to render layouts during installation/uninstallations. - - Log event info object. - - - - Convert object-value into specified type - - - - - Parses the input value and converts into the wanted type - - Input Value - Wanted Type - Format to use when parsing - Culture to use when parsing - Output value with wanted type - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for extension loading - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for enabling NLog - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - LoggingConfiguration being built - - - - - Interface for fluent setup of LogFactory options for logevent serialization - - - - - LogFactory under configuration - - - - - Encapsulates and the logic to match the actual logger name - All subclasses defines immutable objects. - Concrete subclasses defines various matching rules through - - - - - Creates a concrete based on . - - - Rules used to select the concrete implementation returned: - - if is null => returns (never matches) - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals) - if == '*' => returns (always matches) - if doesn't contain '?' - - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns - - - returns - - - - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - A concrete - - - - Returns the argument passed to - - - - - Checks whether given name matches the logger name pattern. - - String to be matched. - A value of when the name matches, otherwise. - - - - Defines a that never matches. - Used when pattern is null - - - - - Defines a that always matches. - Used when pattern is '*' - - - - - Defines a that matches with a case-sensitive Equals - Used when pattern is a string without wildcards '?' '*' - - - - - Defines a that matches with a case-sensitive StartsWith - Used when pattern is a string like "*foobar" - - - - - Defines a that matches with a case-sensitive EndsWith - Used when pattern is a string like "foobar*" - - - - - Defines a that matches with a case-sensitive Contains - Used when pattern is a string like "*foobar*" - - - - - Defines a that matches with a complex wildcards combinations: - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - used when pattern is a string containing any number of '?' or '*' in any position - i.e. "*Server[*].Connection[?]" - - - - - Keeps logging configuration and provides simple API to modify it. - - This class is thread-safe..ToList() is used for that purpose. - - - - Variables defined in xml or in API. name is case case insensitive. - - - - - Gets the factory that will be configured - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. - - - - Gets the variables defined in the configuration. - - - - - Gets a collection of named targets specified in the configuration. - - - A list of named targets. - - - Unnamed targets (such as those wrapped by other targets) are not returned. - - - - - Gets the collection of file names which should be watched for changes by NLog. - - - - - Gets the collection of logging rules. - - - - - Gets or sets the default culture info to use as . - - - Specific culture info or null to use - - - - - Gets all targets. - - - - - Compare objects based on their name. - - This property is use to cache the comparer object. - - - - Defines methods to support the comparison of objects for equality based on their name. - - - - - Registers the specified target object. The name of the target is read from . - - - The target object with a non - - when is - - - - Registers the specified target object under a given name. - - Name of the target. - The target object. - when is - when is - - - - Finds the target with the specified name. - - - The name of the target to be found. - - - Found target or when the target is not found. - - - - - Finds the target with the specified name and specified type. - - - The name of the target to be found. - - Type of the target - - Found target or when the target is not found of not of type - - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for all loglevels. - - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Finds the logging rule with the specified name. - - The name of the logging rule to be found. - Found logging rule or when not found. - - - - Removes the specified named logging rule. - - The name of the logging rule to be removed. - Found one or more logging rule to remove, or when not found. - - - - Called by LogManager when one of the log configuration files changes. - - - A new instance of that represents the updated configuration. - - - - - Removes the specified named target. - - Name of the target. - - - - Installs target-specific objects on current system. - - The installation context. - - Installation typically runs with administrative permissions. - - - - - Uninstalls target-specific objects from current system. - - The installation context. - - Uninstallation typically runs with administrative permissions. - - - - - Closes all targets and releases any unmanaged resources. - - - - - Log to the internal (NLog) logger the information about the and associated with this instance. - - - The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is - recorded. - - - - - Validates the configuration. - - - - - Copies all variables from provided dictionary into current configuration variables. - - Master variables dictionary - - - - Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage. - - - - - - - Checks whether unused targets exist. If found any, just write an internal log at Warn level. - If initializing not started or failed, then checking process will be canceled - - - - - - - - Arguments for events. - - - - - Initializes a new instance of the class. - - The new configuration. - The old configuration. - - - - Gets the old configuration. - - The old configuration. - - - - Gets the new configuration. - - The new configuration. - - - - Gets the new configuration - - The new configuration. - - - - Gets the old configuration - - The old configuration. - - - - Gets the optional boolean attribute value. - - - Name of the attribute. - Default value to return if the attribute is not found or if there is a parse error - Boolean attribute value or default. - - - - Remove the namespace (before :) - - - x:a, will be a - - - - - - - Enables loading of NLog configuration from a file - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Loads NLog configuration from - - - - - Constructor - - - - - - Loads NLog configuration from provided config section - - - - - - - Builds list with unique keys, using last value of duplicates. High priority keys placed first. - - - - - - - Parse loglevel, but don't throw if exception throwing is disabled - - Name of attribute for logging. - Value of parse. - Used if there is an exception - - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Parse {Rules} xml element - - - Rules are added to this parameter. - - - - Parse {Logger} xml element - - - - - - Parse boolean - - Name of the property for logging. - value to parse - Default value to return if the parse failed - Boolean attribute value or default. - - - - Arguments for . - - - - - Initializes a new instance of the class. - - Whether configuration reload has succeeded. - - - - Initializes a new instance of the class. - - Whether configuration reload has succeeded. - The exception during configuration reload. - - - - Gets a value indicating whether configuration reload has succeeded. - - A value of true if succeeded; otherwise, false. - - - - Gets the exception which occurred during configuration reload. - - The exception. - - - - Enables FileWatcher for the currently loaded NLog Configuration File, - and supports automatic reload on file modification. - - - - - Represents a logging rule. An equivalent of <logger /> configuration element. - - - - - Create an empty . - - - - - Create an empty . - - - - - Create a new with a and which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a new with a which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a (disabled) . You should call or to enable logging. - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Target to be written to when the rule matches. - - - - Rule identifier to allow rule lookup - - - - - Gets a collection of targets that should be written to when this rule matches. - - - - - Gets a collection of child rules to be evaluated when this rule matches. - - - - - Gets a collection of filters to be checked before writing to targets. - - - - - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - - Gets or sets logger name pattern. - - - Logger name pattern used by to check if a logger name matches this rule. - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - - - - Gets the collection of log levels enabled by this rule. - - - - - Default action if none of the filters match - - - - - Enables logging for a particular level. - - Level to be enabled. - - - - Enables logging for a particular levels between (included) and . - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Disables logging for a particular level. - - Level to be disabled. - - - - Disables logging for particular levels between (included) and . - - Minimum log level to be disables. - Maximum log level to de disabled. - - - - Enables logging the levels between (included) and . All the other levels will be disabled. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Returns a string representation of . Used for debugging. - - - A that represents the current . - - - - - Checks whether te particular log level is enabled for this rule. - - Level to be checked. - A value of when the log level is enabled, otherwise. - - - - Checks whether given name matches the . - - String to be matched. - A value of when the name matches, otherwise. - - - - Default filtering with static level config - - - - - Factory for locating methods. - - - - - Initializes a new instance of the class. - - Helper method to extract relevant methods from type - - - - Scans the assembly for classes marked with expected class - and methods marked with expected and adds them - to the factory. - - The types to scan. - The prefix to use for names. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Scans a type for relevant methods with their symbolic names - - Include types that are marked with this attribute - Include methods that are marked with this attribute - Class Type to scan - Collection of methods with their symbolic names - - - - Clears contents of the factory. - - - - - Registers the definition of a single method. - - The method name. - The method info. - - - - Registers the definition of a single method. - - The method name. - The method info. - The precompiled method delegate. - - - - Tries to retrieve method by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Tries to retrieve method-delegate by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Retrieves method by name. - - Method name. - MethodInfo object. - - - - Retrieves method by name. - - Method name. - Method delegate object. - - - - Tries to get method definition. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Marks the layout or layout renderer depends on mutable objects from the LogEvent - - This can be or - - - - - Attaches a simple name to an item (such as , - , , etc.). - - - - - Initializes a new instance of the class. - - The name of the item. - - - - Gets the name of the item. - - The name of the item. - - - - Indicates NLog should not scan this property during configuration. - - - - - Initializes a new instance of the class. - - - - - Marks the object as configuration item for NLog. - - - - - Initializes a new instance of the class. - - - - - Represents simple XML element with case-insensitive attribute semantics. - - - - - Initializes a new instance of the class. - - The reader to initialize element from. - - - - Prevents a default instance of the class from being created. - - - - - Gets the element name. - - - - - Gets the dictionary of attribute values. - - - - - Gets the collection of child elements. - - - - - Gets the value of the element. - - - - - Last error occured during configuration read - - - - - Returns children elements with the specified element name. - - Name of the element. - Children elements with the specified element name. - - - - Asserts that the name of the element is among specified element names. - - The allowed names. - - - - Returns all parsing errors from current and all child elements. - - - - - Special attribute we could ignore - - - - - Default implementation of - - - - - - - - Attribute used to mark the required parameters for targets, - layout targets and filters. - - - - - Provides simple programmatic configuration API used for trivial logging cases. - - Warning, these methods will overwrite the current config. - - - - - Configures NLog for console logging so that all messages above and including - the level are output to the console. - - - - - Configures NLog for console logging so that all messages above and including - the specified level are output to the console. - - The minimal logging level. - - - - Configures NLog for to log to the specified target so that all messages - above and including the level are output. - - The target to log all messages to. - - - - Configures NLog for to log to the specified target so that all messages - above and including the specified level are output. - - The target to log all messages to. - The minimal logging level. - - - - Configures NLog for file logging so that all messages above and including - the level are written to the specified file. - - Log file name. - - - - Configures NLog for file logging so that all messages above and including - the specified level are written to the specified file. - - Log file name. - The minimal logging level. - - - - Value indicating how stack trace should be captured when processing the log event. - - - - - Stack trace should not be captured. - - - - - Stack trace should be captured without source-level information. - - - - - Stack trace should be captured including source-level information such as line numbers. - - - - - Capture maximum amount of the stack trace information supported on the platform. - - - - - Marks the layout or layout renderer as thread independent - it producing correct results - regardless of the thread it's running on. - - Without this attribute everything is rendered on the main thread. - - - If this attribute is set on a layout, it could be rendered on the another thread. - This could be more efficient as it's skipped when not needed. - - If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - - See the AsyncTargetWrapper and BufferTargetWrapper with the , using - - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - - - - - Marks the layout or layout renderer as thread safe - it producing correct results - regardless of the number of threads it's running on. - - Without this attribute then the target concurrency will be reduced - - - - - A class for configuring NLog through an XML configuration file - (App.config style or App.nlog style). - - Parsing of the XML file is also implemented in this class. - - - - This class is thread-safe..ToList() is used for that purpose. - - Update TemplateXSD.xml for changes outside targets - - - - - Initializes a new instance of the class. - - Configuration file to be read. - - - - Initializes a new instance of the class. - - Configuration file to be read. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - XML reader to read from. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - The XML contents. - Name of the XML file. - The to which to apply any applicable configuration values. - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - NLog LogFactory - - - - Gets the default object by parsing - the application configuration file (app.exe.config). - - - - - Did the Succeeded? true= success, false= error, null = initialize not started yet. - - - - - Gets or sets a value indicating whether all of the configuration files - should be watched for changes and reloaded automatically when changed. - - - - - Gets the collection of file names which should be watched for changes by NLog. - This is the list of configuration files processed. - If the autoReload attribute is not set it returns empty collection. - - - - - Re-reads the original configuration file and returns the new object. - - The new object. - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Create XML reader for (xml config) file. - - filepath - reader or null if filename is empty. - - - - Initializes the configuration. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Checks whether any error during XML configuration parsing has occured. - If there are any and ThrowConfigExceptions or ThrowExceptions - setting is enabled - throws NLogConfigurationException, otherwise - just write an internal log at Warn level. - - Root NLog configuration xml element - - - - Add a file with configuration. Check if not already included. - - - - - - - Parse the root - - - path to config file. - The default value for the autoReload option. - - - - Parse {configuration} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parse {NLog} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Include (multiple) files by filemask, e.g. *.nlog - - base directory in case if is relative - relative or absolute fileMask - - - - - - - - Matches when the specified condition is met. - - - Conditions are expressed using a simple language - described here. - - - - - Gets or sets the condition expression. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - An abstract filter class. Provides a way to eliminate log messages - based on properties other than logger name and log level. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the action to be taken when filter matches. - - - - - - Gets the result of evaluating filter against given log event. - - The log event. - Filter result. - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Marks class as a layout renderer and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the filter. - - - - Filter result. - - - - - The filter doesn't want to decide whether to log or discard the message. - - - - - The message should be logged. - - - - - The message should not be logged. - - - - - The message should be logged and processing should be finished. - - - - - The message should not be logged and processing should be finished. - - - - - A base class for filters that are based on comparing a value to a layout. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the layout to be used to filter log messages. - - The layout. - - - - - Matches when the calculated layout contains the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets the substring to be matched. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets a string to compare the layout to. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches the provided filter-method - - - - - Initializes a new instance of the class. - - - - - - - - Matches when the calculated layout does NOT contain the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets the substring to be matched. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is NOT equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a string to compare the layout to. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the result of the calculated layout has been repeated a moment ago - - - - - How long before a filter expires, and logging is accepted again - - - - - - Max length of filter values, will truncate if above limit - - - - - - Applies the configured action to the initial logevent that starts the timeout period. - Used to configure that it should ignore all events until timeout. - - - - - - Max number of unique filter values to expect simultaneously - - - - - - Default number of unique filter values to expect, will automatically increase if needed - - - - - - Insert FilterCount value into when an event is no longer filtered - - - - - - Append FilterCount to the when an event is no longer filtered - - - - - - Reuse internal buffers, and doesn't have to constantly allocate new buffers - - - - - - Default buffer size for the internal buffers - - - - - - Can be used if has been enabled. - - - - - Initializes a new instance of the class. - - - - - Checks whether log event should be logged or not. In case the LogEvent has just been repeated. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Uses object pooling, and prunes stale filter items when the pool runs dry - - - - - Remove stale filter-value from the cache, and fill them into the pool for reuse - - - - - Renders the Log Event into a filter value, that is used for checking if just repeated - - - - - Repeated LogEvent detected. Checks if it should activate filter-action - - - - - Filter Value State (mutable) - - - - - Filter Lookup Key (immutable) - - - - - A fluent class to build log events for NLog. - - - - - Initializes a new instance of the class. - - The to send the log event. - - - - Initializes a new instance of the class. - - The to send the log event. - The for the log event. - - - - Gets the created by the builder. - - - - - Sets the information of the logging event. - - The exception information of the logging event. - current for chaining calls. - - - - Sets the level of the logging event. - - The level of the logging event. - current for chaining calls. - - - - Sets the logger name of the logging event. - - The logger name of the logging event. - current for chaining calls. - - - - Sets the log message on the logging event. - - The log message for the logging event. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - The fourth object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - An object that supplies culture-specific formatting information. - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets a per-event context property on the logging event. - - The name of the context property. - The value of the context property. - current for chaining calls. - - - - Sets multiple per-event context properties on the logging event. - - The properties to set. - current for chaining calls. - - - - Sets the timestamp of the logging event. - - The timestamp of the logging event. - current for chaining calls. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - current for chaining calls. - - - - Writes the log event to the underlying logger. - - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Extension methods for NLog . - - - - - Starts building a log event with the specified . - - The logger to write the log event to. - The log level. - current for chaining calls. - - - - Starts building a log event at the Trace level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Debug level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Info level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Warn level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Error level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Fatal level. - - The logger to write the log event to. - current for chaining calls. - - - - Global Diagnostics Context - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Global Diagnostics Context - a dictionary structure to hold per-application-instance values. - - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The item value, if defined; otherwise null. - - - - Returns all item names - - A collection of the names of all items in the Global Diagnostics Context. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Include context properties - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Interface for serialization of object values into JSON format - - - - - Serialization of an object into JSON format. - - The object to serialize to JSON. - Output destination. - Serialize succeeded (true/false) - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format.s - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Logger with only generic methods (passing 'LogLevel' to methods) and core properties. - - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Extensions for NLog . - - - - - Writes the diagnostic message and exception at the specified level. - - A logger implementation that will handle the message. - The log level. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Allocates new builder and appends to the provided target builder on dispose - - - - - Access the new builder allocated - - - - - Helpers for . - - - - - Load from url - - file or path, including .dll - basepath, optional - - - - - Load from url - - name without .dll - - - - - Forward declare of system delegate type for use by other classes - - - - - Keeps track of pending operation count, and can notify when pending operation count reaches zero - - - - - Mark operation has started - - - - - Mark operation has completed - - Exception coming from the completed operation [optional] - - - - Registers an AsyncContinuation to be called when all pending operations have completed - - Invoked on completion - AsyncContinuation operation - - - - Clear o - - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Legacy attempt to skip async MoveNext, but caused source file line number to be lost - - - - - Gets the entire stack trace. - - - - - Finds first user stack frame in a stack trace - - The stack trace of the logging method invocation - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - Index of the first user stack frame or 0 if all stack frames are non-user - - - - This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame - - The stack trace of the logging method invocation - Starting point for skipping async MoveNext-frames - - - - Assembly to skip? - - Find assembly via this frame. - true, we should skip. - - - - Is this the type of the logger? - - get type of this logger in this frame. - Type of the logger. - - - - - Memory optimized filtering - - Passing state too avoid delegate capture and memory-allocations. - - - - Internal configuration manager used to read .NET configuration files. - Just a wrapper around the BCL ConfigurationManager, but used to enable - unit testing. - - - - - Gets the wrapper around ConfigurationManager.AppSettings. - - - - - Provides untyped IDictionary interface on top of generic IDictionary. - - The type of the key. - The type of the value. - - - - Initializes a new instance of the DictionaryAdapter class. - - The implementation. - - - - Gets an object containing the values in the object. - - - - An object containing the values in the object. - - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - - Gets an object that can be used to synchronize access to the . - - - - An object that can be used to synchronize access to the . - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - - Gets an object containing the keys of the object. - - - - An object containing the keys of the object. - - - - - Gets or sets the with the specified key. - - Dictionary key. - Value corresponding to key or null if not found - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - - - Removes all elements from the object. - - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - True if the contains an element with the key; otherwise, false. - - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Wrapper IDictionaryEnumerator. - - - - - Initializes a new instance of the class. - - The wrapped. - - - - Gets both the key and the value of the current dictionary entry. - - - - A containing both the key and the value of the current dictionary entry. - - - - - Gets the key of the current dictionary entry. - - - - The key of the current element of the enumeration. - - - - - Gets the value of the current dictionary entry. - - - - The value of the current element of the enumeration. - - - - - Gets the current element in the collection. - - - - The current element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - - - Ensures that IDictionary.GetEnumerator returns DictionaryEntry values - - - - - UTF-8 BOM 239, 187, 191 - - - - - Safe way to get environment variables. - - - - - Helper class for dealing with exceptions. - - - - - Mark this exception as logged to the . - - - - - - - Is this exception logged to the ? - - - trueif the has been logged to the . - - - - Determines whether the exception must be rethrown and logs the error to the if is false. - - Advised to log first the error to the before calling this method. - - The exception to check. - Target context of the exception. - trueif the must be rethrown, false otherwise. - - - - Determines whether the exception must be rethrown immediately, without logging the error to the . - - Only used this method in special cases. - - The exception to check. - trueif the must be rethrown, false otherwise. - - - - Object construction helper. - - - - - Adapter for to - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Creates an AppDomainWrapper for the current - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Abstract calls for the application environment - - - - - Gets current process name (excluding filename extension, if any). - - - - - Abstract calls to FileSystem - - - - Determines whether the specified file exists. - The file to check. - - - Returns the content of the specified file - The file to load. - - - - Base class for optimized file appenders. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the path of the file, including file extension. - - The name of the file. - - - - Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated - Universal Time [UTC] standard. - - The creation time of the file. - - - - Gets or sets the creation time for a file associated with the appender. Synchronized by - The time format is based on - - - - - Gets the last time the file associated with the appender is opened. The time returned is in Coordinated - Universal Time [UTC] standard. - - The time the file was last opened. - - - - Gets the file creation parameters. - - The file creation parameters. - - - - Writes the specified bytes. - - The bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates the file stream. - - If set to true sets the file stream to allow shared writing. - If larger than 0 then it will be used instead of the default BufferSize for the FileStream. - A object which can be used to write to the file. - - - - Base class for optimized file appenders which require the usage of a mutex. - - It is possible to use this class as replacement of BaseFileAppender and the mutex functionality - is not enforced to the implementing subclasses. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates a mutex that is sharable by more than one process. - - The prefix to use for the name of the mutex. - A object which is sharable by multiple processes. - - - - Implementation of which caches - file information. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Closes this instance of the appender. - - - - - Flushes this current appender. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Writes the specified bytes to a file. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Factory class which creates objects. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Maintains a collection of file appenders usually associated with file targets. - - - - - An "empty" instance of the class with zero size and empty list of appenders. - - - - - Initializes a new "empty" instance of the class with zero size and empty - list of appenders. - - - - - Initializes a new instance of the class. - - - The size of the list should be positive. No validations are performed during initialization as it is an - internal class. - - Total number of appenders allowed in list. - Factory used to create each appender. - Parameters used for creating a file. - - - - The archive file path pattern that is used to detect when archiving occurs. - - - - - Invalidates appenders for all files that were archived. - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface that provides parameters for create file function. - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - Gets or sets the log file buffer size in bytes. - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Gets or sets the file attributes (Windows only). - - - - - Should archive mutex be created? - - - - - Should manual simple detection of file deletion be enabled? - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - The archive file path pattern that is used to detect when archiving occurs. - - - - - Invalidates appenders for all files that were archived. - - - - - Interface implemented by all factories capable of creating file appenders. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - Instance of which can be used to write to the file. - - - - Provides a multi process-safe atomic file appends while - keeping the files open. - - - On Unix you can get all the appends to be atomic, even when multiple - processes are trying to write to the same file, because setting the file - pointer to the end of the file and appending can be made one operation. - On Win32 we need to maintain some synchronization between processes - (global named mutex is used for this) - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Closes this instance. - - - - - Flushes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Appender used to discard data for the FileTarget. - Used mostly for testing entire stack except the actual writing to disk. - Throws away all data. - - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Multi-process and multi-host file appender which attempts - to get exclusive write access and retries if it's not available. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Optimized single-process file appender which keeps the file open for exclusive write. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Provides a multi process-safe atomic file append while - keeping the files open. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Creates or opens a file in a special mode, so that writes are automatically - as atomic writes at the file end. - See also "UnixMultiProcessFileAppender" which does a similar job on *nix platforms. - - File to create or open - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Closes this instance. - - - - - Flushes this instance. - - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - A layout that represents a filePath. - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid file names char array to avoid memory allocation every time Path.GetInvalidFileNameChars() is called. - - - - - not null when == false - - - - - non null is fixed, - - - - - is the cache-key, and when newly rendered filename matches the cache-key, - then it reuses the cleaned cache-value . - - - - - is the cache-value that is reused, when the newly rendered filename - matches the cache-key - - - - Initializes a new instance of the class. - - - - Render the raw filename from Layout - - The log event. - StringBuilder to minimize allocations [optional]. - String representation of a layout. - - - - Convert the raw filename to a correct filename - - The filename generated by Layout. - String representation of a correct filename. - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Convert object to string - - value - format for conversion. - - - If is null and isn't a already, then the will get a locked by - - - - - Interface for the wrapper around System.Configuration.ConfigurationManager. - - - - - Gets the wrapper around ConfigurationManager.AppSettings. - - - - - Format a log message - - - - - Format the message and return - - LogEvent with message to be formatted - formatted message - - - - Has the logevent properties? - - LogEvent with message to be formatted - False when logevent has no properties to be extracted - - - - Appends the logevent message to the provided StringBuilder - - LogEvent with message to be formatted - The to append the formatted message. - - - - Get the Raw, unformatted and unstrinyfied, value - - - - - Get the raw value - - - The value - RawValue supported? - - - - Interface implemented by layouts and layout renderers. - - - - - Renders the the value of layout or layout renderer in the context of the specified log event. - - The log event. - String representation of a layout. - - - - Supports mocking of SMTP Client code. - - - - - Specifies how outgoing email messages will be handled. - - - - - Gets or sets the name or IP address of the host used for SMTP transactions. - - - - - Gets or sets the port used for SMTP transactions. - - - - - Gets or sets a value that specifies the amount of time after which a synchronous Send call times out. - - - - - Gets or sets the credentials used to authenticate the sender. - - - - - Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted. - - - System.Net.Mail.MailMessage - MailMessage - A MailMessage that contains the message to send. - - - - Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. - - - - - Supports rendering as string value with limited or no allocations (preferred) - - - - - Renders the value of layout renderer in the context of the specified log event - - - null if not possible or unknown - - - - Supports object initialization and termination. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Allows components to request stack trace information to be provided in the . - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Render the event info as parse as short - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as int - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as bool - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Logger configuration. - - - - - Initializes a new instance of the class. - - The targets by level. - Use the old exception log handling of NLog 3.0? - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. - - - - Gets targets for the specified level. - - The level. - Chain of targets with attached filters. - - - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - New formatter - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - The MessageFormatter delegate - - - - - - - - Most-Recently-Used-Cache, that discards less frequently used items on overflow - - - - - Constructor - - Maximum number of items the cache will hold before discarding. - - - - Attempt to insert item into cache. - - Key of the item to be inserted in the cache. - Value of the item to be inserted in the cache. - true when the key does not already exist in the cache, false otherwise. - - - - Lookup existing item in cache. - - Key of the item to be searched in the cache. - Output value of the item found in the cache. - True when the key is found in the cache, false otherwise. - - - - Watches multiple files at the same time and raises an event whenever - a single change is detected in any of those files. - - - - - The types of changes to watch for. - - - - - Occurs when a change is detected in one of the monitored files. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Stops watching all files. - - - - - Stops watching the specified file. - - - - - - Watches the specified files for changes. - - The file names. - - - - Supports mocking of SMTP Client code. - - - Disabled Error CS0618 'SmtpClient' is obsolete: 'SmtpClient and its network of types are poorly designed, - we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead' - - - - - Sends a QUIT message to the SMTP server, gracefully ends the TCP connection, and releases all resources used by the current instance of the class. - - - - - Network sender which uses HTTP or HTTPS POST. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Creates instances of objects for given URLs. - - - - - Creates a new instance of the network sender based on a network URL. - - URL that determines the network sender to be created. - The maximum queue size. - SSL protocols for TCP - KeepAliveTime for TCP - - A newly created network sender. - - - - - Interface for mocking socket calls. - - - - - A base class for all network senders. Supports one-way sending of messages - over various protocols. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Gets the address of the network endpoint. - - - - - Gets the last send time. - - - - - Initializes this network sender. - - - - - Closes the sender and releases any unmanaged resources. - - The continuation. - - - - Flushes any pending messages and invokes a continuation. - - The continuation. - - - - Send the given text over the specified protocol. - - Bytes to be sent. - Offset in buffer. - Number of bytes to send. - The asynchronous continuation. - - - - Closes the sender and releases any unmanaged resources. - - - - - Performs sender-specific initialization. - - - - - Performs sender-specific close operation. - - The continuation. - - - - Performs sender-specific flush. - - The continuation. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Parses the URI into an endpoint address. - - The URI to parse. - The address family. - Parsed endpoint. - - - - Default implementation of . - - - - - - - - A base class for network senders that can block or send out-of-order - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Performs sender-specific flush. - - The continuation. - - - - Socket proxy for mocking Socket code. - - - - - Initializes a new instance of the class. - - The address family. - Type of the socket. - Type of the protocol. - - - - Gets underlying socket instance. - - - - - Closes the wrapped socket. - - - - - Invokes ConnectAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendToAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Sends messages over a TCP network connection. - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - The address family. - - - - Creates the socket with given parameters. - - The host address. - The address family. - Type of the socket. - Type of the protocol. - Instance of which represents the socket. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Facilitates mocking of class. - - - - - Raises the Completed event. - - - - - Sends messages over the network as UDP datagrams. - - - - - Initializes a new instance of the class. - - URL. Must start with udp://. - The address family. - - - - Creates the socket. - - The address family. - Type of the socket. - Type of the protocol. - Implementation of to use. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Sends the specified text as a UDP datagram. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Scans (breadth-first) the object graph following all the edges whose are - instances have attached and returns - all objects implementing a specified interfaces. - - - - - Finds the objects which have attached which are reachable - from any of the given root objects when traversing the object graph over public properties. - - Type of the objects to return. - Also search the properties of the wanted objects. - The root objects. - Ordered list of objects implementing T. - - - ISet is not there in .net35, so using HashSet - - - - Helper for extracting propertyPath - - - - - Object Path to check - - - - - Try get value from , using , and set into - - - - - - - - Converts object into a List of property-names and -values using reflection - - - - - Scans properties for name (Skips string-compare and value-lookup until finding match) - - - - - Scans properties for name (Skips property value lookup until finding match) - - - - - Scans properties for name - - - - - Combine paths - - basepath, not null - optional dir - optional file - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Trims directory separators from the path - - path, could be null - never null - - - - Detects the platform the NLog is running on. - - - - - Gets the current runtime OS. - - - - - Gets a value indicating whether current OS is Win32-based (desktop or mobile). - - - - - Gets a value indicating whether current OS is Unix-based. - - - - - Gets a value indicating whether current runtime is Mono-based - - - - - Gets a value indicating whether current runtime supports use of mutex - - - - - Will creating a mutex succeed runtime? - "Cached" detection - - - - - Will creating a mutex succeed runtime? - - - - - Dictionary that combines the standard with the - MessageTemplate-properties extracted from the . - - The are returned as the first items - in the collection, and in positional order. - - - - - Value of the property - - - - - Is this a property of the message? - - - - - - - Value of the property - Is this a property of the message? - - - - The properties of the logEvent - - - - - The properties extracted from the message - - - - - Wraps the list of message-template-parameters into the IDictionary-interface - - Message-template-parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Check if the message-template-parameters can be used directly without allocating a dictionary - - Message-template-parameters - Are all parameter names unique (true / false) - - - - Attempt to insert the message-template-parameters into an empty dictionary - - Message-template-parameters - The initially empty dictionary - Message-template-parameters was inserted into dictionary without trouble (true/false) - - - - Attempt to override the existing dictionary values using the message-template-parameters - - Message-template-parameters - The already filled dictionary - List of unique message-template-parameters - - - - - - - - - - - - - - - - - - - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - - - - - - - - - - - - - - - - - Reflection helpers for accessing properties. - - - - - Set value parsed from string. - - object instance to set with property - name of the property on - The value to be parsed. - - - - - Get property info - - object which could have property - property name on - result when success. - success. - - - - Try parse of string to (Generic) list, comma separated. - - - If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape - - - - - Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase) - - - - - Try get the property - - - - - Reflection helpers. - - - - - Gets all usable exported types from the given assembly. - - Assembly to scan. - Usable types from the given assembly. - Types which cannot be loaded are skipped. - - - - Is this a static class? - - - - This is a work around, as Type doesn't have this property. - From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static - - - - - Optimized delegate for calling MethodInfo - - Object instance, use null for static methods. - Complete list of parameters that matches the method, including optional/default parameters. - - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) - - - - - Controls a single allocated char[]-buffer for reuse (only one active user) - - - - - Controls a single allocated StringBuilder for reuse (only one active user) - - - - - Controls a single allocated object for reuse (only one active user) - - - - Empty handle when is disabled - - - - Creates handle to the reusable char[]-buffer for active usage - - Handle to the reusable item, that can release it again - - - - Access the acquired reusable object - - - - - Controls a single allocated MemoryStream for reuse (only one active user) - - - - - Supported operating systems. - - - If you add anything here, make sure to add the appropriate detection - code to - - - - - Unknown operating system. - - - - - Unix/Linux operating systems. - - - - - Desktop versions of Windows (95,98,ME). - - - - - Windows NT, 2000, 2003 and future versions based on NT technology. - - - - - Macintosh Mac OSX - - - - - Simple character tokenizer. - - - - - Initializes a new instance of the class. - - The text to be tokenized. - - - - Current position in - - - - - Full text to be parsed - - - - - Check current char while not changing the position. - - - - - - Read the current char and change position - - - - - - Get the substring of the - - - - - - - - Implements a single-call guard around given continuation function. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - - - - Continuation function which implements the single-call guard. - - The exception. - - - - HashSet optimized for single item - - - - - - Insert single item on scope start, and remove on scope exit - - Item to insert in scope - Existing hashset to update - Force allocation of real hashset-container - HashSet EqualityComparer - - - - Add item to collection, if it not already exists - - Item to insert - - - - Clear hashset - - - - - Check if hashset contains item - - - Item exists in hashset (true/false) - - - - Remove item from hashset - - - Item removed from hashset (true/false) - - - - Copy items in hashset to array - - Destination array - Array offset - - - - Create hashset enumerator - - Enumerator - - - - Provides helpers to sort log events and associated continuations. - - - - - Key selector delegate. - - The type of the value. - The type of the key. - Value to extract key information from. - Key selected from log event. - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - The key comparer function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. - - - - - - - - - - - - - - - - Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. - Consider to use instead for better safety. - - Key value for lookup - Mapped value found - - - - Non-Allocating struct-enumerator - - - - - - - - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - - - - Will always throw, as dictionary is readonly - - - - Utilities for dealing with values. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - StackFrame from the calling method - Fully qualified class name - - - - Returns the assembly from the provided StackFrame (If not internal assembly) - - Valid assembly, or null if assembly was internal - - - - Returns the classname from the provided StackFrame (If not from internal assembly) - - - Valid class name, or empty string if assembly was internal - - - - Stream helpers - - - - - Copy to output stream and skip BOM if encoding is UTF8 - - - - - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - .net35 doesn't have a .copyto - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - first bytes to skip (optional) - - - - Helpers for , which is used in e.g. layout renderers. - - - - - Renders the specified log event context item and appends it to the specified . - - append to this - value to be appended - format string. If @, then serialize the value with the Default JsonConverter. - provider, for example culture - - - - Appends int without using culture, and most importantly without garbage - - - value to append - - - - Appends uint without using culture, and most importantly without garbage - - Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ - - - value to append - - - - Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 6801 date (Round-Trip-Time) - - - - - Clears the provider StringBuilder - - - - - - Copies the contents of the StringBuilder to the MemoryStream using the specified encoding (Without BOM/Preamble) - - StringBuilder source - MemoryStream destination - Encoding used for converter string into byte-stream - Helper char-buffer to minimize memory allocations - - - - Copies the contents of the StringBuilder to the destination StringBuilder - - StringBuilder source - StringBuilder destination - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle character to search for - - Index of the first occurrence (Else -1) - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle characters to search for - - Index of the first occurrence (Else -1) - - - - Compares the contents of two StringBuilders - - - Correct implementation of that also works when is not the same - - True when content is the same - - - - Compares the contents of a StringBuilder and a String - - True when content is the same - - - - Append a number and pad with 0 to 2 digits - - append to this - the number - - - - Append a number and pad with 0 to 4 digits - - append to this - the number - - - - Append a int type (byte, int) as string - - - - - Constructor - - Max number of items - Initial StringBuilder Size - Max StringBuilder Size - - - - Takes StringBuilder from pool - - Allow return to pool - - - - Releases StringBuilder back to pool at its right place - - - - - Keeps track of acquired pool item - - - - - Releases pool item back into pool - - - - - Helpers for . - - - - - IsNullOrWhiteSpace, including for .NET 3.5 - - - - - - - Split a string - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Represents target with a chain of filters which determine - whether logging should happen. - - - - - cached result as calculating is expensive. - - - - - Initializes a new instance of the class. - - The target. - The filter chain. - Default action if none of the filters match. - - - - Gets the target. - - The target. - - - - Gets the filter chain. - - The filter chain. - - - - Default action if none of the filters match. - - - - - Gets or sets the next item in the chain. - - The next item in the chain. - This is for example the 'target2' logger in writeTo='target1,target2' - - - - Gets the stack trace usage. - - A value that determines stack trace handling. - - - - Helper for dealing with thread-local storage. - - - - - Allocates the data slot for storing thread-local information. - - Allocated slot key. - - - - Gets the data for a slot in thread-local storage. - - Type of the data. - The slot to get data for. - Automatically create the object if it doesn't exist. - - Slot data (will create T if null). - - - - - Wraps with a timeout. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - The timeout. - - - - Continuation function which implements the timeout logic. - - The exception. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Transformation on a layout. Pre-calculated if the layout has a fixed value. - - - - - Create TransformedLayout. - - Layout - Transformation method - Optional renderer, otherwise is used - - - - - - - Create TransformedLayout. If is null, then the returns null - - Layout - Transformation method - Optional renderer, otherwise is used - null if is null - - - - - - - - - - URL Encoding helper. - - - - Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - - - Use RFC2396 standard (instead of RFC3986) - - - Should use lowercase when doing HEX escaping of special characters - - - Replace space ' ' with '+' instead of '%20' - - - Skip UTF8 encoding, and prefix special characters with '%u' - - - - Escape unicode string data for use in http-requests - - unicode string-data to be encoded - target for the encoded result - s for how to perform the encoding - - - - Convert the wide-char into utf8-bytes, and then escape - - - - - - - - - Is allowed? - - - - - - - - Is a-z / A-Z / 0-9 - - - - - - - Prevents the Xamarin linker from linking the target. - - - By applying this attribute all of the members of the target will be kept as if they had been referenced by the code. - - - - - Ensures that all members of this type are preserved - - - - - Flags the method as a method to preserve during linking if the container class is pulled in. - - - - - Helper class for XML - - - - - removes any unusual unicode characters that can't be encoded into XML - - - - - Pretest, small text and not escape needed - - - - - - - - Converts object value to invariant format, and strips any invalid xml-characters - - Object value - Object value converted to string - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object value converted to string - - - - XML elements must follow these naming rules: - - Element names are case-sensitive - - Element names must start with a letter or underscore - - Element names can contain letters, digits, hyphens, underscores, and periods - - Element names cannot contain spaces - - - - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object TypeCode - Check and remove unusual unicode characters from the result string. - Object value converted to string - - - - Safe version of WriteAttributeString - - - - - - - - - - Safe version of WriteAttributeString - - - - - - - - Safe version of WriteElementSafeString - - - - - - - - - - Safe version of WriteCData - - - - - - - Interface for handling object transformation - - - - - Takes a dangerous (or massive) object and converts into a safe (or reduced) object - - - Null if unknown object, or object cannot be handled - - - - - Provides an interface to execute System.Actions without surfacing any exceptions raised for that action. - - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Render a message template property to a string - - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Log event context data. - - - - - Initializes a new instance of the class. - - - - - Gets or sets string that will be used to separate key/value pairs. - - - - - - Get or set if empty values should be included. - - A value is empty when null or in case of a string, null or empty string. - - - - - - Gets or sets the keys to exclude from the output. If omitted, none are excluded. - - - - - - Gets or sets how key/value pairs will be formatted. - - - - - - Renders all log event's properties and appends them to the specified . - - The to append the rendered data to. - Logging event. - - - - Designates a property of the class as an ambient property. - - - non-ambient: ${uppercase:${level}} - ambient : ${level:uppercase} - - - - - Initializes a new instance of the class. - - Ambient property name. - - - - Used to render the application domain name. - - - - - Create a new renderer - - - - - Create a new renderer - - - - - Format string. Possible values: "Short", "Long" or custom like {0} {1}. Default "Long" - The first parameter is the , the second the second the - This string is used in - - - - - - - - - - - - - - - Application setting. - - - Use this layout renderer to insert the value of an application setting - stored in the application's App.config or Web.config file. - - - ${appsetting:item=mysetting:default=mydefault} - produces "mydefault" if no appsetting - - - - - The AppSetting item-name - - - - - - The AppSetting item-name - - - - - The default value to render if the AppSetting value is null. - - - - - - - - - Renders the specified application setting or default value and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Renders the assembly version information for the entry assembly or a named assembly. - - - As this layout renderer uses reflection and version information is unlikely to change during application execution, - it is recommended to use it in conjunction with the . - - - The entry assembly can't be found in some cases e.g. ASP.NET, unit tests, etc. - - - - - Initializes a new instance of the class. - - - - - The (full) name of the assembly. If null, using the entry assembly. - - - - - - Gets or sets the type of assembly version to retrieve. - - - Some version type and platform combinations are not fully supported. - - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified. - - Silverlight: Value for is always returned. - - - - - - Gets or sets the custom format of the assembly version output. - - - Supported placeholders are 'major', 'minor', 'build' and 'revision'. - The default .NET template for version numbers is 'major.minor.build.revision'. See - https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks - for details. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders an assembly version and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Gets the assembly specified by , or entry assembly otherwise - - Found assembly - - - - Type of assembly version to retrieve. - - - - - Gets the assembly version. - - - - - Gets the file version. - - - - - Gets additional version information. - - - - - The current application domain's base directory. - - - - - cached - - - - - Use base dir of current process. Alternative one can just use ${processdir} - - - - - - Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the base directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. - - - - - - Renders the application base directory and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source file name. Full callsite - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - The call site (class name, method name and source information). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to render the class name. - - - - - - Gets or sets a value indicating whether to render the include the namespace with . - - - - - - Gets or sets a value indicating whether to render the method name. - - - - - - Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate. - - - - - - Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation - (everything after an await-statement inside of an async method). - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets a value indicating whether to render the source file name and line number. - - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source line number. Full callsite - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - A counter value (increases on each layout rendering). - - - - - Gets or sets the initial value of the counter. - - - - - - Gets or sets the value to be added to the counter after each layout rendering. - - - - - - Gets or sets the name of the sequence. Different named sequences can have individual values. - - - - - - - - - The current working directory of the application. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the current directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the current directory. - - - - - - - - - - - - Current date and time. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format). - - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - - - - - - - - - - DB null for a database - - - - - - - - - - - The OS dependent directory separator - - - - - - - - - - - The environment variable. - - - - - Gets or sets the name of the environment variable. - - - - - - Gets or sets the default value to be used when the environment variable is not set. - - - - - - - - - - - - Thread identity information (username). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether username should be included. - - - - - - Gets or sets a value indicating whether domain name should be included. - - - - - - Gets or sets the default value to be used when the User is not set. - - - - - - Gets or sets the default value to be used when the Domain is not set. - - - - - - - - - - - - Log event context data. - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the name of the item. - - - - - - Renders the specified log event context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. See . - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - - - - - - - - - - Exception information provided through - a call to one of the Logger.*Exception() methods. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the format of the output. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - - - Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - Gets or sets the separator used to concatenate parts specified in the Format. - - - - - - Gets or sets the separator used to concatenate exception data specified in the Format. - - - - - - Gets or sets the maximum number of inner exceptions to include in the output. - By default inner exceptions are not enabled for compatibility with NLog 1.0. - - - - - - Gets or sets the separator between inner exceptions. - - - - - - Gets or sets whether to render innermost Exception from - - - - - Gets or sets whether to collapse exception tree using AggregateException.Flatten() - - - - - Gets the formats of the output of inner exceptions to be rendered in target. - - - - - - - Gets the formats of the output to be rendered in target. - - - - - - - - - - - - - Appends the Message of an Exception to the specified . - - The to append the rendered data to. - The exception containing the Message to append. - - - - Appends the method name from Exception's stack trace to the specified . - - The to append the rendered data to. - The Exception whose method name should be appended. - - - - Appends the stack trace from an Exception to the specified . - - The to append the rendered data to. - The Exception whose stack trace should be appended. - - - - Appends the result of calling ToString() on an Exception to the specified . - - The to append the rendered data to. - The Exception whose call to ToString() should be appended. - - - - Appends the type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose type should be appended. - - - - Appends the short type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose short type should be appended. - - - - Appends the application source of an Exception to the specified . - - The to append the rendered data to. - The Exception whose source should be appended. - - - - Appends the HResult of an Exception to the specified . - - The to append the rendered data to. - The Exception whose HResult should be appended. - - - - Appends the contents of an Exception's Data property to the specified . - - The to append the rendered data to. - The Exception whose Data property elements should be appended. - - - - Appends all the serialized properties of an Exception into the specified . - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Appends all the additional properties of an Exception like Data key-value-pairs - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Split the string and then compile into list of Rendering formats. - - - - - Renders contents of the specified file. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file. - - - - - - Gets or sets the encoding used in the file. - - The encoding. - - - - - Renders the contents of the specified file and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - Name used in config without ${}. E.g. "test" could be used as "${test}". - - - - - Method that renders the layout. - - This public property will be removed in NLog 5. - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render the value for this log event - - The event info. - The value. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - The information about the garbage collector. - - - - - Gets or sets the property to retrieve. - - - - - - - - - Gets or sets the property of System.GC to retrieve. - - - - - Total memory allocated. - - - - - Total memory allocated (perform full garbage collection first). - - - - - Gets the number of Gen0 collections. - - - - - Gets the number of Gen1 collections. - - - - - Gets the number of Gen2 collections. - - - - - Maximum generation number supported by GC. - - - - - Render a Global Diagnostics Context item. See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - - - - Globally-unique identifier (GUID). - - - - - Gets or sets the GUID format as accepted by Guid.ToString() method. - - - - - - Generate the Guid from the NLog LogEvent (Will be the same for all targets) - - - - - - - - - - - - - - - The host name that the process is running on. - - - - - - - - Gets the host name and falls back to computer name if not available - - - - - Tries the lookup value. - - The lookup function. - Type of the lookup. - - - - - - - - Thread identity information (name and authentication information). - - - - - Gets or sets the separator to be used when concatenating - parts of identity information. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated. - - - - - - - - - Retrieve network interfaces - - - - - Retrieve network interfaces - - - - - Installation parameter (passed to InstallNLogConfig). - - - - - Gets or sets the name of the parameter. - - - - - - Renders the specified installation parameter and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render environmental information related to logging events. - - - - - Gets the logging configuration this target is part of. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Renders the the value of layout renderer in the context of the specified log event. - - The log event. - String representation of a layout renderer. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Renders the value of layout renderer in the context of the specified log event. - - The log event. - The layout render output is appended to builder - - - - Renders the value of layout renderer in the context of the specified log event into . - - The to append the rendered data to. - Logging event. - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Get the for rendering the messages to a - - LogEvent with culture - Culture in on Layout level - - - - - Get the for rendering the messages to a , needed for date and number formats - - LogEvent with culture - Culture in on Layout level - - - is preferred - - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Renderer with callback func - - - - Marks class as a layout renderer and assigns a name to it. - - This attribute is not required when registering the layout in the API. - - - - Initializes a new instance of the class. - - Name of the layout renderer, without the `${ }` - - - - Format of the ${level} layout renderer output. - - - - - Render the LogLevel standard name. - - - - - Render the first character of the level. - - - - - Render the ordinal (aka number) for the level. - - - - - Render the LogLevel full name, expanding Warn / Info abbreviations - - - - - The log level. - - - - - Gets or sets a value indicating the output format of the level. - - - - - - - - - - - - - - - A string literal. - - - This is used to escape '${' sequence - as ;${literal:text=${}' - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The literal text value. - This is used by the layout compiler. - - - - Gets or sets the literal text. - - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The IP address from the network interface card (NIC) on the local machine - - - Skips loopback-adapters and tunnel-interfaces. Skips devices without any MAC-address - - - - - Get or set whether to prioritize IPv6 or IPv4 (default) - - - - - - - - - - - - - - - XML event description compatible with log4j, Chainsaw and NLogViewer. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes the layout renderer. - - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets a value indicating whether the XML should use spaces for indentation. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the XML logging event and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The logger name. - - - - - Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character). - - - - - - - - - - - - The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the date in the long format (yyyy-MM-dd HH:mm:ss.ffff) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The machine name that the process is running on. - - - - - - - - - - - Render a Mapped Diagnostic Context item, See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render a Mapped Diagnostic Logical Context item (based on CallContext). - See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - The formatted log message. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to log exception along with message. - - - - - - Gets or sets the string that separates message from the exception. - - - - - - Gets or sets whether it should render the raw message without formatting parameters - - - - - - - - - - - - Render a Nested Diagnostic Context item. - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested diagnostics context output. - - - - - - Renders the specified Nested Diagnostics Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render a Nested Diagnostic Logical Context item (Async scope) - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested logical context output. - - - - - - Renders the specified Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Timing Renderer (Async scope) - - - - - Gets or sets whether to only include the duration of the last scope created - - - - - - Gets or sets whether to just display the scope creation time, and not the duration - - - - - - Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format). - - - - - - Renders the timing details of the Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Retrieve network interfaces - - - - - Retrieve network interfaces - - - - - A newline literal. - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The directory where NLog.dll is located. - - - - - Initializes static members of the NLogDirLayoutRenderer class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The performance counter. - - - - - Gets or sets the name of the counter category. - - - - - - Gets or sets the name of the performance counter. - - - - - - Gets or sets the name of the performance counter instance (e.g. this.Global_). - - - - - - Gets or sets the name of the machine to read the performance counter from. - - - - - - Format string for conversion from float to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - If having multiple instances with the same process-name, then they will get different instance names - - - - - The executable directory from the FileName, - using the current process - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the process directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the process directory. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - The identifier of the current process. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - The information about the running process. - - - - - Gets or sets the property to retrieve. - - - - - - Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum) - - - - - - - - - - - - - - - Property of System.Diagnostics.Process to retrieve. - - - - - Base Priority. - - - - - Exit Code. - - - - - Exit Time. - - - - - Process Handle. - - - - - Handle Count. - - - - - Whether process has exited. - - - - - Process ID. - - - - - Machine name. - - - - - Handle of the main window. - - - - - Title of the main window. - - - - - Maximum Working Set. - - - - - Minimum Working Set. - - - - - Non-paged System Memory Size. - - - - - Non-paged System Memory Size (64-bit). - - - - - Paged Memory Size. - - - - - Paged Memory Size (64-bit).. - - - - - Paged System Memory Size. - - - - - Paged System Memory Size (64-bit). - - - - - Peak Paged Memory Size. - - - - - Peak Paged Memory Size (64-bit). - - - - - Peak Virtual Memory Size. - - - - - Peak Virtual Memory Size (64-bit).. - - - - - Peak Working Set Size. - - - - - Peak Working Set Size (64-bit). - - - - - Whether priority boost is enabled. - - - - - Priority Class. - - - - - Private Memory Size. - - - - - Private Memory Size (64-bit). - - - - - Privileged Processor Time. - - - - - Process Name. - - - - - Whether process is responding. - - - - - Session ID. - - - - - Process Start Time. - - - - - Total Processor Time. - - - - - User Processor Time. - - - - - Virtual Memory Size. - - - - - Virtual Memory Size (64-bit). - - - - - Working Set Size. - - - - - Working Set Size (64-bit). - - - - - The name of the current process. - - - - - Gets or sets a value indicating whether to write the full path to the process executable. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Renders the current process name (optionally with a full path). - - The to append the rendered data to. - Logging event. - - - - The process time in format HH:mm:ss.mmm. - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Write timestamp to builder with format hh:mm:ss:fff - - - - - High precision timer, based on the value returned from QueryPerformanceCounter() optionally converted to seconds. - - - - - Gets or sets a value indicating whether to normalize the result by subtracting - it from the result of the first call (so that it's effectively zero-based). - - - - - - Gets or sets a value indicating whether to output the difference between the result - of QueryPerformanceCounter and the previous one. - - - - - - Gets or sets a value indicating whether to convert the result to seconds by dividing - by the result of QueryPerformanceFrequency(). - - - - - - Gets or sets the number of decimal digits to be included in output. - - - - - - Gets or sets a value indicating whether to align decimal point (emit non-significant zeros). - - - - - - - - - - - - A value from the Registry. - - - - - Create new renderer - - - - - Gets or sets the registry value name. - - - - - - Gets or sets the value to be output when the specified registry key or value is not found. - - - - - - Require escaping backward slashes in . Need to be backwards-compatible. - - When true: - - `\` in value should be configured as `\\` - `\\` in value should be configured as `\\\\`. - - Default value wasn't a Layout before and needed an escape of the slash - - - - - Gets or sets the registry key. - - - HKCU\Software\NLogTest - - - Possible keys: -
    -
  • HKEY_LOCAL_MACHINE
  • -
  • HKLM
  • -
  • HKEY_CURRENT_USER
  • -
  • HKCU
  • -
  • HKEY_CLASSES_ROOT
  • -
  • HKEY_USERS
  • -
  • HKEY_CURRENT_CONFIG
  • -
  • HKEY_DYN_DATA
  • -
  • HKEY_PERFORMANCE_DATA
  • -
-
- -
- - - Reads the specified registry key and value and appends it to - the passed . - - The to append the rendered data to. - Logging event. Ignored. - - - - Has ? - - - - - Parse key to and subkey. - - full registry key name - Result of parsing, never null. - - - - Aliases for the hives. See https://msdn.microsoft.com/en-us/library/ctb3kd86(v=vs.110).aspx - - - - - The sequence ID - - - - - - - - - - - The short date in a sortable format yyyy-MM-dd. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the current short date string (yyyy-MM-dd) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - System special folder path (includes My Documents, My Music, Program Files, Desktop, and more). - - - - - Gets or sets the system special folder to use. - - - Full list of options is available at MSDN. - The most common ones are: -
    -
  • ApplicationData - roaming application data for current user.
  • -
  • CommonApplicationData - application data for all users.
  • -
  • MyDocuments - My Documents
  • -
  • DesktopDirectory - Desktop directory
  • -
  • LocalApplicationData - non roaming application data
  • -
  • Personal - user profile directory
  • -
  • System - System directory
  • -
-
- -
- - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Format of the ${stacktrace} layout renderer output. - - - - - Raw format (multiline - as returned by StackFrame.ToString() method). - - - - - Flat format (class and method names displayed in a single line). - - - - - Detailed flat format (method signatures displayed in a single line). - - - - - Stack trace renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the output format of the stack trace. - - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets the stack frame separator string. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A temporary directory. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The identifier of the current thread. - - - - - - - - The name of the current thread. - - - - - - - - The Ticks value of current date and time. - - - - - - - - - - - The time in a 24-hour, sortable format HH:mm:ss.mmmm. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - A renderer that puts into log a System.Diagnostics trace correlation id. - - - - - - - - - - - Render a NLog variable (xml or config) - - - - - Gets or sets the name of the NLog variable. - - - - - - Gets or sets the default value to be used when the variable is not set. - - Not used if Name is null - - - - - Initializes the layout renderer. - - - - - Try get the - - - - - - - Renders the specified variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Thread Windows identity information (username). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether domain name should be included. - - - - - - Gets or sets a value indicating whether username should be included. - - - - - - Renders the current thread windows identity information and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Applies caching to another layout output. - - - The value of the inner layout will be rendered only once and reused subsequently. - - - - - A value indicating when the cache is cleared. - - - - Never clear the cache. - - - Clear the cache whenever the is initialized. - - - Clear the cache whenever the is closed. - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether this is enabled. - - - - - - Gets or sets a value indicating when the cache is cleared. - - - - - - Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s - - - - - - Gets or sets a value indicating how many seconds the value should stay cached until it expires - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - - - - Filters characters not allowed in the file names by replacing them with safe character. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path - (illegal characters are replaced with '_'). - - - - - - - - - - - - Escapes output of another layout using JSON rules. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply JSON encoding. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - - - - - - - Left part of a text - - - - - Gets or sets the length in characters. - - - - - - Same as -property, so it can be used as ambient property. - - - ${message:truncate=80} - - - - - - - - - - - - Converts the result of another layout output to lower case. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Render the non-raw value of an object. - - For performance and/or full (formatted) control of the output. - - - - Gets or sets a value indicating whether to disable the IRawValue-interface - - A value of true if IRawValue-interface should be ignored; otherwise, false. - - - - - - - - - - - Render a single property of a object - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - Shortcut for - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - Only outputs the inner layout when exception has been defined for log message. - - - - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - ${onhasproperties:, Properties\: ${all-event-properties}} - - - - - - - - - - - Horizontal alignment for padding layout renderers. - - - - - When layout text is too long, align it to the left - (remove characters from the right). - - - - - When layout text is too long, align it to the right - (remove characters from the left). - - - - - Applies padding to another layout output. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of characters to pad the output to. - - - Positive padding values cause left padding, negative values - cause right padding to the desired width. - - - - - - Gets or sets the padding character. - - - - - - Gets or sets a value indicating whether to trim the - rendered text to the absolute value of the padding length. - - - - - - Gets or sets a value indicating whether a value that has - been truncated (when is true) - will be left-aligned (characters removed from the right) - or right-aligned (characters removed from the left). The - default is left alignment. - - RegistryLayoutRenderer - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Replaces a string in the output of another layout with another string. - - - ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}} - - - - - Gets or sets the text to search for. - - The text search for. - - - - - Gets or sets a value indicating whether regular expressions should be used. - - A value of true if regular expressions should be used otherwise, false. - - - - - Gets or sets the replacement string. - - The replacement string. - - - - - Gets or sets the group name to replace when using regular expressions. - Leave null or empty to replace without using group name. - - The group name. - - - - - Gets or sets a value indicating whether to ignore case. - - A value of true if case should be ignored when searching; otherwise, false. - - - - - Gets or sets a value indicating whether to search for whole words. - - A value of true if whole words should be searched for; otherwise, false. - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Initializes the layout renderer. - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass - - - - - A match evaluator for Regular Expression based replacing - - Input string. - Group name in the regex. - Replace value. - Match from regex. - Groups replaced with . - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating the string that should be used for separating lines. - - - - - - - - - - - - Right part of a text - - - - - Gets or sets the length in characters. - - - - - - - - - - - - Decodes text "encrypted" with ROT-13. - - - See https://en.wikipedia.org/wiki/ROT13. - - - - - Gets or sets the layout to be wrapped. - - The layout to be wrapped. - This variable is for backwards compatibility - - - - - Encodes/Decodes ROT-13-encoded string. - - The string to be encoded/decoded. - Encoded/Decoded text. - - - - - - - - - - Encodes/Decodes ROT-13-encoded string. - - - - - Substring the result - - - ${substring:${level}:start=2:length=2} - ${substring:${level}:start=-2:length=2} - ${substring:Inner=${level}:start=2:length=2} - - - - - Initializes a new instance of the class. - - - - - Gets or sets the start index. - - Index - - - - - Gets or sets the length in characters. If null, then the whole string - - Index - - - - - - - - - - - Calculate start position - - 0 or positive number - - - - Calculate needed length - - 0 or positive number - - - - Trims the whitespace from the result of another layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - - - - - - - Converts the result of another layout output to upper case. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - ${level:uppercase} // [AmbientProperty] - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether upper case conversion should be applied. - - A value of true if upper case conversion should be applied otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Encodes the result of another layout output for use with URLs. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether spaces should be translated to '+' or '%20'. - - A value of true if space should be translated to '+'; otherwise, false. - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - - - Gets or sets the layout to be rendered when original layout produced empty result. - - - - - - - - - - - - - - - Only outputs the inner layout when the specified condition has been met. - - - - - Gets or sets the condition that must be met for the layout to be printed. - - - - - - If is not met, print this layout. - - - - - - - - - - - - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the line length for wrapping. - - - Only positive values are allowed - - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - Base class for s which wrapping other s. - - This has the property (which is default) and can be used to wrap. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - - - - - Gets or sets the wrapped layout. - - [DefaultParameter] so Inner: is not required if it's the first - - - - - - - - - Renders the inner message, processes it and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Appends the rendered output from -layout and transforms the added output (when necessary) - - Logging event. - The to append the rendered data to. - Start position for any necessary transformation of . - - - - Transforms the output of another layout. - - Logging event. - Output to be transform. - Transformed text. - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - Base class for s which wrapping other s. - - This expects the transformation to work on a - - - - - - - - Transforms the output of another layout. - - - Output to be transform. - - - - Transforms the output of another layout. - - Output to be transform. - - - - Renders the inner layout contents. - - - for the result - - - - - - - - - - - - - - - - - - Converts the result of another layout output to be XML-compliant. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply XML encoding. - - Ensures always valid XML, but gives a performance hit - - - - - Gets or sets a value indicating whether to transform newlines (\r\n) into ( ) - - - - - - - - - - - - A layout containing one or more nested layouts. - - - - - Initializes a new instance of the class. - - - - - Gets the inner layouts. - - - - - - Initializes the layout. - - - - - Formats the log event relying on inner layouts. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event relying on inner layouts. - - The logging event. - for the result - - - - Closes the layout. - - - - - Generate description of Compound Layout - - Compound Layout String Description - - - - A column in the CSV. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column. - The layout of the column. - - - - Gets or sets the name of the column. - - - - - - Gets or sets the layout of the column. - - - - - - Gets or sets the override of Quoting mode - - - and are faster than the default - - - - - - Specifies allowed column delimiters. - - - - - Automatically detect from regional settings. - - - - - Comma (ASCII 44). - - - - - Semicolon (ASCII 59). - - - - - Tab character (ASCII 9). - - - - - Pipe character (ASCII 124). - - - - - Space character (ASCII 32). - - - - - Custom string, specified by the CustomDelimiter. - - - - - A specialized layout that renders CSV-formatted events. - - If is set, then the header generation with column names will be disabled. - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - Gets or sets a value indicating whether CVS should include header. - - A value of true if CVS should include header; otherwise, false. - - - - - Gets or sets the column delimiter. - - - - - - Gets or sets the quoting mode. - - - - - - Gets or sets the quote Character. - - - - - - Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom'). - - - - - - Initializes the layout. - - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event for write. - - The logging event. - for the result - - - - Get the headers with the column names. - - - - - - Header with column names for CSV layout. - - - - - Initializes a new instance of the class. - - The parent. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Generate description of CSV Layout - - CSV Layout String Description - - - - Specifies CSV quoting modes. - - - - - Quote all column (Fast) - - - - - Quote nothing (Very fast) - - - - - Quote only whose values contain the quote symbol or the separator (Slow) - - - - - JSON attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with json-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Json encoded. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A specialized layout that renders JSON-formatted events. - - - - - Initializes a new instance of the class. - - - - - Gets the array of attributes' configurations. - - - - - - Gets or sets the option to suppress the extra spaces in the output json - - - - - - Gets or sets the option to render the empty object value {} - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to exclude null/empty properties from the log event (as JSON) - - - - - - List of property names to exclude when is true - - - - - - How far should the JSON serializer follow object references before backing off - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Formats the log event as a JSON document for writing. - - The logging event. - for the result - - - - Formats the log event as a JSON document for writing. - - The log event to be formatted. - A JSON string representation of the log event. - - - - Generate description of JSON Layout - - JSON Layout String Description - - - - Abstract interface that layouts must implement. - - - - - Is this layout initialized? See - - - - - Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). - - - Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are - like that as well. - - Thread-agnostic layouts only use contents of for its output. - - - - - Gets the level of stack trace information required for rendering. - - - - - Gets the logging configuration this target is part of. - - - - - Converts a given text to a . - - Text to be converted. - object represented by the text. - - - - Implicitly converts the specified string to a . - - The layout string. - Instance of .' - - - - Implicitly converts the specified string to a . - - The layout string. - The NLog factories to use when resolving layout renderers. - Instance of . - - - - Implicitly converts the specified string to a . - - The layout string. - Whether should be thrown on parse errors (false = replace unrecognized tokens with a space). - Instance of . - - - - Create a from a lambda method. - - Method that renders the layout. - Tell if method is safe for concurrent threading. - Instance of . - - - - Precalculates the layout for the specified log event and stores the result - in per-log event cache. - - Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic]. - - The log event. - - Calling this method enables you to store the log event in a buffer - and/or potentially evaluate it in another thread even though the - layout may contain thread-dependent renderer. - - - - - Renders the event info in layout. - - The event info. - String representing log event. - - - - Optimized version of for internal Layouts. Works best - when override of is available. - - The event info. - Appends the string representing log event to target - Should rendering result be cached on LogEventInfo - - - - Valid default implementation of , when having implemented the optimized - - The logging event. - StringBuilder to help minimize allocations [optional]. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Optimized version of for internal Layouts, when - override of is available. - - - - - Try get value - - - rawValue if return result is true - false if we could not determine the rawValue - - - - Marks class as a layout renderer and assigns a format string to it. - - - - - Initializes a new instance of the class. - - Layout name. - - - - Parses layout strings. - - - - - Add to - - - - - - - Options available for - - - - - Default options - - - - - Layout renderer method can handle concurrent threads - - - - - Layout renderer method is agnostic to current thread context. This means it will render the same result indepdent of thread-context. - - - - - A specialized layout that supports header and footer. - - - - - Gets or sets the body layout (can be repeated multiple times). - - - - - - Gets or sets the header layout. - - - - - - Gets or sets the footer layout. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result. - - - - A specialized layout that renders Log4j-compatible XML events. - - - This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets the instance that renders log events. - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Represents a string with embedded placeholders that can render contextual information. - - - This layout is not meant to be used explicitly. Instead you can just use a string containing layout - renderers everywhere the layout is required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout string to parse. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - Whether should be thrown on parse errors. - - - - Original text before compile to Layout renderes - - - - - Gets or sets the layout text. - - - - - - Is the message fixed? (no Layout renderers used) - - - - - Get the fixed text. Only set when is true - - - - - Is the message a simple formatted string? (Can skip StringBuilder) - - - - - Gets a collection of objects that make up this layout. - - - - - Gets the level of stack trace information required for rendering. - - - - - Converts a text to a simple layout. - - Text to be converted. - A object. - - - - Escapes the passed text so that it can - be used literally in all places where - layout is normally expected without being - treated as layout. - - The text to be escaped. - The escaped text. - - Escaping is done by replacing all occurrences of - '${' with '${literal:text=${}' - - - - - Evaluates the specified text by expanding all layout renderers. - - The text to be evaluated. - Log event to be used for evaluation. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Evaluates the specified text by expanding all layout renderers - in new context. - - The text to be evaluated. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Returns a that represents the current object. - - - A that represents the current object. - - - - - - - - - - - - - - - - - - - - XML attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with xml-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A XML Element - - - - - - - - - - - Name of the element - - - - - - Value inside the element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - The name of the top XML node - The value of the top XML node - - - - Name of the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Value inside the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Auto indent and create new lines - - - - - - Gets the array of xml 'elements' configurations. - - - - - - Gets the array of 'attributes' configurations for the element - - - - - - Gets or sets whether a ElementValue with empty value should be included in the output - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - List of property names to exclude when is true - - - - - - XML element name to use when rendering properties - - - Support string-format where {0} means property-key-name - - Skips closing element tag when having configured - - - - - - XML attribute name to use when rendering property-key - - When null (or empty) then key-attribute is not included - - - Will replace newlines in attribute-value with - - - - - - XML attribute name to use when rendering property-value - - When null (or empty) then value-attribute is not included and - value is formatted as XML-element-value - - - Skips closing element tag when using attribute for value - - Will replace newlines in attribute-value with - - - - - - XML element name to use for rendering IList-collections items - - - - - - How far should the XML serializer follow object references before backing off - - - - - - Initializes the layout. - - - - - Formats the log event as a XML document for writing. - - The logging event. - for the result - - - - Formats the log event as a XML document for writing. - - The log event to be formatted. - A XML string representation of the log event. - - - - write attribute, only if is not empty - - - - - rendered - - - - Generate description of XML Layout - - XML Layout String Description - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - - - - - - - Name of the root XML element - - - - - - Value inside the root XML element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Represents the logging event. - - - - - Gets the date of the first log event created. - - - - - The formatted log message. - - - - - The log message including any parameter placeholders - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - Already parsed message template parameters. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - Exception information. - - - - Gets the unique identifier of log event which is automatically generated - and monotonously increasing. - - - - - Gets or sets the timestamp of the logging event. - - - - - Gets or sets the level of the logging event. - - - - - Gets a value indicating whether stack trace has been set for this event. - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Gets the entire stack trace. - - - - - Gets the callsite class name - - - - - Gets the callsite member function name - - - - - Gets the callsite source file path - - - - - Gets the callsite source file line number - - - - - Gets or sets the exception information. - - - - - Gets or sets the logger name. - - - - - Gets the logger short name. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the log message including any parameter placeholders. - - - - - Gets or sets the parameter values or null if no parameters have been specified. - - - - - Gets or sets the format provider that was provided while logging or - when no formatProvider was specified. - - - - - Gets or sets the message formatter for generating - Uses string.Format(...) when nothing else has been configured. - - - - - Gets the formatted message. - - - - - Checks if any per-event properties (Without allocation) - - - - - Gets the dictionary of per-event context properties. - - - - - Gets the dictionary of per-event context properties. - Internal helper for the PropertiesDictionary type. - - Create the event-properties dictionary, even if no initial template parameters - Provided when having parsed the message template and capture template parameters (else null) - - - - - Gets the named parameters extracted from parsing as MessageTemplate - - - - - Gets the dictionary of per-event context properties. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Creates the null event. - - Null log event. - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - The exception. - Instance of . - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates from this by attaching the specified asynchronous continuation. - - The asynchronous continuation. - Instance of with attached continuation. - - - - Returns a string representation of this log event. - - String representation of the log event. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace (Negative means NLog should skip stackframes from System-assemblies). - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Set the - - true = Always, false = Never, null = Auto Detect - - - - Specialized LogFactory that can return instances of custom logger types. - - Use this only when a custom Logger type is defined. - The type of the logger to be returned. Must inherit from . - - - - Gets the logger with type . - - The logger name. - An instance of . - - - - Gets a custom logger with the full name of the current class (so namespace and class name) and type . - - An instance of . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Overwrite possible file paths (including filename) for possible NLog config files. - When this property is null, the default file paths ( are used. - - - - - Occurs when logging changes. - - - - - Occurs when logging gets reloaded. - - - - - Initializes static members of the LogManager class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The config. - - - - Initializes a new instance of the class. - - The config loader - The custom AppEnvironmnet override - - - - Gets the current . - - - - - Gets or sets a value indicating whether exceptions should be thrown. See also . - - A value of true if exception should be thrown; otherwise, false. - By default exceptions are not thrown under any circumstances. - - - - Gets or sets a value indicating whether should be thrown. - - If null then is used. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. After setting this property all - existing loggers will be re-configured, so there is no need to call - manually. - - - - - Gets or sets the global log level threshold. Log events below this threshold are not logged. - - - - - Gets the default culture info to use as . - - - Specific culture info or null to use - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting - unmanaged resources. - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Creates a logger that discards all log messages. - - Null logger instance. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets the logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - The logger with type . - Type of the logger - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The type of the logger to create. The type must inherit from - The logger of type . - This is a slow-running method. Make sure you are not calling this method in a - loop. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - Name of the logger. - Type of the logger - The logger reference with type . Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The type of the logger to create. The type must inherit from . - The logger of type . Multiple calls to GetLogger with the - same argument aren't guaranteed to return the same logger reference. - - - - Loops through all loggers previously returned by GetLogger and recalculates their - target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time - will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flushes any pending log messages on all appenders. - - Config containing Targets to Flush - Flush completed notification (success / timeout) - Optional timeout that guarantees that completed notication is called. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Returns if logging is currently enabled. - - A value of if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Raises the event when the configuration is reloaded. - - Event arguments. - - - - Raises the event when the configuration is reloaded. - - Event arguments - - - - Currently this is disposing? - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; - false to release only unmanaged resources. - - - - Dispose all targets, and shutdown logging. - - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Logger cache key. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Determines if two objects are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Determines if two objects of the same type are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Logger cache. - - - - - Inserts or updates. - - - - - - - Internal for unit tests - - - - - Enables logging in implementation. - - - - - Initializes a new instance of the class. - - The factory. - - - - Enables logging. - - - - - Logging methods which only are executed when the DEBUG conditional compilation symbol is set. - - Remarks: - The DEBUG conditional compilation symbol is default enabled (only) in a debug build. - - If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods. - This could lead to better performance. - - See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx - - - Provides logging interface and utility functions. - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Initializes a new instance of the class. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Collection of context properties for the Logger. The logger will append it for all log events - - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Creates new logger that automatically appends the specified property to all log events (without changing current logger) - - Property Name - Property Value - New Logger object that automatically appends specified property - - - - Updates the specified context property for the current logger. The logger will append it for all log events. - - It could be rendered with ${event-properties:YOURNAME} - - With property, all properties could be changed. - - - Will affect all locations/contexts that makes use of the same named logger object. - - Property Name - Property Value - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Raises the event when the logger is reconfigured. - - Event arguments - - - - Implementation of logging engine. - - - - - Gets the filter result. - - The filter chain. - The log event. - default result if there are no filters, or none of the filters decides. - The result of the filter. - - - - Defines available log levels. - - - - - Trace log level. - - - - - Debug log level. - - - - - Info log level. - - - - - Warn log level. - - - - - Error log level. - - - - - Fatal log level. - - - - - Off log level. - - - - - Gets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - - - - - Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) - i.e LogLevel.Off is excluded. - - - - - Initializes a new instance of . - - The log level name. - The log level ordinal number. - - - - Gets the name of the log level. - - - - - Gets the ordinal of the log level. - - - - - Compares two objects - and returns a value indicating whether - the first one is equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal == level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is not equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal != level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than the second one. - - The first level. - The second level. - The value of level1.Ordinal > level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal >= level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than the second one. - - The first level. - The second level. - The value of level1.Ordinal < level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal <= level2.Ordinal. - - - - Gets the that corresponds to the specified ordinal. - - The ordinal. - The instance. For 0 it returns , 1 gives and so on. - - - - Returns the that corresponds to the supplied . - - The textual representation of the log level. - The enumeration value. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Determines whether the specified instance is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Compares the level to the other object. - - - The object object. - - - A value less than zero when this logger's is - less than the other logger's ordinal, 0 when they are equal and - greater than zero when this ordinal is greater than the - other ordinal. - - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Delegate used to set/get the culture in use. - - This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the instance used in the . - - Could be used to pass the to other methods - - - - Occurs when logging changes. - - - - - Occurs when logging gets reloaded. - - - - - Gets or sets a value indicating whether NLog should throw exceptions. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether should be thrown. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. - - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Gets or sets the global log threshold. Log events below this threshold are not logged. - - - - - Gets or sets the default culture to use. - - This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Adds the given assembly which will be skipped - when NLog is trying to find the calling method on stack trace. - - The assembly to skip. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The logger class. This class must inherit from . - The logger of type . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates a logger that discards all log messages. - - Null logger which discards all log messages. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - - - - Gets the specified named custom logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The logger class. This class must inherit from . - The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - The generic way for this method is - - - - Loops through all loggers previously returned by GetLogger. - and recalculates their target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Checks if logging is currently enabled. - - if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Dispose all targets, and shutdown logging. - - - - - Generates a formatted message from the log event - - Log event. - Formatted message - - - - Returns a log message. Used to defer calculation of - the log message until it's actually needed. - - Log message. - - - - Base implementation of a log receiver server which forwards received logs through or a given . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log factory. - - - - Processes the log messages. - - The events to process. - - - - Processes the log messages. - - The log events. - - - - Service contract for Log Receiver client. - - This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver server. - - - - - Processes the log messages. - - The events. - - - - Service contract for Log Receiver server. - - - - - Processes the log messages. - - The events. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Client of - - - - - Occurs when the log message processing has completed. - - - - - Occurs when Open operation has completed. - - - - - Occurs when Close operation has completed. - - - - - Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication. - - - - - Gets the underlying implementation. - - - - - Gets the target endpoint for the service to which the WCF client can connect. - - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Closes the client asynchronously. - - User-specific state. - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it. - - - - - Implementation of which forwards received logs through or a given . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log factory. - - - - Implementation of which forwards received logs through or a given . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log factory. - - - - Internal configuration of Log Receiver Service contracts. - - - - - Wire format for NLog Event. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the client-generated identifier of the event. - - - - - Gets or sets the ordinal of the log level. - - - - - Gets or sets the logger ordinal (index into . - - The logger ordinal. - - - - Gets or sets the time delta (in ticks) between the time of the event and base time. - - - - - Gets or sets the message string index. - - - - - Gets or sets the collection of layout values. - - - - - Gets the collection of indexes into array for each layout value. - - - - - Converts the to . - - The object this is part of.. - The logger name prefix to prepend in front of the logger name. - Converted . - - - - Wire format for NLog event package. - - - - - Gets or sets the name of the client. - - The name of the client. - - - - Gets or sets the base time (UTC ticks) for all events in the package. - - The base time UTC. - - - - Gets or sets the collection of layout names which are shared among all events. - - The layout names. - - - - Gets or sets the collection of logger names. - - The logger names. - - - - Gets or sets the list of events. - - The events. - - - - Converts the events to sequence of objects suitable for routing through NLog. - - The logger name prefix to prepend in front of each logger name. - - Sequence of objects. - - - - - Converts the events to sequence of objects suitable for routing through NLog. - - - Sequence of objects. - - - - - List of strings annotated for more terse serialization. - - - - - Initializes a new instance of the class. - - - - - Log Receiver Client using WCF. - - - This class marked as obsolete before NLog 4.3.11 and it will be removed in a future release. - - It provides an implementation of the legacy interface and it will be completely obsolete when the - ILogReceiverClient is removed. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Log Receiver Client facade. It allows the use either of the one way or two way - service contract using WCF through its unified interface. - - - Delegating methods are generated with Resharper. - 1. change ProxiedClient to private field (instead of public property) - 2. delegate members - 3. change ProxiedClient back to public property. - - - - - - The client getting proxied - - - - - Do we use one-way or two-way messaging? - - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - The binding. - The remote address. - - - - Causes a communication object to transition immediately from its current state into the closed state. - - - - - Begins an asynchronous operation to close a communication object. - - - The that references the asynchronous close operation. - - The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The default timeout elapsed before the was able to close gracefully. - - - - Begins an asynchronous operation to close a communication object with a specified timeout. - - - The that references the asynchronous close operation. - - The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The specified timeout elapsed before the was able to close gracefully. - - - - Begins an asynchronous operation to open a communication object. - - - The that references the asynchronous open operation. - - The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. - - - - Begins an asynchronous operation to open a communication object within a specified interval of time. - - - The that references the asynchronous open operation. - - The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication. - - - - - Causes a communication object to transition from its current state into the closed state. - - The that specifies how long the send operation has to complete before timing out. was called on an object in the state.The timeout elapsed before the was able to close gracefully. - - - - Causes a communication object to transition from its current state into the closed state. - - was called on an object in the state.The default close timeout elapsed before the was able to close gracefully. - - - - Closes the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Occurs when Close operation has completed. - - - - - Occurs when the communication object completes its transition from the closing state into the closed state. - - - - - Occurs when the communication object first enters the closing state. - - - - - Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it. - - - - - Completes an asynchronous operation to close a communication object. - - The that is returned by a call to the method. was called on an object in the state.The timeout elapsed before the was able to close gracefully. - - - - Completes an asynchronous operation to open a communication object. - - The that is returned by a call to the method.The was unable to be opened and has entered the state.The timeout elapsed before the was able to enter the state and has entered the state. - - - - Gets the target endpoint for the service to which the WCF client can connect. - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Occurs when the communication object first enters the faulted state. - - - - - Gets the underlying implementation. - - - - - Causes a communication object to transition from the created state into the opened state. - - The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. - - - - Causes a communication object to transition from the created state into the opened state within a specified interval of time. - - The that specifies how long the send operation has to complete before timing out.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Occurs when Open operation has completed. - - - - - Occurs when the communication object completes its transition from the opening state into the opened state. - - - - - Occurs when the communication object first enters the opening state. - - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Occurs when the log message processing has completed. - - - - - Gets the current state of the communication-oriented object. - - - The value of the of the object. - - - - - Causes a communication object to transition from its current state into the closed state. - - - - - Abstract base class for the WcfLogReceiverXXXWay classes. It can only be - used internally (see internal constructor). It passes off any Channel usage - to the inheriting class. - - Type of the WCF service. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Occurs when the log message processing has completed. - - - - - Occurs when Open operation has completed. - - - - - Occurs when Close operation has completed. - - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Closes the client asynchronously. - - User-specific state. - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Log Receiver Client using WCF. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Log Receiver Client using WCF. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Mapped Diagnostics Context - a thread-local structure that keeps a dictionary - of strings and provides methods to output them in layouts. - - - - - Gets the thread-local dictionary - - Must be true for any subsequent dictionary modification operation - - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The to use when converting a value to a . - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Returns all item names - - A set of the names of all items in current thread-MDC. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified exists in current thread MDC. - - - - Removes the specified from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary - of strings and provides methods to output them in layouts. Allows for maintaining state across - asynchronous tasks and call contexts. - - - Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original - NLog library so that state can be maintained for multiple threads in asynchronous situations. - - - - - Simulate ImmutableDictionary behavior (which is not yet part of all .NET frameworks). - In future the real ImmutableDictionary could be used here to minimize memory usage and copying time. - - Must be true for any subsequent dictionary modification operation - Prepare dictionary for additional inserts - - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The to use when converting a value to a string. - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Returns all item names - - A collection of the names of all items in current logical context. - - - - Checks whether the specified exists in current logical context. - - Item name. - A boolean indicating whether the specified exists in current logical context. - - - - Removes the specified from current logical context. - - Item name. - - - - Clears the content of current logical context. - - - - - Clears the content of current logical context. - - Free the full slot. - - - - Mapped Diagnostics Context - - This class marked as obsolete before NLog 2.0 and it may be removed in a future release. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified item exists in current thread MDC. - - - - Removes the specified item from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mark a parameter of a method for message templating - - - - - Specifies which parameter of an annotated method should be treated as message-template-string - - - - - The name of the parameter that should be as treated as message-template-string - - - - - The type of the captured hole - - - - - Not decided - - - - - normal {x} - - - - - Serialize operator {@x} (aka destructure) - - - - - stringification operator {$x} - - - - - A hole that will be replaced with a value - - - - - Constructor - - - - Parameter name sent to structured loggers. - This is everything between "{" and the first of ",:}". - Including surrounding spaces and names that are numbers. - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - Type - - - - When the template is positional, this is the parsed name of this parameter. - For named templates, the value of Index is undefined. - - - Alignment to render the parameter, by default 0. - This is the parsed value between "," and the first of ":}" - - - - A fixed value - - - - Number of characters from the original template to copy at the current position. - This can be 0 when the template starts with a hole or when there are multiple consecutive holes. - - - Number of characters to skip in the original template at the current position. - 0 is a special value that mean: 1 escaped char, no hole. It can also happen last when the template ends with a literal. - - - - Combines Literal and Hole - - - - Literal - - - Hole - Uninitialized when = 0. - - - - Description of a single parameter extracted from a MessageTemplate - - - - - Parameter Name extracted from - This is everything between "{" and the first of ",:}". - - - - - Parameter Value extracted from the -array - - - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - - Parameter method that should be used to render the parameter - See also - - - - - Returns index for , when - - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - Parameter CaptureType - - - - Parameters extracted from parsing as MessageTemplate - - - - - - - - - - - Gets the parameters at the given index - - - - - Number of parameters - - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Indicates whether the template was parsed successful, and there are no unmatched parameters - - - - - Constructor for parsing the message template with parameters - - including any parameter placeholders - All - - - - Constructor for named parameters that already has been parsed - - - - - Create MessageTemplateParameter from - - - - - A message template - - - - The original template string. - This is the key passed to structured targets. - - - The list of literal parts, useful for string rendering. - It indicates the number of characters from the original string to print, - then there's a hole with how many chars to skip. - - "Hello {firstName} {lastName}!" - ------------------------------------- - ║P |S ║P|S ║P|S║ - ║6 |11 ║1|10 ║1|0║ - ║Hello |{firstName}║ |{lastName}║!║ - - "{x} * 2 = {2x}" - -------------------- - ║P|S ║P |S ║ - ║0|3 ║7 |4 ║ - ║{x}║ * 2 = |{2x}║ - - The tricky part is escaped braces. They are represented by a skip = 0, - which is interpreted as "move one char forward, no hole". - - "Escaped }} is fun." - ---------------------- - ║P |S║P |S║ - ║9 |0║8 |0║ - ║Escaped }|}║ is fun.|║ - - - - This list of holes. It's used both to fill the string rendering - and to send values along the template to structured targets. - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Create a template, which is already parsed - - - - - - - - - Create a template, which is already parsed - - - - - - - - This is for testing only: recreates from the parsed data. - - - - This is for testing only: rebuilds the hole - - Add to this string builder - ref for performance - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Gets the current literal/hole in the template - - - - - Clears the enumerator - - - - - Restarts the enumerator of the template - - - - - Moves to the next literal/hole in the template - - Found new element [true/false] - - - - Parse format after hole name/index. Handle the escaped { and } in the format. Don't read the last } - - - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Error when parsing a template. - - - - - Current index when the error occurred. - - - - - The template we were parsing - - - - - New exception - - The message to be shown. - Current index when the error occurred. - - - - - Render templates - - - - - Render a template to a string. - - The template. - Culture. - Parameters for the holes. - Do not fallback to StringBuilder.Format for positional templates. - The String Builder destination. - Parameters for the holes. - - - - Render a template to a string. - - The template. - The String Builder destination. - Culture. - Parameters for the holes. - Rendered template, never null. - - - - Convert Render or serialize a value, with optionally backwards-compatible with - - - - Singleton - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Format an object to a readable string, or if it's an object, serialize - - The value to convert - - - - - - - - Try serializing a scalar (string, int, NULL) or simple type (IFormattable) - - - - - Serialize Dictionary as JSON like structure, without { and } - - - "FirstOrder"=true, "Previous login"=20-12-2017 14:55:32, "number of tries"=1 - - - formatstring of an item - - - - - - - - - Convert a value to a string with format and append to . - - The value to convert. - Format sting for the value. - Format provider for the value. - Append to this - - - - Nested Diagnostics Context - - This class marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top object off the NDC stack. The object is removed from the stack. - - The top object from the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all objects on the NDC stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Nested Diagnostics Context - a thread-local structure that keeps a stack - of strings and provides methods to output them in layouts - - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object at the top of the NDC stack if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified object on current thread NDC. - - The object to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top message from the NDC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top object off the NDC stack. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Peeks the first object on the NDC stack - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. - - Array of objects on the stack. - - - - Resets the stack to the original count during . - - - - - Initializes a new instance of the class. - - The stack. - The previous count. - - - - Reverts the stack to original item count. - - - - - Async version of - a logical context structure that keeps a stack - Allows for maintaining scope across asynchronous tasks and call contexts. - - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDLC stack. - - The top message which is no longer on the stack. - this methods returns a object instead of string, this because of backwards-compatibility - - - - Pops the top message from the NDLC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top message off the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the top object on the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the current scope, and returns its start time - - Scope Creation Time - - - - Peeks the first scope, and returns its start time - - Scope Creation Time - - - - Clears current stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Exception thrown during NLog configuration. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The inner exception. - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Exception thrown during log event processing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - TraceListener which routes all messages through NLog. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the log factory to use when outputting messages (null - use LogManager). - - - - - Gets or sets the default log level. - - - - - Gets or sets the log which should be always used regardless of source level. - - - - - Gets or sets a value indicating whether flush calls from trace sources should be ignored. - - - - - Gets a value indicating whether the trace listener is thread safe. - - - true if the trace listener is thread safe; otherwise, false. The default is false. - - - - Gets or sets a value indicating whether to use auto logger name detected from the stack trace. - - - - - When overridden in a derived class, writes the specified message to the listener you create in the derived class. - - A message to write. - - - - When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator. - - A message to write. - - - - When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output. - - - - - Emits an error message. - - A message to emit. - - - - Emits an error message and a detailed error message. - - A message to emit. - A detailed message to emit. - - - - Flushes the output (if is not true) buffer with the default timeout of 15 seconds. - - - - - Writes trace information, a data object and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - The trace data to emit. - - - - Writes trace information, an array of data objects and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - An array of objects to emit as data. - - - - Writes trace and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - - - - Writes trace information, a formatted array of objects and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - A format string that contains zero or more format items, which correspond to objects in the array. - An object array containing zero or more objects to format. - - - - Writes trace information, a message, and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - A message to write. - - - - Writes trace information, a message, a related activity identity and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - A numeric identifier for the event. - A message to write. - A object identifying a related activity. - - - - Gets the custom attributes supported by the trace listener. - - - A string array naming the custom attributes supported by the trace listener, or null if there are no custom attributes. - - - - - Translates the event type to level from . - - Type of the event. - Translated log level. - - - - Process the log event - The log level. - The name of the logger. - The log message. - The log parameters. - The event id. - The event type. - The related activity id. - - - - - It works as a normal but it discards all messages which an application requests - to be logged. - - It effectively implements the "Null Object" pattern for objects. - - - - - Initializes a new instance of . - - The factory class to be used for the creation of this logger. - - - - Extension methods to setup LogFactory options - - - - - Gets the logger with the full name of the current class, so namespace and class name. - - - - - Gets the specified named logger. - - - - - Configures loading of NLog extensions for Targets and LayoutRenderers - - - - - Configures the output of NLog for diagnostics / troubleshooting - - - - - Configures serialization and transformation of LogEvents - - - - - Loads NLog config created by the method - - - - - Loads NLog config provided in - - - - - Loads NLog config from filename if provided, else fallback to scanning for NLog.config - - - - - Loads NLog config from XML in - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Enable/disables autoloading of NLog extensions by scanning and loading available assemblies - - - Enabled by default, and gives a huge performance hit during startup. Recommended to disable this when running in the cloud. - - - - - Registers NLog extensions from the assembly. - - - - - Registers NLog extensions from the assembly type name - - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - MethodInfo extracted by reflection - typeof(MyClass).GetMethod("MyFunc", BindingFlags.Static). - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Extension methods to setup NLog options - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Overrides the active with a new custom implementation - - - - - Overrides the active with a new custom implementation - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Specifies the way archive numbering is performed. - - - - - Sequence style numbering. The most recent archive has the highest number. - - - - - Rolling style numbering (the most recent is always #0 then #1, ..., #N. - - - - - Date style numbering. Archives will be stamped with the prior period - (Year, Month, Day, Hour, Minute) datetime. - - - - - Date and sequence style numbering. - Archives will be stamped with the prior period (Year, Month, Day) datetime. - The most recent archive has the highest number (in combination with the date). - - - - - Sends log messages to the remote instance of Chainsaw application from log4j. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a name. - - Name of the target. - - - - Color formatting for using ANSI Color Codes - - - - - Not using bold to get light colors, as it has to be cleared - - - - - Not using bold to get light colors, as it has to be cleared (And because it only works for text, and not background) - - - - - Resets both foreground and background color. - - - - - ANSI have 8 color-codes (30-37) by default. The "bright" (or "intense") color-codes (90-97) are extended values not supported by all terminals - - - - - Color formatting for using - and - - - - - Writes log messages to the console with customizable coloring. - - Documentation on NLog Wiki - - - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default.In multithreaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether the error stream (stderr) should be used instead of the output stream (stdout). - - - - - - Gets or sets a value indicating whether to use default row highlighting rules. - - - The default rules are: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ConditionForeground ColorBackground Color
level == LogLevel.FatalRedNoChange
level == LogLevel.ErrorYellowNoChange
level == LogLevel.WarnMagentaNoChange
level == LogLevel.InfoWhiteNoChange
level == LogLevel.DebugGrayNoChange
level == LogLevel.TraceDarkGrayNoChange
-
- -
- - - The encoding for writing messages to the . - - Has side effect - - - - - Gets or sets a value indicating whether to auto-check if the console is available. - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-check if the console has been redirected to file - - Disables coloring logic when System.Console.IsOutputRedirected = true - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Enables output using ANSI Color Codes - - - - - - Gets the row highlighting rules. - - - - - - Gets the word highlighting rules. - - - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified log event to the console highlighting entries - and words based on a set of defined rules. - - Log event. - - - - Colored console output color. - - - Note that this enumeration is defined to be binary compatible with - .NET 2.0 System.ConsoleColor + some additions - - - - - Black Color (#000000). - - - - - Dark blue Color (#000080). - - - - - Dark green Color (#008000). - - - - - Dark Cyan Color (#008080). - - - - - Dark Red Color (#800000). - - - - - Dark Magenta Color (#800080). - - - - - Dark Yellow Color (#808000). - - - - - Gray Color (#C0C0C0). - - - - - Dark Gray Color (#808080). - - - - - Blue Color (#0000FF). - - - - - Green Color (#00FF00). - - - - - Cyan Color (#00FFFF). - - - - - Red Color (#FF0000). - - - - - Magenta Color (#FF00FF). - - - - - Yellow Color (#FFFF00). - - - - - White Color (#FFFFFF). - - - - - Don't change the color. - - - - - The row-highlighting condition. - - - - - Initializes static members of the ConsoleRowHighlightingRule class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The condition. - Color of the foreground. - Color of the background. - - - - Gets the default highlighting rule. Doesn't change the color. - - - - - Gets or sets the condition that must be met in order to set the specified foreground and background color. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Checks whether the specified log event matches the condition (if any). - - - Log event. - - - A value of if the condition is not defined or - if it matches, otherwise. - - - - - Writes log messages to the console. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default. In multi threaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. - - - - - - The encoding for writing messages to the . - - Has side effect - - - - - Gets or sets a value indicating whether to auto-check if the console is available - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Gets or sets whether to enable batch writing using char[]-buffers, instead of using - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified logging event to the Console.Out or - Console.Error depending on the value of the Error flag. - - The logging event. - - Note that the Error option is not supported on .NET Compact Framework. - - - - - - - - Write to output - - - - - Highlighting rule for Win32 colorful console. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The text to be matched.. - Color of the foreground. - Color of the background. - - - - Gets or sets the regular expression to be matched. You must specify either text or regex. - - - - - - Gets or sets the condition that must be met before scanning the row for highlight of words - - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets the text to be matched. You must specify either text or regex. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Gets the compiled regular expression that matches either Text or Regex property. Only used when is true. - - - - - Information about database command + parameters. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the type of the command. - - The type of the command. - - - - - Gets or sets the connection string to run the command against. If not provided, connection string from the target is used. - - - - - - Gets or sets the command text. - - - - - - Gets or sets a value indicating whether to ignore failures. - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a database named or positional parameter. - - - - - - Information about object-property for the database-connection-object - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name for the object-property - - - - - - Gets or sets the value to assign on the object-property - - - - - - Gets or sets the type of the object-property - - - - - - Gets or sets convert format of the property value - - - - - - Gets or sets the culture used for parsing property string-value for type-conversion - - - - - - Represents a parameter to a Database target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the parameter. - The parameter layout. - - - - Gets or sets the database parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets the database parameter DbType. - - - - - - Gets or sets the database parameter size. - - - - - - Gets or sets the database parameter precision. - - - - - - Gets or sets the database parameter scale. - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets convert format of the database parameter value. - - - - - - Gets or sets the culture used for parsing parameter string-value for type-conversion - - - - - - Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values. - - - - - - Writes log messages to the database using an ADO.NET provider. - - - - NETSTANDARD cannot load connectionstrings from .config - - Documentation on NLog Wiki - - - The configuration is dependent on the database type, because - there are different methods of specifying connection string, SQL - command and command parameters. - - MS SQL Server using System.Data.SqlClient: - - Oracle using System.Data.OracleClient: - - Oracle using System.Data.OleDBClient: - - To set up the log target programmatically use code like this (an equivalent of MSSQL configuration): - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets the name of the database provider. - - - - The parameter name should be a provider invariant name as registered in machine.config or app.config. Common values are: - -
    -
  • System.Data.SqlClient - SQL Sever Client
  • -
  • System.Data.SqlServerCe.3.5 - SQL Sever Compact 3.5
  • -
  • System.Data.OracleClient - Oracle Client from Microsoft (deprecated in .NET Framework 4)
  • -
  • Oracle.DataAccess.Client - ODP.NET provider from Oracle
  • -
  • System.Data.SQLite - System.Data.SQLite driver for SQLite
  • -
  • Npgsql - Npgsql driver for PostgreSQL
  • -
  • MySql.Data.MySqlClient - MySQL Connector/Net
  • -
- (Note that provider invariant names are not supported on .NET Compact Framework). - - Alternatively the parameter value can be be a fully qualified name of the provider - connection type (class implementing ) or one of the following tokens: - -
    -
  • sqlserver, mssql, microsoft or msde - SQL Server Data Provider
  • -
  • oledb - OLEDB Data Provider
  • -
  • odbc - ODBC Data Provider
  • -
-
- -
- - - Gets or sets the name of the connection string (as specified in <connectionStrings> configuration section. - - - - - - Gets or sets the connection string. When provided, it overrides the values - specified in DBHost, DBUserName, DBPassword, DBDatabase. - - - - - - Gets or sets the connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used. - - - - - - Gets the installation DDL commands. - - - - - - Gets the uninstallation DDL commands. - - - - - - Gets or sets a value indicating whether to keep the - database connection open between the log events. - - - - - - Obsolete - value will be ignored! The logging code always runs outside of transaction. - - Gets or sets a value indicating whether to use database transactions. - Some data providers require this. - - - - This option was removed in NLog 4.0 because the logging code always runs outside of transaction. - This ensures that the log gets written to the database if you rollback the main transaction because of an error and want to log the error. - - - - - Gets or sets the database host name. If the ConnectionString is not provided - this value will be used to construct the "Server=" part of the - connection string. - - - - - - Gets or sets the database user name. If the ConnectionString is not provided - this value will be used to construct the "User ID=" part of the - connection string. - - - - - - Gets or sets the database password. If the ConnectionString is not provided - this value will be used to construct the "Password=" part of the - connection string. - - - - - - Gets or sets the database name. If the ConnectionString is not provided - this value will be used to construct the "Database=" part of the - connection string. - - - - - - Gets or sets the text of the SQL command to be run on each log level. - - - Typically this is a SQL INSERT statement or a stored procedure call. - It should use the database-specific parameters (marked as @parameter - for SQL server or :parameter for Oracle, other data providers - have their own notation) and not the layout renderers, - because the latter is prone to SQL injection attacks. - The layout renderers should be specified as <parameter /> elements instead. - - - - - - Gets or sets the type of the SQL command to be run on each log level. - - - This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure". - When using the value StoredProcedure, the commandText-property would - normally be the name of the stored procedure. TableDirect method is not supported in this context. - - - - - - Gets the collection of parameters. Each item contains a mapping - between NLog layout and a database named or positional parameter. - - - - - - Gets the collection of properties. Each item contains a mapping - between NLog layout and a property on the DbConnection instance - - - - - - Gets the collection of properties. Each item contains a mapping - between NLog layout and a property on the DbCommand instance - - - - - - Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance. - - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Set the to use it for opening connections to the database. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the database. It creates - a new database command, prepares parameters for it by calculating - layouts and executes the command. - - The logging event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Write logEvent to database - - - - - Build the connectionstring from the properties. - - - Using at first, and falls back to the properties , - , and - - Event to render the layout inside the properties. - - - - - Escape quotes and semicolons. - See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722656(v=vs.85)#setting-values-that-use-reserved-characters - - - - - Create database parameter - - Current command. - Parameter configuration info. - - - - Extract parameter value from the logevent - - Current logevent. - Parameter configuration info. - - - - Create Default Value of Type - - - - - A descriptor for an archive created with the DateAndSequence numbering mode. - - - - - The full name of the archive file. - - - - - The parsed date contained in the file name. - - - - - The parsed sequence number contained in the file name. - - - - - Determines whether produces the same string as the current instance's date once formatted with the current instance's date format. - - The date to compare the current object's date to. - True if the formatted dates are equal, otherwise False. - - - - Initializes a new instance of the class. - - - - - Writes log messages to the attached managed debugger. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the attached debugger. - - The logging event. - - - - Mock target - useful for testing. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the number of times this target has been called. - - - - - - Gets the last message rendered by this target. - - - - - - Increases the number of messages. - - The logging event. - - - - Default class for serialization of values to JSON format. - - - - - Singleton instance of the serializer. - - - - - Private. Use - - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - Serialized value. - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - serialisation options - Serialized value. - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - The objects in path (Avoid cyclic reference loop). - The current depth (level) of recursion. - Object serialized successfully (true/false). - - - - No quotes needed for this type? - - - - - Checks the object if it is numeric - - TypeCode for the object - Accept fractional types as numeric type. - - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - all options - JSON escaped string - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - Should non-ascii characters be encoded - - JSON escaped string - - - - Writes log message to the Event Log. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Max size in characters (limitation of the EventLog API). - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - . to be used as Source. - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the machine on which Event Log service is running. - - - - - - Gets or sets the layout that renders event ID. - - - - - - Gets or sets the layout that renders event Category. - - - - - - Optional entry type. When not set, or when not convertible to then determined by - - - - - - Gets or sets the value to be used as the event Source. - - - By default this is the friendly name of the current AppDomain. - - - - - - Gets or sets the name of the Event Log to write to. This can be System, Application or any user-defined name. - - - - - - Gets or sets the message length limit to write to the Event Log. - - MaxMessageLength cannot be zero or negative - - - - - Gets or sets the maximum Event log size in kilobytes. - - - MaxKilobytes cannot be less than 64 or greater than 4194240 or not a multiple of 64. - If null, the value will not be specified while creating the Event log. - - - - - - Gets or sets the action to take if the message is larger than the option. - - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Initializes the target. - - - - - Writes the specified logging event to the event log. - - The logging event. - - - - Get the entry type for logging the message. - - The logging event - for rendering the - - - - Get the source, if and only if the source is fixed. - - null when not - Internal for unit tests - - - - (re-)create an event source, if it isn't there. Works only with fixed source names. - - The source name. If source is not fixed (see , then pass null or . - always throw an Exception when there is an error - - - - A wrapper for Windows event log. - - - - - A wrapper for the property . - - - - - A wrapper for the property . - - - - - A wrapper for the property . - - - - - A wrapper for the property . - - - - - Indicates whether an event log instance is associated. - - - - - A wrapper for the method . - - - - - Creates a new association with an instance of the event log. - - - - - A wrapper for the static method . - - - - - A wrapper for the static method . - - - - - A wrapper for the static method . - - - - - A wrapper for the static method . - - - - - The implementation of , that uses Windows . - - - - - - - - - - - - - - - - - - - - - - - - Creates a new association with an instance of Windows . - - - - - - - - - - - - - - - - - Action that should be taken if the message is greater than - the max message size allowed by the Event Log. - - - - - Truncate the message before writing to the Event Log. - - - - - Split the message and write multiple entries to the Event Log. - - - - - Discard of the message. It will not be written to the Event Log. - - - - - Check if cleanup should be performed on initialize new file - - Skip cleanup when initializing new file, just after having performed archive operation - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Characters determining the start of the . - - - - - Characters determining the end of the . - - - - - File name which is used as template for matching and replacements. - It is expected to contain a pattern to match. - - - - - The begging position of the - within the . -1 is returned - when no pattern can be found. - - - - - The ending position of the - within the . -1 is returned - when no pattern can be found. - - - - - Replace the pattern with the specified String. - - - - - - - Archives the log-files using a date style numbering. Archives will be stamped with the - prior period (Year, Month, Day, Hour, Minute) datetime. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Archives the log-files using a date and sequence style numbering. Archives will be stamped - with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in - combination with the date). - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Parse filename with date and sequence pattern - - - dateformat for archive - - the found pattern. When failed, then default - the found pattern. When failed, then default - - - - - Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes - duplicate archive filenames, then sequence-style is automatically enforced. - - Example: - Base Filename trace.log - Next Filename trace.0.log - - The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern. - Before called the original IFileArchiveMode, that has been wrapped by this - - - - - Determines if the file name as contains a numeric pattern i.e. {#} in it. - - Example: - trace{#}.log Contains the numeric pattern. - trace{###}.log Contains the numeric pattern. - trace{#X#}.log Contains the numeric pattern (See remarks). - trace.log Does not contain the pattern. - - Occasionally, this method can identify the existence of the {#} pattern incorrectly. - File name to be checked. - when the pattern is found; otherwise. - - - - Archives the log-files using a rolling style numbering (the most recent is always #0 then - #1, ..., #N. - - When the number of archive files exceed the obsolete archives - are deleted. - - - - - Replaces the numeric pattern i.e. {#} in a file name with the parameter value. - - File name which contains the numeric pattern. - Value which will replace the numeric pattern. - File name with the value of in the position of the numeric pattern. - - - - Archives the log-files using a sequence style numbering. The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Modes of archiving files based on time. - - - - - Don't archive based on time. - - - - - AddToArchive every year. - - - - - AddToArchive every month. - - - - - AddToArchive daily. - - - - - AddToArchive every hour. - - - - - AddToArchive every minute. - - - - - AddToArchive every Sunday. - - - - - AddToArchive every Monday. - - - - - AddToArchive every Tuesday. - - - - - AddToArchive every Wednesday. - - - - - AddToArchive every Thursday. - - - - - AddToArchive every Friday. - - - - - AddToArchive every Saturday. - - - - - Type of filepath - - - - - Detect of relative or absolute - - - - - Relative path - - - - - Absolute path - - Best for performance - - - - Writes log messages to one or more files. - - Documentation on NLog Wiki - - - - Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list. - - Clean up period is defined in days. - - - - The maximum number of initialized files before clean up procedures are initiated, - to keep the number of initialized files to a minimum. Chose 25 to cater for monthly rolling of log-files. - - - - - This value disables file archiving based on the size. - - - - - Holds the initialized files each given time by the instance. Against each file, the last write time is stored. - - Last write time is store in local time (no UTC). - - - - List of the associated file appenders with the instance. - - - - - The number of initialized files at any one time. - - - - - The maximum number of archive files that should be kept. - - - - - The maximum days of archive files that should be kept. - - - - - The filename as target - - - - - The archive file name as target - - - - - The date of the previous log event. - - - - - The file name of the previous log event. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the name of the file to write to. - - - This FileName string is a layout which may include instances of layout renderers. - This lets you use a single target to write to multiple files. - - - The following value makes NLog write logging events to files based on the log level in the directory where - the application runs. - ${basedir}/${level}.log - All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on. - You can combine as many of the layout renderers as you want to produce an arbitrary log file name. - - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. - If set to false, nothing gets written when the filename is wrong. - - - - - - Is the an absolute or relative path? - - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - - Gets or sets a value indicating whether to delete old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - - - - - - Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end. - - - - - - Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event. - - - Setting this property to True helps improve performance. - - - - - - Gets or sets the maximum number of log file names that should be stored as existing. - - - The bigger this number is the longer it will take to write each log record. The smaller the number is - the higher the chance that the clean function will be run when no new files have been opened. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - - Gets or sets the file attributes (Windows only). - - - - - - Gets or sets the line ending mode. - - - - - - Gets or sets a value indicating whether to automatically flush the file buffers after each log message. - - - - - - Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance - in a situation where a single File target is writing to many files - (such as splitting by level or by logger). - - - The files are managed on a LRU (least recently used) basis, which flushes - the files that have not been used for the longest period of time should the - cache become full. As a rule of thumb, you shouldn't set this parameter to - a very high value. A number like 10-15 shouldn't be exceeded, because you'd - be keeping a large number of files open which consumes system resources. - - - - - - Gets or sets the maximum number of seconds that files are kept open. If this number is negative the files are - not automatically closed after a period of inactivity. - - - - - - Gets or sets the maximum number of seconds before open files are flushed. If this number is negative or zero - the files are not flushed by timer. - - - - - - Gets or sets the log file buffer size in bytes. - - - - - - Gets or sets the file encoding. - - - - - - Gets or sets whether or not this target should just discard all data that its asked to write. - Mostly used for when testing NLog Stack except final write - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts. - - - This effectively prevents files from being kept open. - - - - - - Gets or sets a value indicating whether to write BOM (byte order mark) in created files - - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - The actual delay is a random value between 0 and the value specified - in this parameter. On each failed attempt the delay base is doubled - up to times. - - - Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:

- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...

- and so on. - - - - -

- Gets or sets a value indicating whether to archive old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - After archiving the old file, the current log file will be empty. - - -
- - - Gets or sets a value of the file size threshold to archive old log file on startup. - - - This option won't work if is set to false - Default value is 0 which means that the file is archived as soon as archival on - startup is enabled. - - - - - - Gets or sets a value specifying the date format to use when archiving files. - - - This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence. - - - - - - Gets or sets the size in bytes above which log files will be automatically archived. - - Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. - Choose: - - - Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. - - - - - - Gets or sets a value indicating whether to automatically archive log files every time the specified time passes. - - - Files are moved to the archive as part of the write operation if the current period of time changes. For example - if the current hour changes from 10 to 11, the first write that will occur - on or after 11:00 will trigger the archiving. -

- Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. -

-
- -
- - - Is the an absolute or relative path? - - - - - - Gets or sets the name of the file to be used for an archive. - - - It may contain a special placeholder {#####} - that will be replaced with a sequence of numbers depending on - the archiving strategy. The number of hash characters used determines - the number of numerical digits to be used for numbering files. - - - - - - Gets or sets the maximum number of archive files that should be kept. - - - - - - Gets or sets the maximum days of archive files that should be kept. - - - - - - Gets or sets the way file archives are numbered. - - - - - - Used to compress log files during archiving. - This may be used to provide your own implementation of a zip file compressor, - on platforms other than .Net4.5. - Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise. - - - - - - Gets or sets a value indicating whether to compress archive files into the zip archive format. - - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - - Gets or sets a value indicating whether file creation calls should be synchronized by a system global mutex. - - - - - - Gets or sets a value indicating whether the footer should be written only when the file is archived. - - - - - - Gets the characters that are appended after each line. - - - - - Refresh the ArchiveFilePatternToWatch option of the . - The log file must be watched for archiving when multiple processes are writing to the same - open file. - - - - - Removes records of initialized files that have not been - accessed in the last two days. - - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Removes records of initialized files that have not been - accessed after the specified date. - - The cleanup threshold. - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Flushes all pending file operations. - - The asynchronous continuation. - - The timeout parameter is ignored, because file APIs don't provide - the needed functionality. - - - - - Returns the suitable appender factory ( ) to be used to generate the file - appenders associated with the instance. - - The type of the file appender factory returned depends on the values of various properties. - - suitable for this instance. - - - - Initializes file logging by creating data structures that - enable efficient multi-file logging. - - - - - Closes the file(s) opened for writing. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Writes the specified logging event to a file specified in the FileName - parameter. - - The logging event. - - - - Get full filename (=absolute) and cleaned if needed. - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes the specified array of logging events to a file specified in the FileName - parameter. - - An array of objects. - - This function makes use of the fact that the events are batched by sorting - the requests by filename. This optimizes the number of open/close calls - and can help improve performance. - - - - - Returns estimated size for memory stream, based on events count and first event size in bytes. - - Count of events - Bytes count of first event - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Gets the bytes to be written to the file. - - Log event. - Array of bytes that are ready to be written. - - - - Modifies the specified byte array before it gets sent to a file. - - The byte array. - The modified byte array. The function can do the modification in-place. - - - - Gets the bytes to be written to the file. - - The log event to be formatted. - to help format log event. - Optional temporary char-array to help format log event. - Destination for the encoded result. - - - - Formats the log event for write. - - The log event to be formatted. - for the result. - - - - Modifies the specified byte array before it gets sent to a file. - - The LogEvent being written - The byte array. - - - - Archives fileName to archiveFileName. - - File name to be archived. - Name of the archive file. - - - - Gets the correct formatting to be used based on the value of for converting values which will be inserting into file - names during archiving. - - This value will be computed only when a empty value or is passed into - - Date format to used irrespectively of value. - Formatting for dates. - - - - Calculate the DateTime of the requested day of the week. - - The DateTime of the previous log event. - The next occuring day of the week to return a DateTime for. - The DateTime of the next occuring dayOfWeek. - For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return - Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. - - - - Invokes the archiving process after determining when and which type of archiving is required. - - File name to be checked and archived. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - - - - Gets the pattern that archive files will match - - Filename of the log file - Log event that the instance is currently processing. - A string with a pattern that will match the archive file names - - - - Archives the file if it should be archived. - - The file name to check for. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - True when archive operation of the file was completed (by this target or a concurrent target) - - - - Closes any active file-appenders that matches the input filenames. - File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive - - - - - Indicates if the automatic archiving process should be executed. - - File name to be written. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Returns the correct filename to archive - - - - - Gets the file name for archiving, or null if archiving should not occur based on file size. - - File name to be written. - The size in bytes of the next chunk of data to be written in the file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists - - - - - Returns the file name for archiving, or null if archiving should not occur based on date/time. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - - High resolution Time - Time Resolution Level - Truncated Low Resolution Time - - - - Evaluates which parts of a file should be written (header, content, footer) based on various properties of - instance and writes them. - - File name to be written. - Raw sequence of to be written into the content part of the file. - File has just been opened. - - - - Initialise a file to be used by the instance. Based on the number of initialized - files and the values of various instance properties clean up and/or archiving processes can be invoked. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file (DateTime.MinValue if just initialized). - - - - Writes the file footer and finalizes the file in instance internal structures. - - File name to close. - Indicates if the file is being finalized for archiving. - - - - Writes the footer information to a file. - - The file path to write to. - - - - Decision logic whether to archive logfile on startup. - and properties. - - File name to be written. - Decision whether to archive or not. - - - - Invokes the archiving and clean up of older archive file based on the values of - and - properties respectively. - - File name to be written. - Log event that the instance is currently processing. - - - - Creates the file specified in and writes the file content in each entirety i.e. - Header, Content and Footer. - - The name of the file to be written. - Sequence of to be written in the content section of the file. - First attempt to write? - This method is used when the content of the log file is re-written on every write. - - - - Writes the header information and byte order mark to a file. - - File appender associated with the file. - - - - The sequence of to be written in a file after applying any formatting and any - transformations required from the . - - The layout used to render output message. - Sequence of to be written. - Usually it is used to render the header and hooter of the files. - - - - Controls the text and color formatting for - - - - - Creates a TextWriter for the console to start building a colored text message - - Active console stream - Optional StringBuilder to optimize performance - TextWriter for the console - - - - Releases the TextWriter for the console after having built a colored text message (Restores console colors) - - Colored TextWriter - Active console stream - Original foreground color for console (If changed) - Original background color for console (If changed) - Flush TextWriter - - - - Changes foreground color for the Colored TextWriter - - Colored TextWriter - New foreground color for the console - Old previous backgroundColor color for the console - Old foreground color for the console - - - - Changes backgroundColor color for the Colored TextWriter - - Colored TextWriter - New backgroundColor color for the console - Old previous backgroundColor color for the console - Old backgroundColor color for the console - - - - Restores console colors back to their original state - - Colored TextWriter - Original foregroundColor color for the console - Original backgroundColor color for the console - - - - Writes multiple characters to console in one operation (faster) - - Colored TextWriter - Output Text - Start Index - End Index - - - - Writes single character to console - - Colored TextWriter - Output Text - - - - Writes whole string and completes with newline - - Colored TextWriter - Output Text - - - - Default row highlight rules for the console printer - - - - - Check if cleanup should be performed on initialize new file - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Create a wildcard file-mask that allows one to find all files belonging to the same archive. - - Base archive file pattern - Wildcard file-mask - - - - Search directory for all existing files that are part of the same archive. - - Base archive file pattern - - - - - Generate the next archive filename for the archive. - - Base archive file pattern - File date of archive - Existing files in the same archive - - - - - Return all files that should be removed from the provided archive. - - Base archive file pattern - Existing files in the same archive - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - - - - may be configured to compress archived files in a custom way - by setting before logging your first event. - - - - - Create archiveFileName by compressing fileName. - - Absolute path to the log file to compress. - Absolute path to the compressed archive file to create. - - - - Interface for serialization of values, maybe even objects to JSON format. - Useful for wrappers for existing serializers. - - - - - Returns a serialization of an object - into JSON format. - - The object to serialize to JSON. - Serialized value (null = Serialize failed). - - - - Options for JSON serialisation - - - - - Add quotes around object keys? - - - - - Format provider for value - - - - - Format string for value - - - - - Should non-ascii characters be encoded - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - - - Serialize enum as string value - - - - - Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_). - - Any other characters will be converted to underscore character (_) - - - - - How far down the rabbit hole should the Json Serializer go with object-reflection before stopping - - - - Initializes a new instance of the class. - - - - Line ending mode. - - - - - Insert platform-dependent end-of-line sequence after each line. - - - - - Insert CR LF sequence (ASCII 13, ASCII 10) after each line. - - - - - Insert CR character (ASCII 13) after each line. - - - - - Insert LF character (ASCII 10) after each line. - - - - - Insert null terminator (ASCII 0) after each line. - - - - - Do not insert any line ending. - - - - - Gets the name of the LineEndingMode instance. - - - - - Gets the new line characters (value) of the LineEndingMode instance. - - - - - Initializes a new instance of . - - The mode name. - The new line characters to be used. - - - - Returns the that corresponds to the supplied . - - - The textual representation of the line ending mode, such as CRLF, LF, Default etc. - Name is not case sensitive. - - The value, that corresponds to the . - There is no line ending mode with the specified name. - - - - Compares two objects and returns a - value indicating whether the first one is equal to the second one. - - The first level. - The second level. - The value of mode1.NewLineCharacters == mode2.NewLineCharacters. - - - - Compares two objects and returns a - value indicating whether the first one is not equal to the second one. - - The first mode - The second mode - The value of mode1.NewLineCharacters != mode2.NewLineCharacters. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms - and data structures like a hash table. - - - - - Determines whether the specified is - equal to this instance. - - The to compare with - this instance. - - Value of true if the specified - is equal to this instance; otherwise, false. - - - The parameter is null. - - - - Indicates whether the current object is equal to another object of the same type. - true if the current object is equal to the parameter; otherwise, false. - An object to compare with this object. - - - - Provides a type converter to convert objects to and from other representations. - - - - - Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context. - - - true if this converter can perform the conversion; otherwise, false. - - An that provides a format context. A that represents the type you want to convert from. - - - - Converts the given object to the type of this converter, using the specified context and culture information. - - - An that represents the converted value. - - An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed. - - - - Sends log messages to a NLog Receiver Service (using WCF or Web Services). - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets the endpoint address. - - The endpoint address. - - - - - Gets or sets the name of the endpoint configuration in WCF configuration file. - - The name of the endpoint configuration. - - - - - Gets or sets a value indicating whether to use binary message encoding. - - - - - - Gets or sets a value indicating whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply) - - - - - - Gets or sets the client ID. - - The client ID. - - - - - Gets the list of parameters. - - The parameters. - - - - - Gets or sets a value indicating whether to include per-event properties in the payload sent to the server. - - - - - - Called when log events are being sent (test hook). - - The events. - The async continuations. - True if events should be sent, false to stop processing them. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Append" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Add value to the , returns ordinal in - - - lookup so only unique items will be added to - value to add - - - - - Creating a new instance of WcfLogReceiverClient - - Inheritors can override this method and provide their own - service configuration - binding and endpoint address - - This method marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creating a new instance of IWcfLogReceiverClient - - Inheritors can override this method and provide their own - service configuration - binding and endpoint address - - - virtual is used by end users - - - - Sends log messages by email using SMTP protocol. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- Mail target works best when used with BufferingWrapper target - which lets you send multiple log messages in single mail -

-

- To set up the buffered mail target in the configuration file, - use the following syntax: -

- -

- To set up the buffered mail target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets the mailSettings/smtp configuration from app.config in cases when we need those configuration. - E.g when UseSystemNetMailSettings is enabled and we need to read the From attribute from system.net/mailSettings/smtp - - Internal for mocking - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets sender's email address (e.g. joe@domain.com). - - - - - - Gets or sets recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets a value indicating whether to add new lines between log entries. - - A value of true if new lines should be added; otherwise, false. - - - - - Gets or sets the mail subject. - - - - - - Gets or sets mail message body (repeated for each log message send in one mail). - - Alias for the Layout property. - - - - - Gets or sets encoding to be used for sending e-mail. - - - - - - Gets or sets a value indicating whether to send message as HTML instead of plain text. - - - - - - Gets or sets SMTP Server to be used for sending. - - - - - - Gets or sets SMTP Authentication mode. - - - - - - Gets or sets the username used to connect to SMTP server (used when SmtpAuthentication is set to "basic"). - - - - - - Gets or sets the password used to authenticate against SMTP server (used when SmtpAuthentication is set to "basic"). - - - - - - Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server. - - . - - - - Gets or sets the port number that SMTP Server is listening on. - - - - - - Gets or sets a value indicating whether the default Settings from System.Net.MailSettings should be used. - - - - - - Specifies how outgoing email messages will be handled. - - - - - - Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. - - - - - - Gets or sets the priority used for sending mails. - - - - - - Gets or sets a value indicating whether NewLine characters in the body should be replaced with
tags. -
- Only happens when is set to true. - -
- - - Gets or sets a value indicating the SMTP client timeout. - - Warning: zero is not infinite waiting - - - - - Writes async log event to the mail target. - - The logging event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes log events to the mail target. - - Array of logging events. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Create mail and send with SMTP - - event printed in the body of the event - - - - Create buffer for body - - all events - first event for header - last event for footer - - - - - Set properties of - - last event for username/password - client to set properties on - Configure not at , as the properties could have layout renderers. - - - - Handle if it is a virtual directory. - - - - - - - Create key for grouping. Needed for multiple events in one mail message - - event for rendering layouts - string to group on - - - - Append rendered to - - append to this - event for rendering - append if not null - - - - Create the mail message with the addresses, properties and body. - - - - - Render and add the addresses to - - Addresses appended to this list - layout with addresses, ; separated - event for rendering the - added a address? - - - - Writes log messages to in memory for programmatic retrieval. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the list of logs gathered in the . - - - - - Gets or sets the max number of items to have in memory - - - - - - Renders the logging event message and adds to - - The logging event. - - - - A parameter to MethodCall. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout to use for parameter value. - - - - Initializes a new instance of the class. - - Name of the parameter. - The layout. - - - - Initializes a new instance of the class. - - The name of the parameter. - The layout. - The type of the parameter. - - - - Gets or sets the name of the parameter. - - - - - - Gets or sets the type of the parameter. Obsolete alias for - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Calls the specified static method on each log message and passes contextual parameters to it. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets the class name. - - - - - - Gets or sets the method name. The method must be public and static. - - Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx - e.g. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - Name of the target. - Method to call on logevent. - - - - Initializes the target. - - - - - Calls the specified Method. - - Method parameters. - The logging event. - - - - Calls the specified Method. - - Method parameters. - - - - The base class for all targets which call methods (local or remote). - Manages parameters and type coercion. - - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - - - - Prepares an array of parameters to be passed based on the logging event and calls DoInvoke(). - - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Sends log messages over the network. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- To print the results, use any application that's able to receive messages over - TCP or UDP. NetCat is - a simple but very powerful command-line tool that can be used for that. This image - demonstrates the NetCat tool receiving log messages from Network target. -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will be very slow. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-

- There are two specialized versions of the Network target: Chainsaw - and NLogViewer which write to instances of Chainsaw log4j viewer - or NLogViewer application respectively. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the network address. - - - The network address can be: -
    -
  • tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
  • -
  • tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
  • -
  • tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
  • -
  • udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • http://host:port/pageName - HTTP using POST verb
  • -
  • https://host:port/pageName - HTTPS using POST verb
  • -
- For SOAP-based webservice support over HTTP use WebService target. -
- -
- - - Gets or sets a value indicating whether to keep connection open whenever possible. - - - - - - Gets or sets a value indicating whether to append newline at the end of log message. - - - - - - Gets or sets the end of line value if a newline is appended at the end of log message . - - - - - - Gets or sets the maximum message size in bytes. - - - - - - Gets or sets the size of the connection cache (number of connections which are kept alive). - - - - - - Gets or sets the maximum current connections. 0 = no maximum. - - - - - - Gets or sets the action that should be taken if the will be more connections than . - - - - - - Gets or sets the maximum queue size. - - - - - - Gets or sets the action that should be taken if the message is larger than - maxMessageSize. - - - - - - Gets or sets the encoding to be used. - - - - - - Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. - - - - - - The number of seconds a connection will remain idle before the first keep-alive probe is sent - - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Sends the - rendered logging event over the network optionally concatenating it with a newline character. - - The logging event. - - - - Try to remove. - - - - - removed something? - - - - Gets the bytes to be written. - - Log event. - Byte array. - - - - The action to be taken when there are more connections then the max. - - - - - Just allow it. - - - - - Discard the connection item. - - - - - Block until there's more room in the queue. - - - - - Action that should be taken if the message overflows. - - - - - Report an error. - - - - - Split the message into smaller pieces. - - - - - Discard the entire message. - - - - - Represents a parameter to a NLogViewer target. - - - - - Initializes a new instance of the class. - - - - - Gets or sets viewer parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - Sends log messages to the remote instance of NLog Viewer. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include stack contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the renderer for log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets the layout renderer which produces Log4j-compatible XML events. - - - - - Gets or sets the instance of that is used to format log messages. - - - - - - Discards log messages. Used mainly for debugging and benchmarking. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets a value indicating whether to perform layout calculation. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Does nothing. Optionally it calculates the layout text but - discards the results. - - The logging event. - - - - Outputs log messages through the OutputDebugString() Win32 API. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - - - - Increments specified performance counter on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
- - TODO: - 1. Unable to create a category allowing multiple counter instances (.Net 2.0 API only, probably) - 2. Is there any way of adding new counters without deleting the whole category? - 3. There should be some mechanism of resetting the counter (e.g every day starts from 0), or auto-switching to - another counter instance (with dynamic creation of new instance). This could be done with layouts. - -
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether performance counter should be automatically created. - - - - - - Gets or sets the name of the performance counter category. - - - - - - Gets or sets the name of the performance counter. - - - - - - Gets or sets the performance counter instance name. - - - - - - Gets or sets the counter help text. - - - - - - Gets or sets the performance counter type. - - - - - - The value by which to increment the counter. - - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Increments the configured performance counter. - - Log event. - - - - Closes the target and releases any unmanaged resources. - - - - - Ensures that the performance counter has been initialized. - - True if the performance counter is operational, false otherwise. - - - - SMTP authentication modes. - - - - - No authentication. - - - - - Basic - username and password. - - - - - NTLM Authentication. - - - - - Represents logging target. - - - - Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts - - - - The Max StackTraceUsage of all the in this Target - - - - - Gets or sets the name of the target. - - - - - - Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers - Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - - - - Can be used if has been enabled. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - This method won't prerender if all layouts in this target are thread-agnostic. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Writes async log event to the log target. - - Async Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Log event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - NOTE! Obsolete, instead override WriteAsyncThreadSafe(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target, in a thread safe manner. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Renders the event info in layout. - - The layout. - The event info. - String representing log event. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Should the exception be rethrown? - - - Upgrade to private protected when using C# 7.2 - - - - Marks class as a logging target and assigns a name to it. - - This attribute is not required when registering the target in the API. - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page). - - - - - Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page). - - - - - Attribute details for - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Gets or sets when an empty value should cause the property to be included - - - - - Gets or sets the type of the property. - - - - - Represents target that supports context capture using MDLC, MDC, NDLC and NDC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets or sets a value indicating whether to include contents of the dictionary - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the - - - - - - Gets the array of custom attributes to be passed into the logevent context - - - - - - Constructor - - - - - - - - Check if logevent has properties (or context properties) - - - True if properties should be included - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Dictionary with any context properties for the logEvent (Null if none found) - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Optional prefilled dictionary - Dictionary with any context properties for the logEvent (Null if none found) - - - - Creates combined dictionary of all configured properties for logEvent - - - Dictionary with all collected properties for logEvent - - - - Creates combined dictionary of all configured properties for logEvent - - - Optional prefilled dictionary - Dictionary with all collected properties for logEvent - - - - Generates a new unique name, when duplicate names are detected - - LogEvent that triggered the duplicate name - Duplicate item name - Item Value - Dictionary of context values - New (unique) value (or null to skip value). If the same value is used then the item will be overwritten - - - - Returns the captured snapshot of for the - - - Dictionary with MDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with MDLC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with GDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDC key - MDC value - Snapshot of MDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDLC key - MDLC value - Snapshot of MDLC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDC value - Snapshot of NDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDLC value - Snapshot of NDLC value - Include object value in snapshot - - - - Take snapshot of a single object value - - Log event - Key Name (null when NDC / NDLC) - Object Value - Snapshot of value - Include object value in snapshot - - - Internal Layout that allows capture of MDC context - - - Internal Layout that allows capture of NDC context - - - Internal Layout that allows capture of MDLC context - - - Internal Layout that allows capture of NDLC context - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the layout used to format log messages. - - - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the text to be rendered. - - - - - - Gets or sets the footer. - - - - - - Gets or sets the header. - - - - - - Gets or sets the layout with header and footer. - - The layout with header and footer. - - - - Sends log messages through System.Diagnostics.Trace. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Always use independent of - - - - - - Forward to (Instead of ) - - - Trace.Fail can have special side-effects, and give fatal exceptions, message dialogs or Environment.FailFast - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Writes the specified logging event to the facility. - - Redirects the log message depending on and . - When is false: - - writes to - - writes to - - writes to - - writes to - - writes to - - writes to - - The logging event. - - - - Web service protocol. - - - - - Use SOAP 1.1 Protocol. - - - - - Use SOAP 1.2 Protocol. - - - - - Use HTTP POST Protocol. - - - - - Use HTTP GET Protocol. - - - - - Do an HTTP POST of a JSON document. - - - - - Do an HTTP POST of an XML document. - - - - - Web Service Proxy Configuration Type - - - - - Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy) - - - Example of how to configure default proxy using app.config - - <system.net> - <defaultProxy enabled = "true" useDefaultCredentials = "true" > - <proxy usesystemdefault = "True" /> - </defaultProxy> - </system.net> - - - - - - Automatic use of proxy with authentication (cached) - - - - - Disables use of proxy (fast) - - - - - Custom proxy address (cached) - - - - - Calls the specified web service on each log message. - - Documentation on NLog Wiki - - The web service must implement a method that accepts a number of string parameters. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

The example web service that works with this example is shown below

- -
-
- - - dictionary that maps a concrete implementation - to a specific -value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target - - - - Gets or sets the web service URL. - - - - - - Gets or sets the value of the User-agent HTTP header. - - - - - - Gets or sets the Web service method name. Only used with Soap. - - - - - - Gets or sets the Web service namespace. Only used with Soap. - - - - - - Gets or sets the protocol to be used when calling web service. - - - - - - Gets or sets the proxy configuration when calling web service - - - - - - Gets or sets the custom proxy address, include port separated by a colon - - - - - - Should we include the BOM (Byte-order-mark) for UTF? Influences the property. - - This will only work for UTF-8. - - - - - - Gets or sets the encoding. - - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Gets or sets the name of the root XML element, - if POST of XML document chosen. - If so, this property must not be null. - (see and ). - - - - - - Gets or sets the (optional) root namespace of the XML document, - if POST of XML document chosen. - (see and ). - - - - - - Gets the array of parameters to be passed. - - - - - - Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters) - - - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Invokes the web service method. - - Parameters to be passed. - The logging event. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. - - - - - - - Write from input to output. Fix the UTF-8 bom - - - - - - - - - base class for POST formatters, that - implement former PrepareRequest() method, - that creates the content for - the requested kind of HTTP request - - - - - Win32 file attributes. - - - For more information see https://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp. - - - - - Read-only file. - - - - - Hidden file. - - - - - System file. - - - - - File should be archived. - - - - - Device file. - - - - - Normal file. - - - - - File is temporary (should be kept in cache and not - written to disk if possible). - - - - - Sparse file. - - - - - Reparse point. - - - - - Compress file contents. - - - - - File should not be indexed by the content indexing service. - - - - - Encrypted file. - - - - - The system writes through any intermediate cache and goes directly to disk. - - - - - The system opens a file with no system caching. - - - - - Delete file after it is closed. - - - - - A file is accessed according to POSIX rules. - - - - - Asynchronous request queue. - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Gets or sets the request limit. - - - - - Gets or sets the action to be taken when there's no more room in - the queue and another request is enqueued. - - - - - Notifies about log event that was dropped when set to - - - - - Notifies when queue size is growing over - - - - - Raise event when queued element was dropped because of queue overflow - - Dropped queue item - - - - Raise event when RequestCount overflow - - current requests count - - - - Provides asynchronous, buffered execution of target writes. - - Documentation on NLog Wiki - -

- Asynchronous target wrapper allows the logger code to execute more quickly, by queueing - messages and processing them in a separate thread. You should wrap targets - that spend a non-trivial amount of time in their Write() method with asynchronous - target to speed up logging. -

-

- Because asynchronous logging is quite a common scenario, NLog supports a - shorthand notation for wrapping all targets with AsyncWrapper. Just add async="true" to - the <targets/> element in the configuration file. -

- - - ... your targets go here ... - - ]]> -
- -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of requests in the queue. - The action to be taken when the queue overflows. - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity) - - - - - - Raise event when Target cannot store LogEvent. - Event arg contains lost LogEvents - - - - - Raises when event queue grow. - Queue can grow when was set to - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the limit of full s to write before yielding into - Performance is better when writing many small batches, than writing a single large batch - - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - - Gets the queue of lazy writer thread requests. - - - - - Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target by starting the lazy writer timer. - - - - - Shuts down the lazy writer timer. - - - - - Starts the lazy writer thread which periodically writes - queued log messages. - - - - - Attempts to start an instant timer-worker-thread which can write - queued log messages. - - Returns true when scheduled a timer-worker-thread - - - - Stops the lazy writer thread. - - - - - Adds the log event to asynchronous queue to be processed by - the lazy writer thread. - - The log event. - - The is called - to ensure that the log event can be processed in another thread. - - - - - Write to queue without locking - - - - - - The action to be taken when the queue overflows. - - - - - Grow the queue. - - - - - Discard the overflowing item. - - - - - Block until there's more room in the queue. - - - - - Causes a flush on a wrapped target if LogEvent satisfies the . - If condition isn't set, flushes on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Gets or sets the condition expression. Log events who meet this condition will cause - a flush on the wrapped target. - - - - - - Delay the flush until the LogEvent has been confirmed as written - - If not explicitly set, then disabled by default for and AsyncTaskTarget - - - - - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - The wrapped target. - Name of the target - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes the target. - - - - - Forwards the call to the .Write() - and calls on it if LogEvent satisfies - the flush condition or condition is null. - - Logging event to be written out. - - - - Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - A target that buffers log events and sends them in batches to the wrapped target. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - The action to take when the buffer overflows. - - - - Gets or sets the number of log events to be buffered. - - - - - - Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed - if there's no write in the specified period of time. Use -1 to disable timed flushes. - - - - - - Gets or sets a value indicating whether to use sliding timeout. - - - This value determines how the inactivity period is determined. If sliding timeout is enabled, - the inactivity timer is reset after each write, if it is disabled - inactivity timer will - count from the first event written to the buffer. - - - - - - Gets or sets the action to take if the buffer overflows. - - - Setting to will replace the - oldest event with new events without sending events down to the wrapped target, and - setting to will flush the - entire buffer to the wrapped target. - - - - - - Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target. - - - - - Closes the target by flushing pending events in the buffer (if any). - - - - - Adds the specified log event to the buffer and flushes - the buffer in case the buffer gets full. - - The log event. - - - - The action to be taken when the buffer overflows. - - - - - Flush the content of the buffer. - - - - - Discard the oldest item. - - - - - A base class for targets which wrap other (multiple) targets - and provide various forms of target routing. - - - - - Initializes a new instance of the class. - - The targets. - - - - Gets the collection of targets managed by this compound target. - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Writes logging event to the log target. - - Logging event to be written out. - - - - Flush any pending log messages for all wrapped targets. - - The asynchronous continuation. - - - - Provides fallback-on-error. - - Documentation on NLog Wiki - -

This example causes the messages to be written to server1, - and if it fails, messages go to server2.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Gets or sets a value indicating whether to return to the first target after any successful write. - - - - - - - - - - - - Forwards the log event to the sub-targets until one of them succeeds. - - The log event. - - The method remembers the last-known-successful target - and starts the iteration from it. - If is set, the method - resets the target to the first target - stored in . - - - - - Filtering rule for . - - - - - Initializes a new instance of the FilteringRule class. - - - - - Initializes a new instance of the FilteringRule class. - - Condition to be tested against all events. - Filter to apply to all log events when the first condition matches any of them. - - - - Gets or sets the condition to be tested. - - - - - - Gets or sets the resulting filter to be applied when the condition matches. - - - - - - Filters log entries based on a condition. - - Documentation on NLog Wiki - -

This example causes the messages not contains the string '1' to be ignored.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The condition. - - - - Initializes a new instance of the class. - - The wrapped target. - The condition. - - - - Gets or sets the condition expression. Log events who meet this condition will be forwarded - to the wrapped target. - - - - - - Gets or sets the filter. Log events who evaluates to will be discarded - - - - - - - - - Checks the condition against the passed log event. - If the condition is met, the log event is forwarded to - the wrapped target. - - Log event. - - - - - - - Impersonates another user for the duration of the write. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Gets or sets username to change context to. - - - - - - Gets or sets the user account password. - - - - - - Gets or sets Windows domain name to change context to. - - - - - - Gets or sets the Logon Type. - - - - - - Gets or sets the type of the logon provider. - - - - - - Gets or sets the required impersonation level. - - - - - - Gets or sets a value indicating whether to revert to the credentials of the process instead of impersonating another user. - - - - - - Initializes the impersonation context. - - - - - Closes the impersonation context. - - - - - Changes the security context, forwards the call to the .Write() - and switches the context back to original. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Changes the security context, forwards the call to the .Write() - and switches the context back to original. - - Log events. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Helper class which reverts the given - to its original value as part of . - - - - - Initializes a new instance of the class. - - The windows impersonation context. - - - - Reverts the impersonation context. - - - - - Limits the number of messages written per timespan to the wrapped target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of messages written per interval. - Interval in which the maximum number of messages can be written. - - - - Gets or sets the maximum allowed number of messages written per . - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets or sets the interval in which messages will be written up to the number of messages. - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets the DateTime when the current will be reset. - - - - - - Gets the number of written in the current . - - - - - - Initializes the target and resets the current Interval and . - - - - - Writes log event to the wrapped target if the current is lower than . - If the is already reached, no log event will be written to the wrapped target. - resets when the current is expired. - - Log event to be written out. - - - - Arguments for events. - - - - - - - - Instance of that was dropped by - - - - - Raises by when - queue is full - and set to - By default queue doubles it size. - - - - - Contains items count and new queue size. - - Required queue size - Current queue size - - - - New queue size - - - - - Current requests count - - - - - Logon provider. - - - - - Use the standard logon provider for the system. - - - The default security provider is negotiate, unless you pass NULL for the domain name and the user name - is not in UPN format. In this case, the default provider is NTLM. - NOTE: Windows 2000/NT: The default security provider is NTLM. - - - - - Filters buffered log entries based on a set of conditions that are evaluated on a group of events. - - Documentation on NLog Wiki - - PostFilteringWrapper must be used with some type of buffering target or wrapper, such as - AsyncTargetWrapper, BufferingWrapper or ASPNetBufferingWrapper. - - -

- This example works like this. If there are no Warn,Error or Fatal messages in the buffer - only Info messages are written to the file, but if there are any warnings or errors, - the output includes detailed trace (levels >= Debug). You can plug in a different type - of buffering wrapper (such as ASPNetBufferingWrapper) to achieve different - functionality. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Gets or sets the default filter to be applied when no specific rule matches. - - - - - - Gets the collection of filtering rules. The rules are processed top-down - and the first rule that matches determines the filtering condition to - be applied to log events. - - - - - - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Evaluates all filtering rules to find the first one that matches. - The matching rule determines the filtering condition to be applied - to all items in a buffer. If no condition matches, default filter - is applied to the array of log events. - - Array of log events to be post-filtered. - - - - Evaluate all the rules to get the filtering condition - - - - - - - Sends log messages to a randomly selected target. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt - chosen randomly on a per-message basis. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the log event to one of the sub-targets. - The sub-target is randomly chosen. - - The log event. - - - - Repeats each log event the specified number of times. - - Documentation on NLog Wiki - -

This example causes each log message to be repeated 3 times.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The repeat count. - - - - Initializes a new instance of the class. - - The wrapped target. - The repeat count. - - - - Gets or sets the number of times to repeat each log message. - - - - - - Forwards the log message to the by calling the method times. - - The log event. - - - - Retries in case of write error. - - Documentation on NLog Wiki - -

This example causes each write attempt to be repeated 3 times, - sleeping 1 second between attempts if first one fails.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Initializes a new instance of the class. - - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure. - - - - - - Gets or sets the time to wait between retries in milliseconds. - - - - - - Special SyncObject to allow closing down Target while busy retrying - - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Writes the specified log event to the wrapped target in a thread-safe manner. - - The log event. - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Distributes log events to targets in a round-robin fashion. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt. - Each odd message is written to file2.txt, each even message goes to file1.txt. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Ensures forwarding happens without holding lock - - - - - - Forwards the write to one of the targets from - the collection. - - The log event. - - The writes are routed in a round-robin fashion. - The first log event goes to the first target, the second - one goes to the second target and so on looping to the - first target when there are no more targets available. - In general request N goes to Targets[N % Targets.Count]. - - - - - Impersonation level. - - - - - Anonymous Level. - - - - - Identification Level. - - - - - Impersonation Level. - - - - - Delegation Level. - - - - - Logon type. - - - - - Interactive Logon. - - - This logon type is intended for users who will be interactively using the computer, such as a user being logged on - by a terminal server, remote shell, or similar process. - This logon type has the additional expense of caching logon information for disconnected operations; - therefore, it is inappropriate for some client/server applications, - such as a mail server. - - - - - Network Logon. - - - This logon type is intended for high performance servers to authenticate plaintext passwords. - The LogonUser function does not cache credentials for this logon type. - - - - - Batch Logon. - - - This logon type is intended for batch servers, where processes may be executing on behalf of a user without - their direct intervention. This type is also for higher performance servers that process many plaintext - authentication attempts at a time, such as mail or Web servers. - The LogonUser function does not cache credentials for this logon type. - - - - - Logon as a Service. - - - Indicates a service-type logon. The account provided must have the service privilege enabled. - - - - - Network Clear Text Logon. - - - This logon type preserves the name and password in the authentication package, which allows the server to make - connections to other network servers while impersonating the client. A server can accept plaintext credentials - from a client, call LogonUser, verify that the user can access the system across the network, and still - communicate with other servers. - NOTE: Windows NT: This value is not supported. - - - - - New Network Credentials. - - - This logon type allows the caller to clone its current token and specify new credentials for outbound connections. - The new logon session has the same local identifier but uses different credentials for other network connections. - NOTE: This logon type is supported only by the LOGON32_PROVIDER_WINNT50 logon provider. - NOTE: Windows NT: This value is not supported. - - - - - Writes log events to all targets. - - Documentation on NLog Wiki - -

This example causes the messages to be written to both file1.txt or file2.txt -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the specified log event to all sub-targets. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Base class for targets wrap other (single) targets. - - - - - Gets or sets the target that is wrapped by this target. - - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Current local time retrieved directly from DateTime.Now. - - - - - Gets current local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Current UTC time retrieved directly from DateTime.UtcNow. - - - - - Gets current UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Fast time source that updates current time only once per tick (15.6 milliseconds). - - - - - Gets raw uncached time from derived time source. - - - - - Gets current time cached for one system tick (15.6 milliseconds). - - - - - Fast local time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Fast UTC time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Defines source of current time. - - - - - Gets current time. - - - - - Gets or sets current global time source used in all log events. - - - Default time source is . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to the same form - as time values originated from this source. - - - - There are situations when NLog have to compare the time originated from TimeSource - to the time originated externally in the system. - To be able to provide meaningful result of such comparisons the system time must be expressed in - the same form as TimeSource time. - - - Examples: - - If the TimeSource provides time values of local time, it should also convert the provided - to the local time. - - If the TimeSource shifts or skews its time values, it should also apply - the same transform to the given . - - - - - - Marks class as a time source and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the time source. - -
-
diff --git a/app/packages/NLog.4.7.15/lib/net40-client/NLog.dll b/app/packages/NLog.4.7.15/lib/net40-client/NLog.dll deleted file mode 100644 index 4b9f8c2..0000000 Binary files a/app/packages/NLog.4.7.15/lib/net40-client/NLog.dll and /dev/null differ diff --git a/app/packages/NLog.4.7.15/lib/net40-client/NLog.xml b/app/packages/NLog.4.7.15/lib/net40-client/NLog.xml deleted file mode 100644 index 105620f..0000000 --- a/app/packages/NLog.4.7.15/lib/net40-client/NLog.xml +++ /dev/null @@ -1,29535 +0,0 @@ - - - - NLog - - - - - Indicates that the value of the marked element could be null sometimes, - so the check for null is necessary before its usage. - - - [CanBeNull] object Test() => null; - - void UseTest() { - var p = Test(); - var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' - } - - - - - Indicates that the value of the marked element could never be null. - - - [NotNull] object Foo() { - return null; // Warning: Possible 'null' assignment - } - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can never be null. - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can be null. - - - - - Indicates that the marked method builds string by format pattern and (optional) arguments. - Parameter, which contains format string, should be given in constructor. The format string - should be in -like form. - - - [StringFormatMethod("message")] - void ShowError(string message, params object[] args) { /* do something */ } - - void Foo() { - ShowError("Failed: {0}"); // Warning: Non-existing argument in format string - } - - - - - Specifies which parameter of an annotated method should be treated as format-string - - - - - For a parameter that is expected to be one of the limited set of values. - Specify fields of which type should be used as values for this parameter. - - - - - Indicates that the function argument should be string literal and match one - of the parameters of the caller function. For example, ReSharper annotates - the parameter of . - - - void Foo(string param) { - if (param == null) - throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol - } - - - - - Indicates that the method is contained in a type that implements - System.ComponentModel.INotifyPropertyChanged interface and this method - is used to notify that some property value changed. - - - The method should be non-static and conform to one of the supported signatures: - - NotifyChanged(string) - NotifyChanged(params string[]) - NotifyChanged{T}(Expression{Func{T}}) - NotifyChanged{T,U}(Expression{Func{T,U}}) - SetProperty{T}(ref T, T, string) - - - - public class Foo : INotifyPropertyChanged { - public event PropertyChangedEventHandler PropertyChanged; - - [NotifyPropertyChangedInvocator] - protected virtual void NotifyChanged(string propertyName) { ... } - - string _name; - - public string Name { - get { return _name; } - set { _name = value; NotifyChanged("LastName"); /* Warning */ } - } - } - - Examples of generated notifications: - - NotifyChanged("Property") - NotifyChanged(() => Property) - NotifyChanged((VM x) => x.Property) - SetProperty(ref myField, value, "Property") - - - - - - Describes dependency between method input and output. - - -

Function Definition Table syntax:

- - FDT ::= FDTRow [;FDTRow]* - FDTRow ::= Input => Output | Output <= Input - Input ::= ParameterName: Value [, Input]* - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} - Value ::= true | false | null | notnull | canbenull - - If method has single input parameter, it's name could be omitted.
- Using halt (or void/nothing, which is the same) for method output - means that the methods doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute - with rows separated by semicolon. There is no notion of order rows, all rows are checked - for applicability and applied per each program state tracked by R# analysis.
-
- - - [ContractAnnotation("=> halt")] - public void TerminationMethod() - - - [ContractAnnotation("halt <= condition: false")] - public void Assert(bool condition, string text) // regular assertion method - - - [ContractAnnotation("s:null => true")] - public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() - - - // A method that returns null if the parameter is null, - // and not null if the parameter is not null - [ContractAnnotation("null => null; notnull => notnull")] - public object Transform(object data) - - - [ContractAnnotation("=> true, result: notnull; => false, result: null")] - public bool TryParse(string s, out Person result) - - -
- - - Indicates that marked element should be localized or not. - - - [LocalizationRequiredAttribute(true)] - class Foo { - string str = "my string"; // Warning: Localizable string - } - - - - - Indicates that the value of the marked type (or its derivatives) - cannot be compared using '==' or '!=' operators and Equals() - should be used instead. However, using '==' or '!=' for comparison - with null is always permitted. - - - [CannotApplyEqualityOperator] - class NoEquality { } - - class UsesNoEquality { - void Test() { - var ca1 = new NoEquality(); - var ca2 = new NoEquality(); - if (ca1 != null) { // OK - bool condition = ca1 == ca2; // Warning - } - } - } - - - - - When applied to a target attribute, specifies a requirement for any type marked - with the target attribute to implement or inherit specific type or types. - - - [BaseTypeRequired(typeof(IComponent)] // Specify requirement - class ComponentAttribute : Attribute { } - - [Component] // ComponentAttribute requires implementing IComponent interface - class MyComponent : IComponent { } - - - - - Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), - so this symbol will not be marked as unused (as well as by other usage inspections). - - - - - Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes - as unused (as well as by other usage inspections) - - - - Only entity marked with attribute considered used. - - - Indicates implicit assignment to a member. - - - - Indicates implicit instantiation of a type with fixed constructor signature. - That means any unused constructor parameters won't be reported as such. - - - - Indicates implicit instantiation of a type. - - - - Specify what is considered used implicitly when marked - with or . - - - - Members of entity marked with attribute are considered used. - - - Entity marked with attribute and all its members considered used. - - - - This attribute is intended to mark publicly available API - which should not be removed and so is treated as used. - - - - - Tells code analysis engine if the parameter is completely handled when the invoked method is on stack. - If the parameter is a delegate, indicates that delegate is executed while the method is executed. - If the parameter is an enumerable, indicates that it is enumerated while the method is executed. - - - - - Indicates that a method does not make any observable state changes. - The same as System.Diagnostics.Contracts.PureAttribute. - - - [Pure] int Multiply(int x, int y) => x * y; - - void M() { - Multiply(123, 42); // Waring: Return value of pure method is not used - } - - - - - Indicates that the return value of method invocation must be used. - - - - - Indicates the type member or parameter of some type, that should be used instead of all other ways - to get the value that type. This annotation is useful when you have some "context" value evaluated - and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one. - - - class Foo { - [ProvidesContext] IBarService _barService = ...; - - void ProcessNode(INode node) { - DoSomething(node, node.GetGlobalServices().Bar); - // ^ Warning: use value of '_barService' field - } - } - - - - - Indicates that a parameter is a path to a file or a folder within a web project. - Path can be relative or absolute, starting from web root (~). - - - - - An extension method marked with this attribute is processed by ReSharper code completion - as a 'Source Template'. When extension method is completed over some expression, it's source code - is automatically expanded like a template at call site. - - - Template method body can contain valid source code and/or special comments starting with '$'. - Text inside these comments is added as source code when the template is applied. Template parameters - can be used either as additional method parameters or as identifiers wrapped in two '$' signs. - Use the attribute to specify macros for parameters. - - - In this example, the 'forEach' method is a source template available over all values - of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block: - - [SourceTemplate] - public static void forEach<T>(this IEnumerable<T> xs) { - foreach (var x in xs) { - //$ $END$ - } - } - - - - - - Allows specifying a macro for a parameter of a source template. - - - You can apply the attribute on the whole method or on any of its additional parameters. The macro expression - is defined in the property. When applied on a method, the target - template parameter is defined in the property. To apply the macro silently - for the parameter, set the property value = -1. - - - Applying the attribute on a source template method: - - [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] - public static void forEach<T>(this IEnumerable<T> collection) { - foreach (var item in collection) { - //$ $END$ - } - } - - Applying the attribute on a template method parameter: - - [SourceTemplate] - public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { - /*$ var $x$Id = "$newguid$" + x.ToString(); - x.DoSomething($x$Id); */ - } - - - - - - Allows specifying a macro that will be executed for a source template - parameter when the template is expanded. - - - - - Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. - - - If the target parameter is used several times in the template, only one occurrence becomes editable; - other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, - use values >= 0. To make the parameter non-editable when the template is expanded, use -1. - > - - - - Identifies the target parameter of a source template if the - is applied on a template method. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC action. If applied to a method, the MVC action name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC area. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is - an MVC controller. If applied to a method, the MVC controller name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC - partial view. If applied to a method, the MVC partial view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC template. - Use this attribute for custom wrappers similar to - System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component. If applied to a method, the MVC view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Controller.View(Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component name. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component view. If applied to a method, the MVC view component view name is default. - - - - - ASP.NET MVC attribute. When applied to a parameter of an attribute, - indicates that this parameter is an MVC action name. - - - [ActionName("Foo")] - public ActionResult Login(string returnUrl) { - ViewBag.ReturnUrl = Url.Action("Foo"); // OK - return RedirectToAction("Bar"); // Error: Cannot resolve action - } - - - - - Razor attribute. Indicates that a parameter or a method is a Razor section. - Use this attribute for custom wrappers similar to - System.Web.WebPages.WebPageBase.RenderSection(String). - - - - - Indicates how method, constructor invocation or property access - over collection type affects content of the collection. - - - - Method does not use or modify content of the collection. - - - Method only reads content of the collection but does not modify it. - - - Method can change content of the collection but does not add new elements. - - - Method can add new elements to the collection. - - - - Indicates that the marked method is assertion method, i.e. it halts control flow if - one of the conditions is satisfied. To set the condition, mark one of the parameters with - attribute. - - - - - Indicates the condition parameter of the assertion method. The method itself should be - marked by attribute. The mandatory argument of - the attribute is the assertion type. - - - - - Specifies assertion type. If the assertion method argument satisfies the condition, - then the execution continues. Otherwise, execution is assumed to be halted. - - - - Marked parameter should be evaluated to true. - - - Marked parameter should be evaluated to false. - - - Marked parameter should be evaluated to null value. - - - Marked parameter should be evaluated to not null value. - - - - Indicates that the marked method unconditionally terminates control flow execution. - For example, it could unconditionally throw exception. - - - - - Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select, - .Where). This annotation allows inference of [InstantHandle] annotation for parameters - of delegate type by analyzing LINQ method chains. - - - - - Indicates that IEnumerable, passed as parameter, is not enumerated. - - - - - Indicates that parameter is regular expression pattern. - - - - - Prevents the Member Reordering feature from tossing members of the marked class. - - - The attribute must be mentioned in your member reordering patterns - - - - - XAML attribute. Indicates the type that has ItemsSource property and should be treated - as ItemsControl-derived type, to enable inner items DataContext type resolve. - - - - - XAML attribute. Indicates the property of some BindingBase-derived type, that - is used to bind some item of ItemsControl-derived type. This annotation will - enable the DataContext type resolve for XAML bindings for such properties. - - - Property should have the tree ancestor of the ItemsControl type or - marked with the attribute. - - - - - Support implementation of - - - - - - - - - - - - - - - - - Asynchronous continuation delegate - function invoked at the end of asynchronous - processing. - - Exception during asynchronous processing or null if no exception - was thrown. - - - - Helpers for asynchronous operations. - - - - - Iterates over all items in the given collection and runs the specified action - in sequence (each action executes only after the preceding one has completed without an error). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end. - - The repeat count. - The asynchronous continuation to invoke at the end. - The action to invoke. - - - - Modifies the continuation by pre-pending given action to execute just before it. - - The async continuation. - The action to pre-pend. - Continuation which will execute the given action before forwarding to the actual continuation. - - - - Attaches a timeout to a continuation which will invoke the continuation when the specified - timeout has elapsed. - - The asynchronous continuation. - The timeout. - Wrapped continuation. - - - - Iterates over all items in the given collection and runs the specified action - in parallel (each action executes on a thread from thread pool). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Runs the specified asynchronous action synchronously (blocks until the continuation has - been invoked). - - The action. - - Using this method is not recommended because it will block the calling thread. - - - - - Wraps the continuation with a guard which will only make sure that the continuation function - is invoked only once. - - The asynchronous continuation. - Wrapped asynchronous continuation. - - - - Gets the combined exception from all exceptions in the list. - - The exceptions. - Combined exception or null if no exception was thrown. - - - - Disposes the Timer, and waits for it to leave the Timer-callback-method - - The Timer object to dispose - Timeout to wait (TimeSpan.Zero means dispose without waiting) - Timer disposed within timeout (true/false) - - - - Asynchronous action. - - Continuation to be invoked at the end of action. - - - - Asynchronous action with one argument. - - Type of the argument. - Argument to the action. - Continuation to be invoked at the end of action. - - - - Represents the logging event with asynchronous continuation. - - - - - Initializes a new instance of the struct. - - The log event. - The continuation. - - - - Gets the log event. - - - - - Gets the continuation. - - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - A value of true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - String Conversion Helpers - - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - Output value - Default value - Returns false if the input value could not be parsed - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - The type of the enum - Output value. Null if parse failed - - - - Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded. - - The enumeration type to which to convert value. - The string representation of the enumeration name or underlying value to convert. - true to ignore case; false to consider case. - When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized. - true if the value parameter was converted successfully; otherwise, false. - Wrapper because Enum.TryParse is not present in .net 3.5 - - - - Enum.TryParse implementation for .net 3.5 - - - - Don't uses reflection - - - - Enables to extract extra context details for - - - - - Name of context - - - - - The current LogFactory next to LogManager - - - - - NLog internal logger. - - Writes to file, console or custom text writer (see ) - - - Don't use as that can lead to recursive calls - stackoverflow - - - - - Gets a value indicating whether internal log includes Trace messages. - - - - - Gets a value indicating whether internal log includes Debug messages. - - - - - Gets a value indicating whether internal log includes Info messages. - - - - - Gets a value indicating whether internal log includes Warn messages. - - - - - Gets a value indicating whether internal log includes Error messages. - - - - - Gets a value indicating whether internal log includes Fatal messages. - - - - - Logs the specified message without an at the Trace level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - Log message. - - - - Logs the specified message without an at the Trace level. - will be only called when logging is enabled for level Trace. - - Function that returns the log message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Trace level. - will be only called when logging is enabled for level Trace. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Debug level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Debug level. - - Log message. - - - - Logs the specified message without an at the Debug level. - will be only called when logging is enabled for level Debug. - - Function that returns the log message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Debug level. - will be only called when logging is enabled for level Debug. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Info level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Info level. - - Log message. - - - - Logs the specified message without an at the Info level. - will be only called when logging is enabled for level Info. - - Function that returns the log message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Info level. - will be only called when logging is enabled for level Info. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Warn level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Warn level. - - Log message. - - - - Logs the specified message without an at the Warn level. - will be only called when logging is enabled for level Warn. - - Function that returns the log message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Warn level. - will be only called when logging is enabled for level Warn. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Error level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Error level. - - Log message. - - - - Logs the specified message without an at the Error level. - will be only called when logging is enabled for level Error. - - Function that returns the log message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Error level. - will be only called when logging is enabled for level Error. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Fatal level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Fatal level. - - Log message. - - - - Logs the specified message without an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Function that returns the log message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Exception to be logged. - Function that returns the log message. - - - - Initializes static members of the InternalLogger class. - - - - - Set the config of the InternalLogger with defaults and config. - - - - - Gets or sets the minimal internal log level. - - If set to , then messages of the levels , and will be written. - - - - Gets or sets a value indicating whether internal messages should be written to the console output stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the console error stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the .Trace - - - - - Gets or sets the file path of the internal log file. - - A value of value disables internal logging to a file. - - - - Gets or sets the text writer that will receive internal logs. - - - - - Event written to the internal log. - Please note that the event is not triggered when then event hasn't the minimal log level set by - - - - - Gets or sets a value indicating whether timestamp should be included in internal log output. - - - - - Is there an thrown when writing the message? - - - - - Logs the specified message without an at the specified level. - - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the specified level. - - Log level. - Log message. - - - - Logs the specified message without an at the specified level. - will be only called when logging is enabled for level . - - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - will be only called when logging is enabled for level . - - Exception to be logged. - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Log message. - - - - Write to internallogger. - - optional exception to be logged. - level - message - optional args for - - - - Create log line with timestamp, exception message etc (if configured) - - - - - Determine if logging should be avoided because of exception type. - - The exception to check. - true if logging should be avoided; otherwise, false. - - - - Determine if logging is enabled for given LogLevel - - The for the log event. - true if logging is enabled; otherwise, false. - - - - Determine if logging is enabled. - - true if logging is enabled; otherwise, false. - - - - Write internal messages to the log file defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged only when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - A message to write. - - Works when property set to true. - The is used in Debug and Release configuration. - The works only in Debug configuration and this is reason why is replaced by . - in DEBUG - - - - - Logs the assembly version and file version of the given Assembly. - - The assembly to log. - - - - A message has been written to the internal logger - - - - - The rendered message - - - - - The log level - - - - - The exception. Could be null. - - - - - The type that triggered this internal log event, for example the FileTarget. - This property is not always populated. - - - - - The context name that triggered this internal log event, for example the name of the Target. - This property is not always populated. - - - - - - - - A cyclic buffer of object. - - - - - Initializes a new instance of the class. - - Buffer size. - Whether buffer should grow as it becomes full. - The maximum number of items that the buffer can grow to. - - - - Gets the capacity of the buffer - - - - - Gets the number of items in the buffer - - - - - Adds the specified log event to the buffer. - - Log event. - The number of items in the buffer. - - - - Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation. - - Events in the buffer. - - - - Condition and expression. - - - - - Initializes a new instance of the class. - - Left hand side of the AND expression. - Right hand side of the AND expression. - - - - Gets the left hand side of the AND expression. - - - - - Gets the right hand side of the AND expression. - - - - - Returns a string representation of this expression. - - A concatenated '(Left) and (Right)' string. - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the conjunction operator. - - - - Exception during evaluation of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Base class for representing nodes in condition expression trees. - - - - - Converts condition text to a condition expression tree. - - Condition text to be converted. - Condition expression tree. - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition layout expression (represented by a string literal - with embedded ${}). - - - - - Initializes a new instance of the class. - - The layout. - - - - Gets the layout. - - The layout. - - - - Returns a string representation of this expression. - - String literal in single quotes. - - - - Evaluates the expression by calculating the value - of the layout in the specified evaluation context. - - Evaluation context. - The value of the layout. - - - - Condition level expression (represented by the level keyword). - - - - - Returns a string representation of the expression. - - The 'level' string. - - - - Evaluates to the current log level. - - Evaluation context. Ignored. - The object representing current log level. - - - - Condition literal expression (numeric, LogLevel.XXX, true or false). - - - - - Initializes a new instance of the class. - - Literal value. - ToString value. - - - - Gets the literal value. - - The literal value. - - - - Returns a string representation of the expression. - - The literal value. - - - - Evaluates the expression. - - Evaluation context. - The literal value as passed in the constructor. - - - - Condition logger name expression (represented by the logger keyword). - - - - - Returns a string representation of this expression. - - A logger string. - - - - Evaluates to the logger name. - - Evaluation context. - The logger name. - - - - Condition message expression (represented by the message keyword). - - - - - Returns a string representation of this expression. - - The 'message' string. - - - - Evaluates to the logger message. - - Evaluation context. - The logger message. - - - - Marks class as a log event Condition and assigns a name to it. - - - - - Initializes a new instance of the class. - - Condition method name. - - - - Condition method invocation expression (represented by method(p1,p2,p3) syntax). - - - - - Initializes a new instance of the class. - - Name of the condition method. - of the condition method. - Precompiled delegate of the condition method. - The method parameters. - - - - Gets the method info. - - - - - Gets the method parameters - - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - A bunch of utility methods (mostly predicates) which can be used in - condition expressions. Partially inspired by XPath 1.0. - - - - - Compares two values for equality. - - The first value. - The second value. - true when two objects are equal, false otherwise. - - - - Compares two strings for equality. - - The first string. - The second string. - Optional. If true, case is ignored; if false (default), case is significant. - true when two strings are equal, false otherwise. - - - - Gets or sets a value indicating whether the second string is a substring of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a substring of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a prefix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a suffix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Returns the length of a string. - - A string whose lengths is to be evaluated. - The length of the string. - - - - Indicates whether the specified regular expression finds a match in the specified input string. - - The string to search for a match. - The regular expression pattern to match. - A string consisting of the desired options for the test. The possible values are those of the separated by commas. - true if the regular expression finds a match; otherwise, false. - - - - - - - - - - - Marks the class as containing condition methods. - - - - - Condition not expression. - - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression to be negated. - - The expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition or expression. - - - - - Initializes a new instance of the class. - - Left hand side of the OR expression. - Right hand side of the OR expression. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the alternative operator. - - - - Exception during parsing of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Condition parser. Turns a string representation of condition expression - into an expression tree. - - - - - Initializes a new instance of the class. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - Instance of used to resolve references to condition methods and layout renderers. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - - Try stringed keyword to - - - - success? - - - - Parse number - - negative number? minus should be parsed first. - - - - - Condition relational (==, !=, <, <=, - > or >=) expression. - - - - - Initializes a new instance of the class. - - The left expression. - The right expression. - The relational operator. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Gets the relational operator. - - The operator. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Compares the specified values using specified relational operator. - - The first value. - The second value. - The relational operator. - Result of the given relational operator. - - - - Promote values to the type needed for the comparision, e.g. parse a string to int. - - - - - - - Promotes to type - - - - success? - - - - Try to promote both values. First try to promote to , - when failed, try to . - - - - - - Get the order for the type for comparision. - - - index, 0 to max int. Lower is first - - - - Dictionary from type to index. Lower index should be tested first. - - - - - Build the dictionary needed for the order of the types. - - - - - - Get the string representing the current - - - - - - Relational operators used in conditions. - - - - - Equality (==). - - - - - Inequality (!=). - - - - - Less than (<). - - - - - Greater than (>). - - - - - Less than or equal (<=). - - - - - Greater than or equal (>=). - - - - - Hand-written tokenizer for conditions. - - - - - Initializes a new instance of the class. - - The string reader. - - - - Gets the type of the token. - - The type of the token. - - - - Gets the token value. - - The token value. - - - - Gets the value of a string token. - - The string token value. - - - - Asserts current token type and advances to the next token. - - Expected token type. - If token type doesn't match, an exception is thrown. - - - - Asserts that current token is a keyword and returns its value and advances to the next token. - - Keyword value. - - - - Gets or sets a value indicating whether current keyword is equal to the specified value. - - The keyword. - - A value of true if current keyword is equal to the specified value; otherwise, false. - - - - - Gets or sets a value indicating whether the tokenizer has reached the end of the token stream. - - - A value of true if the tokenizer has reached the end of the token stream; otherwise, false. - - - - - Gets or sets a value indicating whether current token is a number. - - - A value of true if current token is a number; otherwise, false. - - - - - Gets or sets a value indicating whether the specified token is of specified type. - - The token type. - - A value of true if current token is of specified type; otherwise, false. - - - - - Gets the next token and sets and properties. - - - - - Try the comparison tokens (greater, smaller, greater-equals, smaller-equals) - - current char - is match - - - - Try the logical tokens (and, or, not, equals) - - current char - is match - - - - Mapping between characters and token types for punctuations. - - - - - Initializes a new instance of the CharToTokenType struct. - - The character. - Type of the token. - - - - Token types for condition expressions. - - - - - Marks the class or a member as advanced. Advanced classes and members are hidden by - default in generated documentation. - - - - - Initializes a new instance of the class. - - - - - Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain. - - - A layout(renderer) could be converted to a literal when: - - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput] - - Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout. - - - - - Used to mark configurable parameters which are arrays. - Specifies the mapping between XML elements and .NET types. - - - - - Initializes a new instance of the class. - - The type of the array item. - The XML element name that represents the item. - - - - Gets the .NET type of the array item. - - - - - Gets the XML element name. - - - - - An assembly is trying to load. - - - - - New event args - - - - - - The assembly that is trying to load. - - - - - NLog configuration section handler class for configuring NLog from App.config. - - - - - Creates a configuration section handler. - - Parent object. - Configuration context object. - Section XML node. - The created section handler object. - - - - Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. - - Type of the item. - Created object of the specified type. - - - - Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. - - Everything of an assembly could be loaded by - - - - - Called before the assembly will be loaded. - - - - - Initializes a new instance of the class. - - The assemblies to scan for named items. - - - - Gets or sets default singleton instance of . - - - This property implements lazy instantiation so that the is not built before - the internal logger is configured. - - - - - Gets or sets the creator delegate used to instantiate configuration objects. - - - By overriding this property, one can enable dependency injection or interception for created objects. - - - - - Gets the factory. - - The target factory. - - - - Gets the factory. - - The filter factory. - - - - gets the factory - - not using due to backwards-compatibility. - - - - - Gets the factory. - - The layout renderer factory. - - - - Gets the factory. - - The layout factory. - - - - Gets the ambient property factory. - - The ambient property factory. - - - - Legacy interface, no longer used by the NLog engine - - - - - Gets or sets the JSON serializer to use with or - - - - - Gets or sets the string serializer to use with - - - - - Gets or sets the custom object-type transformation for use in , or - - - - - Gets or sets the parameter converter to use with , or - - - - - Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect) - - - - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering. - - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with ) - - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging) - - - - - Gets the time source factory. - - The time source factory. - - - - Gets the condition method factory. - - The condition method factory. - - - - Gets the condition method factory (precompiled) - - The condition method factory. - - - - Registers named items from the assembly. - - The assembly. - - - - Registers named items from the assembly. - - The assembly. - Item name prefix. - - - - Call Preload for NLogPackageLoader - - - Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) - This method will be called just before registering all items in the assembly. - - - - - - Call the Preload method for . The Preload method must be static. - - - - - - Clears the contents of all factories. - - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Builds the default configuration item factory. - - Default factory. - - - - Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. - - - - - Attribute used to mark the default parameters for layout renderers. - - - - - Initializes a new instance of the class. - - - - - Dynamic filtering with a positive list of enabled levels - - - - - Dynamic filtering with a minlevel and maxlevel range - - - - - Format of the exception output to the specific target. - - - - - Appends the Message of an Exception to the specified target. - - - - - Appends the type of an Exception to the specified target. - - - - - Appends the short type of an Exception to the specified target. - - - - - Appends the result of calling ToString() on an Exception to the specified target. - - - - - Appends the method name from Exception's stack trace to the specified target. - - - - - Appends the stack trace from an Exception to the specified target. - - - - - Appends the contents of an Exception's Data property to the specified target. - - - - - Destructure the exception (usually into JSON) - - - - - Appends the from the application or the object that caused the error. - - - - - Appends the from the application or the object that caused the error. - - - - - Appends any additional properties that specific type of Exception might have. - - - - - Factory for class-based items. - - The base type of each item. - The type of the attribute used to annotate items. - - - - Scans the assembly. - - The types to scan. - The prefix. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Registers the item based on a type name. - - Name of the item. - Name of the type. - - - - Clears the contents of the factory. - - - - - Registers a single type definition. - - The item name. - The type of the item. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Creates an item instance. - - The name of the item. - Created item. - - - - Factory specialized for s. - - - - - Clear all func layouts - - - - - Register a layout renderer with a callback function. - - Name of the layoutrenderer, without ${}. - the renderer that renders the value. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.). - - - - - Implemented by objects which support installation and uninstallation. - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Interface for accessing configuration details - - - - - Name of the config section - - - - - Configuration Key/Value Pairs - - - - - Child config sections - - - - - Interface for loading NLog - - - - - Finds and loads the NLog configuration - - LogFactory that owns the NLog configuration - Name of NLog.config file (optional) - NLog configuration (or null if none found) - - - - Notifies when LoggingConfiguration has been successfully applied - - LogFactory that owns the NLog configuration - NLog Config - - - - Get file paths (including filename) for the possible NLog config files. - - Name of NLog.config file (optional) - The file paths to the possible config file - - - - Level enabled flags for each LogLevel ordinal - - - - - Converts the filter into a simple - - - - - Represents a factory of named items (such as targets, layouts, layout renderers, etc.). - - Base type for each item instance. - Item definition type (typically or ). - - - - Registers new item definition. - - Name of the item. - Item definition. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Creates item instance. - - Name of the item. - Newly created item instance. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides context for install/uninstall operations. - - - - - Mapping between log levels and console output colors. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log output. - - - - Gets or sets the installation log level. - - - - - Gets or sets a value indicating whether to ignore failures during installation. - - - - - Whether installation exceptions should be rethrown. If IgnoreFailures is set to true, - this property has no effect (there are no exceptions to rethrow). - - - - - Gets the installation parameters. - - - - - Gets or sets the log output. - - - - - Logs the specified trace message. - - The message. - The arguments. - - - - Logs the specified debug message. - - The message. - The arguments. - - - - Logs the specified informational message. - - The message. - The arguments. - - - - Logs the specified warning message. - - The message. - The arguments. - - - - Logs the specified error message. - - The message. - The arguments. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Creates the log event which can be used to render layouts during installation/uninstallations. - - Log event info object. - - - - Convert object-value into specified type - - - - - Parses the input value and converts into the wanted type - - Input Value - Wanted Type - Format to use when parsing - Culture to use when parsing - Output value with wanted type - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for extension loading - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for enabling NLog - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - LoggingConfiguration being built - - - - - Interface for fluent setup of LogFactory options for logevent serialization - - - - - LogFactory under configuration - - - - - Encapsulates and the logic to match the actual logger name - All subclasses defines immutable objects. - Concrete subclasses defines various matching rules through - - - - - Creates a concrete based on . - - - Rules used to select the concrete implementation returned: - - if is null => returns (never matches) - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals) - if == '*' => returns (always matches) - if doesn't contain '?' - - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns - - - returns - - - - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - A concrete - - - - Returns the argument passed to - - - - - Checks whether given name matches the logger name pattern. - - String to be matched. - A value of when the name matches, otherwise. - - - - Defines a that never matches. - Used when pattern is null - - - - - Defines a that always matches. - Used when pattern is '*' - - - - - Defines a that matches with a case-sensitive Equals - Used when pattern is a string without wildcards '?' '*' - - - - - Defines a that matches with a case-sensitive StartsWith - Used when pattern is a string like "*foobar" - - - - - Defines a that matches with a case-sensitive EndsWith - Used when pattern is a string like "foobar*" - - - - - Defines a that matches with a case-sensitive Contains - Used when pattern is a string like "*foobar*" - - - - - Defines a that matches with a complex wildcards combinations: - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - used when pattern is a string containing any number of '?' or '*' in any position - i.e. "*Server[*].Connection[?]" - - - - - Keeps logging configuration and provides simple API to modify it. - - This class is thread-safe..ToList() is used for that purpose. - - - - Variables defined in xml or in API. name is case case insensitive. - - - - - Gets the factory that will be configured - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. - - - - Gets the variables defined in the configuration. - - - - - Gets a collection of named targets specified in the configuration. - - - A list of named targets. - - - Unnamed targets (such as those wrapped by other targets) are not returned. - - - - - Gets the collection of file names which should be watched for changes by NLog. - - - - - Gets the collection of logging rules. - - - - - Gets or sets the default culture info to use as . - - - Specific culture info or null to use - - - - - Gets all targets. - - - - - Compare objects based on their name. - - This property is use to cache the comparer object. - - - - Defines methods to support the comparison of objects for equality based on their name. - - - - - Registers the specified target object. The name of the target is read from . - - - The target object with a non - - when is - - - - Registers the specified target object under a given name. - - Name of the target. - The target object. - when is - when is - - - - Finds the target with the specified name. - - - The name of the target to be found. - - - Found target or when the target is not found. - - - - - Finds the target with the specified name and specified type. - - - The name of the target to be found. - - Type of the target - - Found target or when the target is not found of not of type - - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for all loglevels. - - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Finds the logging rule with the specified name. - - The name of the logging rule to be found. - Found logging rule or when not found. - - - - Removes the specified named logging rule. - - The name of the logging rule to be removed. - Found one or more logging rule to remove, or when not found. - - - - Called by LogManager when one of the log configuration files changes. - - - A new instance of that represents the updated configuration. - - - - - Removes the specified named target. - - Name of the target. - - - - Installs target-specific objects on current system. - - The installation context. - - Installation typically runs with administrative permissions. - - - - - Uninstalls target-specific objects from current system. - - The installation context. - - Uninstallation typically runs with administrative permissions. - - - - - Closes all targets and releases any unmanaged resources. - - - - - Log to the internal (NLog) logger the information about the and associated with this instance. - - - The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is - recorded. - - - - - Validates the configuration. - - - - - Copies all variables from provided dictionary into current configuration variables. - - Master variables dictionary - - - - Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage. - - - - - - - Checks whether unused targets exist. If found any, just write an internal log at Warn level. - If initializing not started or failed, then checking process will be canceled - - - - - - - - Arguments for events. - - - - - Initializes a new instance of the class. - - The new configuration. - The old configuration. - - - - Gets the old configuration. - - The old configuration. - - - - Gets the new configuration. - - The new configuration. - - - - Gets the new configuration - - The new configuration. - - - - Gets the old configuration - - The old configuration. - - - - Gets the optional boolean attribute value. - - - Name of the attribute. - Default value to return if the attribute is not found or if there is a parse error - Boolean attribute value or default. - - - - Remove the namespace (before :) - - - x:a, will be a - - - - - - - Enables loading of NLog configuration from a file - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Loads NLog configuration from - - - - - Constructor - - - - - - Loads NLog configuration from provided config section - - - - - - - Builds list with unique keys, using last value of duplicates. High priority keys placed first. - - - - - - - Parse loglevel, but don't throw if exception throwing is disabled - - Name of attribute for logging. - Value of parse. - Used if there is an exception - - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Parse {Rules} xml element - - - Rules are added to this parameter. - - - - Parse {Logger} xml element - - - - - - Parse boolean - - Name of the property for logging. - value to parse - Default value to return if the parse failed - Boolean attribute value or default. - - - - Arguments for . - - - - - Initializes a new instance of the class. - - Whether configuration reload has succeeded. - - - - Initializes a new instance of the class. - - Whether configuration reload has succeeded. - The exception during configuration reload. - - - - Gets a value indicating whether configuration reload has succeeded. - - A value of true if succeeded; otherwise, false. - - - - Gets the exception which occurred during configuration reload. - - The exception. - - - - Enables FileWatcher for the currently loaded NLog Configuration File, - and supports automatic reload on file modification. - - - - - Represents a logging rule. An equivalent of <logger /> configuration element. - - - - - Create an empty . - - - - - Create an empty . - - - - - Create a new with a and which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a new with a which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a (disabled) . You should call or to enable logging. - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Target to be written to when the rule matches. - - - - Rule identifier to allow rule lookup - - - - - Gets a collection of targets that should be written to when this rule matches. - - - - - Gets a collection of child rules to be evaluated when this rule matches. - - - - - Gets a collection of filters to be checked before writing to targets. - - - - - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - - Gets or sets logger name pattern. - - - Logger name pattern used by to check if a logger name matches this rule. - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - - - - Gets the collection of log levels enabled by this rule. - - - - - Default action if none of the filters match - - - - - Enables logging for a particular level. - - Level to be enabled. - - - - Enables logging for a particular levels between (included) and . - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Disables logging for a particular level. - - Level to be disabled. - - - - Disables logging for particular levels between (included) and . - - Minimum log level to be disables. - Maximum log level to de disabled. - - - - Enables logging the levels between (included) and . All the other levels will be disabled. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Returns a string representation of . Used for debugging. - - - A that represents the current . - - - - - Checks whether te particular log level is enabled for this rule. - - Level to be checked. - A value of when the log level is enabled, otherwise. - - - - Checks whether given name matches the . - - String to be matched. - A value of when the name matches, otherwise. - - - - Default filtering with static level config - - - - - Factory for locating methods. - - - - - Initializes a new instance of the class. - - Helper method to extract relevant methods from type - - - - Scans the assembly for classes marked with expected class - and methods marked with expected and adds them - to the factory. - - The types to scan. - The prefix to use for names. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Scans a type for relevant methods with their symbolic names - - Include types that are marked with this attribute - Include methods that are marked with this attribute - Class Type to scan - Collection of methods with their symbolic names - - - - Clears contents of the factory. - - - - - Registers the definition of a single method. - - The method name. - The method info. - - - - Registers the definition of a single method. - - The method name. - The method info. - The precompiled method delegate. - - - - Tries to retrieve method by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Tries to retrieve method-delegate by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Retrieves method by name. - - Method name. - MethodInfo object. - - - - Retrieves method by name. - - Method name. - Method delegate object. - - - - Tries to get method definition. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Marks the layout or layout renderer depends on mutable objects from the LogEvent - - This can be or - - - - - Attaches a simple name to an item (such as , - , , etc.). - - - - - Initializes a new instance of the class. - - The name of the item. - - - - Gets the name of the item. - - The name of the item. - - - - Indicates NLog should not scan this property during configuration. - - - - - Initializes a new instance of the class. - - - - - Marks the object as configuration item for NLog. - - - - - Initializes a new instance of the class. - - - - - Represents simple XML element with case-insensitive attribute semantics. - - - - - Initializes a new instance of the class. - - The reader to initialize element from. - - - - Prevents a default instance of the class from being created. - - - - - Gets the element name. - - - - - Gets the dictionary of attribute values. - - - - - Gets the collection of child elements. - - - - - Gets the value of the element. - - - - - Last error occured during configuration read - - - - - Returns children elements with the specified element name. - - Name of the element. - Children elements with the specified element name. - - - - Asserts that the name of the element is among specified element names. - - The allowed names. - - - - Returns all parsing errors from current and all child elements. - - - - - Special attribute we could ignore - - - - - Default implementation of - - - - - - - - Attribute used to mark the required parameters for targets, - layout targets and filters. - - - - - Provides simple programmatic configuration API used for trivial logging cases. - - Warning, these methods will overwrite the current config. - - - - - Configures NLog for console logging so that all messages above and including - the level are output to the console. - - - - - Configures NLog for console logging so that all messages above and including - the specified level are output to the console. - - The minimal logging level. - - - - Configures NLog for to log to the specified target so that all messages - above and including the level are output. - - The target to log all messages to. - - - - Configures NLog for to log to the specified target so that all messages - above and including the specified level are output. - - The target to log all messages to. - The minimal logging level. - - - - Configures NLog for file logging so that all messages above and including - the level are written to the specified file. - - Log file name. - - - - Configures NLog for file logging so that all messages above and including - the specified level are written to the specified file. - - Log file name. - The minimal logging level. - - - - Value indicating how stack trace should be captured when processing the log event. - - - - - Stack trace should not be captured. - - - - - Stack trace should be captured without source-level information. - - - - - Stack trace should be captured including source-level information such as line numbers. - - - - - Capture maximum amount of the stack trace information supported on the platform. - - - - - Marks the layout or layout renderer as thread independent - it producing correct results - regardless of the thread it's running on. - - Without this attribute everything is rendered on the main thread. - - - If this attribute is set on a layout, it could be rendered on the another thread. - This could be more efficient as it's skipped when not needed. - - If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - - See the AsyncTargetWrapper and BufferTargetWrapper with the , using - - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - - - - - Marks the layout or layout renderer as thread safe - it producing correct results - regardless of the number of threads it's running on. - - Without this attribute then the target concurrency will be reduced - - - - - A class for configuring NLog through an XML configuration file - (App.config style or App.nlog style). - - Parsing of the XML file is also implemented in this class. - - - - This class is thread-safe..ToList() is used for that purpose. - - Update TemplateXSD.xml for changes outside targets - - - - - Initializes a new instance of the class. - - Configuration file to be read. - - - - Initializes a new instance of the class. - - Configuration file to be read. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - XML reader to read from. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - The XML contents. - Name of the XML file. - The to which to apply any applicable configuration values. - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - NLog LogFactory - - - - Gets the default object by parsing - the application configuration file (app.exe.config). - - - - - Did the Succeeded? true= success, false= error, null = initialize not started yet. - - - - - Gets or sets a value indicating whether all of the configuration files - should be watched for changes and reloaded automatically when changed. - - - - - Gets the collection of file names which should be watched for changes by NLog. - This is the list of configuration files processed. - If the autoReload attribute is not set it returns empty collection. - - - - - Re-reads the original configuration file and returns the new object. - - The new object. - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Create XML reader for (xml config) file. - - filepath - reader or null if filename is empty. - - - - Initializes the configuration. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Checks whether any error during XML configuration parsing has occured. - If there are any and ThrowConfigExceptions or ThrowExceptions - setting is enabled - throws NLogConfigurationException, otherwise - just write an internal log at Warn level. - - Root NLog configuration xml element - - - - Add a file with configuration. Check if not already included. - - - - - - - Parse the root - - - path to config file. - The default value for the autoReload option. - - - - Parse {configuration} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parse {NLog} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Include (multiple) files by filemask, e.g. *.nlog - - base directory in case if is relative - relative or absolute fileMask - - - - - - - - Matches when the specified condition is met. - - - Conditions are expressed using a simple language - described here. - - - - - Gets or sets the condition expression. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - An abstract filter class. Provides a way to eliminate log messages - based on properties other than logger name and log level. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the action to be taken when filter matches. - - - - - - Gets the result of evaluating filter against given log event. - - The log event. - Filter result. - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Marks class as a layout renderer and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the filter. - - - - Filter result. - - - - - The filter doesn't want to decide whether to log or discard the message. - - - - - The message should be logged. - - - - - The message should not be logged. - - - - - The message should be logged and processing should be finished. - - - - - The message should not be logged and processing should be finished. - - - - - A base class for filters that are based on comparing a value to a layout. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the layout to be used to filter log messages. - - The layout. - - - - - Matches when the calculated layout contains the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets the substring to be matched. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets a string to compare the layout to. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches the provided filter-method - - - - - Initializes a new instance of the class. - - - - - - - - Matches when the calculated layout does NOT contain the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets the substring to be matched. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is NOT equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a string to compare the layout to. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the result of the calculated layout has been repeated a moment ago - - - - - How long before a filter expires, and logging is accepted again - - - - - - Max length of filter values, will truncate if above limit - - - - - - Applies the configured action to the initial logevent that starts the timeout period. - Used to configure that it should ignore all events until timeout. - - - - - - Max number of unique filter values to expect simultaneously - - - - - - Default number of unique filter values to expect, will automatically increase if needed - - - - - - Insert FilterCount value into when an event is no longer filtered - - - - - - Append FilterCount to the when an event is no longer filtered - - - - - - Reuse internal buffers, and doesn't have to constantly allocate new buffers - - - - - - Default buffer size for the internal buffers - - - - - - Can be used if has been enabled. - - - - - Initializes a new instance of the class. - - - - - Checks whether log event should be logged or not. In case the LogEvent has just been repeated. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Uses object pooling, and prunes stale filter items when the pool runs dry - - - - - Remove stale filter-value from the cache, and fill them into the pool for reuse - - - - - Renders the Log Event into a filter value, that is used for checking if just repeated - - - - - Repeated LogEvent detected. Checks if it should activate filter-action - - - - - Filter Value State (mutable) - - - - - Filter Lookup Key (immutable) - - - - - A fluent class to build log events for NLog. - - - - - Initializes a new instance of the class. - - The to send the log event. - - - - Initializes a new instance of the class. - - The to send the log event. - The for the log event. - - - - Gets the created by the builder. - - - - - Sets the information of the logging event. - - The exception information of the logging event. - current for chaining calls. - - - - Sets the level of the logging event. - - The level of the logging event. - current for chaining calls. - - - - Sets the logger name of the logging event. - - The logger name of the logging event. - current for chaining calls. - - - - Sets the log message on the logging event. - - The log message for the logging event. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - The fourth object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - An object that supplies culture-specific formatting information. - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets a per-event context property on the logging event. - - The name of the context property. - The value of the context property. - current for chaining calls. - - - - Sets multiple per-event context properties on the logging event. - - The properties to set. - current for chaining calls. - - - - Sets the timestamp of the logging event. - - The timestamp of the logging event. - current for chaining calls. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - current for chaining calls. - - - - Writes the log event to the underlying logger. - - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Extension methods for NLog . - - - - - Starts building a log event with the specified . - - The logger to write the log event to. - The log level. - current for chaining calls. - - - - Starts building a log event at the Trace level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Debug level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Info level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Warn level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Error level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Fatal level. - - The logger to write the log event to. - current for chaining calls. - - - - Global Diagnostics Context - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Global Diagnostics Context - a dictionary structure to hold per-application-instance values. - - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The item value, if defined; otherwise null. - - - - Returns all item names - - A collection of the names of all items in the Global Diagnostics Context. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Include context properties - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Interface for serialization of object values into JSON format - - - - - Serialization of an object into JSON format. - - The object to serialize to JSON. - Output destination. - Serialize succeeded (true/false) - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format.s - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Logger with only generic methods (passing 'LogLevel' to methods) and core properties. - - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Extensions for NLog . - - - - - Writes the diagnostic message and exception at the specified level. - - A logger implementation that will handle the message. - The log level. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Allocates new builder and appends to the provided target builder on dispose - - - - - Access the new builder allocated - - - - - Helpers for . - - - - - Load from url - - file or path, including .dll - basepath, optional - - - - - Load from url - - name without .dll - - - - - Forward declare of system delegate type for use by other classes - - - - - Keeps track of pending operation count, and can notify when pending operation count reaches zero - - - - - Mark operation has started - - - - - Mark operation has completed - - Exception coming from the completed operation [optional] - - - - Registers an AsyncContinuation to be called when all pending operations have completed - - Invoked on completion - AsyncContinuation operation - - - - Clear o - - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Legacy attempt to skip async MoveNext, but caused source file line number to be lost - - - - - Gets the entire stack trace. - - - - - Finds first user stack frame in a stack trace - - The stack trace of the logging method invocation - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - Index of the first user stack frame or 0 if all stack frames are non-user - - - - This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame - - The stack trace of the logging method invocation - Starting point for skipping async MoveNext-frames - - - - Assembly to skip? - - Find assembly via this frame. - true, we should skip. - - - - Is this the type of the logger? - - get type of this logger in this frame. - Type of the logger. - - - - - Memory optimized filtering - - Passing state too avoid delegate capture and memory-allocations. - - - - Internal configuration manager used to read .NET configuration files. - Just a wrapper around the BCL ConfigurationManager, but used to enable - unit testing. - - - - - Gets the wrapper around ConfigurationManager.AppSettings. - - - - - Provides untyped IDictionary interface on top of generic IDictionary. - - The type of the key. - The type of the value. - - - - Initializes a new instance of the DictionaryAdapter class. - - The implementation. - - - - Gets an object containing the values in the object. - - - - An object containing the values in the object. - - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - - Gets an object that can be used to synchronize access to the . - - - - An object that can be used to synchronize access to the . - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - - Gets an object containing the keys of the object. - - - - An object containing the keys of the object. - - - - - Gets or sets the with the specified key. - - Dictionary key. - Value corresponding to key or null if not found - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - - - Removes all elements from the object. - - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - True if the contains an element with the key; otherwise, false. - - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Wrapper IDictionaryEnumerator. - - - - - Initializes a new instance of the class. - - The wrapped. - - - - Gets both the key and the value of the current dictionary entry. - - - - A containing both the key and the value of the current dictionary entry. - - - - - Gets the key of the current dictionary entry. - - - - The key of the current element of the enumeration. - - - - - Gets the value of the current dictionary entry. - - - - The value of the current element of the enumeration. - - - - - Gets the current element in the collection. - - - - The current element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - - - Ensures that IDictionary.GetEnumerator returns DictionaryEntry values - - - - - UTF-8 BOM 239, 187, 191 - - - - - Safe way to get environment variables. - - - - - Helper class for dealing with exceptions. - - - - - Mark this exception as logged to the . - - - - - - - Is this exception logged to the ? - - - trueif the has been logged to the . - - - - Determines whether the exception must be rethrown and logs the error to the if is false. - - Advised to log first the error to the before calling this method. - - The exception to check. - Target context of the exception. - trueif the must be rethrown, false otherwise. - - - - Determines whether the exception must be rethrown immediately, without logging the error to the . - - Only used this method in special cases. - - The exception to check. - trueif the must be rethrown, false otherwise. - - - - Object construction helper. - - - - - Adapter for to - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Creates an AppDomainWrapper for the current - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Abstract calls for the application environment - - - - - Gets current process name (excluding filename extension, if any). - - - - - Abstract calls to FileSystem - - - - Determines whether the specified file exists. - The file to check. - - - Returns the content of the specified file - The file to load. - - - - Base class for optimized file appenders. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the path of the file, including file extension. - - The name of the file. - - - - Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated - Universal Time [UTC] standard. - - The creation time of the file. - - - - Gets or sets the creation time for a file associated with the appender. Synchronized by - The time format is based on - - - - - Gets the last time the file associated with the appender is opened. The time returned is in Coordinated - Universal Time [UTC] standard. - - The time the file was last opened. - - - - Gets the file creation parameters. - - The file creation parameters. - - - - Writes the specified bytes. - - The bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates the file stream. - - If set to true sets the file stream to allow shared writing. - If larger than 0 then it will be used instead of the default BufferSize for the FileStream. - A object which can be used to write to the file. - - - - Base class for optimized file appenders which require the usage of a mutex. - - It is possible to use this class as replacement of BaseFileAppender and the mutex functionality - is not enforced to the implementing subclasses. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates a mutex that is sharable by more than one process. - - The prefix to use for the name of the mutex. - A object which is sharable by multiple processes. - - - - Implementation of which caches - file information. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Closes this instance of the appender. - - - - - Flushes this current appender. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Writes the specified bytes to a file. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Factory class which creates objects. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Maintains a collection of file appenders usually associated with file targets. - - - - - An "empty" instance of the class with zero size and empty list of appenders. - - - - - Initializes a new "empty" instance of the class with zero size and empty - list of appenders. - - - - - Initializes a new instance of the class. - - - The size of the list should be positive. No validations are performed during initialization as it is an - internal class. - - Total number of appenders allowed in list. - Factory used to create each appender. - Parameters used for creating a file. - - - - The archive file path pattern that is used to detect when archiving occurs. - - - - - Invalidates appenders for all files that were archived. - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface that provides parameters for create file function. - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - Gets or sets the log file buffer size in bytes. - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Gets or sets the file attributes (Windows only). - - - - - Should archive mutex be created? - - - - - Should manual simple detection of file deletion be enabled? - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - The archive file path pattern that is used to detect when archiving occurs. - - - - - Invalidates appenders for all files that were archived. - - - - - Interface implemented by all factories capable of creating file appenders. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - Instance of which can be used to write to the file. - - - - Provides a multi process-safe atomic file appends while - keeping the files open. - - - On Unix you can get all the appends to be atomic, even when multiple - processes are trying to write to the same file, because setting the file - pointer to the end of the file and appending can be made one operation. - On Win32 we need to maintain some synchronization between processes - (global named mutex is used for this) - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Closes this instance. - - - - - Flushes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Appender used to discard data for the FileTarget. - Used mostly for testing entire stack except the actual writing to disk. - Throws away all data. - - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Multi-process and multi-host file appender which attempts - to get exclusive write access and retries if it's not available. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Optimized single-process file appender which keeps the file open for exclusive write. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Provides a multi process-safe atomic file append while - keeping the files open. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Creates or opens a file in a special mode, so that writes are automatically - as atomic writes at the file end. - See also "UnixMultiProcessFileAppender" which does a similar job on *nix platforms. - - File to create or open - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Closes this instance. - - - - - Flushes this instance. - - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - A layout that represents a filePath. - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid file names char array to avoid memory allocation every time Path.GetInvalidFileNameChars() is called. - - - - - not null when == false - - - - - non null is fixed, - - - - - is the cache-key, and when newly rendered filename matches the cache-key, - then it reuses the cleaned cache-value . - - - - - is the cache-value that is reused, when the newly rendered filename - matches the cache-key - - - - Initializes a new instance of the class. - - - - Render the raw filename from Layout - - The log event. - StringBuilder to minimize allocations [optional]. - String representation of a layout. - - - - Convert the raw filename to a correct filename - - The filename generated by Layout. - String representation of a correct filename. - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Convert object to string - - value - format for conversion. - - - If is null and isn't a already, then the will get a locked by - - - - - Interface for the wrapper around System.Configuration.ConfigurationManager. - - - - - Gets the wrapper around ConfigurationManager.AppSettings. - - - - - Format a log message - - - - - Format the message and return - - LogEvent with message to be formatted - formatted message - - - - Has the logevent properties? - - LogEvent with message to be formatted - False when logevent has no properties to be extracted - - - - Appends the logevent message to the provided StringBuilder - - LogEvent with message to be formatted - The to append the formatted message. - - - - Get the Raw, unformatted and unstrinyfied, value - - - - - Get the raw value - - - The value - RawValue supported? - - - - Interface implemented by layouts and layout renderers. - - - - - Renders the the value of layout or layout renderer in the context of the specified log event. - - The log event. - String representation of a layout. - - - - Supports mocking of SMTP Client code. - - - - - Specifies how outgoing email messages will be handled. - - - - - Gets or sets the name or IP address of the host used for SMTP transactions. - - - - - Gets or sets the port used for SMTP transactions. - - - - - Gets or sets a value that specifies the amount of time after which a synchronous Send call times out. - - - - - Gets or sets the credentials used to authenticate the sender. - - - - - Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted. - - - System.Net.Mail.MailMessage - MailMessage - A MailMessage that contains the message to send. - - - - Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. - - - - - Supports rendering as string value with limited or no allocations (preferred) - - - - - Renders the value of layout renderer in the context of the specified log event - - - null if not possible or unknown - - - - Supports object initialization and termination. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Allows components to request stack trace information to be provided in the . - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Render the event info as parse as short - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as int - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as bool - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Logger configuration. - - - - - Initializes a new instance of the class. - - The targets by level. - Use the old exception log handling of NLog 3.0? - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. - - - - Gets targets for the specified level. - - The level. - Chain of targets with attached filters. - - - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - New formatter - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - The MessageFormatter delegate - - - - - - - - Most-Recently-Used-Cache, that discards less frequently used items on overflow - - - - - Constructor - - Maximum number of items the cache will hold before discarding. - - - - Attempt to insert item into cache. - - Key of the item to be inserted in the cache. - Value of the item to be inserted in the cache. - true when the key does not already exist in the cache, false otherwise. - - - - Lookup existing item in cache. - - Key of the item to be searched in the cache. - Output value of the item found in the cache. - True when the key is found in the cache, false otherwise. - - - - Watches multiple files at the same time and raises an event whenever - a single change is detected in any of those files. - - - - - The types of changes to watch for. - - - - - Occurs when a change is detected in one of the monitored files. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Stops watching all files. - - - - - Stops watching the specified file. - - - - - - Watches the specified files for changes. - - The file names. - - - - Supports mocking of SMTP Client code. - - - Disabled Error CS0618 'SmtpClient' is obsolete: 'SmtpClient and its network of types are poorly designed, - we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead' - - - - - Network sender which uses HTTP or HTTPS POST. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Creates instances of objects for given URLs. - - - - - Creates a new instance of the network sender based on a network URL. - - URL that determines the network sender to be created. - The maximum queue size. - SSL protocols for TCP - KeepAliveTime for TCP - - A newly created network sender. - - - - - Interface for mocking socket calls. - - - - - A base class for all network senders. Supports one-way sending of messages - over various protocols. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Gets the address of the network endpoint. - - - - - Gets the last send time. - - - - - Initializes this network sender. - - - - - Closes the sender and releases any unmanaged resources. - - The continuation. - - - - Flushes any pending messages and invokes a continuation. - - The continuation. - - - - Send the given text over the specified protocol. - - Bytes to be sent. - Offset in buffer. - Number of bytes to send. - The asynchronous continuation. - - - - Closes the sender and releases any unmanaged resources. - - - - - Performs sender-specific initialization. - - - - - Performs sender-specific close operation. - - The continuation. - - - - Performs sender-specific flush. - - The continuation. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Parses the URI into an endpoint address. - - The URI to parse. - The address family. - Parsed endpoint. - - - - Default implementation of . - - - - - - - - A base class for network senders that can block or send out-of-order - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Performs sender-specific flush. - - The continuation. - - - - Socket proxy for mocking Socket code. - - - - - Initializes a new instance of the class. - - The address family. - Type of the socket. - Type of the protocol. - - - - Gets underlying socket instance. - - - - - Closes the wrapped socket. - - - - - Invokes ConnectAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendToAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Sends messages over a TCP network connection. - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - The address family. - - - - Creates the socket with given parameters. - - The host address. - The address family. - Type of the socket. - Type of the protocol. - Instance of which represents the socket. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Facilitates mocking of class. - - - - - Raises the Completed event. - - - - - Sends messages over the network as UDP datagrams. - - - - - Initializes a new instance of the class. - - URL. Must start with udp://. - The address family. - - - - Creates the socket. - - The address family. - Type of the socket. - Type of the protocol. - Implementation of to use. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Sends the specified text as a UDP datagram. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Scans (breadth-first) the object graph following all the edges whose are - instances have attached and returns - all objects implementing a specified interfaces. - - - - - Finds the objects which have attached which are reachable - from any of the given root objects when traversing the object graph over public properties. - - Type of the objects to return. - Also search the properties of the wanted objects. - The root objects. - Ordered list of objects implementing T. - - - ISet is not there in .net35, so using HashSet - - - - Helper for extracting propertyPath - - - - - Object Path to check - - - - - Try get value from , using , and set into - - - - - - - - Converts object into a List of property-names and -values using reflection - - - - - Scans properties for name (Skips string-compare and value-lookup until finding match) - - - - - Scans properties for name (Skips property value lookup until finding match) - - - - - Scans properties for name - - - - - Binder for retrieving value of - - - - - - - - Combine paths - - basepath, not null - optional dir - optional file - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Trims directory separators from the path - - path, could be null - never null - - - - Detects the platform the NLog is running on. - - - - - Gets the current runtime OS. - - - - - Gets a value indicating whether current OS is Win32-based (desktop or mobile). - - - - - Gets a value indicating whether current OS is Unix-based. - - - - - Gets a value indicating whether current runtime is Mono-based - - - - - Gets a value indicating whether current runtime supports use of mutex - - - - - Will creating a mutex succeed runtime? - "Cached" detection - - - - - Will creating a mutex succeed runtime? - - - - - Dictionary that combines the standard with the - MessageTemplate-properties extracted from the . - - The are returned as the first items - in the collection, and in positional order. - - - - - Value of the property - - - - - Is this a property of the message? - - - - - - - Value of the property - Is this a property of the message? - - - - The properties of the logEvent - - - - - The properties extracted from the message - - - - - Wraps the list of message-template-parameters into the IDictionary-interface - - Message-template-parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Check if the message-template-parameters can be used directly without allocating a dictionary - - Message-template-parameters - Are all parameter names unique (true / false) - - - - Attempt to insert the message-template-parameters into an empty dictionary - - Message-template-parameters - The initially empty dictionary - Message-template-parameters was inserted into dictionary without trouble (true/false) - - - - Attempt to override the existing dictionary values using the message-template-parameters - - Message-template-parameters - The already filled dictionary - List of unique message-template-parameters - - - - - - - - - - - - - - - - - - - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - - - - - - - - - - - - - - - - - Reflection helpers for accessing properties. - - - - - Set value parsed from string. - - object instance to set with property - name of the property on - The value to be parsed. - - - - - Get property info - - object which could have property - property name on - result when success. - success. - - - - Try parse of string to (Generic) list, comma separated. - - - If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape - - - - - Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase) - - - - - Try get the property - - - - - Reflection helpers. - - - - - Gets all usable exported types from the given assembly. - - Assembly to scan. - Usable types from the given assembly. - Types which cannot be loaded are skipped. - - - - Is this a static class? - - - - This is a work around, as Type doesn't have this property. - From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static - - - - - Optimized delegate for calling MethodInfo - - Object instance, use null for static methods. - Complete list of parameters that matches the method, including optional/default parameters. - - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) - - - - - Controls a single allocated char[]-buffer for reuse (only one active user) - - - - - Controls a single allocated StringBuilder for reuse (only one active user) - - - - - Controls a single allocated object for reuse (only one active user) - - - - Empty handle when is disabled - - - - Creates handle to the reusable char[]-buffer for active usage - - Handle to the reusable item, that can release it again - - - - Access the acquired reusable object - - - - - Controls a single allocated MemoryStream for reuse (only one active user) - - - - - Supported operating systems. - - - If you add anything here, make sure to add the appropriate detection - code to - - - - - Unknown operating system. - - - - - Unix/Linux operating systems. - - - - - Desktop versions of Windows (95,98,ME). - - - - - Windows NT, 2000, 2003 and future versions based on NT technology. - - - - - Macintosh Mac OSX - - - - - Simple character tokenizer. - - - - - Initializes a new instance of the class. - - The text to be tokenized. - - - - Current position in - - - - - Full text to be parsed - - - - - Check current char while not changing the position. - - - - - - Read the current char and change position - - - - - - Get the substring of the - - - - - - - - Implements a single-call guard around given continuation function. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - - - - Continuation function which implements the single-call guard. - - The exception. - - - - HashSet optimized for single item - - - - - - Insert single item on scope start, and remove on scope exit - - Item to insert in scope - Existing hashset to update - Force allocation of real hashset-container - HashSet EqualityComparer - - - - Add item to collection, if it not already exists - - Item to insert - - - - Clear hashset - - - - - Check if hashset contains item - - - Item exists in hashset (true/false) - - - - Remove item from hashset - - - Item removed from hashset (true/false) - - - - Copy items in hashset to array - - Destination array - Array offset - - - - Create hashset enumerator - - Enumerator - - - - Provides helpers to sort log events and associated continuations. - - - - - Key selector delegate. - - The type of the value. - The type of the key. - Value to extract key information from. - Key selected from log event. - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - The key comparer function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. - - - - - - - - - - - - - - - - Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. - Consider to use instead for better safety. - - Key value for lookup - Mapped value found - - - - Non-Allocating struct-enumerator - - - - - - - - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - - - - Will always throw, as dictionary is readonly - - - - Utilities for dealing with values. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - StackFrame from the calling method - Fully qualified class name - - - - Returns the assembly from the provided StackFrame (If not internal assembly) - - Valid assembly, or null if assembly was internal - - - - Returns the classname from the provided StackFrame (If not from internal assembly) - - - Valid class name, or empty string if assembly was internal - - - - Stream helpers - - - - - Copy to output stream and skip BOM if encoding is UTF8 - - - - - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - .net35 doesn't have a .copyto - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - first bytes to skip (optional) - - - - Helpers for , which is used in e.g. layout renderers. - - - - - Renders the specified log event context item and appends it to the specified . - - append to this - value to be appended - format string. If @, then serialize the value with the Default JsonConverter. - provider, for example culture - - - - Appends int without using culture, and most importantly without garbage - - - value to append - - - - Appends uint without using culture, and most importantly without garbage - - Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ - - - value to append - - - - Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 6801 date (Round-Trip-Time) - - - - - Clears the provider StringBuilder - - - - - - Copies the contents of the StringBuilder to the MemoryStream using the specified encoding (Without BOM/Preamble) - - StringBuilder source - MemoryStream destination - Encoding used for converter string into byte-stream - Helper char-buffer to minimize memory allocations - - - - Copies the contents of the StringBuilder to the destination StringBuilder - - StringBuilder source - StringBuilder destination - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle character to search for - - Index of the first occurrence (Else -1) - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle characters to search for - - Index of the first occurrence (Else -1) - - - - Compares the contents of two StringBuilders - - - Correct implementation of that also works when is not the same - - True when content is the same - - - - Compares the contents of a StringBuilder and a String - - True when content is the same - - - - Append a number and pad with 0 to 2 digits - - append to this - the number - - - - Append a number and pad with 0 to 4 digits - - append to this - the number - - - - Append a int type (byte, int) as string - - - - - Constructor - - Max number of items - Initial StringBuilder Size - Max StringBuilder Size - - - - Takes StringBuilder from pool - - Allow return to pool - - - - Releases StringBuilder back to pool at its right place - - - - - Keeps track of acquired pool item - - - - - Releases pool item back into pool - - - - - Helpers for . - - - - - IsNullOrWhiteSpace, including for .NET 3.5 - - - - - - - Split a string - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Represents target with a chain of filters which determine - whether logging should happen. - - - - - cached result as calculating is expensive. - - - - - Initializes a new instance of the class. - - The target. - The filter chain. - Default action if none of the filters match. - - - - Gets the target. - - The target. - - - - Gets the filter chain. - - The filter chain. - - - - Default action if none of the filters match. - - - - - Gets or sets the next item in the chain. - - The next item in the chain. - This is for example the 'target2' logger in writeTo='target1,target2' - - - - Gets the stack trace usage. - - A value that determines stack trace handling. - - - - Helper for dealing with thread-local storage. - - - - - Allocates the data slot for storing thread-local information. - - Allocated slot key. - - - - Gets the data for a slot in thread-local storage. - - Type of the data. - The slot to get data for. - Automatically create the object if it doesn't exist. - - Slot data (will create T if null). - - - - - Wraps with a timeout. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - The timeout. - - - - Continuation function which implements the timeout logic. - - The exception. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Transformation on a layout. Pre-calculated if the layout has a fixed value. - - - - - Create TransformedLayout. - - Layout - Transformation method - Optional renderer, otherwise is used - - - - - - - Create TransformedLayout. If is null, then the returns null - - Layout - Transformation method - Optional renderer, otherwise is used - null if is null - - - - - - - - - - URL Encoding helper. - - - - Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - - - Use RFC2396 standard (instead of RFC3986) - - - Should use lowercase when doing HEX escaping of special characters - - - Replace space ' ' with '+' instead of '%20' - - - Skip UTF8 encoding, and prefix special characters with '%u' - - - - Escape unicode string data for use in http-requests - - unicode string-data to be encoded - target for the encoded result - s for how to perform the encoding - - - - Convert the wide-char into utf8-bytes, and then escape - - - - - - - - - Is allowed? - - - - - - - - Is a-z / A-Z / 0-9 - - - - - - - Prevents the Xamarin linker from linking the target. - - - By applying this attribute all of the members of the target will be kept as if they had been referenced by the code. - - - - - Ensures that all members of this type are preserved - - - - - Flags the method as a method to preserve during linking if the container class is pulled in. - - - - - Helper class for XML - - - - - removes any unusual unicode characters that can't be encoded into XML - - - - - Cleans string of any invalid XML chars found - - unclean string - string with only valid XML chars - - - - Pretest, small text and not escape needed - - - - - - - - Converts object value to invariant format, and strips any invalid xml-characters - - Object value - Object value converted to string - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object value converted to string - - - - XML elements must follow these naming rules: - - Element names are case-sensitive - - Element names must start with a letter or underscore - - Element names can contain letters, digits, hyphens, underscores, and periods - - Element names cannot contain spaces - - - - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object TypeCode - Check and remove unusual unicode characters from the result string. - Object value converted to string - - - - Safe version of WriteAttributeString - - - - - - - - - - Safe version of WriteAttributeString - - - - - - - - Safe version of WriteElementSafeString - - - - - - - - - - Safe version of WriteCData - - - - - - - Interface for handling object transformation - - - - - Takes a dangerous (or massive) object and converts into a safe (or reduced) object - - - Null if unknown object, or object cannot be handled - - - - - Provides an interface to execute System.Actions without surfacing any exceptions raised for that action. - - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Render a message template property to a string - - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Log event context data. - - - - - Initializes a new instance of the class. - - - - - Gets or sets string that will be used to separate key/value pairs. - - - - - - Get or set if empty values should be included. - - A value is empty when null or in case of a string, null or empty string. - - - - - - Gets or sets the keys to exclude from the output. If omitted, none are excluded. - - - - - - Gets or sets how key/value pairs will be formatted. - - - - - - Renders all log event's properties and appends them to the specified . - - The to append the rendered data to. - Logging event. - - - - Designates a property of the class as an ambient property. - - - non-ambient: ${uppercase:${level}} - ambient : ${level:uppercase} - - - - - Initializes a new instance of the class. - - Ambient property name. - - - - Used to render the application domain name. - - - - - Create a new renderer - - - - - Create a new renderer - - - - - Format string. Possible values: "Short", "Long" or custom like {0} {1}. Default "Long" - The first parameter is the , the second the second the - This string is used in - - - - - - - - - - - - - - - Application setting. - - - Use this layout renderer to insert the value of an application setting - stored in the application's App.config or Web.config file. - - - ${appsetting:item=mysetting:default=mydefault} - produces "mydefault" if no appsetting - - - - - The AppSetting item-name - - - - - - The AppSetting item-name - - - - - The default value to render if the AppSetting value is null. - - - - - - - - - Renders the specified application setting or default value and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Renders the assembly version information for the entry assembly or a named assembly. - - - As this layout renderer uses reflection and version information is unlikely to change during application execution, - it is recommended to use it in conjunction with the . - - - The entry assembly can't be found in some cases e.g. ASP.NET, unit tests, etc. - - - - - Initializes a new instance of the class. - - - - - The (full) name of the assembly. If null, using the entry assembly. - - - - - - Gets or sets the type of assembly version to retrieve. - - - Some version type and platform combinations are not fully supported. - - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified. - - Silverlight: Value for is always returned. - - - - - - Gets or sets the custom format of the assembly version output. - - - Supported placeholders are 'major', 'minor', 'build' and 'revision'. - The default .NET template for version numbers is 'major.minor.build.revision'. See - https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks - for details. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders an assembly version and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Gets the assembly specified by , or entry assembly otherwise - - Found assembly - - - - Type of assembly version to retrieve. - - - - - Gets the assembly version. - - - - - Gets the file version. - - - - - Gets additional version information. - - - - - The current application domain's base directory. - - - - - cached - - - - - Use base dir of current process. Alternative one can just use ${processdir} - - - - - - Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the base directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. - - - - - - Renders the application base directory and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source file name. Full callsite - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - The call site (class name, method name and source information). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to render the class name. - - - - - - Gets or sets a value indicating whether to render the include the namespace with . - - - - - - Gets or sets a value indicating whether to render the method name. - - - - - - Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate. - - - - - - Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation - (everything after an await-statement inside of an async method). - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets a value indicating whether to render the source file name and line number. - - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source line number. Full callsite - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - A counter value (increases on each layout rendering). - - - - - Gets or sets the initial value of the counter. - - - - - - Gets or sets the value to be added to the counter after each layout rendering. - - - - - - Gets or sets the name of the sequence. Different named sequences can have individual values. - - - - - - - - - The current working directory of the application. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the current directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the current directory. - - - - - - - - - - - - Current date and time. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format). - - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - - - - - - - - - - DB null for a database - - - - - - - - - - - The OS dependent directory separator - - - - - - - - - - - The environment variable. - - - - - Gets or sets the name of the environment variable. - - - - - - Gets or sets the default value to be used when the environment variable is not set. - - - - - - - - - - - - Thread identity information (username). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether username should be included. - - - - - - Gets or sets a value indicating whether domain name should be included. - - - - - - Gets or sets the default value to be used when the User is not set. - - - - - - Gets or sets the default value to be used when the Domain is not set. - - - - - - - - - - - - Log event context data. - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the name of the item. - - - - - - Renders the specified log event context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. See . - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - - - - - - - - - - Exception information provided through - a call to one of the Logger.*Exception() methods. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the format of the output. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - - - Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - Gets or sets the separator used to concatenate parts specified in the Format. - - - - - - Gets or sets the separator used to concatenate exception data specified in the Format. - - - - - - Gets or sets the maximum number of inner exceptions to include in the output. - By default inner exceptions are not enabled for compatibility with NLog 1.0. - - - - - - Gets or sets the separator between inner exceptions. - - - - - - Gets or sets whether to render innermost Exception from - - - - - Gets or sets whether to collapse exception tree using - - - - - Gets the formats of the output of inner exceptions to be rendered in target. - - - - - - - Gets the formats of the output to be rendered in target. - - - - - - - - - - - - - Appends the Message of an Exception to the specified . - - The to append the rendered data to. - The exception containing the Message to append. - - - - Appends the method name from Exception's stack trace to the specified . - - The to append the rendered data to. - The Exception whose method name should be appended. - - - - Appends the stack trace from an Exception to the specified . - - The to append the rendered data to. - The Exception whose stack trace should be appended. - - - - Appends the result of calling ToString() on an Exception to the specified . - - The to append the rendered data to. - The Exception whose call to ToString() should be appended. - - - - Appends the type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose type should be appended. - - - - Appends the short type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose short type should be appended. - - - - Appends the application source of an Exception to the specified . - - The to append the rendered data to. - The Exception whose source should be appended. - - - - Appends the HResult of an Exception to the specified . - - The to append the rendered data to. - The Exception whose HResult should be appended. - - - - Appends the contents of an Exception's Data property to the specified . - - The to append the rendered data to. - The Exception whose Data property elements should be appended. - - - - Appends all the serialized properties of an Exception into the specified . - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Appends all the additional properties of an Exception like Data key-value-pairs - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Split the string and then compile into list of Rendering formats. - - - - - Renders contents of the specified file. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file. - - - - - - Gets or sets the encoding used in the file. - - The encoding. - - - - - Renders the contents of the specified file and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - Name used in config without ${}. E.g. "test" could be used as "${test}". - - - - - Method that renders the layout. - - This public property will be removed in NLog 5. - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render the value for this log event - - The event info. - The value. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - The information about the garbage collector. - - - - - Gets or sets the property to retrieve. - - - - - - - - - Gets or sets the property of System.GC to retrieve. - - - - - Total memory allocated. - - - - - Total memory allocated (perform full garbage collection first). - - - - - Gets the number of Gen0 collections. - - - - - Gets the number of Gen1 collections. - - - - - Gets the number of Gen2 collections. - - - - - Maximum generation number supported by GC. - - - - - Render a Global Diagnostics Context item. See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - - - - Globally-unique identifier (GUID). - - - - - Gets or sets the GUID format as accepted by Guid.ToString() method. - - - - - - Generate the Guid from the NLog LogEvent (Will be the same for all targets) - - - - - - - - - - - - - - - The host name that the process is running on. - - - - - - - - Gets the host name and falls back to computer name if not available - - - - - Tries the lookup value. - - The lookup function. - Type of the lookup. - - - - - - - - Thread identity information (name and authentication information). - - - - - Gets or sets the separator to be used when concatenating - parts of identity information. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated. - - - - - - - - - Retrieve network interfaces - - - - - Retrieve network interfaces - - - - - Installation parameter (passed to InstallNLogConfig). - - - - - Gets or sets the name of the parameter. - - - - - - Renders the specified installation parameter and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render environmental information related to logging events. - - - - - Gets the logging configuration this target is part of. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Renders the the value of layout renderer in the context of the specified log event. - - The log event. - String representation of a layout renderer. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Renders the value of layout renderer in the context of the specified log event. - - The log event. - The layout render output is appended to builder - - - - Renders the value of layout renderer in the context of the specified log event into . - - The to append the rendered data to. - Logging event. - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Get the for rendering the messages to a - - LogEvent with culture - Culture in on Layout level - - - - - Get the for rendering the messages to a , needed for date and number formats - - LogEvent with culture - Culture in on Layout level - - - is preferred - - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Renderer with callback func - - - - Marks class as a layout renderer and assigns a name to it. - - This attribute is not required when registering the layout in the API. - - - - Initializes a new instance of the class. - - Name of the layout renderer, without the `${ }` - - - - Format of the ${level} layout renderer output. - - - - - Render the LogLevel standard name. - - - - - Render the first character of the level. - - - - - Render the ordinal (aka number) for the level. - - - - - Render the LogLevel full name, expanding Warn / Info abbreviations - - - - - The log level. - - - - - Gets or sets a value indicating the output format of the level. - - - - - - - - - - - - - - - A string literal. - - - This is used to escape '${' sequence - as ;${literal:text=${}' - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The literal text value. - This is used by the layout compiler. - - - - Gets or sets the literal text. - - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The IP address from the network interface card (NIC) on the local machine - - - Skips loopback-adapters and tunnel-interfaces. Skips devices without any MAC-address - - - - - Get or set whether to prioritize IPv6 or IPv4 (default) - - - - - - - - - - - - - - - XML event description compatible with log4j, Chainsaw and NLogViewer. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes the layout renderer. - - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets a value indicating whether the XML should use spaces for indentation. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the XML logging event and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The logger name. - - - - - Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character). - - - - - - - - - - - - The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the date in the long format (yyyy-MM-dd HH:mm:ss.ffff) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The machine name that the process is running on. - - - - - - - - - - - Render a Mapped Diagnostic Context item, See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render a Mapped Diagnostic Logical Context item (based on CallContext). - See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - The formatted log message. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to log exception along with message. - - - - - - Gets or sets the string that separates message from the exception. - - - - - - Gets or sets whether it should render the raw message without formatting parameters - - - - - - - - - - - - Render a Nested Diagnostic Context item. - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested diagnostics context output. - - - - - - Renders the specified Nested Diagnostics Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render a Nested Diagnostic Logical Context item (Async scope) - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested logical context output. - - - - - - Renders the specified Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Timing Renderer (Async scope) - - - - - Gets or sets whether to only include the duration of the last scope created - - - - - - Gets or sets whether to just display the scope creation time, and not the duration - - - - - - Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format). - - - - - - Renders the timing details of the Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Retrieve network interfaces - - - - - Retrieve network interfaces - - - - - A newline literal. - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The directory where NLog.dll is located. - - - - - Initializes static members of the NLogDirLayoutRenderer class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The performance counter. - - - - - Gets or sets the name of the counter category. - - - - - - Gets or sets the name of the performance counter. - - - - - - Gets or sets the name of the performance counter instance (e.g. this.Global_). - - - - - - Gets or sets the name of the machine to read the performance counter from. - - - - - - Format string for conversion from float to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - If having multiple instances with the same process-name, then they will get different instance names - - - - - The executable directory from the FileName, - using the current process - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the process directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the process directory. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - The identifier of the current process. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - The information about the running process. - - - - - Gets or sets the property to retrieve. - - - - - - Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum) - - - - - - - - - - - - - - - Property of System.Diagnostics.Process to retrieve. - - - - - Base Priority. - - - - - Exit Code. - - - - - Exit Time. - - - - - Process Handle. - - - - - Handle Count. - - - - - Whether process has exited. - - - - - Process ID. - - - - - Machine name. - - - - - Handle of the main window. - - - - - Title of the main window. - - - - - Maximum Working Set. - - - - - Minimum Working Set. - - - - - Non-paged System Memory Size. - - - - - Non-paged System Memory Size (64-bit). - - - - - Paged Memory Size. - - - - - Paged Memory Size (64-bit).. - - - - - Paged System Memory Size. - - - - - Paged System Memory Size (64-bit). - - - - - Peak Paged Memory Size. - - - - - Peak Paged Memory Size (64-bit). - - - - - Peak Virtual Memory Size. - - - - - Peak Virtual Memory Size (64-bit).. - - - - - Peak Working Set Size. - - - - - Peak Working Set Size (64-bit). - - - - - Whether priority boost is enabled. - - - - - Priority Class. - - - - - Private Memory Size. - - - - - Private Memory Size (64-bit). - - - - - Privileged Processor Time. - - - - - Process Name. - - - - - Whether process is responding. - - - - - Session ID. - - - - - Process Start Time. - - - - - Total Processor Time. - - - - - User Processor Time. - - - - - Virtual Memory Size. - - - - - Virtual Memory Size (64-bit). - - - - - Working Set Size. - - - - - Working Set Size (64-bit). - - - - - The name of the current process. - - - - - Gets or sets a value indicating whether to write the full path to the process executable. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Renders the current process name (optionally with a full path). - - The to append the rendered data to. - Logging event. - - - - The process time in format HH:mm:ss.mmm. - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Write timestamp to builder with format hh:mm:ss:fff - - - - - High precision timer, based on the value returned from QueryPerformanceCounter() optionally converted to seconds. - - - - - Gets or sets a value indicating whether to normalize the result by subtracting - it from the result of the first call (so that it's effectively zero-based). - - - - - - Gets or sets a value indicating whether to output the difference between the result - of QueryPerformanceCounter and the previous one. - - - - - - Gets or sets a value indicating whether to convert the result to seconds by dividing - by the result of QueryPerformanceFrequency(). - - - - - - Gets or sets the number of decimal digits to be included in output. - - - - - - Gets or sets a value indicating whether to align decimal point (emit non-significant zeros). - - - - - - - - - - - - A value from the Registry. - - - - - Create new renderer - - - - - Gets or sets the registry value name. - - - - - - Gets or sets the value to be output when the specified registry key or value is not found. - - - - - - Require escaping backward slashes in . Need to be backwards-compatible. - - When true: - - `\` in value should be configured as `\\` - `\\` in value should be configured as `\\\\`. - - Default value wasn't a Layout before and needed an escape of the slash - - - - - Gets or sets the registry view (see: https://msdn.microsoft.com/de-de/library/microsoft.win32.registryview.aspx). - Allowed values: Registry32, Registry64, Default - - - - - - Gets or sets the registry key. - - - HKCU\Software\NLogTest - - - Possible keys: -
    -
  • HKEY_LOCAL_MACHINE
  • -
  • HKLM
  • -
  • HKEY_CURRENT_USER
  • -
  • HKCU
  • -
  • HKEY_CLASSES_ROOT
  • -
  • HKEY_USERS
  • -
  • HKEY_CURRENT_CONFIG
  • -
  • HKEY_DYN_DATA
  • -
  • HKEY_PERFORMANCE_DATA
  • -
-
- -
- - - Reads the specified registry key and value and appends it to - the passed . - - The to append the rendered data to. - Logging event. Ignored. - - - - Has ? - - - - - Parse key to and subkey. - - full registry key name - Result of parsing, never null. - - - - Aliases for the hives. See https://msdn.microsoft.com/en-us/library/ctb3kd86(v=vs.110).aspx - - - - - The sequence ID - - - - - - - - - - - The short date in a sortable format yyyy-MM-dd. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the current short date string (yyyy-MM-dd) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - System special folder path (includes My Documents, My Music, Program Files, Desktop, and more). - - - - - Gets or sets the system special folder to use. - - - Full list of options is available at MSDN. - The most common ones are: -
    -
  • ApplicationData - roaming application data for current user.
  • -
  • CommonApplicationData - application data for all users.
  • -
  • MyDocuments - My Documents
  • -
  • DesktopDirectory - Desktop directory
  • -
  • LocalApplicationData - non roaming application data
  • -
  • Personal - user profile directory
  • -
  • System - System directory
  • -
-
- -
- - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Format of the ${stacktrace} layout renderer output. - - - - - Raw format (multiline - as returned by StackFrame.ToString() method). - - - - - Flat format (class and method names displayed in a single line). - - - - - Detailed flat format (method signatures displayed in a single line). - - - - - Stack trace renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the output format of the stack trace. - - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets the stack frame separator string. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A temporary directory. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The identifier of the current thread. - - - - - - - - The name of the current thread. - - - - - - - - The Ticks value of current date and time. - - - - - - - - - - - The time in a 24-hour, sortable format HH:mm:ss.mmmm. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - A renderer that puts into log a System.Diagnostics trace correlation id. - - - - - - - - - - - Render a NLog variable (xml or config) - - - - - Gets or sets the name of the NLog variable. - - - - - - Gets or sets the default value to be used when the variable is not set. - - Not used if Name is null - - - - - Initializes the layout renderer. - - - - - Try get the - - - - - - - Renders the specified variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Thread Windows identity information (username). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether domain name should be included. - - - - - - Gets or sets a value indicating whether username should be included. - - - - - - Renders the current thread windows identity information and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Applies caching to another layout output. - - - The value of the inner layout will be rendered only once and reused subsequently. - - - - - A value indicating when the cache is cleared. - - - - Never clear the cache. - - - Clear the cache whenever the is initialized. - - - Clear the cache whenever the is closed. - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether this is enabled. - - - - - - Gets or sets a value indicating when the cache is cleared. - - - - - - Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s - - - - - - Gets or sets a value indicating how many seconds the value should stay cached until it expires - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - - - - Filters characters not allowed in the file names by replacing them with safe character. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path - (illegal characters are replaced with '_'). - - - - - - - - - - - - Escapes output of another layout using JSON rules. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply JSON encoding. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - - - - - - - Left part of a text - - - - - Gets or sets the length in characters. - - - - - - Same as -property, so it can be used as ambient property. - - - ${message:truncate=80} - - - - - - - - - - - - Converts the result of another layout output to lower case. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Render the non-raw value of an object. - - For performance and/or full (formatted) control of the output. - - - - Gets or sets a value indicating whether to disable the IRawValue-interface - - A value of true if IRawValue-interface should be ignored; otherwise, false. - - - - - - - - - - - Render a single property of a object - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - Shortcut for - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - Only outputs the inner layout when exception has been defined for log message. - - - - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - ${onhasproperties:, Properties\: ${all-event-properties}} - - - - - - - - - - - Horizontal alignment for padding layout renderers. - - - - - When layout text is too long, align it to the left - (remove characters from the right). - - - - - When layout text is too long, align it to the right - (remove characters from the left). - - - - - Applies padding to another layout output. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of characters to pad the output to. - - - Positive padding values cause left padding, negative values - cause right padding to the desired width. - - - - - - Gets or sets the padding character. - - - - - - Gets or sets a value indicating whether to trim the - rendered text to the absolute value of the padding length. - - - - - - Gets or sets a value indicating whether a value that has - been truncated (when is true) - will be left-aligned (characters removed from the right) - or right-aligned (characters removed from the left). The - default is left alignment. - - RegistryLayoutRenderer - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Replaces a string in the output of another layout with another string. - - - ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}} - - - - - Gets or sets the text to search for. - - The text search for. - - - - - Gets or sets a value indicating whether regular expressions should be used. - - A value of true if regular expressions should be used otherwise, false. - - - - - Gets or sets the replacement string. - - The replacement string. - - - - - Gets or sets the group name to replace when using regular expressions. - Leave null or empty to replace without using group name. - - The group name. - - - - - Gets or sets a value indicating whether to ignore case. - - A value of true if case should be ignored when searching; otherwise, false. - - - - - Gets or sets a value indicating whether to search for whole words. - - A value of true if whole words should be searched for; otherwise, false. - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Initializes the layout renderer. - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass - - - - - A match evaluator for Regular Expression based replacing - - Input string. - Group name in the regex. - Replace value. - Match from regex. - Groups replaced with . - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating the string that should be used for separating lines. - - - - - - - - - - - - Right part of a text - - - - - Gets or sets the length in characters. - - - - - - - - - - - - Decodes text "encrypted" with ROT-13. - - - See https://en.wikipedia.org/wiki/ROT13. - - - - - Gets or sets the layout to be wrapped. - - The layout to be wrapped. - This variable is for backwards compatibility - - - - - Encodes/Decodes ROT-13-encoded string. - - The string to be encoded/decoded. - Encoded/Decoded text. - - - - - - - - - - Encodes/Decodes ROT-13-encoded string. - - - - - Substring the result - - - ${substring:${level}:start=2:length=2} - ${substring:${level}:start=-2:length=2} - ${substring:Inner=${level}:start=2:length=2} - - - - - Initializes a new instance of the class. - - - - - Gets or sets the start index. - - Index - - - - - Gets or sets the length in characters. If null, then the whole string - - Index - - - - - - - - - - - Calculate start position - - 0 or positive number - - - - Calculate needed length - - 0 or positive number - - - - Trims the whitespace from the result of another layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - - - - - - - Converts the result of another layout output to upper case. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - ${level:uppercase} // [AmbientProperty] - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether upper case conversion should be applied. - - A value of true if upper case conversion should be applied otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Encodes the result of another layout output for use with URLs. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether spaces should be translated to '+' or '%20'. - - A value of true if space should be translated to '+'; otherwise, false. - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - - - Gets or sets the layout to be rendered when original layout produced empty result. - - - - - - - - - - - - - - - Only outputs the inner layout when the specified condition has been met. - - - - - Gets or sets the condition that must be met for the layout to be printed. - - - - - - If is not met, print this layout. - - - - - - - - - - - - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the line length for wrapping. - - - Only positive values are allowed - - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - Base class for s which wrapping other s. - - This has the property (which is default) and can be used to wrap. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - - - - - Gets or sets the wrapped layout. - - [DefaultParameter] so Inner: is not required if it's the first - - - - - - - - - Renders the inner message, processes it and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Appends the rendered output from -layout and transforms the added output (when necessary) - - Logging event. - The to append the rendered data to. - Start position for any necessary transformation of . - - - - Transforms the output of another layout. - - Logging event. - Output to be transform. - Transformed text. - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - Base class for s which wrapping other s. - - This expects the transformation to work on a - - - - - - - - Transforms the output of another layout. - - - Output to be transform. - - - - Transforms the output of another layout. - - Output to be transform. - - - - Renders the inner layout contents. - - - for the result - - - - - - - - - - - - - - - - - - Converts the result of another layout output to be XML-compliant. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply XML encoding. - - Ensures always valid XML, but gives a performance hit - - - - - Gets or sets a value indicating whether to transform newlines (\r\n) into ( ) - - - - - - - - - - - - A layout containing one or more nested layouts. - - - - - Initializes a new instance of the class. - - - - - Gets the inner layouts. - - - - - - Initializes the layout. - - - - - Formats the log event relying on inner layouts. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event relying on inner layouts. - - The logging event. - for the result - - - - Closes the layout. - - - - - Generate description of Compound Layout - - Compound Layout String Description - - - - A column in the CSV. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column. - The layout of the column. - - - - Gets or sets the name of the column. - - - - - - Gets or sets the layout of the column. - - - - - - Gets or sets the override of Quoting mode - - - and are faster than the default - - - - - - Specifies allowed column delimiters. - - - - - Automatically detect from regional settings. - - - - - Comma (ASCII 44). - - - - - Semicolon (ASCII 59). - - - - - Tab character (ASCII 9). - - - - - Pipe character (ASCII 124). - - - - - Space character (ASCII 32). - - - - - Custom string, specified by the CustomDelimiter. - - - - - A specialized layout that renders CSV-formatted events. - - If is set, then the header generation with column names will be disabled. - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - Gets or sets a value indicating whether CVS should include header. - - A value of true if CVS should include header; otherwise, false. - - - - - Gets or sets the column delimiter. - - - - - - Gets or sets the quoting mode. - - - - - - Gets or sets the quote Character. - - - - - - Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom'). - - - - - - Initializes the layout. - - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event for write. - - The logging event. - for the result - - - - Get the headers with the column names. - - - - - - Header with column names for CSV layout. - - - - - Initializes a new instance of the class. - - The parent. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Generate description of CSV Layout - - CSV Layout String Description - - - - Specifies CSV quoting modes. - - - - - Quote all column (Fast) - - - - - Quote nothing (Very fast) - - - - - Quote only whose values contain the quote symbol or the separator (Slow) - - - - - JSON attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with json-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Json encoded. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A specialized layout that renders JSON-formatted events. - - - - - Initializes a new instance of the class. - - - - - Gets the array of attributes' configurations. - - - - - - Gets or sets the option to suppress the extra spaces in the output json - - - - - - Gets or sets the option to render the empty object value {} - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to exclude null/empty properties from the log event (as JSON) - - - - - - List of property names to exclude when is true - - - - - - How far should the JSON serializer follow object references before backing off - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Formats the log event as a JSON document for writing. - - The logging event. - for the result - - - - Formats the log event as a JSON document for writing. - - The log event to be formatted. - A JSON string representation of the log event. - - - - Generate description of JSON Layout - - JSON Layout String Description - - - - Abstract interface that layouts must implement. - - - - - Is this layout initialized? See - - - - - Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). - - - Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are - like that as well. - - Thread-agnostic layouts only use contents of for its output. - - - - - Gets the level of stack trace information required for rendering. - - - - - Gets the logging configuration this target is part of. - - - - - Converts a given text to a . - - Text to be converted. - object represented by the text. - - - - Implicitly converts the specified string to a . - - The layout string. - Instance of .' - - - - Implicitly converts the specified string to a . - - The layout string. - The NLog factories to use when resolving layout renderers. - Instance of . - - - - Implicitly converts the specified string to a . - - The layout string. - Whether should be thrown on parse errors (false = replace unrecognized tokens with a space). - Instance of . - - - - Create a from a lambda method. - - Method that renders the layout. - Tell if method is safe for concurrent threading. - Instance of . - - - - Precalculates the layout for the specified log event and stores the result - in per-log event cache. - - Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic]. - - The log event. - - Calling this method enables you to store the log event in a buffer - and/or potentially evaluate it in another thread even though the - layout may contain thread-dependent renderer. - - - - - Renders the event info in layout. - - The event info. - String representing log event. - - - - Optimized version of for internal Layouts. Works best - when override of is available. - - The event info. - Appends the string representing log event to target - Should rendering result be cached on LogEventInfo - - - - Valid default implementation of , when having implemented the optimized - - The logging event. - StringBuilder to help minimize allocations [optional]. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Optimized version of for internal Layouts, when - override of is available. - - - - - Try get value - - - rawValue if return result is true - false if we could not determine the rawValue - - - - Marks class as a layout renderer and assigns a format string to it. - - - - - Initializes a new instance of the class. - - Layout name. - - - - Parses layout strings. - - - - - Add to - - - - - - - Options available for - - - - - Default options - - - - - Layout renderer method can handle concurrent threads - - - - - Layout renderer method is agnostic to current thread context. This means it will render the same result indepdent of thread-context. - - - - - A specialized layout that supports header and footer. - - - - - Gets or sets the body layout (can be repeated multiple times). - - - - - - Gets or sets the header layout. - - - - - - Gets or sets the footer layout. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result. - - - - A specialized layout that renders Log4j-compatible XML events. - - - This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets the instance that renders log events. - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Represents a string with embedded placeholders that can render contextual information. - - - This layout is not meant to be used explicitly. Instead you can just use a string containing layout - renderers everywhere the layout is required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout string to parse. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - Whether should be thrown on parse errors. - - - - Original text before compile to Layout renderes - - - - - Gets or sets the layout text. - - - - - - Is the message fixed? (no Layout renderers used) - - - - - Get the fixed text. Only set when is true - - - - - Is the message a simple formatted string? (Can skip StringBuilder) - - - - - Gets a collection of objects that make up this layout. - - - - - Gets the level of stack trace information required for rendering. - - - - - Converts a text to a simple layout. - - Text to be converted. - A object. - - - - Escapes the passed text so that it can - be used literally in all places where - layout is normally expected without being - treated as layout. - - The text to be escaped. - The escaped text. - - Escaping is done by replacing all occurrences of - '${' with '${literal:text=${}' - - - - - Evaluates the specified text by expanding all layout renderers. - - The text to be evaluated. - Log event to be used for evaluation. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Evaluates the specified text by expanding all layout renderers - in new context. - - The text to be evaluated. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Returns a that represents the current object. - - - A that represents the current object. - - - - - - - - - - - - - - - - - - - - XML attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with xml-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A XML Element - - - - - - - - - - - Name of the element - - - - - - Value inside the element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - The name of the top XML node - The value of the top XML node - - - - Name of the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Value inside the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Auto indent and create new lines - - - - - - Gets the array of xml 'elements' configurations. - - - - - - Gets the array of 'attributes' configurations for the element - - - - - - Gets or sets whether a ElementValue with empty value should be included in the output - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - List of property names to exclude when is true - - - - - - XML element name to use when rendering properties - - - Support string-format where {0} means property-key-name - - Skips closing element tag when having configured - - - - - - XML attribute name to use when rendering property-key - - When null (or empty) then key-attribute is not included - - - Will replace newlines in attribute-value with - - - - - - XML attribute name to use when rendering property-value - - When null (or empty) then value-attribute is not included and - value is formatted as XML-element-value - - - Skips closing element tag when using attribute for value - - Will replace newlines in attribute-value with - - - - - - XML element name to use for rendering IList-collections items - - - - - - How far should the XML serializer follow object references before backing off - - - - - - Initializes the layout. - - - - - Formats the log event as a XML document for writing. - - The logging event. - for the result - - - - Formats the log event as a XML document for writing. - - The log event to be formatted. - A XML string representation of the log event. - - - - write attribute, only if is not empty - - - - - rendered - - - - Generate description of XML Layout - - XML Layout String Description - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - - - - - - - Name of the root XML element - - - - - - Value inside the root XML element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Represents the logging event. - - - - - Gets the date of the first log event created. - - - - - The formatted log message. - - - - - The log message including any parameter placeholders - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - Already parsed message template parameters. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - Exception information. - - - - Gets the unique identifier of log event which is automatically generated - and monotonously increasing. - - - - - Gets or sets the timestamp of the logging event. - - - - - Gets or sets the level of the logging event. - - - - - Gets a value indicating whether stack trace has been set for this event. - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Gets the entire stack trace. - - - - - Gets the callsite class name - - - - - Gets the callsite member function name - - - - - Gets the callsite source file path - - - - - Gets the callsite source file line number - - - - - Gets or sets the exception information. - - - - - Gets or sets the logger name. - - - - - Gets the logger short name. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the log message including any parameter placeholders. - - - - - Gets or sets the parameter values or null if no parameters have been specified. - - - - - Gets or sets the format provider that was provided while logging or - when no formatProvider was specified. - - - - - Gets or sets the message formatter for generating - Uses string.Format(...) when nothing else has been configured. - - - - - Gets the formatted message. - - - - - Checks if any per-event properties (Without allocation) - - - - - Gets the dictionary of per-event context properties. - - - - - Gets the dictionary of per-event context properties. - Internal helper for the PropertiesDictionary type. - - Create the event-properties dictionary, even if no initial template parameters - Provided when having parsed the message template and capture template parameters (else null) - - - - - Gets the named parameters extracted from parsing as MessageTemplate - - - - - Gets the dictionary of per-event context properties. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Creates the null event. - - Null log event. - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - The exception. - Instance of . - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates from this by attaching the specified asynchronous continuation. - - The asynchronous continuation. - Instance of with attached continuation. - - - - Returns a string representation of this log event. - - String representation of the log event. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace (Negative means NLog should skip stackframes from System-assemblies). - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Set the - - true = Always, false = Never, null = Auto Detect - - - - Specialized LogFactory that can return instances of custom logger types. - - Use this only when a custom Logger type is defined. - The type of the logger to be returned. Must inherit from . - - - - Gets the logger with type . - - The logger name. - An instance of . - - - - Gets a custom logger with the full name of the current class (so namespace and class name) and type . - - An instance of . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Overwrite possible file paths (including filename) for possible NLog config files. - When this property is null, the default file paths ( are used. - - - - - Occurs when logging changes. - - - - - Occurs when logging gets reloaded. - - - - - Initializes static members of the LogManager class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The config. - - - - Initializes a new instance of the class. - - The config loader - The custom AppEnvironmnet override - - - - Gets the current . - - - - - Gets or sets a value indicating whether exceptions should be thrown. See also . - - A value of true if exception should be thrown; otherwise, false. - By default exceptions are not thrown under any circumstances. - - - - Gets or sets a value indicating whether should be thrown. - - If null then is used. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. After setting this property all - existing loggers will be re-configured, so there is no need to call - manually. - - - - - Gets or sets the global log level threshold. Log events below this threshold are not logged. - - - - - Gets the default culture info to use as . - - - Specific culture info or null to use - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting - unmanaged resources. - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Creates a logger that discards all log messages. - - Null logger instance. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets the logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - The logger with type . - Type of the logger - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The type of the logger to create. The type must inherit from - The logger of type . - This is a slow-running method. Make sure you are not calling this method in a - loop. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - Name of the logger. - Type of the logger - The logger reference with type . Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The type of the logger to create. The type must inherit from . - The logger of type . Multiple calls to GetLogger with the - same argument aren't guaranteed to return the same logger reference. - - - - Loops through all loggers previously returned by GetLogger and recalculates their - target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time - will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flushes any pending log messages on all appenders. - - Config containing Targets to Flush - Flush completed notification (success / timeout) - Optional timeout that guarantees that completed notication is called. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Returns if logging is currently enabled. - - A value of if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Raises the event when the configuration is reloaded. - - Event arguments. - - - - Raises the event when the configuration is reloaded. - - Event arguments - - - - Currently this is disposing? - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; - false to release only unmanaged resources. - - - - Dispose all targets, and shutdown logging. - - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Logger cache key. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Determines if two objects are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Determines if two objects of the same type are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Logger cache. - - - - - Inserts or updates. - - - - - - - Internal for unit tests - - - - - Enables logging in implementation. - - - - - Initializes a new instance of the class. - - The factory. - - - - Enables logging. - - - - - Logging methods which only are executed when the DEBUG conditional compilation symbol is set. - - Remarks: - The DEBUG conditional compilation symbol is default enabled (only) in a debug build. - - If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods. - This could lead to better performance. - - See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx - - - Provides logging interface and utility functions. - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Initializes a new instance of the class. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Collection of context properties for the Logger. The logger will append it for all log events - - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Creates new logger that automatically appends the specified property to all log events (without changing current logger) - - Property Name - Property Value - New Logger object that automatically appends specified property - - - - Updates the specified context property for the current logger. The logger will append it for all log events. - - It could be rendered with ${event-properties:YOURNAME} - - With property, all properties could be changed. - - - Will affect all locations/contexts that makes use of the same named logger object. - - Property Name - Property Value - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Raises the event when the logger is reconfigured. - - Event arguments - - - - Implementation of logging engine. - - - - - Gets the filter result. - - The filter chain. - The log event. - default result if there are no filters, or none of the filters decides. - The result of the filter. - - - - Defines available log levels. - - - - - Trace log level. - - - - - Debug log level. - - - - - Info log level. - - - - - Warn log level. - - - - - Error log level. - - - - - Fatal log level. - - - - - Off log level. - - - - - Gets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - - - - - Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) - i.e LogLevel.Off is excluded. - - - - - Initializes a new instance of . - - The log level name. - The log level ordinal number. - - - - Gets the name of the log level. - - - - - Gets the ordinal of the log level. - - - - - Compares two objects - and returns a value indicating whether - the first one is equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal == level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is not equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal != level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than the second one. - - The first level. - The second level. - The value of level1.Ordinal > level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal >= level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than the second one. - - The first level. - The second level. - The value of level1.Ordinal < level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal <= level2.Ordinal. - - - - Gets the that corresponds to the specified ordinal. - - The ordinal. - The instance. For 0 it returns , 1 gives and so on. - - - - Returns the that corresponds to the supplied . - - The textual representation of the log level. - The enumeration value. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Determines whether the specified instance is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Compares the level to the other object. - - - The object object. - - - A value less than zero when this logger's is - less than the other logger's ordinal, 0 when they are equal and - greater than zero when this ordinal is greater than the - other ordinal. - - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Delegate used to set/get the culture in use. - - This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the instance used in the . - - Could be used to pass the to other methods - - - - Occurs when logging changes. - - - - - Occurs when logging gets reloaded. - - - - - Gets or sets a value indicating whether NLog should throw exceptions. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether should be thrown. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. - - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Gets or sets the global log threshold. Log events below this threshold are not logged. - - - - - Gets or sets the default culture to use. - - This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Adds the given assembly which will be skipped - when NLog is trying to find the calling method on stack trace. - - The assembly to skip. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The logger class. This class must inherit from . - The logger of type . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates a logger that discards all log messages. - - Null logger which discards all log messages. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - - - - Gets the specified named custom logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The logger class. This class must inherit from . - The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - The generic way for this method is - - - - Loops through all loggers previously returned by GetLogger. - and recalculates their target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Checks if logging is currently enabled. - - if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Dispose all targets, and shutdown logging. - - - - - Generates a formatted message from the log event - - Log event. - Formatted message - - - - Returns a log message. Used to defer calculation of - the log message until it's actually needed. - - Log message. - - - - Base implementation of a log receiver server which forwards received logs through or a given . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log factory. - - - - Processes the log messages. - - The events to process. - - - - Processes the log messages. - - The log events. - - - - Service contract for Log Receiver client. - - This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver server. - - - - - Processes the log messages. - - The events. - - - - Service contract for Log Receiver server. - - - - - Processes the log messages. - - The events. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Client of - - - - - Occurs when the log message processing has completed. - - - - - Occurs when Open operation has completed. - - - - - Occurs when Close operation has completed. - - - - - Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication. - - - - - Gets the underlying implementation. - - - - - Gets the target endpoint for the service to which the WCF client can connect. - - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Closes the client asynchronously. - - User-specific state. - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it. - - - - - Implementation of which forwards received logs through or a given . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log factory. - - - - Implementation of which forwards received logs through or a given . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log factory. - - - - Internal configuration of Log Receiver Service contracts. - - - - - Wire format for NLog Event. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the client-generated identifier of the event. - - - - - Gets or sets the ordinal of the log level. - - - - - Gets or sets the logger ordinal (index into . - - The logger ordinal. - - - - Gets or sets the time delta (in ticks) between the time of the event and base time. - - - - - Gets or sets the message string index. - - - - - Gets or sets the collection of layout values. - - - - - Gets the collection of indexes into array for each layout value. - - - - - Converts the to . - - The object this is part of.. - The logger name prefix to prepend in front of the logger name. - Converted . - - - - Wire format for NLog event package. - - - - - Gets or sets the name of the client. - - The name of the client. - - - - Gets or sets the base time (UTC ticks) for all events in the package. - - The base time UTC. - - - - Gets or sets the collection of layout names which are shared among all events. - - The layout names. - - - - Gets or sets the collection of logger names. - - The logger names. - - - - Gets or sets the list of events. - - The events. - - - - Converts the events to sequence of objects suitable for routing through NLog. - - The logger name prefix to prepend in front of each logger name. - - Sequence of objects. - - - - - Converts the events to sequence of objects suitable for routing through NLog. - - - Sequence of objects. - - - - - List of strings annotated for more terse serialization. - - - - - Initializes a new instance of the class. - - - - - Log Receiver Client using WCF. - - - This class marked as obsolete before NLog 4.3.11 and it will be removed in a future release. - - It provides an implementation of the legacy interface and it will be completely obsolete when the - ILogReceiverClient is removed. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Log Receiver Client facade. It allows the use either of the one way or two way - service contract using WCF through its unified interface. - - - Delegating methods are generated with Resharper. - 1. change ProxiedClient to private field (instead of public property) - 2. delegate members - 3. change ProxiedClient back to public property. - - - - - - The client getting proxied - - - - - Do we use one-way or two-way messaging? - - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - The binding. - The remote address. - - - - Causes a communication object to transition immediately from its current state into the closed state. - - - - - Begins an asynchronous operation to close a communication object. - - - The that references the asynchronous close operation. - - The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The default timeout elapsed before the was able to close gracefully. - - - - Begins an asynchronous operation to close a communication object with a specified timeout. - - - The that references the asynchronous close operation. - - The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The specified timeout elapsed before the was able to close gracefully. - - - - Begins an asynchronous operation to open a communication object. - - - The that references the asynchronous open operation. - - The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. - - - - Begins an asynchronous operation to open a communication object within a specified interval of time. - - - The that references the asynchronous open operation. - - The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication. - - - - - Causes a communication object to transition from its current state into the closed state. - - The that specifies how long the send operation has to complete before timing out. was called on an object in the state.The timeout elapsed before the was able to close gracefully. - - - - Causes a communication object to transition from its current state into the closed state. - - was called on an object in the state.The default close timeout elapsed before the was able to close gracefully. - - - - Closes the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Occurs when Close operation has completed. - - - - - Occurs when the communication object completes its transition from the closing state into the closed state. - - - - - Occurs when the communication object first enters the closing state. - - - - - Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it. - - - - - Completes an asynchronous operation to close a communication object. - - The that is returned by a call to the method. was called on an object in the state.The timeout elapsed before the was able to close gracefully. - - - - Completes an asynchronous operation to open a communication object. - - The that is returned by a call to the method.The was unable to be opened and has entered the state.The timeout elapsed before the was able to enter the state and has entered the state. - - - - Gets the target endpoint for the service to which the WCF client can connect. - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Occurs when the communication object first enters the faulted state. - - - - - Gets the underlying implementation. - - - - - Causes a communication object to transition from the created state into the opened state. - - The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. - - - - Causes a communication object to transition from the created state into the opened state within a specified interval of time. - - The that specifies how long the send operation has to complete before timing out.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Occurs when Open operation has completed. - - - - - Occurs when the communication object completes its transition from the opening state into the opened state. - - - - - Occurs when the communication object first enters the opening state. - - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Occurs when the log message processing has completed. - - - - - Gets the current state of the communication-oriented object. - - - The value of the of the object. - - - - - Causes a communication object to transition from its current state into the closed state. - - - - - Abstract base class for the WcfLogReceiverXXXWay classes. It can only be - used internally (see internal constructor). It passes off any Channel usage - to the inheriting class. - - Type of the WCF service. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Occurs when the log message processing has completed. - - - - - Occurs when Open operation has completed. - - - - - Occurs when Close operation has completed. - - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Closes the client asynchronously. - - User-specific state. - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Log Receiver Client using WCF. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Log Receiver Client using WCF. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Mapped Diagnostics Context - a thread-local structure that keeps a dictionary - of strings and provides methods to output them in layouts. - - - - - Gets the thread-local dictionary - - Must be true for any subsequent dictionary modification operation - - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The to use when converting a value to a . - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Returns all item names - - A set of the names of all items in current thread-MDC. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified exists in current thread MDC. - - - - Removes the specified from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary - of strings and provides methods to output them in layouts. Allows for maintaining state across - asynchronous tasks and call contexts. - - - Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original - NLog library so that state can be maintained for multiple threads in asynchronous situations. - - - - - Simulate ImmutableDictionary behavior (which is not yet part of all .NET frameworks). - In future the real ImmutableDictionary could be used here to minimize memory usage and copying time. - - Must be true for any subsequent dictionary modification operation - Prepare dictionary for additional inserts - - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The to use when converting a value to a string. - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Returns all item names - - A collection of the names of all items in current logical context. - - - - Checks whether the specified exists in current logical context. - - Item name. - A boolean indicating whether the specified exists in current logical context. - - - - Removes the specified from current logical context. - - Item name. - - - - Clears the content of current logical context. - - - - - Clears the content of current logical context. - - Free the full slot. - - - - Mapped Diagnostics Context - - This class marked as obsolete before NLog 2.0 and it may be removed in a future release. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified item exists in current thread MDC. - - - - Removes the specified item from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mark a parameter of a method for message templating - - - - - Specifies which parameter of an annotated method should be treated as message-template-string - - - - - The name of the parameter that should be as treated as message-template-string - - - - - The type of the captured hole - - - - - Not decided - - - - - normal {x} - - - - - Serialize operator {@x} (aka destructure) - - - - - stringification operator {$x} - - - - - A hole that will be replaced with a value - - - - - Constructor - - - - Parameter name sent to structured loggers. - This is everything between "{" and the first of ",:}". - Including surrounding spaces and names that are numbers. - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - Type - - - - When the template is positional, this is the parsed name of this parameter. - For named templates, the value of Index is undefined. - - - Alignment to render the parameter, by default 0. - This is the parsed value between "," and the first of ":}" - - - - A fixed value - - - - Number of characters from the original template to copy at the current position. - This can be 0 when the template starts with a hole or when there are multiple consecutive holes. - - - Number of characters to skip in the original template at the current position. - 0 is a special value that mean: 1 escaped char, no hole. It can also happen last when the template ends with a literal. - - - - Combines Literal and Hole - - - - Literal - - - Hole - Uninitialized when = 0. - - - - Description of a single parameter extracted from a MessageTemplate - - - - - Parameter Name extracted from - This is everything between "{" and the first of ",:}". - - - - - Parameter Value extracted from the -array - - - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - - Parameter method that should be used to render the parameter - See also - - - - - Returns index for , when - - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - Parameter CaptureType - - - - Parameters extracted from parsing as MessageTemplate - - - - - - - - - - - Gets the parameters at the given index - - - - - Number of parameters - - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Indicates whether the template was parsed successful, and there are no unmatched parameters - - - - - Constructor for parsing the message template with parameters - - including any parameter placeholders - All - - - - Constructor for named parameters that already has been parsed - - - - - Create MessageTemplateParameter from - - - - - A message template - - - - The original template string. - This is the key passed to structured targets. - - - The list of literal parts, useful for string rendering. - It indicates the number of characters from the original string to print, - then there's a hole with how many chars to skip. - - "Hello {firstName} {lastName}!" - ------------------------------------- - ║P |S ║P|S ║P|S║ - ║6 |11 ║1|10 ║1|0║ - ║Hello |{firstName}║ |{lastName}║!║ - - "{x} * 2 = {2x}" - -------------------- - ║P|S ║P |S ║ - ║0|3 ║7 |4 ║ - ║{x}║ * 2 = |{2x}║ - - The tricky part is escaped braces. They are represented by a skip = 0, - which is interpreted as "move one char forward, no hole". - - "Escaped }} is fun." - ---------------------- - ║P |S║P |S║ - ║9 |0║8 |0║ - ║Escaped }|}║ is fun.|║ - - - - This list of holes. It's used both to fill the string rendering - and to send values along the template to structured targets. - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Create a template, which is already parsed - - - - - - - - - Create a template, which is already parsed - - - - - - - - This is for testing only: recreates from the parsed data. - - - - This is for testing only: rebuilds the hole - - Add to this string builder - ref for performance - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Gets the current literal/hole in the template - - - - - Clears the enumerator - - - - - Restarts the enumerator of the template - - - - - Moves to the next literal/hole in the template - - Found new element [true/false] - - - - Parse format after hole name/index. Handle the escaped { and } in the format. Don't read the last } - - - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Error when parsing a template. - - - - - Current index when the error occurred. - - - - - The template we were parsing - - - - - New exception - - The message to be shown. - Current index when the error occurred. - - - - - Render templates - - - - - Render a template to a string. - - The template. - Culture. - Parameters for the holes. - Do not fallback to StringBuilder.Format for positional templates. - The String Builder destination. - Parameters for the holes. - - - - Render a template to a string. - - The template. - The String Builder destination. - Culture. - Parameters for the holes. - Rendered template, never null. - - - - Convert Render or serialize a value, with optionally backwards-compatible with - - - - Singleton - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Format an object to a readable string, or if it's an object, serialize - - The value to convert - - - - - - - - Try serializing a scalar (string, int, NULL) or simple type (IFormattable) - - - - - Serialize Dictionary as JSON like structure, without { and } - - - "FirstOrder"=true, "Previous login"=20-12-2017 14:55:32, "number of tries"=1 - - - formatstring of an item - - - - - - - - - Convert a value to a string with format and append to . - - The value to convert. - Format sting for the value. - Format provider for the value. - Append to this - - - - Nested Diagnostics Context - - This class marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top object off the NDC stack. The object is removed from the stack. - - The top object from the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all objects on the NDC stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Nested Diagnostics Context - a thread-local structure that keeps a stack - of strings and provides methods to output them in layouts - - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object at the top of the NDC stack if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified object on current thread NDC. - - The object to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top message from the NDC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top object off the NDC stack. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Peeks the first object on the NDC stack - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. - - Array of objects on the stack. - - - - Resets the stack to the original count during . - - - - - Initializes a new instance of the class. - - The stack. - The previous count. - - - - Reverts the stack to original item count. - - - - - Async version of - a logical context structure that keeps a stack - Allows for maintaining scope across asynchronous tasks and call contexts. - - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDLC stack. - - The top message which is no longer on the stack. - this methods returns a object instead of string, this because of backwards-compatibility - - - - Pops the top message from the NDLC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top message off the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the top object on the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the current scope, and returns its start time - - Scope Creation Time - - - - Peeks the first scope, and returns its start time - - Scope Creation Time - - - - Clears current stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Exception thrown during NLog configuration. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The inner exception. - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Exception thrown during log event processing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - TraceListener which routes all messages through NLog. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the log factory to use when outputting messages (null - use LogManager). - - - - - Gets or sets the default log level. - - - - - Gets or sets the log which should be always used regardless of source level. - - - - - Gets or sets a value indicating whether flush calls from trace sources should be ignored. - - - - - Gets a value indicating whether the trace listener is thread safe. - - - true if the trace listener is thread safe; otherwise, false. The default is false. - - - - Gets or sets a value indicating whether to use auto logger name detected from the stack trace. - - - - - When overridden in a derived class, writes the specified message to the listener you create in the derived class. - - A message to write. - - - - When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator. - - A message to write. - - - - When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output. - - - - - Emits an error message. - - A message to emit. - - - - Emits an error message and a detailed error message. - - A message to emit. - A detailed message to emit. - - - - Flushes the output (if is not true) buffer with the default timeout of 15 seconds. - - - - - Writes trace information, a data object and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - The trace data to emit. - - - - Writes trace information, an array of data objects and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - An array of objects to emit as data. - - - - Writes trace and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - - - - Writes trace information, a formatted array of objects and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - A format string that contains zero or more format items, which correspond to objects in the array. - An object array containing zero or more objects to format. - - - - Writes trace information, a message, and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - A message to write. - - - - Writes trace information, a message, a related activity identity and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - A numeric identifier for the event. - A message to write. - A object identifying a related activity. - - - - Gets the custom attributes supported by the trace listener. - - - A string array naming the custom attributes supported by the trace listener, or null if there are no custom attributes. - - - - - Translates the event type to level from . - - Type of the event. - Translated log level. - - - - Process the log event - The log level. - The name of the logger. - The log message. - The log parameters. - The event id. - The event type. - The related activity id. - - - - - It works as a normal but it discards all messages which an application requests - to be logged. - - It effectively implements the "Null Object" pattern for objects. - - - - - Initializes a new instance of . - - The factory class to be used for the creation of this logger. - - - - Extension methods to setup LogFactory options - - - - - Gets the logger with the full name of the current class, so namespace and class name. - - - - - Gets the specified named logger. - - - - - Configures loading of NLog extensions for Targets and LayoutRenderers - - - - - Configures the output of NLog for diagnostics / troubleshooting - - - - - Configures serialization and transformation of LogEvents - - - - - Loads NLog config created by the method - - - - - Loads NLog config provided in - - - - - Loads NLog config from filename if provided, else fallback to scanning for NLog.config - - - - - Loads NLog config from XML in - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Enable/disables autoloading of NLog extensions by scanning and loading available assemblies - - - Enabled by default, and gives a huge performance hit during startup. Recommended to disable this when running in the cloud. - - - - - Registers NLog extensions from the assembly. - - - - - Registers NLog extensions from the assembly type name - - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - MethodInfo extracted by reflection - typeof(MyClass).GetMethod("MyFunc", BindingFlags.Static). - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Extension methods to setup NLog options - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Overrides the active with a new custom implementation - - - - - Overrides the active with a new custom implementation - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Specifies the way archive numbering is performed. - - - - - Sequence style numbering. The most recent archive has the highest number. - - - - - Rolling style numbering (the most recent is always #0 then #1, ..., #N. - - - - - Date style numbering. Archives will be stamped with the prior period - (Year, Month, Day, Hour, Minute) datetime. - - - - - Date and sequence style numbering. - Archives will be stamped with the prior period (Year, Month, Day) datetime. - The most recent archive has the highest number (in combination with the date). - - - - - Abstract Target with async Task support - - - - - How many milliseconds to delay the actual write operation to optimize for batching - - - - - How many seconds a Task is allowed to run before it is cancelled. - - - - - How many attempts to retry the same Task, before it is aborted - - - - - How many milliseconds to wait before next retry (will double with each retry) - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Task Scheduler used for processing async Tasks - - - - - Constructor - - - - - Initializes the internal queue for pending logevents - - - - - Override this to create the actual logging task - - Example of how to override this method, and call custom async method - - protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) - { - return CustomWriteAsync(logEvent, token); - } - - private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) - { - await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); - } - - - The log event. - The cancellation token - - - - - Override this to create the actual logging task for handling batch of logevents - - A batch of logevents. - The cancellation token - - - - - Handle cleanup after failed write operation - - Exception from previous failed Task - The cancellation token - Number of retries remaining - Time to sleep before retrying - Should attempt retry - - - - Schedules the LogEventInfo for async writing - - The log event. - - - - Write to queue without locking - - - - - - Schedules notification of when all messages has been written - - - - - - Closes Target by updating CancellationToken - - - - - Releases any managed resources - - - - - - Checks the internal queue for the next to create a new task for - - Used for race-condition validation between task-completion and timeout - Signals whether previousTask completed an almost full BatchSize - - - - Generates recursive task-chain to perform retry of writing logevents with increasing retry-delay - - - - - Creates new task to handle the writing of the input - - LogEvents to write - New Task created [true / false] - - - - Handles that scheduled task has completed (successfully or failed), and starts the next pending task - - Task just completed - AsyncContinuation to notify of success or failure - - - - Timer method, that is fired when pending task fails to complete within timeout - - - - - - Sends log messages to the remote instance of Chainsaw application from log4j. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a name. - - Name of the target. - - - - Color formatting for using ANSI Color Codes - - - - - Not using bold to get light colors, as it has to be cleared - - - - - Not using bold to get light colors, as it has to be cleared (And because it only works for text, and not background) - - - - - Resets both foreground and background color. - - - - - ANSI have 8 color-codes (30-37) by default. The "bright" (or "intense") color-codes (90-97) are extended values not supported by all terminals - - - - - Color formatting for using - and - - - - - Writes log messages to the console with customizable coloring. - - Documentation on NLog Wiki - - - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default.In multithreaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether the error stream (stderr) should be used instead of the output stream (stdout). - - - - - - Gets or sets a value indicating whether to use default row highlighting rules. - - - The default rules are: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ConditionForeground ColorBackground Color
level == LogLevel.FatalRedNoChange
level == LogLevel.ErrorYellowNoChange
level == LogLevel.WarnMagentaNoChange
level == LogLevel.InfoWhiteNoChange
level == LogLevel.DebugGrayNoChange
level == LogLevel.TraceDarkGrayNoChange
-
- -
- - - The encoding for writing messages to the . - - Has side effect - - - - - Gets or sets a value indicating whether to auto-check if the console is available. - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-check if the console has been redirected to file - - Disables coloring logic when System.Console.IsOutputRedirected = true - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Enables output using ANSI Color Codes - - - - - - Gets the row highlighting rules. - - - - - - Gets the word highlighting rules. - - - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified log event to the console highlighting entries - and words based on a set of defined rules. - - Log event. - - - - Colored console output color. - - - Note that this enumeration is defined to be binary compatible with - .NET 2.0 System.ConsoleColor + some additions - - - - - Black Color (#000000). - - - - - Dark blue Color (#000080). - - - - - Dark green Color (#008000). - - - - - Dark Cyan Color (#008080). - - - - - Dark Red Color (#800000). - - - - - Dark Magenta Color (#800080). - - - - - Dark Yellow Color (#808000). - - - - - Gray Color (#C0C0C0). - - - - - Dark Gray Color (#808080). - - - - - Blue Color (#0000FF). - - - - - Green Color (#00FF00). - - - - - Cyan Color (#00FFFF). - - - - - Red Color (#FF0000). - - - - - Magenta Color (#FF00FF). - - - - - Yellow Color (#FFFF00). - - - - - White Color (#FFFFFF). - - - - - Don't change the color. - - - - - The row-highlighting condition. - - - - - Initializes static members of the ConsoleRowHighlightingRule class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The condition. - Color of the foreground. - Color of the background. - - - - Gets the default highlighting rule. Doesn't change the color. - - - - - Gets or sets the condition that must be met in order to set the specified foreground and background color. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Checks whether the specified log event matches the condition (if any). - - - Log event. - - - A value of if the condition is not defined or - if it matches, otherwise. - - - - - Writes log messages to the console. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default. In multi threaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. - - - - - - The encoding for writing messages to the . - - Has side effect - - - - - Gets or sets a value indicating whether to auto-check if the console is available - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Gets or sets whether to enable batch writing using char[]-buffers, instead of using - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified logging event to the Console.Out or - Console.Error depending on the value of the Error flag. - - The logging event. - - Note that the Error option is not supported on .NET Compact Framework. - - - - - - - - Write to output - - - - - Highlighting rule for Win32 colorful console. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The text to be matched.. - Color of the foreground. - Color of the background. - - - - Gets or sets the regular expression to be matched. You must specify either text or regex. - - - - - - Gets or sets the condition that must be met before scanning the row for highlight of words - - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets the text to be matched. You must specify either text or regex. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Gets the compiled regular expression that matches either Text or Regex property. Only used when is true. - - - - - Information about database command + parameters. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the type of the command. - - The type of the command. - - - - - Gets or sets the connection string to run the command against. If not provided, connection string from the target is used. - - - - - - Gets or sets the command text. - - - - - - Gets or sets a value indicating whether to ignore failures. - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a database named or positional parameter. - - - - - - Information about object-property for the database-connection-object - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name for the object-property - - - - - - Gets or sets the value to assign on the object-property - - - - - - Gets or sets the type of the object-property - - - - - - Gets or sets convert format of the property value - - - - - - Gets or sets the culture used for parsing property string-value for type-conversion - - - - - - Represents a parameter to a Database target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the parameter. - The parameter layout. - - - - Gets or sets the database parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets the database parameter DbType. - - - - - - Gets or sets the database parameter size. - - - - - - Gets or sets the database parameter precision. - - - - - - Gets or sets the database parameter scale. - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets convert format of the database parameter value. - - - - - - Gets or sets the culture used for parsing parameter string-value for type-conversion - - - - - - Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values. - - - - - - Writes log messages to the database using an ADO.NET provider. - - - - NETSTANDARD cannot load connectionstrings from .config - - Documentation on NLog Wiki - - - The configuration is dependent on the database type, because - there are different methods of specifying connection string, SQL - command and command parameters. - - MS SQL Server using System.Data.SqlClient: - - Oracle using System.Data.OracleClient: - - Oracle using System.Data.OleDBClient: - - To set up the log target programmatically use code like this (an equivalent of MSSQL configuration): - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets the name of the database provider. - - - - The parameter name should be a provider invariant name as registered in machine.config or app.config. Common values are: - -
    -
  • System.Data.SqlClient - SQL Sever Client
  • -
  • System.Data.SqlServerCe.3.5 - SQL Sever Compact 3.5
  • -
  • System.Data.OracleClient - Oracle Client from Microsoft (deprecated in .NET Framework 4)
  • -
  • Oracle.DataAccess.Client - ODP.NET provider from Oracle
  • -
  • System.Data.SQLite - System.Data.SQLite driver for SQLite
  • -
  • Npgsql - Npgsql driver for PostgreSQL
  • -
  • MySql.Data.MySqlClient - MySQL Connector/Net
  • -
- (Note that provider invariant names are not supported on .NET Compact Framework). - - Alternatively the parameter value can be be a fully qualified name of the provider - connection type (class implementing ) or one of the following tokens: - -
    -
  • sqlserver, mssql, microsoft or msde - SQL Server Data Provider
  • -
  • oledb - OLEDB Data Provider
  • -
  • odbc - ODBC Data Provider
  • -
-
- -
- - - Gets or sets the name of the connection string (as specified in <connectionStrings> configuration section. - - - - - - Gets or sets the connection string. When provided, it overrides the values - specified in DBHost, DBUserName, DBPassword, DBDatabase. - - - - - - Gets or sets the connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used. - - - - - - Gets the installation DDL commands. - - - - - - Gets the uninstallation DDL commands. - - - - - - Gets or sets a value indicating whether to keep the - database connection open between the log events. - - - - - - Obsolete - value will be ignored! The logging code always runs outside of transaction. - - Gets or sets a value indicating whether to use database transactions. - Some data providers require this. - - - - This option was removed in NLog 4.0 because the logging code always runs outside of transaction. - This ensures that the log gets written to the database if you rollback the main transaction because of an error and want to log the error. - - - - - Gets or sets the database host name. If the ConnectionString is not provided - this value will be used to construct the "Server=" part of the - connection string. - - - - - - Gets or sets the database user name. If the ConnectionString is not provided - this value will be used to construct the "User ID=" part of the - connection string. - - - - - - Gets or sets the database password. If the ConnectionString is not provided - this value will be used to construct the "Password=" part of the - connection string. - - - - - - Gets or sets the database name. If the ConnectionString is not provided - this value will be used to construct the "Database=" part of the - connection string. - - - - - - Gets or sets the text of the SQL command to be run on each log level. - - - Typically this is a SQL INSERT statement or a stored procedure call. - It should use the database-specific parameters (marked as @parameter - for SQL server or :parameter for Oracle, other data providers - have their own notation) and not the layout renderers, - because the latter is prone to SQL injection attacks. - The layout renderers should be specified as <parameter /> elements instead. - - - - - - Gets or sets the type of the SQL command to be run on each log level. - - - This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure". - When using the value StoredProcedure, the commandText-property would - normally be the name of the stored procedure. TableDirect method is not supported in this context. - - - - - - Gets the collection of parameters. Each item contains a mapping - between NLog layout and a database named or positional parameter. - - - - - - Gets the collection of properties. Each item contains a mapping - between NLog layout and a property on the DbConnection instance - - - - - - Gets the collection of properties. Each item contains a mapping - between NLog layout and a property on the DbCommand instance - - - - - - Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance. - - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Set the to use it for opening connections to the database. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the database. It creates - a new database command, prepares parameters for it by calculating - layouts and executes the command. - - The logging event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Write logEvent to database - - - - - Build the connectionstring from the properties. - - - Using at first, and falls back to the properties , - , and - - Event to render the layout inside the properties. - - - - - Escape quotes and semicolons. - See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722656(v=vs.85)#setting-values-that-use-reserved-characters - - - - - Create database parameter - - Current command. - Parameter configuration info. - - - - Extract parameter value from the logevent - - Current logevent. - Parameter configuration info. - - - - Create Default Value of Type - - - - - A descriptor for an archive created with the DateAndSequence numbering mode. - - - - - The full name of the archive file. - - - - - The parsed date contained in the file name. - - - - - The parsed sequence number contained in the file name. - - - - - Determines whether produces the same string as the current instance's date once formatted with the current instance's date format. - - The date to compare the current object's date to. - True if the formatted dates are equal, otherwise False. - - - - Initializes a new instance of the class. - - - - - Writes log messages to the attached managed debugger. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the attached debugger. - - The logging event. - - - - Mock target - useful for testing. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the number of times this target has been called. - - - - - - Gets the last message rendered by this target. - - - - - - Increases the number of messages. - - The logging event. - - - - Default class for serialization of values to JSON format. - - - - - Singleton instance of the serializer. - - - - - Private. Use - - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - Serialized value. - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - serialisation options - Serialized value. - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - The objects in path (Avoid cyclic reference loop). - The current depth (level) of recursion. - Object serialized successfully (true/false). - - - - No quotes needed for this type? - - - - - Checks the object if it is numeric - - TypeCode for the object - Accept fractional types as numeric type. - - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - all options - JSON escaped string - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - Should non-ascii characters be encoded - - JSON escaped string - - - - Writes log message to the Event Log. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Max size in characters (limitation of the EventLog API). - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - . to be used as Source. - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the machine on which Event Log service is running. - - - - - - Gets or sets the layout that renders event ID. - - - - - - Gets or sets the layout that renders event Category. - - - - - - Optional entry type. When not set, or when not convertible to then determined by - - - - - - Gets or sets the value to be used as the event Source. - - - By default this is the friendly name of the current AppDomain. - - - - - - Gets or sets the name of the Event Log to write to. This can be System, Application or any user-defined name. - - - - - - Gets or sets the message length limit to write to the Event Log. - - MaxMessageLength cannot be zero or negative - - - - - Gets or sets the maximum Event log size in kilobytes. - - - MaxKilobytes cannot be less than 64 or greater than 4194240 or not a multiple of 64. - If null, the value will not be specified while creating the Event log. - - - - - - Gets or sets the action to take if the message is larger than the option. - - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Initializes the target. - - - - - Writes the specified logging event to the event log. - - The logging event. - - - - Get the entry type for logging the message. - - The logging event - for rendering the - - - - Get the source, if and only if the source is fixed. - - null when not - Internal for unit tests - - - - (re-)create an event source, if it isn't there. Works only with fixed source names. - - The source name. If source is not fixed (see , then pass null or . - always throw an Exception when there is an error - - - - A wrapper for Windows event log. - - - - - A wrapper for the property . - - - - - A wrapper for the property . - - - - - A wrapper for the property . - - - - - A wrapper for the property . - - - - - Indicates whether an event log instance is associated. - - - - - A wrapper for the method . - - - - - Creates a new association with an instance of the event log. - - - - - A wrapper for the static method . - - - - - A wrapper for the static method . - - - - - A wrapper for the static method . - - - - - A wrapper for the static method . - - - - - The implementation of , that uses Windows . - - - - - - - - - - - - - - - - - - - - - - - - Creates a new association with an instance of Windows . - - - - - - - - - - - - - - - - - Action that should be taken if the message is greater than - the max message size allowed by the Event Log. - - - - - Truncate the message before writing to the Event Log. - - - - - Split the message and write multiple entries to the Event Log. - - - - - Discard of the message. It will not be written to the Event Log. - - - - - Check if cleanup should be performed on initialize new file - - Skip cleanup when initializing new file, just after having performed archive operation - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Characters determining the start of the . - - - - - Characters determining the end of the . - - - - - File name which is used as template for matching and replacements. - It is expected to contain a pattern to match. - - - - - The begging position of the - within the . -1 is returned - when no pattern can be found. - - - - - The ending position of the - within the . -1 is returned - when no pattern can be found. - - - - - Replace the pattern with the specified String. - - - - - - - Archives the log-files using a date style numbering. Archives will be stamped with the - prior period (Year, Month, Day, Hour, Minute) datetime. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Archives the log-files using a date and sequence style numbering. Archives will be stamped - with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in - combination with the date). - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Parse filename with date and sequence pattern - - - dateformat for archive - - the found pattern. When failed, then default - the found pattern. When failed, then default - - - - - Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes - duplicate archive filenames, then sequence-style is automatically enforced. - - Example: - Base Filename trace.log - Next Filename trace.0.log - - The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern. - Before called the original IFileArchiveMode, that has been wrapped by this - - - - - Determines if the file name as contains a numeric pattern i.e. {#} in it. - - Example: - trace{#}.log Contains the numeric pattern. - trace{###}.log Contains the numeric pattern. - trace{#X#}.log Contains the numeric pattern (See remarks). - trace.log Does not contain the pattern. - - Occasionally, this method can identify the existence of the {#} pattern incorrectly. - File name to be checked. - when the pattern is found; otherwise. - - - - Archives the log-files using a rolling style numbering (the most recent is always #0 then - #1, ..., #N. - - When the number of archive files exceed the obsolete archives - are deleted. - - - - - Replaces the numeric pattern i.e. {#} in a file name with the parameter value. - - File name which contains the numeric pattern. - Value which will replace the numeric pattern. - File name with the value of in the position of the numeric pattern. - - - - Archives the log-files using a sequence style numbering. The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Modes of archiving files based on time. - - - - - Don't archive based on time. - - - - - AddToArchive every year. - - - - - AddToArchive every month. - - - - - AddToArchive daily. - - - - - AddToArchive every hour. - - - - - AddToArchive every minute. - - - - - AddToArchive every Sunday. - - - - - AddToArchive every Monday. - - - - - AddToArchive every Tuesday. - - - - - AddToArchive every Wednesday. - - - - - AddToArchive every Thursday. - - - - - AddToArchive every Friday. - - - - - AddToArchive every Saturday. - - - - - Type of filepath - - - - - Detect of relative or absolute - - - - - Relative path - - - - - Absolute path - - Best for performance - - - - Writes log messages to one or more files. - - Documentation on NLog Wiki - - - - Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list. - - Clean up period is defined in days. - - - - The maximum number of initialized files before clean up procedures are initiated, - to keep the number of initialized files to a minimum. Chose 25 to cater for monthly rolling of log-files. - - - - - This value disables file archiving based on the size. - - - - - Holds the initialized files each given time by the instance. Against each file, the last write time is stored. - - Last write time is store in local time (no UTC). - - - - List of the associated file appenders with the instance. - - - - - The number of initialized files at any one time. - - - - - The maximum number of archive files that should be kept. - - - - - The maximum days of archive files that should be kept. - - - - - The filename as target - - - - - The archive file name as target - - - - - The date of the previous log event. - - - - - The file name of the previous log event. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the name of the file to write to. - - - This FileName string is a layout which may include instances of layout renderers. - This lets you use a single target to write to multiple files. - - - The following value makes NLog write logging events to files based on the log level in the directory where - the application runs. - ${basedir}/${level}.log - All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on. - You can combine as many of the layout renderers as you want to produce an arbitrary log file name. - - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. - If set to false, nothing gets written when the filename is wrong. - - - - - - Is the an absolute or relative path? - - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - - Gets or sets a value indicating whether to delete old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - - - - - - Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end. - - - - - - Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event. - - - Setting this property to True helps improve performance. - - - - - - Gets or sets the maximum number of log file names that should be stored as existing. - - - The bigger this number is the longer it will take to write each log record. The smaller the number is - the higher the chance that the clean function will be run when no new files have been opened. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - - Gets or sets the file attributes (Windows only). - - - - - - Gets or sets the line ending mode. - - - - - - Gets or sets a value indicating whether to automatically flush the file buffers after each log message. - - - - - - Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance - in a situation where a single File target is writing to many files - (such as splitting by level or by logger). - - - The files are managed on a LRU (least recently used) basis, which flushes - the files that have not been used for the longest period of time should the - cache become full. As a rule of thumb, you shouldn't set this parameter to - a very high value. A number like 10-15 shouldn't be exceeded, because you'd - be keeping a large number of files open which consumes system resources. - - - - - - Gets or sets the maximum number of seconds that files are kept open. If this number is negative the files are - not automatically closed after a period of inactivity. - - - - - - Gets or sets the maximum number of seconds before open files are flushed. If this number is negative or zero - the files are not flushed by timer. - - - - - - Gets or sets the log file buffer size in bytes. - - - - - - Gets or sets the file encoding. - - - - - - Gets or sets whether or not this target should just discard all data that its asked to write. - Mostly used for when testing NLog Stack except final write - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts. - - - This effectively prevents files from being kept open. - - - - - - Gets or sets a value indicating whether to write BOM (byte order mark) in created files - - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - The actual delay is a random value between 0 and the value specified - in this parameter. On each failed attempt the delay base is doubled - up to times. - - - Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:

- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...

- and so on. - - - - -

- Gets or sets a value indicating whether to archive old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - After archiving the old file, the current log file will be empty. - - -
- - - Gets or sets a value of the file size threshold to archive old log file on startup. - - - This option won't work if is set to false - Default value is 0 which means that the file is archived as soon as archival on - startup is enabled. - - - - - - Gets or sets a value specifying the date format to use when archiving files. - - - This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence. - - - - - - Gets or sets the size in bytes above which log files will be automatically archived. - - Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. - Choose: - - - Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. - - - - - - Gets or sets a value indicating whether to automatically archive log files every time the specified time passes. - - - Files are moved to the archive as part of the write operation if the current period of time changes. For example - if the current hour changes from 10 to 11, the first write that will occur - on or after 11:00 will trigger the archiving. -

- Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. -

-
- -
- - - Is the an absolute or relative path? - - - - - - Gets or sets the name of the file to be used for an archive. - - - It may contain a special placeholder {#####} - that will be replaced with a sequence of numbers depending on - the archiving strategy. The number of hash characters used determines - the number of numerical digits to be used for numbering files. - - - - - - Gets or sets the maximum number of archive files that should be kept. - - - - - - Gets or sets the maximum days of archive files that should be kept. - - - - - - Gets or sets the way file archives are numbered. - - - - - - Used to compress log files during archiving. - This may be used to provide your own implementation of a zip file compressor, - on platforms other than .Net4.5. - Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise. - - - - - - Gets or sets a value indicating whether to compress archive files into the zip archive format. - - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - - Gets or sets a value indicating whether file creation calls should be synchronized by a system global mutex. - - - - - - Gets or sets a value indicating whether the footer should be written only when the file is archived. - - - - - - Gets the characters that are appended after each line. - - - - - Refresh the ArchiveFilePatternToWatch option of the . - The log file must be watched for archiving when multiple processes are writing to the same - open file. - - - - - Removes records of initialized files that have not been - accessed in the last two days. - - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Removes records of initialized files that have not been - accessed after the specified date. - - The cleanup threshold. - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Flushes all pending file operations. - - The asynchronous continuation. - - The timeout parameter is ignored, because file APIs don't provide - the needed functionality. - - - - - Returns the suitable appender factory ( ) to be used to generate the file - appenders associated with the instance. - - The type of the file appender factory returned depends on the values of various properties. - - suitable for this instance. - - - - Initializes file logging by creating data structures that - enable efficient multi-file logging. - - - - - Closes the file(s) opened for writing. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Writes the specified logging event to a file specified in the FileName - parameter. - - The logging event. - - - - Get full filename (=absolute) and cleaned if needed. - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes the specified array of logging events to a file specified in the FileName - parameter. - - An array of objects. - - This function makes use of the fact that the events are batched by sorting - the requests by filename. This optimizes the number of open/close calls - and can help improve performance. - - - - - Returns estimated size for memory stream, based on events count and first event size in bytes. - - Count of events - Bytes count of first event - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Gets the bytes to be written to the file. - - Log event. - Array of bytes that are ready to be written. - - - - Modifies the specified byte array before it gets sent to a file. - - The byte array. - The modified byte array. The function can do the modification in-place. - - - - Gets the bytes to be written to the file. - - The log event to be formatted. - to help format log event. - Optional temporary char-array to help format log event. - Destination for the encoded result. - - - - Formats the log event for write. - - The log event to be formatted. - for the result. - - - - Modifies the specified byte array before it gets sent to a file. - - The LogEvent being written - The byte array. - - - - Archives fileName to archiveFileName. - - File name to be archived. - Name of the archive file. - - - - Gets the correct formatting to be used based on the value of for converting values which will be inserting into file - names during archiving. - - This value will be computed only when a empty value or is passed into - - Date format to used irrespectively of value. - Formatting for dates. - - - - Calculate the DateTime of the requested day of the week. - - The DateTime of the previous log event. - The next occuring day of the week to return a DateTime for. - The DateTime of the next occuring dayOfWeek. - For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return - Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. - - - - Invokes the archiving process after determining when and which type of archiving is required. - - File name to be checked and archived. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - - - - Gets the pattern that archive files will match - - Filename of the log file - Log event that the instance is currently processing. - A string with a pattern that will match the archive file names - - - - Archives the file if it should be archived. - - The file name to check for. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - True when archive operation of the file was completed (by this target or a concurrent target) - - - - Closes any active file-appenders that matches the input filenames. - File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive - - - - - Indicates if the automatic archiving process should be executed. - - File name to be written. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Returns the correct filename to archive - - - - - Gets the file name for archiving, or null if archiving should not occur based on file size. - - File name to be written. - The size in bytes of the next chunk of data to be written in the file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists - - - - - Returns the file name for archiving, or null if archiving should not occur based on date/time. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - - High resolution Time - Time Resolution Level - Truncated Low Resolution Time - - - - Evaluates which parts of a file should be written (header, content, footer) based on various properties of - instance and writes them. - - File name to be written. - Raw sequence of to be written into the content part of the file. - File has just been opened. - - - - Initialise a file to be used by the instance. Based on the number of initialized - files and the values of various instance properties clean up and/or archiving processes can be invoked. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file (DateTime.MinValue if just initialized). - - - - Writes the file footer and finalizes the file in instance internal structures. - - File name to close. - Indicates if the file is being finalized for archiving. - - - - Writes the footer information to a file. - - The file path to write to. - - - - Decision logic whether to archive logfile on startup. - and properties. - - File name to be written. - Decision whether to archive or not. - - - - Invokes the archiving and clean up of older archive file based on the values of - and - properties respectively. - - File name to be written. - Log event that the instance is currently processing. - - - - Creates the file specified in and writes the file content in each entirety i.e. - Header, Content and Footer. - - The name of the file to be written. - Sequence of to be written in the content section of the file. - First attempt to write? - This method is used when the content of the log file is re-written on every write. - - - - Writes the header information and byte order mark to a file. - - File appender associated with the file. - - - - The sequence of to be written in a file after applying any formatting and any - transformations required from the . - - The layout used to render output message. - Sequence of to be written. - Usually it is used to render the header and hooter of the files. - - - - Controls the text and color formatting for - - - - - Creates a TextWriter for the console to start building a colored text message - - Active console stream - Optional StringBuilder to optimize performance - TextWriter for the console - - - - Releases the TextWriter for the console after having built a colored text message (Restores console colors) - - Colored TextWriter - Active console stream - Original foreground color for console (If changed) - Original background color for console (If changed) - Flush TextWriter - - - - Changes foreground color for the Colored TextWriter - - Colored TextWriter - New foreground color for the console - Old previous backgroundColor color for the console - Old foreground color for the console - - - - Changes backgroundColor color for the Colored TextWriter - - Colored TextWriter - New backgroundColor color for the console - Old previous backgroundColor color for the console - Old backgroundColor color for the console - - - - Restores console colors back to their original state - - Colored TextWriter - Original foregroundColor color for the console - Original backgroundColor color for the console - - - - Writes multiple characters to console in one operation (faster) - - Colored TextWriter - Output Text - Start Index - End Index - - - - Writes single character to console - - Colored TextWriter - Output Text - - - - Writes whole string and completes with newline - - Colored TextWriter - Output Text - - - - Default row highlight rules for the console printer - - - - - Check if cleanup should be performed on initialize new file - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Create a wildcard file-mask that allows one to find all files belonging to the same archive. - - Base archive file pattern - Wildcard file-mask - - - - Search directory for all existing files that are part of the same archive. - - Base archive file pattern - - - - - Generate the next archive filename for the archive. - - Base archive file pattern - File date of archive - Existing files in the same archive - - - - - Return all files that should be removed from the provided archive. - - Base archive file pattern - Existing files in the same archive - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - - - - may be configured to compress archived files in a custom way - by setting before logging your first event. - - - - - Create archiveFileName by compressing fileName. - - Absolute path to the log file to compress. - Absolute path to the compressed archive file to create. - - - - Interface for serialization of values, maybe even objects to JSON format. - Useful for wrappers for existing serializers. - - - - - Returns a serialization of an object - into JSON format. - - The object to serialize to JSON. - Serialized value (null = Serialize failed). - - - - Options for JSON serialisation - - - - - Add quotes around object keys? - - - - - Format provider for value - - - - - Format string for value - - - - - Should non-ascii characters be encoded - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - - - Serialize enum as string value - - - - - Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_). - - Any other characters will be converted to underscore character (_) - - - - - How far down the rabbit hole should the Json Serializer go with object-reflection before stopping - - - - Initializes a new instance of the class. - - - - Line ending mode. - - - - - Insert platform-dependent end-of-line sequence after each line. - - - - - Insert CR LF sequence (ASCII 13, ASCII 10) after each line. - - - - - Insert CR character (ASCII 13) after each line. - - - - - Insert LF character (ASCII 10) after each line. - - - - - Insert null terminator (ASCII 0) after each line. - - - - - Do not insert any line ending. - - - - - Gets the name of the LineEndingMode instance. - - - - - Gets the new line characters (value) of the LineEndingMode instance. - - - - - Initializes a new instance of . - - The mode name. - The new line characters to be used. - - - - Returns the that corresponds to the supplied . - - - The textual representation of the line ending mode, such as CRLF, LF, Default etc. - Name is not case sensitive. - - The value, that corresponds to the . - There is no line ending mode with the specified name. - - - - Compares two objects and returns a - value indicating whether the first one is equal to the second one. - - The first level. - The second level. - The value of mode1.NewLineCharacters == mode2.NewLineCharacters. - - - - Compares two objects and returns a - value indicating whether the first one is not equal to the second one. - - The first mode - The second mode - The value of mode1.NewLineCharacters != mode2.NewLineCharacters. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms - and data structures like a hash table. - - - - - Determines whether the specified is - equal to this instance. - - The to compare with - this instance. - - Value of true if the specified - is equal to this instance; otherwise, false. - - - The parameter is null. - - - - Indicates whether the current object is equal to another object of the same type. - true if the current object is equal to the parameter; otherwise, false. - An object to compare with this object. - - - - Provides a type converter to convert objects to and from other representations. - - - - - Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context. - - - true if this converter can perform the conversion; otherwise, false. - - An that provides a format context. A that represents the type you want to convert from. - - - - Converts the given object to the type of this converter, using the specified context and culture information. - - - An that represents the converted value. - - An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed. - - - - Sends log messages to a NLog Receiver Service (using WCF or Web Services). - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets the endpoint address. - - The endpoint address. - - - - - Gets or sets the name of the endpoint configuration in WCF configuration file. - - The name of the endpoint configuration. - - - - - Gets or sets a value indicating whether to use binary message encoding. - - - - - - Gets or sets a value indicating whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply) - - - - - - Gets or sets the client ID. - - The client ID. - - - - - Gets the list of parameters. - - The parameters. - - - - - Gets or sets a value indicating whether to include per-event properties in the payload sent to the server. - - - - - - Called when log events are being sent (test hook). - - The events. - The async continuations. - True if events should be sent, false to stop processing them. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Append" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Add value to the , returns ordinal in - - - lookup so only unique items will be added to - value to add - - - - - Creating a new instance of WcfLogReceiverClient - - Inheritors can override this method and provide their own - service configuration - binding and endpoint address - - This method marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creating a new instance of IWcfLogReceiverClient - - Inheritors can override this method and provide their own - service configuration - binding and endpoint address - - - virtual is used by end users - - - - Sends log messages by email using SMTP protocol. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- Mail target works best when used with BufferingWrapper target - which lets you send multiple log messages in single mail -

-

- To set up the buffered mail target in the configuration file, - use the following syntax: -

- -

- To set up the buffered mail target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets the mailSettings/smtp configuration from app.config in cases when we need those configuration. - E.g when UseSystemNetMailSettings is enabled and we need to read the From attribute from system.net/mailSettings/smtp - - Internal for mocking - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets sender's email address (e.g. joe@domain.com). - - - - - - Gets or sets recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets a value indicating whether to add new lines between log entries. - - A value of true if new lines should be added; otherwise, false. - - - - - Gets or sets the mail subject. - - - - - - Gets or sets mail message body (repeated for each log message send in one mail). - - Alias for the Layout property. - - - - - Gets or sets encoding to be used for sending e-mail. - - - - - - Gets or sets a value indicating whether to send message as HTML instead of plain text. - - - - - - Gets or sets SMTP Server to be used for sending. - - - - - - Gets or sets SMTP Authentication mode. - - - - - - Gets or sets the username used to connect to SMTP server (used when SmtpAuthentication is set to "basic"). - - - - - - Gets or sets the password used to authenticate against SMTP server (used when SmtpAuthentication is set to "basic"). - - - - - - Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server. - - . - - - - Gets or sets the port number that SMTP Server is listening on. - - - - - - Gets or sets a value indicating whether the default Settings from System.Net.MailSettings should be used. - - - - - - Specifies how outgoing email messages will be handled. - - - - - - Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. - - - - - - Gets or sets the priority used for sending mails. - - - - - - Gets or sets a value indicating whether NewLine characters in the body should be replaced with
tags. -
- Only happens when is set to true. - -
- - - Gets or sets a value indicating the SMTP client timeout. - - Warning: zero is not infinite waiting - - - - - Writes async log event to the mail target. - - The logging event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes log events to the mail target. - - Array of logging events. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Create mail and send with SMTP - - event printed in the body of the event - - - - Create buffer for body - - all events - first event for header - last event for footer - - - - - Set properties of - - last event for username/password - client to set properties on - Configure not at , as the properties could have layout renderers. - - - - Handle if it is a virtual directory. - - - - - - - Create key for grouping. Needed for multiple events in one mail message - - event for rendering layouts - string to group on - - - - Append rendered to - - append to this - event for rendering - append if not null - - - - Create the mail message with the addresses, properties and body. - - - - - Render and add the addresses to - - Addresses appended to this list - layout with addresses, ; separated - event for rendering the - added a address? - - - - Writes log messages to in memory for programmatic retrieval. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the list of logs gathered in the . - - - - - Gets or sets the max number of items to have in memory - - - - - - Renders the logging event message and adds to - - The logging event. - - - - A parameter to MethodCall. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout to use for parameter value. - - - - Initializes a new instance of the class. - - Name of the parameter. - The layout. - - - - Initializes a new instance of the class. - - The name of the parameter. - The layout. - The type of the parameter. - - - - Gets or sets the name of the parameter. - - - - - - Gets or sets the type of the parameter. Obsolete alias for - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Calls the specified static method on each log message and passes contextual parameters to it. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets the class name. - - - - - - Gets or sets the method name. The method must be public and static. - - Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx - e.g. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - Name of the target. - Method to call on logevent. - - - - Initializes the target. - - - - - Calls the specified Method. - - Method parameters. - The logging event. - - - - Calls the specified Method. - - Method parameters. - - - - The base class for all targets which call methods (local or remote). - Manages parameters and type coercion. - - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - - - - Prepares an array of parameters to be passed based on the logging event and calls DoInvoke(). - - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Sends log messages over the network. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- To print the results, use any application that's able to receive messages over - TCP or UDP. NetCat is - a simple but very powerful command-line tool that can be used for that. This image - demonstrates the NetCat tool receiving log messages from Network target. -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will be very slow. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-

- There are two specialized versions of the Network target: Chainsaw - and NLogViewer which write to instances of Chainsaw log4j viewer - or NLogViewer application respectively. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the network address. - - - The network address can be: -
    -
  • tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
  • -
  • tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
  • -
  • tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
  • -
  • udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • http://host:port/pageName - HTTP using POST verb
  • -
  • https://host:port/pageName - HTTPS using POST verb
  • -
- For SOAP-based webservice support over HTTP use WebService target. -
- -
- - - Gets or sets a value indicating whether to keep connection open whenever possible. - - - - - - Gets or sets a value indicating whether to append newline at the end of log message. - - - - - - Gets or sets the end of line value if a newline is appended at the end of log message . - - - - - - Gets or sets the maximum message size in bytes. - - - - - - Gets or sets the size of the connection cache (number of connections which are kept alive). - - - - - - Gets or sets the maximum current connections. 0 = no maximum. - - - - - - Gets or sets the action that should be taken if the will be more connections than . - - - - - - Gets or sets the maximum queue size. - - - - - - Gets or sets the action that should be taken if the message is larger than - maxMessageSize. - - - - - - Gets or sets the encoding to be used. - - - - - - Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. - - - - - - The number of seconds a connection will remain idle before the first keep-alive probe is sent - - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Sends the - rendered logging event over the network optionally concatenating it with a newline character. - - The logging event. - - - - Try to remove. - - - - - removed something? - - - - Gets the bytes to be written. - - Log event. - Byte array. - - - - The action to be taken when there are more connections then the max. - - - - - Just allow it. - - - - - Discard the connection item. - - - - - Block until there's more room in the queue. - - - - - Action that should be taken if the message overflows. - - - - - Report an error. - - - - - Split the message into smaller pieces. - - - - - Discard the entire message. - - - - - Represents a parameter to a NLogViewer target. - - - - - Initializes a new instance of the class. - - - - - Gets or sets viewer parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - Sends log messages to the remote instance of NLog Viewer. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include stack contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the renderer for log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets the layout renderer which produces Log4j-compatible XML events. - - - - - Gets or sets the instance of that is used to format log messages. - - - - - - Discards log messages. Used mainly for debugging and benchmarking. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets a value indicating whether to perform layout calculation. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Does nothing. Optionally it calculates the layout text but - discards the results. - - The logging event. - - - - Outputs log messages through the OutputDebugString() Win32 API. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - - - - Increments specified performance counter on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
- - TODO: - 1. Unable to create a category allowing multiple counter instances (.Net 2.0 API only, probably) - 2. Is there any way of adding new counters without deleting the whole category? - 3. There should be some mechanism of resetting the counter (e.g every day starts from 0), or auto-switching to - another counter instance (with dynamic creation of new instance). This could be done with layouts. - -
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether performance counter should be automatically created. - - - - - - Gets or sets the name of the performance counter category. - - - - - - Gets or sets the name of the performance counter. - - - - - - Gets or sets the performance counter instance name. - - - - - - Gets or sets the counter help text. - - - - - - Gets or sets the performance counter type. - - - - - - The value by which to increment the counter. - - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Increments the configured performance counter. - - Log event. - - - - Closes the target and releases any unmanaged resources. - - - - - Ensures that the performance counter has been initialized. - - True if the performance counter is operational, false otherwise. - - - - SMTP authentication modes. - - - - - No authentication. - - - - - Basic - username and password. - - - - - NTLM Authentication. - - - - - Represents logging target. - - - - Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts - - - - The Max StackTraceUsage of all the in this Target - - - - - Gets or sets the name of the target. - - - - - - Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers - Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - - - - Can be used if has been enabled. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - This method won't prerender if all layouts in this target are thread-agnostic. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Writes async log event to the log target. - - Async Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Log event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - NOTE! Obsolete, instead override WriteAsyncThreadSafe(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target, in a thread safe manner. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Renders the event info in layout. - - The layout. - The event info. - String representing log event. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Should the exception be rethrown? - - - Upgrade to private protected when using C# 7.2 - - - - Marks class as a logging target and assigns a name to it. - - This attribute is not required when registering the target in the API. - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page). - - - - - Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page). - - - - - Attribute details for - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Gets or sets when an empty value should cause the property to be included - - - - - Gets or sets the type of the property. - - - - - Represents target that supports context capture using MDLC, MDC, NDLC and NDC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets or sets a value indicating whether to include contents of the dictionary - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the - - - - - - Gets the array of custom attributes to be passed into the logevent context - - - - - - Constructor - - - - - - - - Check if logevent has properties (or context properties) - - - True if properties should be included - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Dictionary with any context properties for the logEvent (Null if none found) - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Optional prefilled dictionary - Dictionary with any context properties for the logEvent (Null if none found) - - - - Creates combined dictionary of all configured properties for logEvent - - - Dictionary with all collected properties for logEvent - - - - Creates combined dictionary of all configured properties for logEvent - - - Optional prefilled dictionary - Dictionary with all collected properties for logEvent - - - - Generates a new unique name, when duplicate names are detected - - LogEvent that triggered the duplicate name - Duplicate item name - Item Value - Dictionary of context values - New (unique) value (or null to skip value). If the same value is used then the item will be overwritten - - - - Returns the captured snapshot of for the - - - Dictionary with MDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with MDLC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with GDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDC key - MDC value - Snapshot of MDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDLC key - MDLC value - Snapshot of MDLC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDC value - Snapshot of NDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDLC value - Snapshot of NDLC value - Include object value in snapshot - - - - Take snapshot of a single object value - - Log event - Key Name (null when NDC / NDLC) - Object Value - Snapshot of value - Include object value in snapshot - - - Internal Layout that allows capture of MDC context - - - Internal Layout that allows capture of NDC context - - - Internal Layout that allows capture of MDLC context - - - Internal Layout that allows capture of NDLC context - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the layout used to format log messages. - - - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the text to be rendered. - - - - - - Gets or sets the footer. - - - - - - Gets or sets the header. - - - - - - Gets or sets the layout with header and footer. - - The layout with header and footer. - - - - Sends log messages through System.Diagnostics.Trace. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Always use independent of - - - - - - Forward to (Instead of ) - - - Trace.Fail can have special side-effects, and give fatal exceptions, message dialogs or Environment.FailFast - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Writes the specified logging event to the facility. - - Redirects the log message depending on and . - When is false: - - writes to - - writes to - - writes to - - writes to - - writes to - - writes to - - The logging event. - - - - Web service protocol. - - - - - Use SOAP 1.1 Protocol. - - - - - Use SOAP 1.2 Protocol. - - - - - Use HTTP POST Protocol. - - - - - Use HTTP GET Protocol. - - - - - Do an HTTP POST of a JSON document. - - - - - Do an HTTP POST of an XML document. - - - - - Web Service Proxy Configuration Type - - - - - Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy) - - - Example of how to configure default proxy using app.config - - <system.net> - <defaultProxy enabled = "true" useDefaultCredentials = "true" > - <proxy usesystemdefault = "True" /> - </defaultProxy> - </system.net> - - - - - - Automatic use of proxy with authentication (cached) - - - - - Disables use of proxy (fast) - - - - - Custom proxy address (cached) - - - - - Calls the specified web service on each log message. - - Documentation on NLog Wiki - - The web service must implement a method that accepts a number of string parameters. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

The example web service that works with this example is shown below

- -
-
- - - dictionary that maps a concrete implementation - to a specific -value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target - - - - Gets or sets the web service URL. - - - - - - Gets or sets the value of the User-agent HTTP header. - - - - - - Gets or sets the Web service method name. Only used with Soap. - - - - - - Gets or sets the Web service namespace. Only used with Soap. - - - - - - Gets or sets the protocol to be used when calling web service. - - - - - - Gets or sets the proxy configuration when calling web service - - - - - - Gets or sets the custom proxy address, include port separated by a colon - - - - - - Should we include the BOM (Byte-order-mark) for UTF? Influences the property. - - This will only work for UTF-8. - - - - - - Gets or sets the encoding. - - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Gets or sets the name of the root XML element, - if POST of XML document chosen. - If so, this property must not be null. - (see and ). - - - - - - Gets or sets the (optional) root namespace of the XML document, - if POST of XML document chosen. - (see and ). - - - - - - Gets the array of parameters to be passed. - - - - - - Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters) - - - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Invokes the web service method. - - Parameters to be passed. - The logging event. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. - - - - - - - Write from input to output. Fix the UTF-8 bom - - - - - - - - - base class for POST formatters, that - implement former PrepareRequest() method, - that creates the content for - the requested kind of HTTP request - - - - - Win32 file attributes. - - - For more information see https://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp. - - - - - Read-only file. - - - - - Hidden file. - - - - - System file. - - - - - File should be archived. - - - - - Device file. - - - - - Normal file. - - - - - File is temporary (should be kept in cache and not - written to disk if possible). - - - - - Sparse file. - - - - - Reparse point. - - - - - Compress file contents. - - - - - File should not be indexed by the content indexing service. - - - - - Encrypted file. - - - - - The system writes through any intermediate cache and goes directly to disk. - - - - - The system opens a file with no system caching. - - - - - Delete file after it is closed. - - - - - A file is accessed according to POSIX rules. - - - - - Asynchronous request queue. - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Gets or sets the request limit. - - - - - Gets or sets the action to be taken when there's no more room in - the queue and another request is enqueued. - - - - - Notifies about log event that was dropped when set to - - - - - Notifies when queue size is growing over - - - - - Raise event when queued element was dropped because of queue overflow - - Dropped queue item - - - - Raise event when RequestCount overflow - - current requests count - - - - Provides asynchronous, buffered execution of target writes. - - Documentation on NLog Wiki - -

- Asynchronous target wrapper allows the logger code to execute more quickly, by queueing - messages and processing them in a separate thread. You should wrap targets - that spend a non-trivial amount of time in their Write() method with asynchronous - target to speed up logging. -

-

- Because asynchronous logging is quite a common scenario, NLog supports a - shorthand notation for wrapping all targets with AsyncWrapper. Just add async="true" to - the <targets/> element in the configuration file. -

- - - ... your targets go here ... - - ]]> -
- -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of requests in the queue. - The action to be taken when the queue overflows. - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity) - - - - - - Raise event when Target cannot store LogEvent. - Event arg contains lost LogEvents - - - - - Raises when event queue grow. - Queue can grow when was set to - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the limit of full s to write before yielding into - Performance is better when writing many small batches, than writing a single large batch - - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - - Gets the queue of lazy writer thread requests. - - - - - Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target by starting the lazy writer timer. - - - - - Shuts down the lazy writer timer. - - - - - Starts the lazy writer thread which periodically writes - queued log messages. - - - - - Attempts to start an instant timer-worker-thread which can write - queued log messages. - - Returns true when scheduled a timer-worker-thread - - - - Stops the lazy writer thread. - - - - - Adds the log event to asynchronous queue to be processed by - the lazy writer thread. - - The log event. - - The is called - to ensure that the log event can be processed in another thread. - - - - - Write to queue without locking - - - - - - The action to be taken when the queue overflows. - - - - - Grow the queue. - - - - - Discard the overflowing item. - - - - - Block until there's more room in the queue. - - - - - Causes a flush on a wrapped target if LogEvent satisfies the . - If condition isn't set, flushes on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Gets or sets the condition expression. Log events who meet this condition will cause - a flush on the wrapped target. - - - - - - Delay the flush until the LogEvent has been confirmed as written - - If not explicitly set, then disabled by default for and AsyncTaskTarget - - - - - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - The wrapped target. - Name of the target - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes the target. - - - - - Forwards the call to the .Write() - and calls on it if LogEvent satisfies - the flush condition or condition is null. - - Logging event to be written out. - - - - Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - A target that buffers log events and sends them in batches to the wrapped target. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - The action to take when the buffer overflows. - - - - Gets or sets the number of log events to be buffered. - - - - - - Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed - if there's no write in the specified period of time. Use -1 to disable timed flushes. - - - - - - Gets or sets a value indicating whether to use sliding timeout. - - - This value determines how the inactivity period is determined. If sliding timeout is enabled, - the inactivity timer is reset after each write, if it is disabled - inactivity timer will - count from the first event written to the buffer. - - - - - - Gets or sets the action to take if the buffer overflows. - - - Setting to will replace the - oldest event with new events without sending events down to the wrapped target, and - setting to will flush the - entire buffer to the wrapped target. - - - - - - Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target. - - - - - Closes the target by flushing pending events in the buffer (if any). - - - - - Adds the specified log event to the buffer and flushes - the buffer in case the buffer gets full. - - The log event. - - - - The action to be taken when the buffer overflows. - - - - - Flush the content of the buffer. - - - - - Discard the oldest item. - - - - - A base class for targets which wrap other (multiple) targets - and provide various forms of target routing. - - - - - Initializes a new instance of the class. - - The targets. - - - - Gets the collection of targets managed by this compound target. - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Writes logging event to the log target. - - Logging event to be written out. - - - - Flush any pending log messages for all wrapped targets. - - The asynchronous continuation. - - - - Concurrent Asynchronous request queue based on - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - Only for debugging purposes - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Provides fallback-on-error. - - Documentation on NLog Wiki - -

This example causes the messages to be written to server1, - and if it fails, messages go to server2.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Gets or sets a value indicating whether to return to the first target after any successful write. - - - - - - - - - - - - Forwards the log event to the sub-targets until one of them succeeds. - - The log event. - - The method remembers the last-known-successful target - and starts the iteration from it. - If is set, the method - resets the target to the first target - stored in . - - - - - Filtering rule for . - - - - - Initializes a new instance of the FilteringRule class. - - - - - Initializes a new instance of the FilteringRule class. - - Condition to be tested against all events. - Filter to apply to all log events when the first condition matches any of them. - - - - Gets or sets the condition to be tested. - - - - - - Gets or sets the resulting filter to be applied when the condition matches. - - - - - - Filters log entries based on a condition. - - Documentation on NLog Wiki - -

This example causes the messages not contains the string '1' to be ignored.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The condition. - - - - Initializes a new instance of the class. - - The wrapped target. - The condition. - - - - Gets or sets the condition expression. Log events who meet this condition will be forwarded - to the wrapped target. - - - - - - Gets or sets the filter. Log events who evaluates to will be discarded - - - - - - - - - Checks the condition against the passed log event. - If the condition is met, the log event is forwarded to - the wrapped target. - - Log event. - - - - - - - Impersonates another user for the duration of the write. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Gets or sets username to change context to. - - - - - - Gets or sets the user account password. - - - - - - Gets or sets Windows domain name to change context to. - - - - - - Gets or sets the Logon Type. - - - - - - Gets or sets the type of the logon provider. - - - - - - Gets or sets the required impersonation level. - - - - - - Gets or sets a value indicating whether to revert to the credentials of the process instead of impersonating another user. - - - - - - Initializes the impersonation context. - - - - - Closes the impersonation context. - - - - - Changes the security context, forwards the call to the .Write() - and switches the context back to original. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Changes the security context, forwards the call to the .Write() - and switches the context back to original. - - Log events. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Helper class which reverts the given - to its original value as part of . - - - - - Initializes a new instance of the class. - - The windows impersonation context. - - - - Reverts the impersonation context. - - - - - Limits the number of messages written per timespan to the wrapped target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of messages written per interval. - Interval in which the maximum number of messages can be written. - - - - Gets or sets the maximum allowed number of messages written per . - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets or sets the interval in which messages will be written up to the number of messages. - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets the DateTime when the current will be reset. - - - - - - Gets the number of written in the current . - - - - - - Initializes the target and resets the current Interval and . - - - - - Writes log event to the wrapped target if the current is lower than . - If the is already reached, no log event will be written to the wrapped target. - resets when the current is expired. - - Log event to be written out. - - - - Arguments for events. - - - - - - - - Instance of that was dropped by - - - - - Raises by when - queue is full - and set to - By default queue doubles it size. - - - - - Contains items count and new queue size. - - Required queue size - Current queue size - - - - New queue size - - - - - Current requests count - - - - - Logon provider. - - - - - Use the standard logon provider for the system. - - - The default security provider is negotiate, unless you pass NULL for the domain name and the user name - is not in UPN format. In this case, the default provider is NTLM. - NOTE: Windows 2000/NT: The default security provider is NTLM. - - - - - Filters buffered log entries based on a set of conditions that are evaluated on a group of events. - - Documentation on NLog Wiki - - PostFilteringWrapper must be used with some type of buffering target or wrapper, such as - AsyncTargetWrapper, BufferingWrapper or ASPNetBufferingWrapper. - - -

- This example works like this. If there are no Warn,Error or Fatal messages in the buffer - only Info messages are written to the file, but if there are any warnings or errors, - the output includes detailed trace (levels >= Debug). You can plug in a different type - of buffering wrapper (such as ASPNetBufferingWrapper) to achieve different - functionality. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Gets or sets the default filter to be applied when no specific rule matches. - - - - - - Gets the collection of filtering rules. The rules are processed top-down - and the first rule that matches determines the filtering condition to - be applied to log events. - - - - - - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Evaluates all filtering rules to find the first one that matches. - The matching rule determines the filtering condition to be applied - to all items in a buffer. If no condition matches, default filter - is applied to the array of log events. - - Array of log events to be post-filtered. - - - - Evaluate all the rules to get the filtering condition - - - - - - - Sends log messages to a randomly selected target. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt - chosen randomly on a per-message basis. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the log event to one of the sub-targets. - The sub-target is randomly chosen. - - The log event. - - - - Repeats each log event the specified number of times. - - Documentation on NLog Wiki - -

This example causes each log message to be repeated 3 times.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The repeat count. - - - - Initializes a new instance of the class. - - The wrapped target. - The repeat count. - - - - Gets or sets the number of times to repeat each log message. - - - - - - Forwards the log message to the by calling the method times. - - The log event. - - - - Retries in case of write error. - - Documentation on NLog Wiki - -

This example causes each write attempt to be repeated 3 times, - sleeping 1 second between attempts if first one fails.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Initializes a new instance of the class. - - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure. - - - - - - Gets or sets the time to wait between retries in milliseconds. - - - - - - Special SyncObject to allow closing down Target while busy retrying - - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Writes the specified log event to the wrapped target in a thread-safe manner. - - The log event. - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Distributes log events to targets in a round-robin fashion. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt. - Each odd message is written to file2.txt, each even message goes to file1.txt. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Ensures forwarding happens without holding lock - - - - - - Forwards the write to one of the targets from - the collection. - - The log event. - - The writes are routed in a round-robin fashion. - The first log event goes to the first target, the second - one goes to the second target and so on looping to the - first target when there are no more targets available. - In general request N goes to Targets[N % Targets.Count]. - - - - - Impersonation level. - - - - - Anonymous Level. - - - - - Identification Level. - - - - - Impersonation Level. - - - - - Delegation Level. - - - - - Logon type. - - - - - Interactive Logon. - - - This logon type is intended for users who will be interactively using the computer, such as a user being logged on - by a terminal server, remote shell, or similar process. - This logon type has the additional expense of caching logon information for disconnected operations; - therefore, it is inappropriate for some client/server applications, - such as a mail server. - - - - - Network Logon. - - - This logon type is intended for high performance servers to authenticate plaintext passwords. - The LogonUser function does not cache credentials for this logon type. - - - - - Batch Logon. - - - This logon type is intended for batch servers, where processes may be executing on behalf of a user without - their direct intervention. This type is also for higher performance servers that process many plaintext - authentication attempts at a time, such as mail or Web servers. - The LogonUser function does not cache credentials for this logon type. - - - - - Logon as a Service. - - - Indicates a service-type logon. The account provided must have the service privilege enabled. - - - - - Network Clear Text Logon. - - - This logon type preserves the name and password in the authentication package, which allows the server to make - connections to other network servers while impersonating the client. A server can accept plaintext credentials - from a client, call LogonUser, verify that the user can access the system across the network, and still - communicate with other servers. - NOTE: Windows NT: This value is not supported. - - - - - New Network Credentials. - - - This logon type allows the caller to clone its current token and specify new credentials for outbound connections. - The new logon session has the same local identifier but uses different credentials for other network connections. - NOTE: This logon type is supported only by the LOGON32_PROVIDER_WINNT50 logon provider. - NOTE: Windows NT: This value is not supported. - - - - - Writes log events to all targets. - - Documentation on NLog Wiki - -

This example causes the messages to be written to both file1.txt or file2.txt -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the specified log event to all sub-targets. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Base class for targets wrap other (single) targets. - - - - - Gets or sets the target that is wrapped by this target. - - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Current local time retrieved directly from DateTime.Now. - - - - - Gets current local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Current UTC time retrieved directly from DateTime.UtcNow. - - - - - Gets current UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Fast time source that updates current time only once per tick (15.6 milliseconds). - - - - - Gets raw uncached time from derived time source. - - - - - Gets current time cached for one system tick (15.6 milliseconds). - - - - - Fast local time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Fast UTC time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Defines source of current time. - - - - - Gets current time. - - - - - Gets or sets current global time source used in all log events. - - - Default time source is . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to the same form - as time values originated from this source. - - - - There are situations when NLog have to compare the time originated from TimeSource - to the time originated externally in the system. - To be able to provide meaningful result of such comparisons the system time must be expressed in - the same form as TimeSource time. - - - Examples: - - If the TimeSource provides time values of local time, it should also convert the provided - to the local time. - - If the TimeSource shifts or skews its time values, it should also apply - the same transform to the given . - - - - - - Marks class as a time source and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the time source. - -
-
diff --git a/app/packages/NLog.4.7.15/lib/net45/NLog.dll b/app/packages/NLog.4.7.15/lib/net45/NLog.dll deleted file mode 100644 index daf6bed..0000000 Binary files a/app/packages/NLog.4.7.15/lib/net45/NLog.dll and /dev/null differ diff --git a/app/packages/NLog.4.7.15/lib/net45/NLog.xml b/app/packages/NLog.4.7.15/lib/net45/NLog.xml deleted file mode 100644 index af8c64d..0000000 --- a/app/packages/NLog.4.7.15/lib/net45/NLog.xml +++ /dev/null @@ -1,29748 +0,0 @@ - - - - NLog - - - - - Indicates that the value of the marked element could be null sometimes, - so the check for null is necessary before its usage. - - - [CanBeNull] object Test() => null; - - void UseTest() { - var p = Test(); - var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' - } - - - - - Indicates that the value of the marked element could never be null. - - - [NotNull] object Foo() { - return null; // Warning: Possible 'null' assignment - } - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can never be null. - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can be null. - - - - - Indicates that the marked method builds string by format pattern and (optional) arguments. - Parameter, which contains format string, should be given in constructor. The format string - should be in -like form. - - - [StringFormatMethod("message")] - void ShowError(string message, params object[] args) { /* do something */ } - - void Foo() { - ShowError("Failed: {0}"); // Warning: Non-existing argument in format string - } - - - - - Specifies which parameter of an annotated method should be treated as format-string - - - - - For a parameter that is expected to be one of the limited set of values. - Specify fields of which type should be used as values for this parameter. - - - - - Indicates that the function argument should be string literal and match one - of the parameters of the caller function. For example, ReSharper annotates - the parameter of . - - - void Foo(string param) { - if (param == null) - throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol - } - - - - - Indicates that the method is contained in a type that implements - System.ComponentModel.INotifyPropertyChanged interface and this method - is used to notify that some property value changed. - - - The method should be non-static and conform to one of the supported signatures: - - NotifyChanged(string) - NotifyChanged(params string[]) - NotifyChanged{T}(Expression{Func{T}}) - NotifyChanged{T,U}(Expression{Func{T,U}}) - SetProperty{T}(ref T, T, string) - - - - public class Foo : INotifyPropertyChanged { - public event PropertyChangedEventHandler PropertyChanged; - - [NotifyPropertyChangedInvocator] - protected virtual void NotifyChanged(string propertyName) { ... } - - string _name; - - public string Name { - get { return _name; } - set { _name = value; NotifyChanged("LastName"); /* Warning */ } - } - } - - Examples of generated notifications: - - NotifyChanged("Property") - NotifyChanged(() => Property) - NotifyChanged((VM x) => x.Property) - SetProperty(ref myField, value, "Property") - - - - - - Describes dependency between method input and output. - - -

Function Definition Table syntax:

- - FDT ::= FDTRow [;FDTRow]* - FDTRow ::= Input => Output | Output <= Input - Input ::= ParameterName: Value [, Input]* - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} - Value ::= true | false | null | notnull | canbenull - - If method has single input parameter, it's name could be omitted.
- Using halt (or void/nothing, which is the same) for method output - means that the methods doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute - with rows separated by semicolon. There is no notion of order rows, all rows are checked - for applicability and applied per each program state tracked by R# analysis.
-
- - - [ContractAnnotation("=> halt")] - public void TerminationMethod() - - - [ContractAnnotation("halt <= condition: false")] - public void Assert(bool condition, string text) // regular assertion method - - - [ContractAnnotation("s:null => true")] - public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() - - - // A method that returns null if the parameter is null, - // and not null if the parameter is not null - [ContractAnnotation("null => null; notnull => notnull")] - public object Transform(object data) - - - [ContractAnnotation("=> true, result: notnull; => false, result: null")] - public bool TryParse(string s, out Person result) - - -
- - - Indicates that marked element should be localized or not. - - - [LocalizationRequiredAttribute(true)] - class Foo { - string str = "my string"; // Warning: Localizable string - } - - - - - Indicates that the value of the marked type (or its derivatives) - cannot be compared using '==' or '!=' operators and Equals() - should be used instead. However, using '==' or '!=' for comparison - with null is always permitted. - - - [CannotApplyEqualityOperator] - class NoEquality { } - - class UsesNoEquality { - void Test() { - var ca1 = new NoEquality(); - var ca2 = new NoEquality(); - if (ca1 != null) { // OK - bool condition = ca1 == ca2; // Warning - } - } - } - - - - - When applied to a target attribute, specifies a requirement for any type marked - with the target attribute to implement or inherit specific type or types. - - - [BaseTypeRequired(typeof(IComponent)] // Specify requirement - class ComponentAttribute : Attribute { } - - [Component] // ComponentAttribute requires implementing IComponent interface - class MyComponent : IComponent { } - - - - - Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), - so this symbol will not be marked as unused (as well as by other usage inspections). - - - - - Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes - as unused (as well as by other usage inspections) - - - - Only entity marked with attribute considered used. - - - Indicates implicit assignment to a member. - - - - Indicates implicit instantiation of a type with fixed constructor signature. - That means any unused constructor parameters won't be reported as such. - - - - Indicates implicit instantiation of a type. - - - - Specify what is considered used implicitly when marked - with or . - - - - Members of entity marked with attribute are considered used. - - - Entity marked with attribute and all its members considered used. - - - - This attribute is intended to mark publicly available API - which should not be removed and so is treated as used. - - - - - Tells code analysis engine if the parameter is completely handled when the invoked method is on stack. - If the parameter is a delegate, indicates that delegate is executed while the method is executed. - If the parameter is an enumerable, indicates that it is enumerated while the method is executed. - - - - - Indicates that a method does not make any observable state changes. - The same as System.Diagnostics.Contracts.PureAttribute. - - - [Pure] int Multiply(int x, int y) => x * y; - - void M() { - Multiply(123, 42); // Waring: Return value of pure method is not used - } - - - - - Indicates that the return value of method invocation must be used. - - - - - Indicates the type member or parameter of some type, that should be used instead of all other ways - to get the value that type. This annotation is useful when you have some "context" value evaluated - and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one. - - - class Foo { - [ProvidesContext] IBarService _barService = ...; - - void ProcessNode(INode node) { - DoSomething(node, node.GetGlobalServices().Bar); - // ^ Warning: use value of '_barService' field - } - } - - - - - Indicates that a parameter is a path to a file or a folder within a web project. - Path can be relative or absolute, starting from web root (~). - - - - - An extension method marked with this attribute is processed by ReSharper code completion - as a 'Source Template'. When extension method is completed over some expression, it's source code - is automatically expanded like a template at call site. - - - Template method body can contain valid source code and/or special comments starting with '$'. - Text inside these comments is added as source code when the template is applied. Template parameters - can be used either as additional method parameters or as identifiers wrapped in two '$' signs. - Use the attribute to specify macros for parameters. - - - In this example, the 'forEach' method is a source template available over all values - of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block: - - [SourceTemplate] - public static void forEach<T>(this IEnumerable<T> xs) { - foreach (var x in xs) { - //$ $END$ - } - } - - - - - - Allows specifying a macro for a parameter of a source template. - - - You can apply the attribute on the whole method or on any of its additional parameters. The macro expression - is defined in the property. When applied on a method, the target - template parameter is defined in the property. To apply the macro silently - for the parameter, set the property value = -1. - - - Applying the attribute on a source template method: - - [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] - public static void forEach<T>(this IEnumerable<T> collection) { - foreach (var item in collection) { - //$ $END$ - } - } - - Applying the attribute on a template method parameter: - - [SourceTemplate] - public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { - /*$ var $x$Id = "$newguid$" + x.ToString(); - x.DoSomething($x$Id); */ - } - - - - - - Allows specifying a macro that will be executed for a source template - parameter when the template is expanded. - - - - - Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. - - - If the target parameter is used several times in the template, only one occurrence becomes editable; - other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, - use values >= 0. To make the parameter non-editable when the template is expanded, use -1. - > - - - - Identifies the target parameter of a source template if the - is applied on a template method. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC action. If applied to a method, the MVC action name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC area. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is - an MVC controller. If applied to a method, the MVC controller name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC - partial view. If applied to a method, the MVC partial view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC template. - Use this attribute for custom wrappers similar to - System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component. If applied to a method, the MVC view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Controller.View(Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component name. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component view. If applied to a method, the MVC view component view name is default. - - - - - ASP.NET MVC attribute. When applied to a parameter of an attribute, - indicates that this parameter is an MVC action name. - - - [ActionName("Foo")] - public ActionResult Login(string returnUrl) { - ViewBag.ReturnUrl = Url.Action("Foo"); // OK - return RedirectToAction("Bar"); // Error: Cannot resolve action - } - - - - - Razor attribute. Indicates that a parameter or a method is a Razor section. - Use this attribute for custom wrappers similar to - System.Web.WebPages.WebPageBase.RenderSection(String). - - - - - Indicates how method, constructor invocation or property access - over collection type affects content of the collection. - - - - Method does not use or modify content of the collection. - - - Method only reads content of the collection but does not modify it. - - - Method can change content of the collection but does not add new elements. - - - Method can add new elements to the collection. - - - - Indicates that the marked method is assertion method, i.e. it halts control flow if - one of the conditions is satisfied. To set the condition, mark one of the parameters with - attribute. - - - - - Indicates the condition parameter of the assertion method. The method itself should be - marked by attribute. The mandatory argument of - the attribute is the assertion type. - - - - - Specifies assertion type. If the assertion method argument satisfies the condition, - then the execution continues. Otherwise, execution is assumed to be halted. - - - - Marked parameter should be evaluated to true. - - - Marked parameter should be evaluated to false. - - - Marked parameter should be evaluated to null value. - - - Marked parameter should be evaluated to not null value. - - - - Indicates that the marked method unconditionally terminates control flow execution. - For example, it could unconditionally throw exception. - - - - - Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select, - .Where). This annotation allows inference of [InstantHandle] annotation for parameters - of delegate type by analyzing LINQ method chains. - - - - - Indicates that IEnumerable, passed as parameter, is not enumerated. - - - - - Indicates that parameter is regular expression pattern. - - - - - Prevents the Member Reordering feature from tossing members of the marked class. - - - The attribute must be mentioned in your member reordering patterns - - - - - XAML attribute. Indicates the type that has ItemsSource property and should be treated - as ItemsControl-derived type, to enable inner items DataContext type resolve. - - - - - XAML attribute. Indicates the property of some BindingBase-derived type, that - is used to bind some item of ItemsControl-derived type. This annotation will - enable the DataContext type resolve for XAML bindings for such properties. - - - Property should have the tree ancestor of the ItemsControl type or - marked with the attribute. - - - - - Support implementation of - - - - - - - - - - - - - - - - - Asynchronous continuation delegate - function invoked at the end of asynchronous - processing. - - Exception during asynchronous processing or null if no exception - was thrown. - - - - Helpers for asynchronous operations. - - - - - Iterates over all items in the given collection and runs the specified action - in sequence (each action executes only after the preceding one has completed without an error). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end. - - The repeat count. - The asynchronous continuation to invoke at the end. - The action to invoke. - - - - Modifies the continuation by pre-pending given action to execute just before it. - - The async continuation. - The action to pre-pend. - Continuation which will execute the given action before forwarding to the actual continuation. - - - - Attaches a timeout to a continuation which will invoke the continuation when the specified - timeout has elapsed. - - The asynchronous continuation. - The timeout. - Wrapped continuation. - - - - Iterates over all items in the given collection and runs the specified action - in parallel (each action executes on a thread from thread pool). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Runs the specified asynchronous action synchronously (blocks until the continuation has - been invoked). - - The action. - - Using this method is not recommended because it will block the calling thread. - - - - - Wraps the continuation with a guard which will only make sure that the continuation function - is invoked only once. - - The asynchronous continuation. - Wrapped asynchronous continuation. - - - - Gets the combined exception from all exceptions in the list. - - The exceptions. - Combined exception or null if no exception was thrown. - - - - Disposes the Timer, and waits for it to leave the Timer-callback-method - - The Timer object to dispose - Timeout to wait (TimeSpan.Zero means dispose without waiting) - Timer disposed within timeout (true/false) - - - - Asynchronous action. - - Continuation to be invoked at the end of action. - - - - Asynchronous action with one argument. - - Type of the argument. - Argument to the action. - Continuation to be invoked at the end of action. - - - - Represents the logging event with asynchronous continuation. - - - - - Initializes a new instance of the struct. - - The log event. - The continuation. - - - - Gets the log event. - - - - - Gets the continuation. - - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - A value of true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - String Conversion Helpers - - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - Output value - Default value - Returns false if the input value could not be parsed - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - The type of the enum - Output value. Null if parse failed - - - - Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded. - - The enumeration type to which to convert value. - The string representation of the enumeration name or underlying value to convert. - true to ignore case; false to consider case. - When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized. - true if the value parameter was converted successfully; otherwise, false. - Wrapper because Enum.TryParse is not present in .net 3.5 - - - - Enum.TryParse implementation for .net 3.5 - - - - Don't uses reflection - - - - Enables to extract extra context details for - - - - - Name of context - - - - - The current LogFactory next to LogManager - - - - - NLog internal logger. - - Writes to file, console or custom text writer (see ) - - - Don't use as that can lead to recursive calls - stackoverflow - - - - - Gets a value indicating whether internal log includes Trace messages. - - - - - Gets a value indicating whether internal log includes Debug messages. - - - - - Gets a value indicating whether internal log includes Info messages. - - - - - Gets a value indicating whether internal log includes Warn messages. - - - - - Gets a value indicating whether internal log includes Error messages. - - - - - Gets a value indicating whether internal log includes Fatal messages. - - - - - Logs the specified message without an at the Trace level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - Log message. - - - - Logs the specified message without an at the Trace level. - will be only called when logging is enabled for level Trace. - - Function that returns the log message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Trace level. - will be only called when logging is enabled for level Trace. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Debug level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Debug level. - - Log message. - - - - Logs the specified message without an at the Debug level. - will be only called when logging is enabled for level Debug. - - Function that returns the log message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Debug level. - will be only called when logging is enabled for level Debug. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Info level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Info level. - - Log message. - - - - Logs the specified message without an at the Info level. - will be only called when logging is enabled for level Info. - - Function that returns the log message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Info level. - will be only called when logging is enabled for level Info. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Warn level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Warn level. - - Log message. - - - - Logs the specified message without an at the Warn level. - will be only called when logging is enabled for level Warn. - - Function that returns the log message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Warn level. - will be only called when logging is enabled for level Warn. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Error level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Error level. - - Log message. - - - - Logs the specified message without an at the Error level. - will be only called when logging is enabled for level Error. - - Function that returns the log message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Error level. - will be only called when logging is enabled for level Error. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Fatal level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Fatal level. - - Log message. - - - - Logs the specified message without an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Function that returns the log message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Exception to be logged. - Function that returns the log message. - - - - Initializes static members of the InternalLogger class. - - - - - Set the config of the InternalLogger with defaults and config. - - - - - Gets or sets the minimal internal log level. - - If set to , then messages of the levels , and will be written. - - - - Gets or sets a value indicating whether internal messages should be written to the console output stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the console error stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the .Trace - - - - - Gets or sets the file path of the internal log file. - - A value of value disables internal logging to a file. - - - - Gets or sets the text writer that will receive internal logs. - - - - - Event written to the internal log. - Please note that the event is not triggered when then event hasn't the minimal log level set by - - - - - Gets or sets a value indicating whether timestamp should be included in internal log output. - - - - - Is there an thrown when writing the message? - - - - - Logs the specified message without an at the specified level. - - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the specified level. - - Log level. - Log message. - - - - Logs the specified message without an at the specified level. - will be only called when logging is enabled for level . - - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - will be only called when logging is enabled for level . - - Exception to be logged. - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Log message. - - - - Write to internallogger. - - optional exception to be logged. - level - message - optional args for - - - - Create log line with timestamp, exception message etc (if configured) - - - - - Determine if logging should be avoided because of exception type. - - The exception to check. - true if logging should be avoided; otherwise, false. - - - - Determine if logging is enabled for given LogLevel - - The for the log event. - true if logging is enabled; otherwise, false. - - - - Determine if logging is enabled. - - true if logging is enabled; otherwise, false. - - - - Write internal messages to the log file defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged only when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - A message to write. - - Works when property set to true. - The is used in Debug and Release configuration. - The works only in Debug configuration and this is reason why is replaced by . - in DEBUG - - - - - Logs the assembly version and file version of the given Assembly. - - The assembly to log. - - - - A message has been written to the internal logger - - - - - The rendered message - - - - - The log level - - - - - The exception. Could be null. - - - - - The type that triggered this internal log event, for example the FileTarget. - This property is not always populated. - - - - - The context name that triggered this internal log event, for example the name of the Target. - This property is not always populated. - - - - - - - - A cyclic buffer of object. - - - - - Initializes a new instance of the class. - - Buffer size. - Whether buffer should grow as it becomes full. - The maximum number of items that the buffer can grow to. - - - - Gets the capacity of the buffer - - - - - Gets the number of items in the buffer - - - - - Adds the specified log event to the buffer. - - Log event. - The number of items in the buffer. - - - - Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation. - - Events in the buffer. - - - - Condition and expression. - - - - - Initializes a new instance of the class. - - Left hand side of the AND expression. - Right hand side of the AND expression. - - - - Gets the left hand side of the AND expression. - - - - - Gets the right hand side of the AND expression. - - - - - Returns a string representation of this expression. - - A concatenated '(Left) and (Right)' string. - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the conjunction operator. - - - - Exception during evaluation of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Base class for representing nodes in condition expression trees. - - - - - Converts condition text to a condition expression tree. - - Condition text to be converted. - Condition expression tree. - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition layout expression (represented by a string literal - with embedded ${}). - - - - - Initializes a new instance of the class. - - The layout. - - - - Gets the layout. - - The layout. - - - - Returns a string representation of this expression. - - String literal in single quotes. - - - - Evaluates the expression by calculating the value - of the layout in the specified evaluation context. - - Evaluation context. - The value of the layout. - - - - Condition level expression (represented by the level keyword). - - - - - Returns a string representation of the expression. - - The 'level' string. - - - - Evaluates to the current log level. - - Evaluation context. Ignored. - The object representing current log level. - - - - Condition literal expression (numeric, LogLevel.XXX, true or false). - - - - - Initializes a new instance of the class. - - Literal value. - ToString value. - - - - Gets the literal value. - - The literal value. - - - - Returns a string representation of the expression. - - The literal value. - - - - Evaluates the expression. - - Evaluation context. - The literal value as passed in the constructor. - - - - Condition logger name expression (represented by the logger keyword). - - - - - Returns a string representation of this expression. - - A logger string. - - - - Evaluates to the logger name. - - Evaluation context. - The logger name. - - - - Condition message expression (represented by the message keyword). - - - - - Returns a string representation of this expression. - - The 'message' string. - - - - Evaluates to the logger message. - - Evaluation context. - The logger message. - - - - Marks class as a log event Condition and assigns a name to it. - - - - - Initializes a new instance of the class. - - Condition method name. - - - - Condition method invocation expression (represented by method(p1,p2,p3) syntax). - - - - - Initializes a new instance of the class. - - Name of the condition method. - of the condition method. - Precompiled delegate of the condition method. - The method parameters. - - - - Gets the method info. - - - - - Gets the method parameters - - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - A bunch of utility methods (mostly predicates) which can be used in - condition expressions. Partially inspired by XPath 1.0. - - - - - Compares two values for equality. - - The first value. - The second value. - true when two objects are equal, false otherwise. - - - - Compares two strings for equality. - - The first string. - The second string. - Optional. If true, case is ignored; if false (default), case is significant. - true when two strings are equal, false otherwise. - - - - Gets or sets a value indicating whether the second string is a substring of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a substring of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a prefix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a suffix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Returns the length of a string. - - A string whose lengths is to be evaluated. - The length of the string. - - - - Indicates whether the specified regular expression finds a match in the specified input string. - - The string to search for a match. - The regular expression pattern to match. - A string consisting of the desired options for the test. The possible values are those of the separated by commas. - true if the regular expression finds a match; otherwise, false. - - - - - - - - - - - Marks the class as containing condition methods. - - - - - Condition not expression. - - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression to be negated. - - The expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition or expression. - - - - - Initializes a new instance of the class. - - Left hand side of the OR expression. - Right hand side of the OR expression. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the alternative operator. - - - - Exception during parsing of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Condition parser. Turns a string representation of condition expression - into an expression tree. - - - - - Initializes a new instance of the class. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - Instance of used to resolve references to condition methods and layout renderers. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - - Try stringed keyword to - - - - success? - - - - Parse number - - negative number? minus should be parsed first. - - - - - Condition relational (==, !=, <, <=, - > or >=) expression. - - - - - Initializes a new instance of the class. - - The left expression. - The right expression. - The relational operator. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Gets the relational operator. - - The operator. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Compares the specified values using specified relational operator. - - The first value. - The second value. - The relational operator. - Result of the given relational operator. - - - - Promote values to the type needed for the comparision, e.g. parse a string to int. - - - - - - - Promotes to type - - - - success? - - - - Try to promote both values. First try to promote to , - when failed, try to . - - - - - - Get the order for the type for comparision. - - - index, 0 to max int. Lower is first - - - - Dictionary from type to index. Lower index should be tested first. - - - - - Build the dictionary needed for the order of the types. - - - - - - Get the string representing the current - - - - - - Relational operators used in conditions. - - - - - Equality (==). - - - - - Inequality (!=). - - - - - Less than (<). - - - - - Greater than (>). - - - - - Less than or equal (<=). - - - - - Greater than or equal (>=). - - - - - Hand-written tokenizer for conditions. - - - - - Initializes a new instance of the class. - - The string reader. - - - - Gets the type of the token. - - The type of the token. - - - - Gets the token value. - - The token value. - - - - Gets the value of a string token. - - The string token value. - - - - Asserts current token type and advances to the next token. - - Expected token type. - If token type doesn't match, an exception is thrown. - - - - Asserts that current token is a keyword and returns its value and advances to the next token. - - Keyword value. - - - - Gets or sets a value indicating whether current keyword is equal to the specified value. - - The keyword. - - A value of true if current keyword is equal to the specified value; otherwise, false. - - - - - Gets or sets a value indicating whether the tokenizer has reached the end of the token stream. - - - A value of true if the tokenizer has reached the end of the token stream; otherwise, false. - - - - - Gets or sets a value indicating whether current token is a number. - - - A value of true if current token is a number; otherwise, false. - - - - - Gets or sets a value indicating whether the specified token is of specified type. - - The token type. - - A value of true if current token is of specified type; otherwise, false. - - - - - Gets the next token and sets and properties. - - - - - Try the comparison tokens (greater, smaller, greater-equals, smaller-equals) - - current char - is match - - - - Try the logical tokens (and, or, not, equals) - - current char - is match - - - - Mapping between characters and token types for punctuations. - - - - - Initializes a new instance of the CharToTokenType struct. - - The character. - Type of the token. - - - - Token types for condition expressions. - - - - - Marks the class or a member as advanced. Advanced classes and members are hidden by - default in generated documentation. - - - - - Initializes a new instance of the class. - - - - - Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain. - - - A layout(renderer) could be converted to a literal when: - - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput] - - Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout. - - - - - Used to mark configurable parameters which are arrays. - Specifies the mapping between XML elements and .NET types. - - - - - Initializes a new instance of the class. - - The type of the array item. - The XML element name that represents the item. - - - - Gets the .NET type of the array item. - - - - - Gets the XML element name. - - - - - An assembly is trying to load. - - - - - New event args - - - - - - The assembly that is trying to load. - - - - - NLog configuration section handler class for configuring NLog from App.config. - - - - - Creates a configuration section handler. - - Parent object. - Configuration context object. - Section XML node. - The created section handler object. - - - - Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. - - Type of the item. - Created object of the specified type. - - - - Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. - - Everything of an assembly could be loaded by - - - - - Called before the assembly will be loaded. - - - - - Initializes a new instance of the class. - - The assemblies to scan for named items. - - - - Gets or sets default singleton instance of . - - - This property implements lazy instantiation so that the is not built before - the internal logger is configured. - - - - - Gets or sets the creator delegate used to instantiate configuration objects. - - - By overriding this property, one can enable dependency injection or interception for created objects. - - - - - Gets the factory. - - The target factory. - - - - Gets the factory. - - The filter factory. - - - - gets the factory - - not using due to backwards-compatibility. - - - - - Gets the factory. - - The layout renderer factory. - - - - Gets the factory. - - The layout factory. - - - - Gets the ambient property factory. - - The ambient property factory. - - - - Legacy interface, no longer used by the NLog engine - - - - - Gets or sets the JSON serializer to use with or - - - - - Gets or sets the string serializer to use with - - - - - Gets or sets the custom object-type transformation for use in , or - - - - - Gets or sets the parameter converter to use with , or - - - - - Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect) - - - - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering. - - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with ) - - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging) - - - - - Gets the time source factory. - - The time source factory. - - - - Gets the condition method factory. - - The condition method factory. - - - - Gets the condition method factory (precompiled) - - The condition method factory. - - - - Registers named items from the assembly. - - The assembly. - - - - Registers named items from the assembly. - - The assembly. - Item name prefix. - - - - Call Preload for NLogPackageLoader - - - Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) - This method will be called just before registering all items in the assembly. - - - - - - Call the Preload method for . The Preload method must be static. - - - - - - Clears the contents of all factories. - - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Builds the default configuration item factory. - - Default factory. - - - - Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. - - - - - Attribute used to mark the default parameters for layout renderers. - - - - - Initializes a new instance of the class. - - - - - Dynamic filtering with a positive list of enabled levels - - - - - Dynamic filtering with a minlevel and maxlevel range - - - - - Format of the exception output to the specific target. - - - - - Appends the Message of an Exception to the specified target. - - - - - Appends the type of an Exception to the specified target. - - - - - Appends the short type of an Exception to the specified target. - - - - - Appends the result of calling ToString() on an Exception to the specified target. - - - - - Appends the method name from Exception's stack trace to the specified target. - - - - - Appends the stack trace from an Exception to the specified target. - - - - - Appends the contents of an Exception's Data property to the specified target. - - - - - Destructure the exception (usually into JSON) - - - - - Appends the from the application or the object that caused the error. - - - - - Appends the from the application or the object that caused the error. - - - - - Appends any additional properties that specific type of Exception might have. - - - - - Factory for class-based items. - - The base type of each item. - The type of the attribute used to annotate items. - - - - Scans the assembly. - - The types to scan. - The prefix. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Registers the item based on a type name. - - Name of the item. - Name of the type. - - - - Clears the contents of the factory. - - - - - Registers a single type definition. - - The item name. - The type of the item. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Creates an item instance. - - The name of the item. - Created item. - - - - Factory specialized for s. - - - - - Clear all func layouts - - - - - Register a layout renderer with a callback function. - - Name of the layoutrenderer, without ${}. - the renderer that renders the value. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.). - - - - - Implemented by objects which support installation and uninstallation. - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Interface for accessing configuration details - - - - - Name of the config section - - - - - Configuration Key/Value Pairs - - - - - Child config sections - - - - - Interface for loading NLog - - - - - Finds and loads the NLog configuration - - LogFactory that owns the NLog configuration - Name of NLog.config file (optional) - NLog configuration (or null if none found) - - - - Notifies when LoggingConfiguration has been successfully applied - - LogFactory that owns the NLog configuration - NLog Config - - - - Get file paths (including filename) for the possible NLog config files. - - Name of NLog.config file (optional) - The file paths to the possible config file - - - - Level enabled flags for each LogLevel ordinal - - - - - Converts the filter into a simple - - - - - Represents a factory of named items (such as targets, layouts, layout renderers, etc.). - - Base type for each item instance. - Item definition type (typically or ). - - - - Registers new item definition. - - Name of the item. - Item definition. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Creates item instance. - - Name of the item. - Newly created item instance. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides context for install/uninstall operations. - - - - - Mapping between log levels and console output colors. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log output. - - - - Gets or sets the installation log level. - - - - - Gets or sets a value indicating whether to ignore failures during installation. - - - - - Whether installation exceptions should be rethrown. If IgnoreFailures is set to true, - this property has no effect (there are no exceptions to rethrow). - - - - - Gets the installation parameters. - - - - - Gets or sets the log output. - - - - - Logs the specified trace message. - - The message. - The arguments. - - - - Logs the specified debug message. - - The message. - The arguments. - - - - Logs the specified informational message. - - The message. - The arguments. - - - - Logs the specified warning message. - - The message. - The arguments. - - - - Logs the specified error message. - - The message. - The arguments. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Creates the log event which can be used to render layouts during installation/uninstallations. - - Log event info object. - - - - Convert object-value into specified type - - - - - Parses the input value and converts into the wanted type - - Input Value - Wanted Type - Format to use when parsing - Culture to use when parsing - Output value with wanted type - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for extension loading - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for enabling NLog - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - LoggingConfiguration being built - - - - - Interface for fluent setup of LogFactory options for logevent serialization - - - - - LogFactory under configuration - - - - - Encapsulates and the logic to match the actual logger name - All subclasses defines immutable objects. - Concrete subclasses defines various matching rules through - - - - - Creates a concrete based on . - - - Rules used to select the concrete implementation returned: - - if is null => returns (never matches) - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals) - if == '*' => returns (always matches) - if doesn't contain '?' - - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns - - - returns - - - - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - A concrete - - - - Returns the argument passed to - - - - - Checks whether given name matches the logger name pattern. - - String to be matched. - A value of when the name matches, otherwise. - - - - Defines a that never matches. - Used when pattern is null - - - - - Defines a that always matches. - Used when pattern is '*' - - - - - Defines a that matches with a case-sensitive Equals - Used when pattern is a string without wildcards '?' '*' - - - - - Defines a that matches with a case-sensitive StartsWith - Used when pattern is a string like "*foobar" - - - - - Defines a that matches with a case-sensitive EndsWith - Used when pattern is a string like "foobar*" - - - - - Defines a that matches with a case-sensitive Contains - Used when pattern is a string like "*foobar*" - - - - - Defines a that matches with a complex wildcards combinations: - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - used when pattern is a string containing any number of '?' or '*' in any position - i.e. "*Server[*].Connection[?]" - - - - - Keeps logging configuration and provides simple API to modify it. - - This class is thread-safe..ToList() is used for that purpose. - - - - Variables defined in xml or in API. name is case case insensitive. - - - - - Gets the factory that will be configured - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. - - - - Gets the variables defined in the configuration. - - - - - Gets a collection of named targets specified in the configuration. - - - A list of named targets. - - - Unnamed targets (such as those wrapped by other targets) are not returned. - - - - - Gets the collection of file names which should be watched for changes by NLog. - - - - - Gets the collection of logging rules. - - - - - Gets or sets the default culture info to use as . - - - Specific culture info or null to use - - - - - Gets all targets. - - - - - Compare objects based on their name. - - This property is use to cache the comparer object. - - - - Defines methods to support the comparison of objects for equality based on their name. - - - - - Registers the specified target object. The name of the target is read from . - - - The target object with a non - - when is - - - - Registers the specified target object under a given name. - - Name of the target. - The target object. - when is - when is - - - - Finds the target with the specified name. - - - The name of the target to be found. - - - Found target or when the target is not found. - - - - - Finds the target with the specified name and specified type. - - - The name of the target to be found. - - Type of the target - - Found target or when the target is not found of not of type - - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for all loglevels. - - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Finds the logging rule with the specified name. - - The name of the logging rule to be found. - Found logging rule or when not found. - - - - Removes the specified named logging rule. - - The name of the logging rule to be removed. - Found one or more logging rule to remove, or when not found. - - - - Called by LogManager when one of the log configuration files changes. - - - A new instance of that represents the updated configuration. - - - - - Removes the specified named target. - - Name of the target. - - - - Installs target-specific objects on current system. - - The installation context. - - Installation typically runs with administrative permissions. - - - - - Uninstalls target-specific objects from current system. - - The installation context. - - Uninstallation typically runs with administrative permissions. - - - - - Closes all targets and releases any unmanaged resources. - - - - - Log to the internal (NLog) logger the information about the and associated with this instance. - - - The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is - recorded. - - - - - Validates the configuration. - - - - - Copies all variables from provided dictionary into current configuration variables. - - Master variables dictionary - - - - Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage. - - - - - - - Checks whether unused targets exist. If found any, just write an internal log at Warn level. - If initializing not started or failed, then checking process will be canceled - - - - - - - - Arguments for events. - - - - - Initializes a new instance of the class. - - The new configuration. - The old configuration. - - - - Gets the old configuration. - - The old configuration. - - - - Gets the new configuration. - - The new configuration. - - - - Gets the new configuration - - The new configuration. - - - - Gets the old configuration - - The old configuration. - - - - Gets the optional boolean attribute value. - - - Name of the attribute. - Default value to return if the attribute is not found or if there is a parse error - Boolean attribute value or default. - - - - Remove the namespace (before :) - - - x:a, will be a - - - - - - - Enables loading of NLog configuration from a file - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Loads NLog configuration from - - - - - Constructor - - - - - - Loads NLog configuration from provided config section - - - - - - - Builds list with unique keys, using last value of duplicates. High priority keys placed first. - - - - - - - Parse loglevel, but don't throw if exception throwing is disabled - - Name of attribute for logging. - Value of parse. - Used if there is an exception - - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Parse {Rules} xml element - - - Rules are added to this parameter. - - - - Parse {Logger} xml element - - - - - - Parse boolean - - Name of the property for logging. - value to parse - Default value to return if the parse failed - Boolean attribute value or default. - - - - Arguments for . - - - - - Initializes a new instance of the class. - - Whether configuration reload has succeeded. - - - - Initializes a new instance of the class. - - Whether configuration reload has succeeded. - The exception during configuration reload. - - - - Gets a value indicating whether configuration reload has succeeded. - - A value of true if succeeded; otherwise, false. - - - - Gets the exception which occurred during configuration reload. - - The exception. - - - - Enables FileWatcher for the currently loaded NLog Configuration File, - and supports automatic reload on file modification. - - - - - Represents a logging rule. An equivalent of <logger /> configuration element. - - - - - Create an empty . - - - - - Create an empty . - - - - - Create a new with a and which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a new with a which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a (disabled) . You should call or to enable logging. - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Target to be written to when the rule matches. - - - - Rule identifier to allow rule lookup - - - - - Gets a collection of targets that should be written to when this rule matches. - - - - - Gets a collection of child rules to be evaluated when this rule matches. - - - - - Gets a collection of filters to be checked before writing to targets. - - - - - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - - Gets or sets logger name pattern. - - - Logger name pattern used by to check if a logger name matches this rule. - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - - - - Gets the collection of log levels enabled by this rule. - - - - - Default action if none of the filters match - - - - - Enables logging for a particular level. - - Level to be enabled. - - - - Enables logging for a particular levels between (included) and . - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Disables logging for a particular level. - - Level to be disabled. - - - - Disables logging for particular levels between (included) and . - - Minimum log level to be disables. - Maximum log level to de disabled. - - - - Enables logging the levels between (included) and . All the other levels will be disabled. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Returns a string representation of . Used for debugging. - - - A that represents the current . - - - - - Checks whether te particular log level is enabled for this rule. - - Level to be checked. - A value of when the log level is enabled, otherwise. - - - - Checks whether given name matches the . - - String to be matched. - A value of when the name matches, otherwise. - - - - Default filtering with static level config - - - - - Factory for locating methods. - - - - - Initializes a new instance of the class. - - Helper method to extract relevant methods from type - - - - Scans the assembly for classes marked with expected class - and methods marked with expected and adds them - to the factory. - - The types to scan. - The prefix to use for names. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Scans a type for relevant methods with their symbolic names - - Include types that are marked with this attribute - Include methods that are marked with this attribute - Class Type to scan - Collection of methods with their symbolic names - - - - Clears contents of the factory. - - - - - Registers the definition of a single method. - - The method name. - The method info. - - - - Registers the definition of a single method. - - The method name. - The method info. - The precompiled method delegate. - - - - Tries to retrieve method by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Tries to retrieve method-delegate by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Retrieves method by name. - - Method name. - MethodInfo object. - - - - Retrieves method by name. - - Method name. - Method delegate object. - - - - Tries to get method definition. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Marks the layout or layout renderer depends on mutable objects from the LogEvent - - This can be or - - - - - Attaches a simple name to an item (such as , - , , etc.). - - - - - Initializes a new instance of the class. - - The name of the item. - - - - Gets the name of the item. - - The name of the item. - - - - Indicates NLog should not scan this property during configuration. - - - - - Initializes a new instance of the class. - - - - - Marks the object as configuration item for NLog. - - - - - Initializes a new instance of the class. - - - - - Represents simple XML element with case-insensitive attribute semantics. - - - - - Initializes a new instance of the class. - - The reader to initialize element from. - - - - Prevents a default instance of the class from being created. - - - - - Gets the element name. - - - - - Gets the dictionary of attribute values. - - - - - Gets the collection of child elements. - - - - - Gets the value of the element. - - - - - Last error occured during configuration read - - - - - Returns children elements with the specified element name. - - Name of the element. - Children elements with the specified element name. - - - - Asserts that the name of the element is among specified element names. - - The allowed names. - - - - Returns all parsing errors from current and all child elements. - - - - - Special attribute we could ignore - - - - - Default implementation of - - - - - - - - Attribute used to mark the required parameters for targets, - layout targets and filters. - - - - - Provides simple programmatic configuration API used for trivial logging cases. - - Warning, these methods will overwrite the current config. - - - - - Configures NLog for console logging so that all messages above and including - the level are output to the console. - - - - - Configures NLog for console logging so that all messages above and including - the specified level are output to the console. - - The minimal logging level. - - - - Configures NLog for to log to the specified target so that all messages - above and including the level are output. - - The target to log all messages to. - - - - Configures NLog for to log to the specified target so that all messages - above and including the specified level are output. - - The target to log all messages to. - The minimal logging level. - - - - Configures NLog for file logging so that all messages above and including - the level are written to the specified file. - - Log file name. - - - - Configures NLog for file logging so that all messages above and including - the specified level are written to the specified file. - - Log file name. - The minimal logging level. - - - - Value indicating how stack trace should be captured when processing the log event. - - - - - Stack trace should not be captured. - - - - - Stack trace should be captured without source-level information. - - - - - Stack trace should be captured including source-level information such as line numbers. - - - - - Capture maximum amount of the stack trace information supported on the platform. - - - - - Marks the layout or layout renderer as thread independent - it producing correct results - regardless of the thread it's running on. - - Without this attribute everything is rendered on the main thread. - - - If this attribute is set on a layout, it could be rendered on the another thread. - This could be more efficient as it's skipped when not needed. - - If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - - See the AsyncTargetWrapper and BufferTargetWrapper with the , using - - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - - - - - Marks the layout or layout renderer as thread safe - it producing correct results - regardless of the number of threads it's running on. - - Without this attribute then the target concurrency will be reduced - - - - - A class for configuring NLog through an XML configuration file - (App.config style or App.nlog style). - - Parsing of the XML file is also implemented in this class. - - - - This class is thread-safe..ToList() is used for that purpose. - - Update TemplateXSD.xml for changes outside targets - - - - - Initializes a new instance of the class. - - Configuration file to be read. - - - - Initializes a new instance of the class. - - Configuration file to be read. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - XML reader to read from. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - The XML contents. - Name of the XML file. - The to which to apply any applicable configuration values. - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - NLog LogFactory - - - - Gets the default object by parsing - the application configuration file (app.exe.config). - - - - - Did the Succeeded? true= success, false= error, null = initialize not started yet. - - - - - Gets or sets a value indicating whether all of the configuration files - should be watched for changes and reloaded automatically when changed. - - - - - Gets the collection of file names which should be watched for changes by NLog. - This is the list of configuration files processed. - If the autoReload attribute is not set it returns empty collection. - - - - - Re-reads the original configuration file and returns the new object. - - The new object. - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Create XML reader for (xml config) file. - - filepath - reader or null if filename is empty. - - - - Initializes the configuration. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Checks whether any error during XML configuration parsing has occured. - If there are any and ThrowConfigExceptions or ThrowExceptions - setting is enabled - throws NLogConfigurationException, otherwise - just write an internal log at Warn level. - - Root NLog configuration xml element - - - - Add a file with configuration. Check if not already included. - - - - - - - Parse the root - - - path to config file. - The default value for the autoReload option. - - - - Parse {configuration} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parse {NLog} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Include (multiple) files by filemask, e.g. *.nlog - - base directory in case if is relative - relative or absolute fileMask - - - - - - - - Matches when the specified condition is met. - - - Conditions are expressed using a simple language - described here. - - - - - Gets or sets the condition expression. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - An abstract filter class. Provides a way to eliminate log messages - based on properties other than logger name and log level. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the action to be taken when filter matches. - - - - - - Gets the result of evaluating filter against given log event. - - The log event. - Filter result. - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Marks class as a layout renderer and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the filter. - - - - Filter result. - - - - - The filter doesn't want to decide whether to log or discard the message. - - - - - The message should be logged. - - - - - The message should not be logged. - - - - - The message should be logged and processing should be finished. - - - - - The message should not be logged and processing should be finished. - - - - - A base class for filters that are based on comparing a value to a layout. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the layout to be used to filter log messages. - - The layout. - - - - - Matches when the calculated layout contains the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets the substring to be matched. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets a string to compare the layout to. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches the provided filter-method - - - - - Initializes a new instance of the class. - - - - - - - - Matches when the calculated layout does NOT contain the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets the substring to be matched. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is NOT equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a string to compare the layout to. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the result of the calculated layout has been repeated a moment ago - - - - - How long before a filter expires, and logging is accepted again - - - - - - Max length of filter values, will truncate if above limit - - - - - - Applies the configured action to the initial logevent that starts the timeout period. - Used to configure that it should ignore all events until timeout. - - - - - - Max number of unique filter values to expect simultaneously - - - - - - Default number of unique filter values to expect, will automatically increase if needed - - - - - - Insert FilterCount value into when an event is no longer filtered - - - - - - Append FilterCount to the when an event is no longer filtered - - - - - - Reuse internal buffers, and doesn't have to constantly allocate new buffers - - - - - - Default buffer size for the internal buffers - - - - - - Can be used if has been enabled. - - - - - Initializes a new instance of the class. - - - - - Checks whether log event should be logged or not. In case the LogEvent has just been repeated. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Uses object pooling, and prunes stale filter items when the pool runs dry - - - - - Remove stale filter-value from the cache, and fill them into the pool for reuse - - - - - Renders the Log Event into a filter value, that is used for checking if just repeated - - - - - Repeated LogEvent detected. Checks if it should activate filter-action - - - - - Filter Value State (mutable) - - - - - Filter Lookup Key (immutable) - - - - - A global logging class using caller info to find the logger. - - - - - Starts building a log event with the specified . - - The log level. - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Trace level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Debug level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Info level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Warn level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Error level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Fatal level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - A fluent class to build log events for NLog. - - - - - Initializes a new instance of the class. - - The to send the log event. - - - - Initializes a new instance of the class. - - The to send the log event. - The for the log event. - - - - Gets the created by the builder. - - - - - Sets the information of the logging event. - - The exception information of the logging event. - current for chaining calls. - - - - Sets the level of the logging event. - - The level of the logging event. - current for chaining calls. - - - - Sets the logger name of the logging event. - - The logger name of the logging event. - current for chaining calls. - - - - Sets the log message on the logging event. - - The log message for the logging event. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - The fourth object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - An object that supplies culture-specific formatting information. - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets a per-event context property on the logging event. - - The name of the context property. - The value of the context property. - current for chaining calls. - - - - Sets multiple per-event context properties on the logging event. - - The properties to set. - current for chaining calls. - - - - Sets the timestamp of the logging event. - - The timestamp of the logging event. - current for chaining calls. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - current for chaining calls. - - - - Writes the log event to the underlying logger. - - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - - - - Writes the log event to the underlying logger if the condition delegate is true. - - If condition is true, write log event; otherwise ignore event. - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - - - - Writes the log event to the underlying logger if the condition is true. - - If condition is true, write log event; otherwise ignore event. - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - - - - Extension methods for NLog . - - - - - Starts building a log event with the specified . - - The logger to write the log event to. - The log level. - current for chaining calls. - - - - Starts building a log event at the Trace level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Debug level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Info level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Warn level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Error level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Fatal level. - - The logger to write the log event to. - current for chaining calls. - - - - Global Diagnostics Context - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Global Diagnostics Context - a dictionary structure to hold per-application-instance values. - - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The item value, if defined; otherwise null. - - - - Returns all item names - - A collection of the names of all items in the Global Diagnostics Context. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Include context properties - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Interface for serialization of object values into JSON format - - - - - Serialization of an object into JSON format. - - The object to serialize to JSON. - Output destination. - Serialize succeeded (true/false) - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format.s - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Logger with only generic methods (passing 'LogLevel' to methods) and core properties. - - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Extensions for NLog . - - - - - Writes the diagnostic message and exception at the specified level. - - A logger implementation that will handle the message. - The log level. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Allocates new builder and appends to the provided target builder on dispose - - - - - Access the new builder allocated - - - - - Helpers for . - - - - - Load from url - - file or path, including .dll - basepath, optional - - - - - Load from url - - name without .dll - - - - - Forward declare of system delegate type for use by other classes - - - - - Keeps track of pending operation count, and can notify when pending operation count reaches zero - - - - - Mark operation has started - - - - - Mark operation has completed - - Exception coming from the completed operation [optional] - - - - Registers an AsyncContinuation to be called when all pending operations have completed - - Invoked on completion - AsyncContinuation operation - - - - Clear o - - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Legacy attempt to skip async MoveNext, but caused source file line number to be lost - - - - - Gets the entire stack trace. - - - - - Finds first user stack frame in a stack trace - - The stack trace of the logging method invocation - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - Index of the first user stack frame or 0 if all stack frames are non-user - - - - This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame - - The stack trace of the logging method invocation - Starting point for skipping async MoveNext-frames - - - - Assembly to skip? - - Find assembly via this frame. - true, we should skip. - - - - Is this the type of the logger? - - get type of this logger in this frame. - Type of the logger. - - - - - Memory optimized filtering - - Passing state too avoid delegate capture and memory-allocations. - - - - Internal configuration manager used to read .NET configuration files. - Just a wrapper around the BCL ConfigurationManager, but used to enable - unit testing. - - - - - Gets the wrapper around ConfigurationManager.AppSettings. - - - - - Provides untyped IDictionary interface on top of generic IDictionary. - - The type of the key. - The type of the value. - - - - Initializes a new instance of the DictionaryAdapter class. - - The implementation. - - - - Gets an object containing the values in the object. - - - - An object containing the values in the object. - - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - - Gets an object that can be used to synchronize access to the . - - - - An object that can be used to synchronize access to the . - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - - Gets an object containing the keys of the object. - - - - An object containing the keys of the object. - - - - - Gets or sets the with the specified key. - - Dictionary key. - Value corresponding to key or null if not found - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - - - Removes all elements from the object. - - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - True if the contains an element with the key; otherwise, false. - - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Wrapper IDictionaryEnumerator. - - - - - Initializes a new instance of the class. - - The wrapped. - - - - Gets both the key and the value of the current dictionary entry. - - - - A containing both the key and the value of the current dictionary entry. - - - - - Gets the key of the current dictionary entry. - - - - The key of the current element of the enumeration. - - - - - Gets the value of the current dictionary entry. - - - - The value of the current element of the enumeration. - - - - - Gets the current element in the collection. - - - - The current element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - - - Ensures that IDictionary.GetEnumerator returns DictionaryEntry values - - - - - UTF-8 BOM 239, 187, 191 - - - - - Safe way to get environment variables. - - - - - Helper class for dealing with exceptions. - - - - - Mark this exception as logged to the . - - - - - - - Is this exception logged to the ? - - - trueif the has been logged to the . - - - - Determines whether the exception must be rethrown and logs the error to the if is false. - - Advised to log first the error to the before calling this method. - - The exception to check. - Target context of the exception. - trueif the must be rethrown, false otherwise. - - - - Determines whether the exception must be rethrown immediately, without logging the error to the . - - Only used this method in special cases. - - The exception to check. - trueif the must be rethrown, false otherwise. - - - - Object construction helper. - - - - - Adapter for to - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Creates an AppDomainWrapper for the current - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Abstract calls for the application environment - - - - - Gets current process name (excluding filename extension, if any). - - - - - Abstract calls to FileSystem - - - - Determines whether the specified file exists. - The file to check. - - - Returns the content of the specified file - The file to load. - - - - Base class for optimized file appenders. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the path of the file, including file extension. - - The name of the file. - - - - Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated - Universal Time [UTC] standard. - - The creation time of the file. - - - - Gets or sets the creation time for a file associated with the appender. Synchronized by - The time format is based on - - - - - Gets the last time the file associated with the appender is opened. The time returned is in Coordinated - Universal Time [UTC] standard. - - The time the file was last opened. - - - - Gets the file creation parameters. - - The file creation parameters. - - - - Writes the specified bytes. - - The bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates the file stream. - - If set to true sets the file stream to allow shared writing. - If larger than 0 then it will be used instead of the default BufferSize for the FileStream. - A object which can be used to write to the file. - - - - Base class for optimized file appenders which require the usage of a mutex. - - It is possible to use this class as replacement of BaseFileAppender and the mutex functionality - is not enforced to the implementing subclasses. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates a mutex that is sharable by more than one process. - - The prefix to use for the name of the mutex. - A object which is sharable by multiple processes. - - - - Implementation of which caches - file information. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Closes this instance of the appender. - - - - - Flushes this current appender. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Writes the specified bytes to a file. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Factory class which creates objects. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Maintains a collection of file appenders usually associated with file targets. - - - - - An "empty" instance of the class with zero size and empty list of appenders. - - - - - Initializes a new "empty" instance of the class with zero size and empty - list of appenders. - - - - - Initializes a new instance of the class. - - - The size of the list should be positive. No validations are performed during initialization as it is an - internal class. - - Total number of appenders allowed in list. - Factory used to create each appender. - Parameters used for creating a file. - - - - The archive file path pattern that is used to detect when archiving occurs. - - - - - Invalidates appenders for all files that were archived. - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface that provides parameters for create file function. - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - Gets or sets the log file buffer size in bytes. - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Gets or sets the file attributes (Windows only). - - - - - Should archive mutex be created? - - - - - Should manual simple detection of file deletion be enabled? - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - The archive file path pattern that is used to detect when archiving occurs. - - - - - Invalidates appenders for all files that were archived. - - - - - Interface implemented by all factories capable of creating file appenders. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - Instance of which can be used to write to the file. - - - - Provides a multi process-safe atomic file appends while - keeping the files open. - - - On Unix you can get all the appends to be atomic, even when multiple - processes are trying to write to the same file, because setting the file - pointer to the end of the file and appending can be made one operation. - On Win32 we need to maintain some synchronization between processes - (global named mutex is used for this) - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Closes this instance. - - - - - Flushes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Appender used to discard data for the FileTarget. - Used mostly for testing entire stack except the actual writing to disk. - Throws away all data. - - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Multi-process and multi-host file appender which attempts - to get exclusive write access and retries if it's not available. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Optimized single-process file appender which keeps the file open for exclusive write. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Provides a multi process-safe atomic file append while - keeping the files open. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Creates or opens a file in a special mode, so that writes are automatically - as atomic writes at the file end. - See also "UnixMultiProcessFileAppender" which does a similar job on *nix platforms. - - File to create or open - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Closes this instance. - - - - - Flushes this instance. - - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - A layout that represents a filePath. - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid file names char array to avoid memory allocation every time Path.GetInvalidFileNameChars() is called. - - - - - not null when == false - - - - - non null is fixed, - - - - - is the cache-key, and when newly rendered filename matches the cache-key, - then it reuses the cleaned cache-value . - - - - - is the cache-value that is reused, when the newly rendered filename - matches the cache-key - - - - Initializes a new instance of the class. - - - - Render the raw filename from Layout - - The log event. - StringBuilder to minimize allocations [optional]. - String representation of a layout. - - - - Convert the raw filename to a correct filename - - The filename generated by Layout. - String representation of a correct filename. - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Convert object to string - - value - format for conversion. - - - If is null and isn't a already, then the will get a locked by - - - - - Interface for the wrapper around System.Configuration.ConfigurationManager. - - - - - Gets the wrapper around ConfigurationManager.AppSettings. - - - - - Format a log message - - - - - Format the message and return - - LogEvent with message to be formatted - formatted message - - - - Has the logevent properties? - - LogEvent with message to be formatted - False when logevent has no properties to be extracted - - - - Appends the logevent message to the provided StringBuilder - - LogEvent with message to be formatted - The to append the formatted message. - - - - Get the Raw, unformatted and unstrinyfied, value - - - - - Get the raw value - - - The value - RawValue supported? - - - - Interface implemented by layouts and layout renderers. - - - - - Renders the the value of layout or layout renderer in the context of the specified log event. - - The log event. - String representation of a layout. - - - - Supports mocking of SMTP Client code. - - - - - Specifies how outgoing email messages will be handled. - - - - - Gets or sets the name or IP address of the host used for SMTP transactions. - - - - - Gets or sets the port used for SMTP transactions. - - - - - Gets or sets a value that specifies the amount of time after which a synchronous Send call times out. - - - - - Gets or sets the credentials used to authenticate the sender. - - - - - Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted. - - - System.Net.Mail.MailMessage - MailMessage - A MailMessage that contains the message to send. - - - - Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. - - - - - Supports rendering as string value with limited or no allocations (preferred) - - - - - Renders the value of layout renderer in the context of the specified log event - - - null if not possible or unknown - - - - Supports object initialization and termination. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Allows components to request stack trace information to be provided in the . - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Render the event info as parse as short - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as int - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as bool - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Logger configuration. - - - - - Initializes a new instance of the class. - - The targets by level. - Use the old exception log handling of NLog 3.0? - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. - - - - Gets targets for the specified level. - - The level. - Chain of targets with attached filters. - - - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - New formatter - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - The MessageFormatter delegate - - - - - - - - Most-Recently-Used-Cache, that discards less frequently used items on overflow - - - - - Constructor - - Maximum number of items the cache will hold before discarding. - - - - Attempt to insert item into cache. - - Key of the item to be inserted in the cache. - Value of the item to be inserted in the cache. - true when the key does not already exist in the cache, false otherwise. - - - - Lookup existing item in cache. - - Key of the item to be searched in the cache. - Output value of the item found in the cache. - True when the key is found in the cache, false otherwise. - - - - Watches multiple files at the same time and raises an event whenever - a single change is detected in any of those files. - - - - - The types of changes to watch for. - - - - - Occurs when a change is detected in one of the monitored files. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Stops watching all files. - - - - - Stops watching the specified file. - - - - - - Watches the specified files for changes. - - The file names. - - - - Supports mocking of SMTP Client code. - - - Disabled Error CS0618 'SmtpClient' is obsolete: 'SmtpClient and its network of types are poorly designed, - we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead' - - - - - Network sender which uses HTTP or HTTPS POST. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Creates instances of objects for given URLs. - - - - - Creates a new instance of the network sender based on a network URL. - - URL that determines the network sender to be created. - The maximum queue size. - SSL protocols for TCP - KeepAliveTime for TCP - - A newly created network sender. - - - - - Interface for mocking socket calls. - - - - - A base class for all network senders. Supports one-way sending of messages - over various protocols. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Gets the address of the network endpoint. - - - - - Gets the last send time. - - - - - Initializes this network sender. - - - - - Closes the sender and releases any unmanaged resources. - - The continuation. - - - - Flushes any pending messages and invokes a continuation. - - The continuation. - - - - Send the given text over the specified protocol. - - Bytes to be sent. - Offset in buffer. - Number of bytes to send. - The asynchronous continuation. - - - - Closes the sender and releases any unmanaged resources. - - - - - Performs sender-specific initialization. - - - - - Performs sender-specific close operation. - - The continuation. - - - - Performs sender-specific flush. - - The continuation. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Parses the URI into an endpoint address. - - The URI to parse. - The address family. - Parsed endpoint. - - - - Default implementation of . - - - - - - - - A base class for network senders that can block or send out-of-order - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Performs sender-specific flush. - - The continuation. - - - - Socket proxy for mocking Socket code. - - - - - Initializes a new instance of the class. - - The address family. - Type of the socket. - Type of the protocol. - - - - Gets underlying socket instance. - - - - - Closes the wrapped socket. - - - - - Invokes ConnectAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendToAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Sends messages over a TCP network connection. - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - The address family. - - - - Creates the socket with given parameters. - - The host address. - The address family. - Type of the socket. - Type of the protocol. - Instance of which represents the socket. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Facilitates mocking of class. - - - - - Raises the Completed event. - - - - - Sends messages over the network as UDP datagrams. - - - - - Initializes a new instance of the class. - - URL. Must start with udp://. - The address family. - - - - Creates the socket. - - The address family. - Type of the socket. - Type of the protocol. - Implementation of to use. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Sends the specified text as a UDP datagram. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Scans (breadth-first) the object graph following all the edges whose are - instances have attached and returns - all objects implementing a specified interfaces. - - - - - Finds the objects which have attached which are reachable - from any of the given root objects when traversing the object graph over public properties. - - Type of the objects to return. - Also search the properties of the wanted objects. - The root objects. - Ordered list of objects implementing T. - - - ISet is not there in .net35, so using HashSet - - - - Helper for extracting propertyPath - - - - - Object Path to check - - - - - Try get value from , using , and set into - - - - - - - - Converts object into a List of property-names and -values using reflection - - - - - Scans properties for name (Skips string-compare and value-lookup until finding match) - - - - - Scans properties for name (Skips property value lookup until finding match) - - - - - Scans properties for name - - - - - Binder for retrieving value of - - - - - - - - Combine paths - - basepath, not null - optional dir - optional file - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Trims directory separators from the path - - path, could be null - never null - - - - Detects the platform the NLog is running on. - - - - - Gets the current runtime OS. - - - - - Gets a value indicating whether current OS is Win32-based (desktop or mobile). - - - - - Gets a value indicating whether current OS is Unix-based. - - - - - Gets a value indicating whether current runtime is Mono-based - - - - - Gets a value indicating whether current runtime supports use of mutex - - - - - Will creating a mutex succeed runtime? - "Cached" detection - - - - - Will creating a mutex succeed runtime? - - - - - Dictionary that combines the standard with the - MessageTemplate-properties extracted from the . - - The are returned as the first items - in the collection, and in positional order. - - - - - Value of the property - - - - - Is this a property of the message? - - - - - - - Value of the property - Is this a property of the message? - - - - The properties of the logEvent - - - - - The properties extracted from the message - - - - - Wraps the list of message-template-parameters into the IDictionary-interface - - Message-template-parameters - - - - Transforms the list of event-properties into IDictionary-interface - - Message-template-parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Check if the message-template-parameters can be used directly without allocating a dictionary - - Message-template-parameters - Are all parameter names unique (true / false) - - - - Attempt to insert the message-template-parameters into an empty dictionary - - Message-template-parameters - The initially empty dictionary - Message-template-parameters was inserted into dictionary without trouble (true/false) - - - - Attempt to override the existing dictionary values using the message-template-parameters - - Message-template-parameters - The already filled dictionary - List of unique message-template-parameters - - - - - - - - - - - - - - - - - - - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - - - - - - - - - - - - - - - - - Reflection helpers for accessing properties. - - - - - Set value parsed from string. - - object instance to set with property - name of the property on - The value to be parsed. - - - - - Get property info - - object which could have property - property name on - result when success. - success. - - - - Try parse of string to (Generic) list, comma separated. - - - If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape - - - - - Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase) - - - - - Try get the property - - - - - Reflection helpers. - - - - - Gets all usable exported types from the given assembly. - - Assembly to scan. - Usable types from the given assembly. - Types which cannot be loaded are skipped. - - - - Is this a static class? - - - - This is a work around, as Type doesn't have this property. - From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static - - - - - Optimized delegate for calling MethodInfo - - Object instance, use null for static methods. - Complete list of parameters that matches the method, including optional/default parameters. - - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) - - - - - Controls a single allocated char[]-buffer for reuse (only one active user) - - - - - Controls a single allocated StringBuilder for reuse (only one active user) - - - - - Controls a single allocated object for reuse (only one active user) - - - - Empty handle when is disabled - - - - Creates handle to the reusable char[]-buffer for active usage - - Handle to the reusable item, that can release it again - - - - Access the acquired reusable object - - - - - Controls a single allocated MemoryStream for reuse (only one active user) - - - - - Supported operating systems. - - - If you add anything here, make sure to add the appropriate detection - code to - - - - - Unknown operating system. - - - - - Unix/Linux operating systems. - - - - - Desktop versions of Windows (95,98,ME). - - - - - Windows NT, 2000, 2003 and future versions based on NT technology. - - - - - Macintosh Mac OSX - - - - - Simple character tokenizer. - - - - - Initializes a new instance of the class. - - The text to be tokenized. - - - - Current position in - - - - - Full text to be parsed - - - - - Check current char while not changing the position. - - - - - - Read the current char and change position - - - - - - Get the substring of the - - - - - - - - Implements a single-call guard around given continuation function. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - - - - Continuation function which implements the single-call guard. - - The exception. - - - - HashSet optimized for single item - - - - - - Insert single item on scope start, and remove on scope exit - - Item to insert in scope - Existing hashset to update - Force allocation of real hashset-container - HashSet EqualityComparer - - - - Add item to collection, if it not already exists - - Item to insert - - - - Clear hashset - - - - - Check if hashset contains item - - - Item exists in hashset (true/false) - - - - Remove item from hashset - - - Item removed from hashset (true/false) - - - - Copy items in hashset to array - - Destination array - Array offset - - - - Create hashset enumerator - - Enumerator - - - - Provides helpers to sort log events and associated continuations. - - - - - Key selector delegate. - - The type of the value. - The type of the key. - Value to extract key information from. - Key selected from log event. - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - The key comparer function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. - - - - - - - - - - - - - - - - Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. - Consider to use instead for better safety. - - Key value for lookup - Mapped value found - - - - Non-Allocating struct-enumerator - - - - - - - - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - - - - Will always throw, as dictionary is readonly - - - - Utilities for dealing with values. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - StackFrame from the calling method - Fully qualified class name - - - - Returns the assembly from the provided StackFrame (If not internal assembly) - - Valid assembly, or null if assembly was internal - - - - Returns the classname from the provided StackFrame (If not from internal assembly) - - - Valid class name, or empty string if assembly was internal - - - - Stream helpers - - - - - Copy to output stream and skip BOM if encoding is UTF8 - - - - - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - .net35 doesn't have a .copyto - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - first bytes to skip (optional) - - - - Helpers for , which is used in e.g. layout renderers. - - - - - Renders the specified log event context item and appends it to the specified . - - append to this - value to be appended - format string. If @, then serialize the value with the Default JsonConverter. - provider, for example culture - - - - Appends int without using culture, and most importantly without garbage - - - value to append - - - - Appends uint without using culture, and most importantly without garbage - - Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ - - - value to append - - - - Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 6801 date (Round-Trip-Time) - - - - - Clears the provider StringBuilder - - - - - - Copies the contents of the StringBuilder to the MemoryStream using the specified encoding (Without BOM/Preamble) - - StringBuilder source - MemoryStream destination - Encoding used for converter string into byte-stream - Helper char-buffer to minimize memory allocations - - - - Copies the contents of the StringBuilder to the destination StringBuilder - - StringBuilder source - StringBuilder destination - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle character to search for - - Index of the first occurrence (Else -1) - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle characters to search for - - Index of the first occurrence (Else -1) - - - - Compares the contents of two StringBuilders - - - Correct implementation of that also works when is not the same - - True when content is the same - - - - Compares the contents of a StringBuilder and a String - - True when content is the same - - - - Append a number and pad with 0 to 2 digits - - append to this - the number - - - - Append a number and pad with 0 to 4 digits - - append to this - the number - - - - Append a int type (byte, int) as string - - - - - Constructor - - Max number of items - Initial StringBuilder Size - Max StringBuilder Size - - - - Takes StringBuilder from pool - - Allow return to pool - - - - Releases StringBuilder back to pool at its right place - - - - - Keeps track of acquired pool item - - - - - Releases pool item back into pool - - - - - Helpers for . - - - - - IsNullOrWhiteSpace, including for .NET 3.5 - - - - - - - Split a string - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Represents target with a chain of filters which determine - whether logging should happen. - - - - - cached result as calculating is expensive. - - - - - Initializes a new instance of the class. - - The target. - The filter chain. - Default action if none of the filters match. - - - - Gets the target. - - The target. - - - - Gets the filter chain. - - The filter chain. - - - - Default action if none of the filters match. - - - - - Gets or sets the next item in the chain. - - The next item in the chain. - This is for example the 'target2' logger in writeTo='target1,target2' - - - - Gets the stack trace usage. - - A value that determines stack trace handling. - - - - Helper for dealing with thread-local storage. - - - - - Allocates the data slot for storing thread-local information. - - Allocated slot key. - - - - Gets the data for a slot in thread-local storage. - - Type of the data. - The slot to get data for. - Automatically create the object if it doesn't exist. - - Slot data (will create T if null). - - - - - Wraps with a timeout. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - The timeout. - - - - Continuation function which implements the timeout logic. - - The exception. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Transformation on a layout. Pre-calculated if the layout has a fixed value. - - - - - Create TransformedLayout. - - Layout - Transformation method - Optional renderer, otherwise is used - - - - - - - Create TransformedLayout. If is null, then the returns null - - Layout - Transformation method - Optional renderer, otherwise is used - null if is null - - - - - - - - - - URL Encoding helper. - - - - Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - - - Use RFC2396 standard (instead of RFC3986) - - - Should use lowercase when doing HEX escaping of special characters - - - Replace space ' ' with '+' instead of '%20' - - - Skip UTF8 encoding, and prefix special characters with '%u' - - - - Escape unicode string data for use in http-requests - - unicode string-data to be encoded - target for the encoded result - s for how to perform the encoding - - - - Convert the wide-char into utf8-bytes, and then escape - - - - - - - - - Is allowed? - - - - - - - - Is a-z / A-Z / 0-9 - - - - - - - Prevents the Xamarin linker from linking the target. - - - By applying this attribute all of the members of the target will be kept as if they had been referenced by the code. - - - - - Ensures that all members of this type are preserved - - - - - Flags the method as a method to preserve during linking if the container class is pulled in. - - - - - Helper class for XML - - - - - removes any unusual unicode characters that can't be encoded into XML - - - - - Cleans string of any invalid XML chars found - - unclean string - string with only valid XML chars - - - - Pretest, small text and not escape needed - - - - - - - - Converts object value to invariant format, and strips any invalid xml-characters - - Object value - Object value converted to string - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object value converted to string - - - - XML elements must follow these naming rules: - - Element names are case-sensitive - - Element names must start with a letter or underscore - - Element names can contain letters, digits, hyphens, underscores, and periods - - Element names cannot contain spaces - - - - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object TypeCode - Check and remove unusual unicode characters from the result string. - Object value converted to string - - - - Safe version of WriteAttributeString - - - - - - - - - - Safe version of WriteAttributeString - - - - - - - - Safe version of WriteElementSafeString - - - - - - - - - - Safe version of WriteCData - - - - - - - Interface for handling object transformation - - - - - Takes a dangerous (or massive) object and converts into a safe (or reduced) object - - - Null if unknown object, or object cannot be handled - - - - - Provides an interface to execute System.Actions without surfacing any exceptions raised for that action. - - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. - - The task for which to log an error if it does not run to completion. - A task that completes in the state when completes. - - - - Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Async action to execute. - A task that completes in the state when completes. - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Async function to run. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Async function to run. - Fallback value to return if the task does not end in the state. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. - - - - Render a message template property to a string - - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Log event context data. - - - - - Initializes a new instance of the class. - - - - - Gets or sets string that will be used to separate key/value pairs. - - - - - - Get or set if empty values should be included. - - A value is empty when null or in case of a string, null or empty string. - - - - - - Gets or sets the keys to exclude from the output. If omitted, none are excluded. - - - - - - Also render the caller information attributes? (, - , ). - - See https://msdn.microsoft.com/en-us/library/hh534540.aspx - - - - - - Gets or sets how key/value pairs will be formatted. - - - - - - Renders all log event's properties and appends them to the specified . - - The to append the rendered data to. - Logging event. - - - - The names of caller information attributes. - , , ). - https://msdn.microsoft.com/en-us/library/hh534540.aspx - TODO NLog ver. 5 - Remove these properties - - - - - Designates a property of the class as an ambient property. - - - non-ambient: ${uppercase:${level}} - ambient : ${level:uppercase} - - - - - Initializes a new instance of the class. - - Ambient property name. - - - - Used to render the application domain name. - - - - - Create a new renderer - - - - - Create a new renderer - - - - - Format string. Possible values: "Short", "Long" or custom like {0} {1}. Default "Long" - The first parameter is the , the second the second the - This string is used in - - - - - - - - - - - - - - - Application setting. - - - Use this layout renderer to insert the value of an application setting - stored in the application's App.config or Web.config file. - - - ${appsetting:item=mysetting:default=mydefault} - produces "mydefault" if no appsetting - - - - - The AppSetting item-name - - - - - - The AppSetting item-name - - - - - The default value to render if the AppSetting value is null. - - - - - - - - - Renders the specified application setting or default value and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Renders the assembly version information for the entry assembly or a named assembly. - - - As this layout renderer uses reflection and version information is unlikely to change during application execution, - it is recommended to use it in conjunction with the . - - - The entry assembly can't be found in some cases e.g. ASP.NET, unit tests, etc. - - - - - Initializes a new instance of the class. - - - - - The (full) name of the assembly. If null, using the entry assembly. - - - - - - Gets or sets the type of assembly version to retrieve. - - - Some version type and platform combinations are not fully supported. - - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified. - - Silverlight: Value for is always returned. - - - - - - Gets or sets the custom format of the assembly version output. - - - Supported placeholders are 'major', 'minor', 'build' and 'revision'. - The default .NET template for version numbers is 'major.minor.build.revision'. See - https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks - for details. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders an assembly version and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Gets the assembly specified by , or entry assembly otherwise - - Found assembly - - - - Type of assembly version to retrieve. - - - - - Gets the assembly version. - - - - - Gets the file version. - - - - - Gets additional version information. - - - - - The current application domain's base directory. - - - - - cached - - - - - Use base dir of current process. Alternative one can just use ${processdir} - - - - - - Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the base directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. - - - - - - Renders the application base directory and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source file name. Full callsite - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - The call site (class name, method name and source information). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to render the class name. - - - - - - Gets or sets a value indicating whether to render the include the namespace with . - - - - - - Gets or sets a value indicating whether to render the method name. - - - - - - Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate. - - - - - - Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation - (everything after an await-statement inside of an async method). - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets a value indicating whether to render the source file name and line number. - - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source line number. Full callsite - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - A counter value (increases on each layout rendering). - - - - - Gets or sets the initial value of the counter. - - - - - - Gets or sets the value to be added to the counter after each layout rendering. - - - - - - Gets or sets the name of the sequence. Different named sequences can have individual values. - - - - - - - - - The current working directory of the application. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the current directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the current directory. - - - - - - - - - - - - Current date and time. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format). - - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - - - - - - - - - - DB null for a database - - - - - - - - - - - The OS dependent directory separator - - - - - - - - - - - The environment variable. - - - - - Gets or sets the name of the environment variable. - - - - - - Gets or sets the default value to be used when the environment variable is not set. - - - - - - - - - - - - Thread identity information (username). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether username should be included. - - - - - - Gets or sets a value indicating whether domain name should be included. - - - - - - Gets or sets the default value to be used when the User is not set. - - - - - - Gets or sets the default value to be used when the Domain is not set. - - - - - - - - - - - - Log event context data. - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the name of the item. - - - - - - Renders the specified log event context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. See . - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - - - - - - - - - - Exception information provided through - a call to one of the Logger.*Exception() methods. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the format of the output. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - - - Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - Gets or sets the separator used to concatenate parts specified in the Format. - - - - - - Gets or sets the separator used to concatenate exception data specified in the Format. - - - - - - Gets or sets the maximum number of inner exceptions to include in the output. - By default inner exceptions are not enabled for compatibility with NLog 1.0. - - - - - - Gets or sets the separator between inner exceptions. - - - - - - Gets or sets whether to render innermost Exception from - - - - - Gets or sets whether to collapse exception tree using - - - - - Gets the formats of the output of inner exceptions to be rendered in target. - - - - - - - Gets the formats of the output to be rendered in target. - - - - - - - - - - - - - Appends the Message of an Exception to the specified . - - The to append the rendered data to. - The exception containing the Message to append. - - - - Appends the method name from Exception's stack trace to the specified . - - The to append the rendered data to. - The Exception whose method name should be appended. - - - - Appends the stack trace from an Exception to the specified . - - The to append the rendered data to. - The Exception whose stack trace should be appended. - - - - Appends the result of calling ToString() on an Exception to the specified . - - The to append the rendered data to. - The Exception whose call to ToString() should be appended. - - - - Appends the type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose type should be appended. - - - - Appends the short type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose short type should be appended. - - - - Appends the application source of an Exception to the specified . - - The to append the rendered data to. - The Exception whose source should be appended. - - - - Appends the HResult of an Exception to the specified . - - The to append the rendered data to. - The Exception whose HResult should be appended. - - - - Appends the contents of an Exception's Data property to the specified . - - The to append the rendered data to. - The Exception whose Data property elements should be appended. - - - - Appends all the serialized properties of an Exception into the specified . - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Appends all the additional properties of an Exception like Data key-value-pairs - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Split the string and then compile into list of Rendering formats. - - - - - Renders contents of the specified file. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file. - - - - - - Gets or sets the encoding used in the file. - - The encoding. - - - - - Renders the contents of the specified file and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - Name used in config without ${}. E.g. "test" could be used as "${test}". - - - - - Method that renders the layout. - - This public property will be removed in NLog 5. - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render the value for this log event - - The event info. - The value. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - The information about the garbage collector. - - - - - Gets or sets the property to retrieve. - - - - - - - - - Gets or sets the property of System.GC to retrieve. - - - - - Total memory allocated. - - - - - Total memory allocated (perform full garbage collection first). - - - - - Gets the number of Gen0 collections. - - - - - Gets the number of Gen1 collections. - - - - - Gets the number of Gen2 collections. - - - - - Maximum generation number supported by GC. - - - - - Render a Global Diagnostics Context item. See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - - - - Globally-unique identifier (GUID). - - - - - Gets or sets the GUID format as accepted by Guid.ToString() method. - - - - - - Generate the Guid from the NLog LogEvent (Will be the same for all targets) - - - - - - - - - - - - - - - The host name that the process is running on. - - - - - - - - Gets the host name and falls back to computer name if not available - - - - - Tries the lookup value. - - The lookup function. - Type of the lookup. - - - - - - - - Thread identity information (name and authentication information). - - - - - Gets or sets the separator to be used when concatenating - parts of identity information. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated. - - - - - - - - - Retrieve network interfaces - - - - - Retrieve network interfaces - - - - - Installation parameter (passed to InstallNLogConfig). - - - - - Gets or sets the name of the parameter. - - - - - - Renders the specified installation parameter and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render environmental information related to logging events. - - - - - Gets the logging configuration this target is part of. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Renders the the value of layout renderer in the context of the specified log event. - - The log event. - String representation of a layout renderer. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Renders the value of layout renderer in the context of the specified log event. - - The log event. - The layout render output is appended to builder - - - - Renders the value of layout renderer in the context of the specified log event into . - - The to append the rendered data to. - Logging event. - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Get the for rendering the messages to a - - LogEvent with culture - Culture in on Layout level - - - - - Get the for rendering the messages to a , needed for date and number formats - - LogEvent with culture - Culture in on Layout level - - - is preferred - - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Renderer with callback func - - - - Marks class as a layout renderer and assigns a name to it. - - This attribute is not required when registering the layout in the API. - - - - Initializes a new instance of the class. - - Name of the layout renderer, without the `${ }` - - - - Format of the ${level} layout renderer output. - - - - - Render the LogLevel standard name. - - - - - Render the first character of the level. - - - - - Render the ordinal (aka number) for the level. - - - - - Render the LogLevel full name, expanding Warn / Info abbreviations - - - - - The log level. - - - - - Gets or sets a value indicating the output format of the level. - - - - - - - - - - - - - - - A string literal. - - - This is used to escape '${' sequence - as ;${literal:text=${}' - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The literal text value. - This is used by the layout compiler. - - - - Gets or sets the literal text. - - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The IP address from the network interface card (NIC) on the local machine - - - Skips loopback-adapters and tunnel-interfaces. Skips devices without any MAC-address - - - - - Get or set whether to prioritize IPv6 or IPv4 (default) - - - - - - - - - - - - - - - XML event description compatible with log4j, Chainsaw and NLogViewer. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes the layout renderer. - - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets a value indicating whether the XML should use spaces for indentation. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the XML logging event and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The logger name. - - - - - Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character). - - - - - - - - - - - - The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the date in the long format (yyyy-MM-dd HH:mm:ss.ffff) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The machine name that the process is running on. - - - - - - - - - - - Render a Mapped Diagnostic Context item, See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render a Mapped Diagnostic Logical Context item (based on CallContext). - See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - The formatted log message. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to log exception along with message. - - - - - - Gets or sets the string that separates message from the exception. - - - - - - Gets or sets whether it should render the raw message without formatting parameters - - - - - - - - - - - - Render a Nested Diagnostic Context item. - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested diagnostics context output. - - - - - - Renders the specified Nested Diagnostics Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render a Nested Diagnostic Logical Context item (Async scope) - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested logical context output. - - - - - - Renders the specified Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Timing Renderer (Async scope) - - - - - Gets or sets whether to only include the duration of the last scope created - - - - - - Gets or sets whether to just display the scope creation time, and not the duration - - - - - - Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format). - - - - - - Renders the timing details of the Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Retrieve network interfaces - - - - - Retrieve network interfaces - - - - - A newline literal. - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The directory where NLog.dll is located. - - - - - Initializes static members of the NLogDirLayoutRenderer class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The performance counter. - - - - - Gets or sets the name of the counter category. - - - - - - Gets or sets the name of the performance counter. - - - - - - Gets or sets the name of the performance counter instance (e.g. this.Global_). - - - - - - Gets or sets the name of the machine to read the performance counter from. - - - - - - Format string for conversion from float to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - If having multiple instances with the same process-name, then they will get different instance names - - - - - The executable directory from the FileName, - using the current process - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the process directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the process directory. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - The identifier of the current process. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - The information about the running process. - - - - - Gets or sets the property to retrieve. - - - - - - Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum) - - - - - - - - - - - - - - - Property of System.Diagnostics.Process to retrieve. - - - - - Base Priority. - - - - - Exit Code. - - - - - Exit Time. - - - - - Process Handle. - - - - - Handle Count. - - - - - Whether process has exited. - - - - - Process ID. - - - - - Machine name. - - - - - Handle of the main window. - - - - - Title of the main window. - - - - - Maximum Working Set. - - - - - Minimum Working Set. - - - - - Non-paged System Memory Size. - - - - - Non-paged System Memory Size (64-bit). - - - - - Paged Memory Size. - - - - - Paged Memory Size (64-bit).. - - - - - Paged System Memory Size. - - - - - Paged System Memory Size (64-bit). - - - - - Peak Paged Memory Size. - - - - - Peak Paged Memory Size (64-bit). - - - - - Peak Virtual Memory Size. - - - - - Peak Virtual Memory Size (64-bit).. - - - - - Peak Working Set Size. - - - - - Peak Working Set Size (64-bit). - - - - - Whether priority boost is enabled. - - - - - Priority Class. - - - - - Private Memory Size. - - - - - Private Memory Size (64-bit). - - - - - Privileged Processor Time. - - - - - Process Name. - - - - - Whether process is responding. - - - - - Session ID. - - - - - Process Start Time. - - - - - Total Processor Time. - - - - - User Processor Time. - - - - - Virtual Memory Size. - - - - - Virtual Memory Size (64-bit). - - - - - Working Set Size. - - - - - Working Set Size (64-bit). - - - - - The name of the current process. - - - - - Gets or sets a value indicating whether to write the full path to the process executable. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Renders the current process name (optionally with a full path). - - The to append the rendered data to. - Logging event. - - - - The process time in format HH:mm:ss.mmm. - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Write timestamp to builder with format hh:mm:ss:fff - - - - - High precision timer, based on the value returned from QueryPerformanceCounter() optionally converted to seconds. - - - - - Gets or sets a value indicating whether to normalize the result by subtracting - it from the result of the first call (so that it's effectively zero-based). - - - - - - Gets or sets a value indicating whether to output the difference between the result - of QueryPerformanceCounter and the previous one. - - - - - - Gets or sets a value indicating whether to convert the result to seconds by dividing - by the result of QueryPerformanceFrequency(). - - - - - - Gets or sets the number of decimal digits to be included in output. - - - - - - Gets or sets a value indicating whether to align decimal point (emit non-significant zeros). - - - - - - - - - - - - A value from the Registry. - - - - - Create new renderer - - - - - Gets or sets the registry value name. - - - - - - Gets or sets the value to be output when the specified registry key or value is not found. - - - - - - Require escaping backward slashes in . Need to be backwards-compatible. - - When true: - - `\` in value should be configured as `\\` - `\\` in value should be configured as `\\\\`. - - Default value wasn't a Layout before and needed an escape of the slash - - - - - Gets or sets the registry view (see: https://msdn.microsoft.com/de-de/library/microsoft.win32.registryview.aspx). - Allowed values: Registry32, Registry64, Default - - - - - - Gets or sets the registry key. - - - HKCU\Software\NLogTest - - - Possible keys: -
    -
  • HKEY_LOCAL_MACHINE
  • -
  • HKLM
  • -
  • HKEY_CURRENT_USER
  • -
  • HKCU
  • -
  • HKEY_CLASSES_ROOT
  • -
  • HKEY_USERS
  • -
  • HKEY_CURRENT_CONFIG
  • -
  • HKEY_DYN_DATA
  • -
  • HKEY_PERFORMANCE_DATA
  • -
-
- -
- - - Reads the specified registry key and value and appends it to - the passed . - - The to append the rendered data to. - Logging event. Ignored. - - - - Has ? - - - - - Parse key to and subkey. - - full registry key name - Result of parsing, never null. - - - - Aliases for the hives. See https://msdn.microsoft.com/en-us/library/ctb3kd86(v=vs.110).aspx - - - - - The sequence ID - - - - - - - - - - - The short date in a sortable format yyyy-MM-dd. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the current short date string (yyyy-MM-dd) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - System special folder path (includes My Documents, My Music, Program Files, Desktop, and more). - - - - - Gets or sets the system special folder to use. - - - Full list of options is available at MSDN. - The most common ones are: -
    -
  • ApplicationData - roaming application data for current user.
  • -
  • CommonApplicationData - application data for all users.
  • -
  • MyDocuments - My Documents
  • -
  • DesktopDirectory - Desktop directory
  • -
  • LocalApplicationData - non roaming application data
  • -
  • Personal - user profile directory
  • -
  • System - System directory
  • -
-
- -
- - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Format of the ${stacktrace} layout renderer output. - - - - - Raw format (multiline - as returned by StackFrame.ToString() method). - - - - - Flat format (class and method names displayed in a single line). - - - - - Detailed flat format (method signatures displayed in a single line). - - - - - Stack trace renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the output format of the stack trace. - - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets the stack frame separator string. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A temporary directory. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The identifier of the current thread. - - - - - - - - The name of the current thread. - - - - - - - - The Ticks value of current date and time. - - - - - - - - - - - The time in a 24-hour, sortable format HH:mm:ss.mmmm. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - A renderer that puts into log a System.Diagnostics trace correlation id. - - - - - - - - - - - Render a NLog variable (xml or config) - - - - - Gets or sets the name of the NLog variable. - - - - - - Gets or sets the default value to be used when the variable is not set. - - Not used if Name is null - - - - - Initializes the layout renderer. - - - - - Try get the - - - - - - - Renders the specified variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Thread Windows identity information (username). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether domain name should be included. - - - - - - Gets or sets a value indicating whether username should be included. - - - - - - Renders the current thread windows identity information and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Applies caching to another layout output. - - - The value of the inner layout will be rendered only once and reused subsequently. - - - - - A value indicating when the cache is cleared. - - - - Never clear the cache. - - - Clear the cache whenever the is initialized. - - - Clear the cache whenever the is closed. - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether this is enabled. - - - - - - Gets or sets a value indicating when the cache is cleared. - - - - - - Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s - - - - - - Gets or sets a value indicating how many seconds the value should stay cached until it expires - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - - - - Filters characters not allowed in the file names by replacing them with safe character. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path - (illegal characters are replaced with '_'). - - - - - - - - - - - - Escapes output of another layout using JSON rules. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply JSON encoding. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - - - - - - - Left part of a text - - - - - Gets or sets the length in characters. - - - - - - Same as -property, so it can be used as ambient property. - - - ${message:truncate=80} - - - - - - - - - - - - Converts the result of another layout output to lower case. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Render the non-raw value of an object. - - For performance and/or full (formatted) control of the output. - - - - Gets or sets a value indicating whether to disable the IRawValue-interface - - A value of true if IRawValue-interface should be ignored; otherwise, false. - - - - - - - - - - - Render a single property of a object - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - Shortcut for - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - Only outputs the inner layout when exception has been defined for log message. - - - - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - ${onhasproperties:, Properties\: ${all-event-properties}} - - - - - - - - - - - Horizontal alignment for padding layout renderers. - - - - - When layout text is too long, align it to the left - (remove characters from the right). - - - - - When layout text is too long, align it to the right - (remove characters from the left). - - - - - Applies padding to another layout output. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of characters to pad the output to. - - - Positive padding values cause left padding, negative values - cause right padding to the desired width. - - - - - - Gets or sets the padding character. - - - - - - Gets or sets a value indicating whether to trim the - rendered text to the absolute value of the padding length. - - - - - - Gets or sets a value indicating whether a value that has - been truncated (when is true) - will be left-aligned (characters removed from the right) - or right-aligned (characters removed from the left). The - default is left alignment. - - RegistryLayoutRenderer - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Replaces a string in the output of another layout with another string. - - - ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}} - - - - - Gets or sets the text to search for. - - The text search for. - - - - - Gets or sets a value indicating whether regular expressions should be used. - - A value of true if regular expressions should be used otherwise, false. - - - - - Gets or sets the replacement string. - - The replacement string. - - - - - Gets or sets the group name to replace when using regular expressions. - Leave null or empty to replace without using group name. - - The group name. - - - - - Gets or sets a value indicating whether to ignore case. - - A value of true if case should be ignored when searching; otherwise, false. - - - - - Gets or sets a value indicating whether to search for whole words. - - A value of true if whole words should be searched for; otherwise, false. - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Initializes the layout renderer. - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass - - - - - A match evaluator for Regular Expression based replacing - - Input string. - Group name in the regex. - Replace value. - Match from regex. - Groups replaced with . - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating the string that should be used for separating lines. - - - - - - - - - - - - Right part of a text - - - - - Gets or sets the length in characters. - - - - - - - - - - - - Decodes text "encrypted" with ROT-13. - - - See https://en.wikipedia.org/wiki/ROT13. - - - - - Gets or sets the layout to be wrapped. - - The layout to be wrapped. - This variable is for backwards compatibility - - - - - Encodes/Decodes ROT-13-encoded string. - - The string to be encoded/decoded. - Encoded/Decoded text. - - - - - - - - - - Encodes/Decodes ROT-13-encoded string. - - - - - Substring the result - - - ${substring:${level}:start=2:length=2} - ${substring:${level}:start=-2:length=2} - ${substring:Inner=${level}:start=2:length=2} - - - - - Initializes a new instance of the class. - - - - - Gets or sets the start index. - - Index - - - - - Gets or sets the length in characters. If null, then the whole string - - Index - - - - - - - - - - - Calculate start position - - 0 or positive number - - - - Calculate needed length - - 0 or positive number - - - - Trims the whitespace from the result of another layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - - - - - - - Converts the result of another layout output to upper case. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - ${level:uppercase} // [AmbientProperty] - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether upper case conversion should be applied. - - A value of true if upper case conversion should be applied otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Encodes the result of another layout output for use with URLs. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether spaces should be translated to '+' or '%20'. - - A value of true if space should be translated to '+'; otherwise, false. - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - - - Gets or sets the layout to be rendered when original layout produced empty result. - - - - - - - - - - - - - - - Only outputs the inner layout when the specified condition has been met. - - - - - Gets or sets the condition that must be met for the layout to be printed. - - - - - - If is not met, print this layout. - - - - - - - - - - - - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the line length for wrapping. - - - Only positive values are allowed - - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - Base class for s which wrapping other s. - - This has the property (which is default) and can be used to wrap. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - - - - - Gets or sets the wrapped layout. - - [DefaultParameter] so Inner: is not required if it's the first - - - - - - - - - Renders the inner message, processes it and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Appends the rendered output from -layout and transforms the added output (when necessary) - - Logging event. - The to append the rendered data to. - Start position for any necessary transformation of . - - - - Transforms the output of another layout. - - Logging event. - Output to be transform. - Transformed text. - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - Base class for s which wrapping other s. - - This expects the transformation to work on a - - - - - - - - Transforms the output of another layout. - - - Output to be transform. - - - - Transforms the output of another layout. - - Output to be transform. - - - - Renders the inner layout contents. - - - for the result - - - - - - - - - - - - - - - - - - Converts the result of another layout output to be XML-compliant. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply XML encoding. - - Ensures always valid XML, but gives a performance hit - - - - - Gets or sets a value indicating whether to transform newlines (\r\n) into ( ) - - - - - - - - - - - - A layout containing one or more nested layouts. - - - - - Initializes a new instance of the class. - - - - - Gets the inner layouts. - - - - - - Initializes the layout. - - - - - Formats the log event relying on inner layouts. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event relying on inner layouts. - - The logging event. - for the result - - - - Closes the layout. - - - - - Generate description of Compound Layout - - Compound Layout String Description - - - - A column in the CSV. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column. - The layout of the column. - - - - Gets or sets the name of the column. - - - - - - Gets or sets the layout of the column. - - - - - - Gets or sets the override of Quoting mode - - - and are faster than the default - - - - - - Specifies allowed column delimiters. - - - - - Automatically detect from regional settings. - - - - - Comma (ASCII 44). - - - - - Semicolon (ASCII 59). - - - - - Tab character (ASCII 9). - - - - - Pipe character (ASCII 124). - - - - - Space character (ASCII 32). - - - - - Custom string, specified by the CustomDelimiter. - - - - - A specialized layout that renders CSV-formatted events. - - If is set, then the header generation with column names will be disabled. - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - Gets or sets a value indicating whether CVS should include header. - - A value of true if CVS should include header; otherwise, false. - - - - - Gets or sets the column delimiter. - - - - - - Gets or sets the quoting mode. - - - - - - Gets or sets the quote Character. - - - - - - Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom'). - - - - - - Initializes the layout. - - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event for write. - - The logging event. - for the result - - - - Get the headers with the column names. - - - - - - Header with column names for CSV layout. - - - - - Initializes a new instance of the class. - - The parent. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Generate description of CSV Layout - - CSV Layout String Description - - - - Specifies CSV quoting modes. - - - - - Quote all column (Fast) - - - - - Quote nothing (Very fast) - - - - - Quote only whose values contain the quote symbol or the separator (Slow) - - - - - JSON attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with json-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Json encoded. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A specialized layout that renders JSON-formatted events. - - - - - Initializes a new instance of the class. - - - - - Gets the array of attributes' configurations. - - - - - - Gets or sets the option to suppress the extra spaces in the output json - - - - - - Gets or sets the option to render the empty object value {} - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to exclude null/empty properties from the log event (as JSON) - - - - - - List of property names to exclude when is true - - - - - - How far should the JSON serializer follow object references before backing off - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Formats the log event as a JSON document for writing. - - The logging event. - for the result - - - - Formats the log event as a JSON document for writing. - - The log event to be formatted. - A JSON string representation of the log event. - - - - Generate description of JSON Layout - - JSON Layout String Description - - - - Abstract interface that layouts must implement. - - - - - Is this layout initialized? See - - - - - Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). - - - Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are - like that as well. - - Thread-agnostic layouts only use contents of for its output. - - - - - Gets the level of stack trace information required for rendering. - - - - - Gets the logging configuration this target is part of. - - - - - Converts a given text to a . - - Text to be converted. - object represented by the text. - - - - Implicitly converts the specified string to a . - - The layout string. - Instance of .' - - - - Implicitly converts the specified string to a . - - The layout string. - The NLog factories to use when resolving layout renderers. - Instance of . - - - - Implicitly converts the specified string to a . - - The layout string. - Whether should be thrown on parse errors (false = replace unrecognized tokens with a space). - Instance of . - - - - Create a from a lambda method. - - Method that renders the layout. - Tell if method is safe for concurrent threading. - Instance of . - - - - Precalculates the layout for the specified log event and stores the result - in per-log event cache. - - Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic]. - - The log event. - - Calling this method enables you to store the log event in a buffer - and/or potentially evaluate it in another thread even though the - layout may contain thread-dependent renderer. - - - - - Renders the event info in layout. - - The event info. - String representing log event. - - - - Optimized version of for internal Layouts. Works best - when override of is available. - - The event info. - Appends the string representing log event to target - Should rendering result be cached on LogEventInfo - - - - Valid default implementation of , when having implemented the optimized - - The logging event. - StringBuilder to help minimize allocations [optional]. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Optimized version of for internal Layouts, when - override of is available. - - - - - Try get value - - - rawValue if return result is true - false if we could not determine the rawValue - - - - Marks class as a layout renderer and assigns a format string to it. - - - - - Initializes a new instance of the class. - - Layout name. - - - - Parses layout strings. - - - - - Add to - - - - - - - Options available for - - - - - Default options - - - - - Layout renderer method can handle concurrent threads - - - - - Layout renderer method is agnostic to current thread context. This means it will render the same result indepdent of thread-context. - - - - - A specialized layout that supports header and footer. - - - - - Gets or sets the body layout (can be repeated multiple times). - - - - - - Gets or sets the header layout. - - - - - - Gets or sets the footer layout. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result. - - - - A specialized layout that renders Log4j-compatible XML events. - - - This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets the instance that renders log events. - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Represents a string with embedded placeholders that can render contextual information. - - - This layout is not meant to be used explicitly. Instead you can just use a string containing layout - renderers everywhere the layout is required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout string to parse. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - Whether should be thrown on parse errors. - - - - Original text before compile to Layout renderes - - - - - Gets or sets the layout text. - - - - - - Is the message fixed? (no Layout renderers used) - - - - - Get the fixed text. Only set when is true - - - - - Is the message a simple formatted string? (Can skip StringBuilder) - - - - - Gets a collection of objects that make up this layout. - - - - - Gets the level of stack trace information required for rendering. - - - - - Converts a text to a simple layout. - - Text to be converted. - A object. - - - - Escapes the passed text so that it can - be used literally in all places where - layout is normally expected without being - treated as layout. - - The text to be escaped. - The escaped text. - - Escaping is done by replacing all occurrences of - '${' with '${literal:text=${}' - - - - - Evaluates the specified text by expanding all layout renderers. - - The text to be evaluated. - Log event to be used for evaluation. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Evaluates the specified text by expanding all layout renderers - in new context. - - The text to be evaluated. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Returns a that represents the current object. - - - A that represents the current object. - - - - - - - - - - - - - - - - - - - - XML attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with xml-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A XML Element - - - - - - - - - - - Name of the element - - - - - - Value inside the element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - The name of the top XML node - The value of the top XML node - - - - Name of the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Value inside the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Auto indent and create new lines - - - - - - Gets the array of xml 'elements' configurations. - - - - - - Gets the array of 'attributes' configurations for the element - - - - - - Gets or sets whether a ElementValue with empty value should be included in the output - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - List of property names to exclude when is true - - - - - - XML element name to use when rendering properties - - - Support string-format where {0} means property-key-name - - Skips closing element tag when having configured - - - - - - XML attribute name to use when rendering property-key - - When null (or empty) then key-attribute is not included - - - Will replace newlines in attribute-value with - - - - - - XML attribute name to use when rendering property-value - - When null (or empty) then value-attribute is not included and - value is formatted as XML-element-value - - - Skips closing element tag when using attribute for value - - Will replace newlines in attribute-value with - - - - - - XML element name to use for rendering IList-collections items - - - - - - How far should the XML serializer follow object references before backing off - - - - - - Initializes the layout. - - - - - Formats the log event as a XML document for writing. - - The logging event. - for the result - - - - Formats the log event as a XML document for writing. - - The log event to be formatted. - A XML string representation of the log event. - - - - write attribute, only if is not empty - - - - - rendered - - - - Generate description of XML Layout - - XML Layout String Description - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - - - - - - - Name of the root XML element - - - - - - Value inside the root XML element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Represents the logging event. - - - - - Gets the date of the first log event created. - - - - - The formatted log message. - - - - - The log message including any parameter placeholders - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - Already parsed message template parameters. - - - - Initializes a new instance of the class. - - Log level. - Override default Logger name. Default is used when null - Log message. - List of event-properties - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - Exception information. - - - - Gets the unique identifier of log event which is automatically generated - and monotonously increasing. - - - - - Gets or sets the timestamp of the logging event. - - - - - Gets or sets the level of the logging event. - - - - - Gets a value indicating whether stack trace has been set for this event. - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Gets the entire stack trace. - - - - - Gets the callsite class name - - - - - Gets the callsite member function name - - - - - Gets the callsite source file path - - - - - Gets the callsite source file line number - - - - - Gets or sets the exception information. - - - - - Gets or sets the logger name. - - - - - Gets the logger short name. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the log message including any parameter placeholders. - - - - - Gets or sets the parameter values or null if no parameters have been specified. - - - - - Gets or sets the format provider that was provided while logging or - when no formatProvider was specified. - - - - - Gets or sets the message formatter for generating - Uses string.Format(...) when nothing else has been configured. - - - - - Gets the formatted message. - - - - - Checks if any per-event properties (Without allocation) - - - - - Gets the dictionary of per-event context properties. - - - - - Gets the dictionary of per-event context properties. - Internal helper for the PropertiesDictionary type. - - Create the event-properties dictionary, even if no initial template parameters - Provided when having parsed the message template and capture template parameters (else null) - - - - - Gets the named parameters extracted from parsing as MessageTemplate - - - - - Gets the dictionary of per-event context properties. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Creates the null event. - - Null log event. - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - The exception. - Instance of . - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates from this by attaching the specified asynchronous continuation. - - The asynchronous continuation. - Instance of with attached continuation. - - - - Returns a string representation of this log event. - - String representation of the log event. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace (Negative means NLog should skip stackframes from System-assemblies). - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Set the - - true = Always, false = Never, null = Auto Detect - - - - Specialized LogFactory that can return instances of custom logger types. - - Use this only when a custom Logger type is defined. - The type of the logger to be returned. Must inherit from . - - - - Gets the logger with type . - - The logger name. - An instance of . - - - - Gets a custom logger with the full name of the current class (so namespace and class name) and type . - - An instance of . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Overwrite possible file paths (including filename) for possible NLog config files. - When this property is null, the default file paths ( are used. - - - - - Occurs when logging changes. - - - - - Occurs when logging gets reloaded. - - - - - Initializes static members of the LogManager class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The config. - - - - Initializes a new instance of the class. - - The config loader - The custom AppEnvironmnet override - - - - Gets the current . - - - - - Gets or sets a value indicating whether exceptions should be thrown. See also . - - A value of true if exception should be thrown; otherwise, false. - By default exceptions are not thrown under any circumstances. - - - - Gets or sets a value indicating whether should be thrown. - - If null then is used. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. After setting this property all - existing loggers will be re-configured, so there is no need to call - manually. - - - - - Gets or sets the global log level threshold. Log events below this threshold are not logged. - - - - - Gets the default culture info to use as . - - - Specific culture info or null to use - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting - unmanaged resources. - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Creates a logger that discards all log messages. - - Null logger instance. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets the logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - The logger with type . - Type of the logger - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The type of the logger to create. The type must inherit from - The logger of type . - This is a slow-running method. Make sure you are not calling this method in a - loop. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - Name of the logger. - Type of the logger - The logger reference with type . Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The type of the logger to create. The type must inherit from . - The logger of type . Multiple calls to GetLogger with the - same argument aren't guaranteed to return the same logger reference. - - - - Loops through all loggers previously returned by GetLogger and recalculates their - target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time - will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flushes any pending log messages on all appenders. - - Config containing Targets to Flush - Flush completed notification (success / timeout) - Optional timeout that guarantees that completed notication is called. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Returns if logging is currently enabled. - - A value of if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Raises the event when the configuration is reloaded. - - Event arguments. - - - - Raises the event when the configuration is reloaded. - - Event arguments - - - - Currently this is disposing? - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; - false to release only unmanaged resources. - - - - Dispose all targets, and shutdown logging. - - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Logger cache key. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Determines if two objects are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Determines if two objects of the same type are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Logger cache. - - - - - Inserts or updates. - - - - - - - Internal for unit tests - - - - - Enables logging in implementation. - - - - - Initializes a new instance of the class. - - The factory. - - - - Enables logging. - - - - - Logging methods which only are executed when the DEBUG conditional compilation symbol is set. - - Remarks: - The DEBUG conditional compilation symbol is default enabled (only) in a debug build. - - If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods. - This could lead to better performance. - - See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx - - - Provides logging interface and utility functions. - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Initializes a new instance of the class. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Collection of context properties for the Logger. The logger will append it for all log events - - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Creates new logger that automatically appends the specified property to all log events (without changing current logger) - - Property Name - Property Value - New Logger object that automatically appends specified property - - - - Updates the specified context property for the current logger. The logger will append it for all log events. - - It could be rendered with ${event-properties:YOURNAME} - - With property, all properties could be changed. - - - Will affect all locations/contexts that makes use of the same named logger object. - - Property Name - Property Value - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. - - The task for which to log an error if it does not run to completion. - A task that completes in the state when completes. - - - - Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Async action to execute. - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Async function to run. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Async function to run. - Fallback value to return if the task does not end in the state. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. - - - - Raises the event when the logger is reconfigured. - - Event arguments - - - - Implementation of logging engine. - - - - - Gets the filter result. - - The filter chain. - The log event. - default result if there are no filters, or none of the filters decides. - The result of the filter. - - - - Defines available log levels. - - - - - Trace log level. - - - - - Debug log level. - - - - - Info log level. - - - - - Warn log level. - - - - - Error log level. - - - - - Fatal log level. - - - - - Off log level. - - - - - Gets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - - - - - Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) - i.e LogLevel.Off is excluded. - - - - - Initializes a new instance of . - - The log level name. - The log level ordinal number. - - - - Gets the name of the log level. - - - - - Gets the ordinal of the log level. - - - - - Compares two objects - and returns a value indicating whether - the first one is equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal == level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is not equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal != level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than the second one. - - The first level. - The second level. - The value of level1.Ordinal > level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal >= level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than the second one. - - The first level. - The second level. - The value of level1.Ordinal < level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal <= level2.Ordinal. - - - - Gets the that corresponds to the specified ordinal. - - The ordinal. - The instance. For 0 it returns , 1 gives and so on. - - - - Returns the that corresponds to the supplied . - - The textual representation of the log level. - The enumeration value. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Determines whether the specified instance is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Compares the level to the other object. - - - The object object. - - - A value less than zero when this logger's is - less than the other logger's ordinal, 0 when they are equal and - greater than zero when this ordinal is greater than the - other ordinal. - - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Delegate used to set/get the culture in use. - - This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the instance used in the . - - Could be used to pass the to other methods - - - - Occurs when logging changes. - - - - - Occurs when logging gets reloaded. - - - - - Gets or sets a value indicating whether NLog should throw exceptions. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether should be thrown. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. - - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Gets or sets the global log threshold. Log events below this threshold are not logged. - - - - - Gets or sets the default culture to use. - - This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Adds the given assembly which will be skipped - when NLog is trying to find the calling method on stack trace. - - The assembly to skip. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The logger class. This class must inherit from . - The logger of type . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates a logger that discards all log messages. - - Null logger which discards all log messages. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - - - - Gets the specified named custom logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The logger class. This class must inherit from . - The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - The generic way for this method is - - - - Loops through all loggers previously returned by GetLogger. - and recalculates their target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Checks if logging is currently enabled. - - if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Dispose all targets, and shutdown logging. - - - - - Generates a formatted message from the log event - - Log event. - Formatted message - - - - Returns a log message. Used to defer calculation of - the log message until it's actually needed. - - Log message. - - - - Base implementation of a log receiver server which forwards received logs through or a given . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log factory. - - - - Processes the log messages. - - The events to process. - - - - Processes the log messages. - - The log events. - - - - Service contract for Log Receiver client. - - This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver server. - - - - - Processes the log messages. - - The events. - - - - Service contract for Log Receiver server. - - - - - Processes the log messages. - - The events. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Client of - - - - - Occurs when the log message processing has completed. - - - - - Occurs when Open operation has completed. - - - - - Occurs when Close operation has completed. - - - - - Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication. - - - - - Gets the underlying implementation. - - - - - Gets the target endpoint for the service to which the WCF client can connect. - - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Closes the client asynchronously. - - User-specific state. - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it. - - - - - Gets or sets the cookie container. - - The cookie container. - - - - Implementation of which forwards received logs through or a given . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log factory. - - - - Implementation of which forwards received logs through or a given . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log factory. - - - - Internal configuration of Log Receiver Service contracts. - - - - - Wire format for NLog Event. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the client-generated identifier of the event. - - - - - Gets or sets the ordinal of the log level. - - - - - Gets or sets the logger ordinal (index into . - - The logger ordinal. - - - - Gets or sets the time delta (in ticks) between the time of the event and base time. - - - - - Gets or sets the message string index. - - - - - Gets or sets the collection of layout values. - - - - - Gets the collection of indexes into array for each layout value. - - - - - Converts the to . - - The object this is part of.. - The logger name prefix to prepend in front of the logger name. - Converted . - - - - Wire format for NLog event package. - - - - - Gets or sets the name of the client. - - The name of the client. - - - - Gets or sets the base time (UTC ticks) for all events in the package. - - The base time UTC. - - - - Gets or sets the collection of layout names which are shared among all events. - - The layout names. - - - - Gets or sets the collection of logger names. - - The logger names. - - - - Gets or sets the list of events. - - The events. - - - - Converts the events to sequence of objects suitable for routing through NLog. - - The logger name prefix to prepend in front of each logger name. - - Sequence of objects. - - - - - Converts the events to sequence of objects suitable for routing through NLog. - - - Sequence of objects. - - - - - List of strings annotated for more terse serialization. - - - - - Initializes a new instance of the class. - - - - - Log Receiver Client using WCF. - - - This class marked as obsolete before NLog 4.3.11 and it will be removed in a future release. - - It provides an implementation of the legacy interface and it will be completely obsolete when the - ILogReceiverClient is removed. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Log Receiver Client facade. It allows the use either of the one way or two way - service contract using WCF through its unified interface. - - - Delegating methods are generated with Resharper. - 1. change ProxiedClient to private field (instead of public property) - 2. delegate members - 3. change ProxiedClient back to public property. - - - - - - The client getting proxied - - - - - Do we use one-way or two-way messaging? - - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - The binding. - The remote address. - - - - Causes a communication object to transition immediately from its current state into the closed state. - - - - - Begins an asynchronous operation to close a communication object. - - - The that references the asynchronous close operation. - - The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The default timeout elapsed before the was able to close gracefully. - - - - Begins an asynchronous operation to close a communication object with a specified timeout. - - - The that references the asynchronous close operation. - - The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The specified timeout elapsed before the was able to close gracefully. - - - - Begins an asynchronous operation to open a communication object. - - - The that references the asynchronous open operation. - - The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. - - - - Begins an asynchronous operation to open a communication object within a specified interval of time. - - - The that references the asynchronous open operation. - - The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication. - - - - - Causes a communication object to transition from its current state into the closed state. - - The that specifies how long the send operation has to complete before timing out. was called on an object in the state.The timeout elapsed before the was able to close gracefully. - - - - Causes a communication object to transition from its current state into the closed state. - - was called on an object in the state.The default close timeout elapsed before the was able to close gracefully. - - - - Closes the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Occurs when Close operation has completed. - - - - - Occurs when the communication object completes its transition from the closing state into the closed state. - - - - - Occurs when the communication object first enters the closing state. - - - - - Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it. - - - - - Gets or sets the cookie container. - - The cookie container. - - - - Completes an asynchronous operation to close a communication object. - - The that is returned by a call to the method. was called on an object in the state.The timeout elapsed before the was able to close gracefully. - - - - Completes an asynchronous operation to open a communication object. - - The that is returned by a call to the method.The was unable to be opened and has entered the state.The timeout elapsed before the was able to enter the state and has entered the state. - - - - Gets the target endpoint for the service to which the WCF client can connect. - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Occurs when the communication object first enters the faulted state. - - - - - Gets the underlying implementation. - - - - - Causes a communication object to transition from the created state into the opened state. - - The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. - - - - Causes a communication object to transition from the created state into the opened state within a specified interval of time. - - The that specifies how long the send operation has to complete before timing out.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Occurs when Open operation has completed. - - - - - Occurs when the communication object completes its transition from the opening state into the opened state. - - - - - Occurs when the communication object first enters the opening state. - - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Occurs when the log message processing has completed. - - - - - Gets the current state of the communication-oriented object. - - - The value of the of the object. - - - - - Causes a communication object to transition from its current state into the closed state. - - - - - Abstract base class for the WcfLogReceiverXXXWay classes. It can only be - used internally (see internal constructor). It passes off any Channel usage - to the inheriting class. - - Type of the WCF service. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Occurs when the log message processing has completed. - - - - - Occurs when Open operation has completed. - - - - - Occurs when Close operation has completed. - - - - - Gets or sets the cookie container. - - The cookie container. - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Closes the client asynchronously. - - User-specific state. - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Log Receiver Client using WCF. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Log Receiver Client using WCF. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Mapped Diagnostics Context - a thread-local structure that keeps a dictionary - of strings and provides methods to output them in layouts. - - - - - Gets the thread-local dictionary - - Must be true for any subsequent dictionary modification operation - - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The to use when converting a value to a . - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Returns all item names - - A set of the names of all items in current thread-MDC. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified exists in current thread MDC. - - - - Removes the specified from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary - of strings and provides methods to output them in layouts. Allows for maintaining state across - asynchronous tasks and call contexts. - - - Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original - NLog library so that state can be maintained for multiple threads in asynchronous situations. - - - - - Simulate ImmutableDictionary behavior (which is not yet part of all .NET frameworks). - In future the real ImmutableDictionary could be used here to minimize memory usage and copying time. - - Must be true for any subsequent dictionary modification operation - Prepare dictionary for additional inserts - - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The to use when converting a value to a string. - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Updates the current logical context with multiple items in single operation - - . - >An that can be used to remove the item from the current logical context (null if no items). - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Returns all item names - - A collection of the names of all items in current logical context. - - - - Checks whether the specified exists in current logical context. - - Item name. - A boolean indicating whether the specified exists in current logical context. - - - - Removes the specified from current logical context. - - Item name. - - - - Clears the content of current logical context. - - - - - Clears the content of current logical context. - - Free the full slot. - - - - Mapped Diagnostics Context - - This class marked as obsolete before NLog 2.0 and it may be removed in a future release. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified item exists in current thread MDC. - - - - Removes the specified item from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mark a parameter of a method for message templating - - - - - Specifies which parameter of an annotated method should be treated as message-template-string - - - - - The name of the parameter that should be as treated as message-template-string - - - - - The type of the captured hole - - - - - Not decided - - - - - normal {x} - - - - - Serialize operator {@x} (aka destructure) - - - - - stringification operator {$x} - - - - - A hole that will be replaced with a value - - - - - Constructor - - - - Parameter name sent to structured loggers. - This is everything between "{" and the first of ",:}". - Including surrounding spaces and names that are numbers. - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - Type - - - - When the template is positional, this is the parsed name of this parameter. - For named templates, the value of Index is undefined. - - - Alignment to render the parameter, by default 0. - This is the parsed value between "," and the first of ":}" - - - - A fixed value - - - - Number of characters from the original template to copy at the current position. - This can be 0 when the template starts with a hole or when there are multiple consecutive holes. - - - Number of characters to skip in the original template at the current position. - 0 is a special value that mean: 1 escaped char, no hole. It can also happen last when the template ends with a literal. - - - - Combines Literal and Hole - - - - Literal - - - Hole - Uninitialized when = 0. - - - - Description of a single parameter extracted from a MessageTemplate - - - - - Parameter Name extracted from - This is everything between "{" and the first of ",:}". - - - - - Parameter Value extracted from the -array - - - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - - Parameter method that should be used to render the parameter - See also - - - - - Returns index for , when - - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - Parameter CaptureType - - - - Parameters extracted from parsing as MessageTemplate - - - - - - - - - - - Gets the parameters at the given index - - - - - Number of parameters - - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Indicates whether the template was parsed successful, and there are no unmatched parameters - - - - - Constructor for parsing the message template with parameters - - including any parameter placeholders - All - - - - Constructor for named parameters that already has been parsed - - - - - Create MessageTemplateParameter from - - - - - A message template - - - - The original template string. - This is the key passed to structured targets. - - - The list of literal parts, useful for string rendering. - It indicates the number of characters from the original string to print, - then there's a hole with how many chars to skip. - - "Hello {firstName} {lastName}!" - ------------------------------------- - ║P |S ║P|S ║P|S║ - ║6 |11 ║1|10 ║1|0║ - ║Hello |{firstName}║ |{lastName}║!║ - - "{x} * 2 = {2x}" - -------------------- - ║P|S ║P |S ║ - ║0|3 ║7 |4 ║ - ║{x}║ * 2 = |{2x}║ - - The tricky part is escaped braces. They are represented by a skip = 0, - which is interpreted as "move one char forward, no hole". - - "Escaped }} is fun." - ---------------------- - ║P |S║P |S║ - ║9 |0║8 |0║ - ║Escaped }|}║ is fun.|║ - - - - This list of holes. It's used both to fill the string rendering - and to send values along the template to structured targets. - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Create a template, which is already parsed - - - - - - - - - Create a template, which is already parsed - - - - - - - - This is for testing only: recreates from the parsed data. - - - - This is for testing only: rebuilds the hole - - Add to this string builder - ref for performance - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Gets the current literal/hole in the template - - - - - Clears the enumerator - - - - - Restarts the enumerator of the template - - - - - Moves to the next literal/hole in the template - - Found new element [true/false] - - - - Parse format after hole name/index. Handle the escaped { and } in the format. Don't read the last } - - - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Error when parsing a template. - - - - - Current index when the error occurred. - - - - - The template we were parsing - - - - - New exception - - The message to be shown. - Current index when the error occurred. - - - - - Render templates - - - - - Render a template to a string. - - The template. - Culture. - Parameters for the holes. - Do not fallback to StringBuilder.Format for positional templates. - The String Builder destination. - Parameters for the holes. - - - - Render a template to a string. - - The template. - The String Builder destination. - Culture. - Parameters for the holes. - Rendered template, never null. - - - - Convert Render or serialize a value, with optionally backwards-compatible with - - - - Singleton - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Format an object to a readable string, or if it's an object, serialize - - The value to convert - - - - - - - - Try serializing a scalar (string, int, NULL) or simple type (IFormattable) - - - - - Serialize Dictionary as JSON like structure, without { and } - - - "FirstOrder"=true, "Previous login"=20-12-2017 14:55:32, "number of tries"=1 - - - formatstring of an item - - - - - - - - - Convert a value to a string with format and append to . - - The value to convert. - Format sting for the value. - Format provider for the value. - Append to this - - - - Nested Diagnostics Context - - This class marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top object off the NDC stack. The object is removed from the stack. - - The top object from the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all objects on the NDC stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Nested Diagnostics Context - a thread-local structure that keeps a stack - of strings and provides methods to output them in layouts - - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object at the top of the NDC stack if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified object on current thread NDC. - - The object to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top message from the NDC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top object off the NDC stack. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Peeks the first object on the NDC stack - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. - - Array of objects on the stack. - - - - Resets the stack to the original count during . - - - - - Initializes a new instance of the class. - - The stack. - The previous count. - - - - Reverts the stack to original item count. - - - - - Async version of - a logical context structure that keeps a stack - Allows for maintaining scope across asynchronous tasks and call contexts. - - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDLC stack. - - The top message which is no longer on the stack. - this methods returns a object instead of string, this because of backwards-compatibility - - - - Pops the top message from the NDLC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top message off the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the top object on the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the current scope, and returns its start time - - Scope Creation Time - - - - Peeks the first scope, and returns its start time - - Scope Creation Time - - - - Clears current stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Exception thrown during NLog configuration. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The inner exception. - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Exception thrown during log event processing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - TraceListener which routes all messages through NLog. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the log factory to use when outputting messages (null - use LogManager). - - - - - Gets or sets the default log level. - - - - - Gets or sets the log which should be always used regardless of source level. - - - - - Gets or sets a value indicating whether flush calls from trace sources should be ignored. - - - - - Gets a value indicating whether the trace listener is thread safe. - - - true if the trace listener is thread safe; otherwise, false. The default is false. - - - - Gets or sets a value indicating whether to use auto logger name detected from the stack trace. - - - - - When overridden in a derived class, writes the specified message to the listener you create in the derived class. - - A message to write. - - - - When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator. - - A message to write. - - - - When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output. - - - - - Emits an error message. - - A message to emit. - - - - Emits an error message and a detailed error message. - - A message to emit. - A detailed message to emit. - - - - Flushes the output (if is not true) buffer with the default timeout of 15 seconds. - - - - - Writes trace information, a data object and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - The trace data to emit. - - - - Writes trace information, an array of data objects and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - An array of objects to emit as data. - - - - Writes trace and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - - - - Writes trace information, a formatted array of objects and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - A format string that contains zero or more format items, which correspond to objects in the array. - An object array containing zero or more objects to format. - - - - Writes trace information, a message, and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - A message to write. - - - - Writes trace information, a message, a related activity identity and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - A numeric identifier for the event. - A message to write. - A object identifying a related activity. - - - - Gets the custom attributes supported by the trace listener. - - - A string array naming the custom attributes supported by the trace listener, or null if there are no custom attributes. - - - - - Translates the event type to level from . - - Type of the event. - Translated log level. - - - - Process the log event - The log level. - The name of the logger. - The log message. - The log parameters. - The event id. - The event type. - The related activity id. - - - - - It works as a normal but it discards all messages which an application requests - to be logged. - - It effectively implements the "Null Object" pattern for objects. - - - - - Initializes a new instance of . - - The factory class to be used for the creation of this logger. - - - - Extension methods to setup LogFactory options - - - - - Gets the logger with the full name of the current class, so namespace and class name. - - - - - Gets the specified named logger. - - - - - Configures loading of NLog extensions for Targets and LayoutRenderers - - - - - Configures the output of NLog for diagnostics / troubleshooting - - - - - Configures serialization and transformation of LogEvents - - - - - Loads NLog config created by the method - - - - - Loads NLog config provided in - - - - - Loads NLog config from filename if provided, else fallback to scanning for NLog.config - - - - - Loads NLog config from XML in - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Enable/disables autoloading of NLog extensions by scanning and loading available assemblies - - - Enabled by default, and gives a huge performance hit during startup. Recommended to disable this when running in the cloud. - - - - - Registers NLog extensions from the assembly. - - - - - Registers NLog extensions from the assembly type name - - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - MethodInfo extracted by reflection - typeof(MyClass).GetMethod("MyFunc", BindingFlags.Static). - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Extension methods to setup NLog options - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Overrides the active with a new custom implementation - - - - - Overrides the active with a new custom implementation - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Specifies the way archive numbering is performed. - - - - - Sequence style numbering. The most recent archive has the highest number. - - - - - Rolling style numbering (the most recent is always #0 then #1, ..., #N. - - - - - Date style numbering. Archives will be stamped with the prior period - (Year, Month, Day, Hour, Minute) datetime. - - - - - Date and sequence style numbering. - Archives will be stamped with the prior period (Year, Month, Day) datetime. - The most recent archive has the highest number (in combination with the date). - - - - - Abstract Target with async Task support - - - - - How many milliseconds to delay the actual write operation to optimize for batching - - - - - How many seconds a Task is allowed to run before it is cancelled. - - - - - How many attempts to retry the same Task, before it is aborted - - - - - How many milliseconds to wait before next retry (will double with each retry) - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Task Scheduler used for processing async Tasks - - - - - Constructor - - - - - Initializes the internal queue for pending logevents - - - - - Override this to create the actual logging task - - Example of how to override this method, and call custom async method - - protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) - { - return CustomWriteAsync(logEvent, token); - } - - private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) - { - await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); - } - - - The log event. - The cancellation token - - - - - Override this to create the actual logging task for handling batch of logevents - - A batch of logevents. - The cancellation token - - - - - Handle cleanup after failed write operation - - Exception from previous failed Task - The cancellation token - Number of retries remaining - Time to sleep before retrying - Should attempt retry - - - - Schedules the LogEventInfo for async writing - - The log event. - - - - Write to queue without locking - - - - - - Schedules notification of when all messages has been written - - - - - - Closes Target by updating CancellationToken - - - - - Releases any managed resources - - - - - - Checks the internal queue for the next to create a new task for - - Used for race-condition validation between task-completion and timeout - Signals whether previousTask completed an almost full BatchSize - - - - Generates recursive task-chain to perform retry of writing logevents with increasing retry-delay - - - - - Creates new task to handle the writing of the input - - LogEvents to write - New Task created [true / false] - - - - Handles that scheduled task has completed (successfully or failed), and starts the next pending task - - Task just completed - AsyncContinuation to notify of success or failure - - - - Timer method, that is fired when pending task fails to complete within timeout - - - - - - Sends log messages to the remote instance of Chainsaw application from log4j. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a name. - - Name of the target. - - - - Color formatting for using ANSI Color Codes - - - - - Not using bold to get light colors, as it has to be cleared - - - - - Not using bold to get light colors, as it has to be cleared (And because it only works for text, and not background) - - - - - Resets both foreground and background color. - - - - - ANSI have 8 color-codes (30-37) by default. The "bright" (or "intense") color-codes (90-97) are extended values not supported by all terminals - - - - - Color formatting for using - and - - - - - Writes log messages to the console with customizable coloring. - - Documentation on NLog Wiki - - - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default.In multithreaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether the error stream (stderr) should be used instead of the output stream (stdout). - - - - - - Gets or sets a value indicating whether to use default row highlighting rules. - - - The default rules are: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ConditionForeground ColorBackground Color
level == LogLevel.FatalRedNoChange
level == LogLevel.ErrorYellowNoChange
level == LogLevel.WarnMagentaNoChange
level == LogLevel.InfoWhiteNoChange
level == LogLevel.DebugGrayNoChange
level == LogLevel.TraceDarkGrayNoChange
-
- -
- - - The encoding for writing messages to the . - - Has side effect - - - - - Gets or sets a value indicating whether to auto-check if the console is available. - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-check if the console has been redirected to file - - Disables coloring logic when System.Console.IsOutputRedirected = true - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Enables output using ANSI Color Codes - - - - - - Gets the row highlighting rules. - - - - - - Gets the word highlighting rules. - - - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified log event to the console highlighting entries - and words based on a set of defined rules. - - Log event. - - - - Colored console output color. - - - Note that this enumeration is defined to be binary compatible with - .NET 2.0 System.ConsoleColor + some additions - - - - - Black Color (#000000). - - - - - Dark blue Color (#000080). - - - - - Dark green Color (#008000). - - - - - Dark Cyan Color (#008080). - - - - - Dark Red Color (#800000). - - - - - Dark Magenta Color (#800080). - - - - - Dark Yellow Color (#808000). - - - - - Gray Color (#C0C0C0). - - - - - Dark Gray Color (#808080). - - - - - Blue Color (#0000FF). - - - - - Green Color (#00FF00). - - - - - Cyan Color (#00FFFF). - - - - - Red Color (#FF0000). - - - - - Magenta Color (#FF00FF). - - - - - Yellow Color (#FFFF00). - - - - - White Color (#FFFFFF). - - - - - Don't change the color. - - - - - The row-highlighting condition. - - - - - Initializes static members of the ConsoleRowHighlightingRule class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The condition. - Color of the foreground. - Color of the background. - - - - Gets the default highlighting rule. Doesn't change the color. - - - - - Gets or sets the condition that must be met in order to set the specified foreground and background color. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Checks whether the specified log event matches the condition (if any). - - - Log event. - - - A value of if the condition is not defined or - if it matches, otherwise. - - - - - Writes log messages to the console. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default. In multi threaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. - - - - - - The encoding for writing messages to the . - - Has side effect - - - - - Gets or sets a value indicating whether to auto-check if the console is available - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Gets or sets whether to enable batch writing using char[]-buffers, instead of using - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified logging event to the Console.Out or - Console.Error depending on the value of the Error flag. - - The logging event. - - Note that the Error option is not supported on .NET Compact Framework. - - - - - - - - Write to output - - - - - Highlighting rule for Win32 colorful console. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The text to be matched.. - Color of the foreground. - Color of the background. - - - - Gets or sets the regular expression to be matched. You must specify either text or regex. - - - - - - Gets or sets the condition that must be met before scanning the row for highlight of words - - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets the text to be matched. You must specify either text or regex. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Gets the compiled regular expression that matches either Text or Regex property. Only used when is true. - - - - - Information about database command + parameters. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the type of the command. - - The type of the command. - - - - - Gets or sets the connection string to run the command against. If not provided, connection string from the target is used. - - - - - - Gets or sets the command text. - - - - - - Gets or sets a value indicating whether to ignore failures. - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a database named or positional parameter. - - - - - - Information about object-property for the database-connection-object - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name for the object-property - - - - - - Gets or sets the value to assign on the object-property - - - - - - Gets or sets the type of the object-property - - - - - - Gets or sets convert format of the property value - - - - - - Gets or sets the culture used for parsing property string-value for type-conversion - - - - - - Represents a parameter to a Database target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the parameter. - The parameter layout. - - - - Gets or sets the database parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets the database parameter DbType. - - - - - - Gets or sets the database parameter size. - - - - - - Gets or sets the database parameter precision. - - - - - - Gets or sets the database parameter scale. - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets convert format of the database parameter value. - - - - - - Gets or sets the culture used for parsing parameter string-value for type-conversion - - - - - - Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values. - - - - - - Writes log messages to the database using an ADO.NET provider. - - - - NETSTANDARD cannot load connectionstrings from .config - - Documentation on NLog Wiki - - - The configuration is dependent on the database type, because - there are different methods of specifying connection string, SQL - command and command parameters. - - MS SQL Server using System.Data.SqlClient: - - Oracle using System.Data.OracleClient: - - Oracle using System.Data.OleDBClient: - - To set up the log target programmatically use code like this (an equivalent of MSSQL configuration): - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets the name of the database provider. - - - - The parameter name should be a provider invariant name as registered in machine.config or app.config. Common values are: - -
    -
  • System.Data.SqlClient - SQL Sever Client
  • -
  • System.Data.SqlServerCe.3.5 - SQL Sever Compact 3.5
  • -
  • System.Data.OracleClient - Oracle Client from Microsoft (deprecated in .NET Framework 4)
  • -
  • Oracle.DataAccess.Client - ODP.NET provider from Oracle
  • -
  • System.Data.SQLite - System.Data.SQLite driver for SQLite
  • -
  • Npgsql - Npgsql driver for PostgreSQL
  • -
  • MySql.Data.MySqlClient - MySQL Connector/Net
  • -
- (Note that provider invariant names are not supported on .NET Compact Framework). - - Alternatively the parameter value can be be a fully qualified name of the provider - connection type (class implementing ) or one of the following tokens: - -
    -
  • sqlserver, mssql, microsoft or msde - SQL Server Data Provider
  • -
  • oledb - OLEDB Data Provider
  • -
  • odbc - ODBC Data Provider
  • -
-
- -
- - - Gets or sets the name of the connection string (as specified in <connectionStrings> configuration section. - - - - - - Gets or sets the connection string. When provided, it overrides the values - specified in DBHost, DBUserName, DBPassword, DBDatabase. - - - - - - Gets or sets the connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used. - - - - - - Gets the installation DDL commands. - - - - - - Gets the uninstallation DDL commands. - - - - - - Gets or sets a value indicating whether to keep the - database connection open between the log events. - - - - - - Obsolete - value will be ignored! The logging code always runs outside of transaction. - - Gets or sets a value indicating whether to use database transactions. - Some data providers require this. - - - - This option was removed in NLog 4.0 because the logging code always runs outside of transaction. - This ensures that the log gets written to the database if you rollback the main transaction because of an error and want to log the error. - - - - - Gets or sets the database host name. If the ConnectionString is not provided - this value will be used to construct the "Server=" part of the - connection string. - - - - - - Gets or sets the database user name. If the ConnectionString is not provided - this value will be used to construct the "User ID=" part of the - connection string. - - - - - - Gets or sets the database password. If the ConnectionString is not provided - this value will be used to construct the "Password=" part of the - connection string. - - - - - - Gets or sets the database name. If the ConnectionString is not provided - this value will be used to construct the "Database=" part of the - connection string. - - - - - - Gets or sets the text of the SQL command to be run on each log level. - - - Typically this is a SQL INSERT statement or a stored procedure call. - It should use the database-specific parameters (marked as @parameter - for SQL server or :parameter for Oracle, other data providers - have their own notation) and not the layout renderers, - because the latter is prone to SQL injection attacks. - The layout renderers should be specified as <parameter /> elements instead. - - - - - - Gets or sets the type of the SQL command to be run on each log level. - - - This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure". - When using the value StoredProcedure, the commandText-property would - normally be the name of the stored procedure. TableDirect method is not supported in this context. - - - - - - Gets the collection of parameters. Each item contains a mapping - between NLog layout and a database named or positional parameter. - - - - - - Gets the collection of properties. Each item contains a mapping - between NLog layout and a property on the DbConnection instance - - - - - - Gets the collection of properties. Each item contains a mapping - between NLog layout and a property on the DbCommand instance - - - - - - Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance. - - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Set the to use it for opening connections to the database. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the database. It creates - a new database command, prepares parameters for it by calculating - layouts and executes the command. - - The logging event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Write logEvent to database - - - - - Build the connectionstring from the properties. - - - Using at first, and falls back to the properties , - , and - - Event to render the layout inside the properties. - - - - - Escape quotes and semicolons. - See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722656(v=vs.85)#setting-values-that-use-reserved-characters - - - - - Create database parameter - - Current command. - Parameter configuration info. - - - - Extract parameter value from the logevent - - Current logevent. - Parameter configuration info. - - - - Create Default Value of Type - - - - - A descriptor for an archive created with the DateAndSequence numbering mode. - - - - - The full name of the archive file. - - - - - The parsed date contained in the file name. - - - - - The parsed sequence number contained in the file name. - - - - - Determines whether produces the same string as the current instance's date once formatted with the current instance's date format. - - The date to compare the current object's date to. - True if the formatted dates are equal, otherwise False. - - - - Initializes a new instance of the class. - - - - - Writes log messages to the attached managed debugger. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the attached debugger. - - The logging event. - - - - Mock target - useful for testing. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the number of times this target has been called. - - - - - - Gets the last message rendered by this target. - - - - - - Increases the number of messages. - - The logging event. - - - - Default class for serialization of values to JSON format. - - - - - Singleton instance of the serializer. - - - - - Private. Use - - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - Serialized value. - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - serialisation options - Serialized value. - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - The objects in path (Avoid cyclic reference loop). - The current depth (level) of recursion. - Object serialized successfully (true/false). - - - - No quotes needed for this type? - - - - - Checks the object if it is numeric - - TypeCode for the object - Accept fractional types as numeric type. - - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - all options - JSON escaped string - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - Should non-ascii characters be encoded - - JSON escaped string - - - - Writes log message to the Event Log. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Max size in characters (limitation of the EventLog API). - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - . to be used as Source. - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the machine on which Event Log service is running. - - - - - - Gets or sets the layout that renders event ID. - - - - - - Gets or sets the layout that renders event Category. - - - - - - Optional entry type. When not set, or when not convertible to then determined by - - - - - - Gets or sets the value to be used as the event Source. - - - By default this is the friendly name of the current AppDomain. - - - - - - Gets or sets the name of the Event Log to write to. This can be System, Application or any user-defined name. - - - - - - Gets or sets the message length limit to write to the Event Log. - - MaxMessageLength cannot be zero or negative - - - - - Gets or sets the maximum Event log size in kilobytes. - - - MaxKilobytes cannot be less than 64 or greater than 4194240 or not a multiple of 64. - If null, the value will not be specified while creating the Event log. - - - - - - Gets or sets the action to take if the message is larger than the option. - - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Initializes the target. - - - - - Writes the specified logging event to the event log. - - The logging event. - - - - Get the entry type for logging the message. - - The logging event - for rendering the - - - - Get the source, if and only if the source is fixed. - - null when not - Internal for unit tests - - - - (re-)create an event source, if it isn't there. Works only with fixed source names. - - The source name. If source is not fixed (see , then pass null or . - always throw an Exception when there is an error - - - - A wrapper for Windows event log. - - - - - A wrapper for the property . - - - - - A wrapper for the property . - - - - - A wrapper for the property . - - - - - A wrapper for the property . - - - - - Indicates whether an event log instance is associated. - - - - - A wrapper for the method . - - - - - Creates a new association with an instance of the event log. - - - - - A wrapper for the static method . - - - - - A wrapper for the static method . - - - - - A wrapper for the static method . - - - - - A wrapper for the static method . - - - - - The implementation of , that uses Windows . - - - - - - - - - - - - - - - - - - - - - - - - Creates a new association with an instance of Windows . - - - - - - - - - - - - - - - - - Action that should be taken if the message is greater than - the max message size allowed by the Event Log. - - - - - Truncate the message before writing to the Event Log. - - - - - Split the message and write multiple entries to the Event Log. - - - - - Discard of the message. It will not be written to the Event Log. - - - - - Check if cleanup should be performed on initialize new file - - Skip cleanup when initializing new file, just after having performed archive operation - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Characters determining the start of the . - - - - - Characters determining the end of the . - - - - - File name which is used as template for matching and replacements. - It is expected to contain a pattern to match. - - - - - The begging position of the - within the . -1 is returned - when no pattern can be found. - - - - - The ending position of the - within the . -1 is returned - when no pattern can be found. - - - - - Replace the pattern with the specified String. - - - - - - - Archives the log-files using a date style numbering. Archives will be stamped with the - prior period (Year, Month, Day, Hour, Minute) datetime. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Archives the log-files using a date and sequence style numbering. Archives will be stamped - with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in - combination with the date). - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Parse filename with date and sequence pattern - - - dateformat for archive - - the found pattern. When failed, then default - the found pattern. When failed, then default - - - - - Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes - duplicate archive filenames, then sequence-style is automatically enforced. - - Example: - Base Filename trace.log - Next Filename trace.0.log - - The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern. - Before called the original IFileArchiveMode, that has been wrapped by this - - - - - Determines if the file name as contains a numeric pattern i.e. {#} in it. - - Example: - trace{#}.log Contains the numeric pattern. - trace{###}.log Contains the numeric pattern. - trace{#X#}.log Contains the numeric pattern (See remarks). - trace.log Does not contain the pattern. - - Occasionally, this method can identify the existence of the {#} pattern incorrectly. - File name to be checked. - when the pattern is found; otherwise. - - - - Archives the log-files using a rolling style numbering (the most recent is always #0 then - #1, ..., #N. - - When the number of archive files exceed the obsolete archives - are deleted. - - - - - Replaces the numeric pattern i.e. {#} in a file name with the parameter value. - - File name which contains the numeric pattern. - Value which will replace the numeric pattern. - File name with the value of in the position of the numeric pattern. - - - - Archives the log-files using a sequence style numbering. The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Modes of archiving files based on time. - - - - - Don't archive based on time. - - - - - AddToArchive every year. - - - - - AddToArchive every month. - - - - - AddToArchive daily. - - - - - AddToArchive every hour. - - - - - AddToArchive every minute. - - - - - AddToArchive every Sunday. - - - - - AddToArchive every Monday. - - - - - AddToArchive every Tuesday. - - - - - AddToArchive every Wednesday. - - - - - AddToArchive every Thursday. - - - - - AddToArchive every Friday. - - - - - AddToArchive every Saturday. - - - - - Type of filepath - - - - - Detect of relative or absolute - - - - - Relative path - - - - - Absolute path - - Best for performance - - - - Writes log messages to one or more files. - - Documentation on NLog Wiki - - - - Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list. - - Clean up period is defined in days. - - - - The maximum number of initialized files before clean up procedures are initiated, - to keep the number of initialized files to a minimum. Chose 25 to cater for monthly rolling of log-files. - - - - - This value disables file archiving based on the size. - - - - - Holds the initialized files each given time by the instance. Against each file, the last write time is stored. - - Last write time is store in local time (no UTC). - - - - List of the associated file appenders with the instance. - - - - - The number of initialized files at any one time. - - - - - The maximum number of archive files that should be kept. - - - - - The maximum days of archive files that should be kept. - - - - - The filename as target - - - - - The archive file name as target - - - - - The date of the previous log event. - - - - - The file name of the previous log event. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the name of the file to write to. - - - This FileName string is a layout which may include instances of layout renderers. - This lets you use a single target to write to multiple files. - - - The following value makes NLog write logging events to files based on the log level in the directory where - the application runs. - ${basedir}/${level}.log - All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on. - You can combine as many of the layout renderers as you want to produce an arbitrary log file name. - - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. - If set to false, nothing gets written when the filename is wrong. - - - - - - Is the an absolute or relative path? - - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - - Gets or sets a value indicating whether to delete old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - - - - - - Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end. - - - - - - Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event. - - - Setting this property to True helps improve performance. - - - - - - Gets or sets the maximum number of log file names that should be stored as existing. - - - The bigger this number is the longer it will take to write each log record. The smaller the number is - the higher the chance that the clean function will be run when no new files have been opened. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - - Gets or sets the file attributes (Windows only). - - - - - - Gets or sets the line ending mode. - - - - - - Gets or sets a value indicating whether to automatically flush the file buffers after each log message. - - - - - - Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance - in a situation where a single File target is writing to many files - (such as splitting by level or by logger). - - - The files are managed on a LRU (least recently used) basis, which flushes - the files that have not been used for the longest period of time should the - cache become full. As a rule of thumb, you shouldn't set this parameter to - a very high value. A number like 10-15 shouldn't be exceeded, because you'd - be keeping a large number of files open which consumes system resources. - - - - - - Gets or sets the maximum number of seconds that files are kept open. If this number is negative the files are - not automatically closed after a period of inactivity. - - - - - - Gets or sets the maximum number of seconds before open files are flushed. If this number is negative or zero - the files are not flushed by timer. - - - - - - Gets or sets the log file buffer size in bytes. - - - - - - Gets or sets the file encoding. - - - - - - Gets or sets whether or not this target should just discard all data that its asked to write. - Mostly used for when testing NLog Stack except final write - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts. - - - This effectively prevents files from being kept open. - - - - - - Gets or sets a value indicating whether to write BOM (byte order mark) in created files - - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - The actual delay is a random value between 0 and the value specified - in this parameter. On each failed attempt the delay base is doubled - up to times. - - - Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:

- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...

- and so on. - - - - -

- Gets or sets a value indicating whether to archive old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - After archiving the old file, the current log file will be empty. - - -
- - - Gets or sets a value of the file size threshold to archive old log file on startup. - - - This option won't work if is set to false - Default value is 0 which means that the file is archived as soon as archival on - startup is enabled. - - - - - - Gets or sets a value specifying the date format to use when archiving files. - - - This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence. - - - - - - Gets or sets the size in bytes above which log files will be automatically archived. - - Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. - Choose: - - - Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. - - - - - - Gets or sets a value indicating whether to automatically archive log files every time the specified time passes. - - - Files are moved to the archive as part of the write operation if the current period of time changes. For example - if the current hour changes from 10 to 11, the first write that will occur - on or after 11:00 will trigger the archiving. -

- Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. -

-
- -
- - - Is the an absolute or relative path? - - - - - - Gets or sets the name of the file to be used for an archive. - - - It may contain a special placeholder {#####} - that will be replaced with a sequence of numbers depending on - the archiving strategy. The number of hash characters used determines - the number of numerical digits to be used for numbering files. - - - - - - Gets or sets the maximum number of archive files that should be kept. - - - - - - Gets or sets the maximum days of archive files that should be kept. - - - - - - Gets or sets the way file archives are numbered. - - - - - - Used to compress log files during archiving. - This may be used to provide your own implementation of a zip file compressor, - on platforms other than .Net4.5. - Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise. - - - - - - Gets or sets a value indicating whether to compress archive files into the zip archive format. - - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - - Gets or sets a value indicating whether file creation calls should be synchronized by a system global mutex. - - - - - - Gets or sets a value indicating whether the footer should be written only when the file is archived. - - - - - - Gets the characters that are appended after each line. - - - - - Refresh the ArchiveFilePatternToWatch option of the . - The log file must be watched for archiving when multiple processes are writing to the same - open file. - - - - - Removes records of initialized files that have not been - accessed in the last two days. - - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Removes records of initialized files that have not been - accessed after the specified date. - - The cleanup threshold. - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Flushes all pending file operations. - - The asynchronous continuation. - - The timeout parameter is ignored, because file APIs don't provide - the needed functionality. - - - - - Returns the suitable appender factory ( ) to be used to generate the file - appenders associated with the instance. - - The type of the file appender factory returned depends on the values of various properties. - - suitable for this instance. - - - - Initializes file logging by creating data structures that - enable efficient multi-file logging. - - - - - Closes the file(s) opened for writing. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Writes the specified logging event to a file specified in the FileName - parameter. - - The logging event. - - - - Get full filename (=absolute) and cleaned if needed. - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes the specified array of logging events to a file specified in the FileName - parameter. - - An array of objects. - - This function makes use of the fact that the events are batched by sorting - the requests by filename. This optimizes the number of open/close calls - and can help improve performance. - - - - - Returns estimated size for memory stream, based on events count and first event size in bytes. - - Count of events - Bytes count of first event - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Gets the bytes to be written to the file. - - Log event. - Array of bytes that are ready to be written. - - - - Modifies the specified byte array before it gets sent to a file. - - The byte array. - The modified byte array. The function can do the modification in-place. - - - - Gets the bytes to be written to the file. - - The log event to be formatted. - to help format log event. - Optional temporary char-array to help format log event. - Destination for the encoded result. - - - - Formats the log event for write. - - The log event to be formatted. - for the result. - - - - Modifies the specified byte array before it gets sent to a file. - - The LogEvent being written - The byte array. - - - - Archives fileName to archiveFileName. - - File name to be archived. - Name of the archive file. - - - - Gets the correct formatting to be used based on the value of for converting values which will be inserting into file - names during archiving. - - This value will be computed only when a empty value or is passed into - - Date format to used irrespectively of value. - Formatting for dates. - - - - Calculate the DateTime of the requested day of the week. - - The DateTime of the previous log event. - The next occuring day of the week to return a DateTime for. - The DateTime of the next occuring dayOfWeek. - For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return - Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. - - - - Invokes the archiving process after determining when and which type of archiving is required. - - File name to be checked and archived. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - - - - Gets the pattern that archive files will match - - Filename of the log file - Log event that the instance is currently processing. - A string with a pattern that will match the archive file names - - - - Archives the file if it should be archived. - - The file name to check for. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - True when archive operation of the file was completed (by this target or a concurrent target) - - - - Closes any active file-appenders that matches the input filenames. - File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive - - - - - Indicates if the automatic archiving process should be executed. - - File name to be written. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Returns the correct filename to archive - - - - - Gets the file name for archiving, or null if archiving should not occur based on file size. - - File name to be written. - The size in bytes of the next chunk of data to be written in the file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists - - - - - Returns the file name for archiving, or null if archiving should not occur based on date/time. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - - High resolution Time - Time Resolution Level - Truncated Low Resolution Time - - - - Evaluates which parts of a file should be written (header, content, footer) based on various properties of - instance and writes them. - - File name to be written. - Raw sequence of to be written into the content part of the file. - File has just been opened. - - - - Initialise a file to be used by the instance. Based on the number of initialized - files and the values of various instance properties clean up and/or archiving processes can be invoked. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file (DateTime.MinValue if just initialized). - - - - Writes the file footer and finalizes the file in instance internal structures. - - File name to close. - Indicates if the file is being finalized for archiving. - - - - Writes the footer information to a file. - - The file path to write to. - - - - Decision logic whether to archive logfile on startup. - and properties. - - File name to be written. - Decision whether to archive or not. - - - - Invokes the archiving and clean up of older archive file based on the values of - and - properties respectively. - - File name to be written. - Log event that the instance is currently processing. - - - - Creates the file specified in and writes the file content in each entirety i.e. - Header, Content and Footer. - - The name of the file to be written. - Sequence of to be written in the content section of the file. - First attempt to write? - This method is used when the content of the log file is re-written on every write. - - - - Writes the header information and byte order mark to a file. - - File appender associated with the file. - - - - The sequence of to be written in a file after applying any formatting and any - transformations required from the . - - The layout used to render output message. - Sequence of to be written. - Usually it is used to render the header and hooter of the files. - - - - Controls the text and color formatting for - - - - - Creates a TextWriter for the console to start building a colored text message - - Active console stream - Optional StringBuilder to optimize performance - TextWriter for the console - - - - Releases the TextWriter for the console after having built a colored text message (Restores console colors) - - Colored TextWriter - Active console stream - Original foreground color for console (If changed) - Original background color for console (If changed) - Flush TextWriter - - - - Changes foreground color for the Colored TextWriter - - Colored TextWriter - New foreground color for the console - Old previous backgroundColor color for the console - Old foreground color for the console - - - - Changes backgroundColor color for the Colored TextWriter - - Colored TextWriter - New backgroundColor color for the console - Old previous backgroundColor color for the console - Old backgroundColor color for the console - - - - Restores console colors back to their original state - - Colored TextWriter - Original foregroundColor color for the console - Original backgroundColor color for the console - - - - Writes multiple characters to console in one operation (faster) - - Colored TextWriter - Output Text - Start Index - End Index - - - - Writes single character to console - - Colored TextWriter - Output Text - - - - Writes whole string and completes with newline - - Colored TextWriter - Output Text - - - - Default row highlight rules for the console printer - - - - - Check if cleanup should be performed on initialize new file - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Create a wildcard file-mask that allows one to find all files belonging to the same archive. - - Base archive file pattern - Wildcard file-mask - - - - Search directory for all existing files that are part of the same archive. - - Base archive file pattern - - - - - Generate the next archive filename for the archive. - - Base archive file pattern - File date of archive - Existing files in the same archive - - - - - Return all files that should be removed from the provided archive. - - Base archive file pattern - Existing files in the same archive - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - - - - may be configured to compress archived files in a custom way - by setting before logging your first event. - - - - - Create archiveFileName by compressing fileName. - - Absolute path to the log file to compress. - Absolute path to the compressed archive file to create. - - - - Interface for serialization of values, maybe even objects to JSON format. - Useful for wrappers for existing serializers. - - - - - Returns a serialization of an object - into JSON format. - - The object to serialize to JSON. - Serialized value (null = Serialize failed). - - - - Options for JSON serialisation - - - - - Add quotes around object keys? - - - - - Format provider for value - - - - - Format string for value - - - - - Should non-ascii characters be encoded - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - - - Serialize enum as string value - - - - - Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_). - - Any other characters will be converted to underscore character (_) - - - - - How far down the rabbit hole should the Json Serializer go with object-reflection before stopping - - - - Initializes a new instance of the class. - - - - Line ending mode. - - - - - Insert platform-dependent end-of-line sequence after each line. - - - - - Insert CR LF sequence (ASCII 13, ASCII 10) after each line. - - - - - Insert CR character (ASCII 13) after each line. - - - - - Insert LF character (ASCII 10) after each line. - - - - - Insert null terminator (ASCII 0) after each line. - - - - - Do not insert any line ending. - - - - - Gets the name of the LineEndingMode instance. - - - - - Gets the new line characters (value) of the LineEndingMode instance. - - - - - Initializes a new instance of . - - The mode name. - The new line characters to be used. - - - - Returns the that corresponds to the supplied . - - - The textual representation of the line ending mode, such as CRLF, LF, Default etc. - Name is not case sensitive. - - The value, that corresponds to the . - There is no line ending mode with the specified name. - - - - Compares two objects and returns a - value indicating whether the first one is equal to the second one. - - The first level. - The second level. - The value of mode1.NewLineCharacters == mode2.NewLineCharacters. - - - - Compares two objects and returns a - value indicating whether the first one is not equal to the second one. - - The first mode - The second mode - The value of mode1.NewLineCharacters != mode2.NewLineCharacters. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms - and data structures like a hash table. - - - - - Determines whether the specified is - equal to this instance. - - The to compare with - this instance. - - Value of true if the specified - is equal to this instance; otherwise, false. - - - The parameter is null. - - - - Indicates whether the current object is equal to another object of the same type. - true if the current object is equal to the parameter; otherwise, false. - An object to compare with this object. - - - - Provides a type converter to convert objects to and from other representations. - - - - - Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context. - - - true if this converter can perform the conversion; otherwise, false. - - An that provides a format context. A that represents the type you want to convert from. - - - - Converts the given object to the type of this converter, using the specified context and culture information. - - - An that represents the converted value. - - An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed. - - - - Sends log messages to a NLog Receiver Service (using WCF or Web Services). - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets the endpoint address. - - The endpoint address. - - - - - Gets or sets the name of the endpoint configuration in WCF configuration file. - - The name of the endpoint configuration. - - - - - Gets or sets a value indicating whether to use binary message encoding. - - - - - - Gets or sets a value indicating whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply) - - - - - - Gets or sets the client ID. - - The client ID. - - - - - Gets the list of parameters. - - The parameters. - - - - - Gets or sets a value indicating whether to include per-event properties in the payload sent to the server. - - - - - - Called when log events are being sent (test hook). - - The events. - The async continuations. - True if events should be sent, false to stop processing them. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Append" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Add value to the , returns ordinal in - - - lookup so only unique items will be added to - value to add - - - - - Creating a new instance of WcfLogReceiverClient - - Inheritors can override this method and provide their own - service configuration - binding and endpoint address - - This method marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creating a new instance of IWcfLogReceiverClient - - Inheritors can override this method and provide their own - service configuration - binding and endpoint address - - - virtual is used by end users - - - - Sends log messages by email using SMTP protocol. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- Mail target works best when used with BufferingWrapper target - which lets you send multiple log messages in single mail -

-

- To set up the buffered mail target in the configuration file, - use the following syntax: -

- -

- To set up the buffered mail target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets the mailSettings/smtp configuration from app.config in cases when we need those configuration. - E.g when UseSystemNetMailSettings is enabled and we need to read the From attribute from system.net/mailSettings/smtp - - Internal for mocking - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets sender's email address (e.g. joe@domain.com). - - - - - - Gets or sets recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets a value indicating whether to add new lines between log entries. - - A value of true if new lines should be added; otherwise, false. - - - - - Gets or sets the mail subject. - - - - - - Gets or sets mail message body (repeated for each log message send in one mail). - - Alias for the Layout property. - - - - - Gets or sets encoding to be used for sending e-mail. - - - - - - Gets or sets a value indicating whether to send message as HTML instead of plain text. - - - - - - Gets or sets SMTP Server to be used for sending. - - - - - - Gets or sets SMTP Authentication mode. - - - - - - Gets or sets the username used to connect to SMTP server (used when SmtpAuthentication is set to "basic"). - - - - - - Gets or sets the password used to authenticate against SMTP server (used when SmtpAuthentication is set to "basic"). - - - - - - Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server. - - . - - - - Gets or sets the port number that SMTP Server is listening on. - - - - - - Gets or sets a value indicating whether the default Settings from System.Net.MailSettings should be used. - - - - - - Specifies how outgoing email messages will be handled. - - - - - - Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. - - - - - - Gets or sets the priority used for sending mails. - - - - - - Gets or sets a value indicating whether NewLine characters in the body should be replaced with
tags. -
- Only happens when is set to true. - -
- - - Gets or sets a value indicating the SMTP client timeout. - - Warning: zero is not infinite waiting - - - - - Writes async log event to the mail target. - - The logging event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes log events to the mail target. - - Array of logging events. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Create mail and send with SMTP - - event printed in the body of the event - - - - Create buffer for body - - all events - first event for header - last event for footer - - - - - Set properties of - - last event for username/password - client to set properties on - Configure not at , as the properties could have layout renderers. - - - - Handle if it is a virtual directory. - - - - - - - Create key for grouping. Needed for multiple events in one mail message - - event for rendering layouts - string to group on - - - - Append rendered to - - append to this - event for rendering - append if not null - - - - Create the mail message with the addresses, properties and body. - - - - - Render and add the addresses to - - Addresses appended to this list - layout with addresses, ; separated - event for rendering the - added a address? - - - - Writes log messages to in memory for programmatic retrieval. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the list of logs gathered in the . - - - - - Gets or sets the max number of items to have in memory - - - - - - Renders the logging event message and adds to - - The logging event. - - - - A parameter to MethodCall. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout to use for parameter value. - - - - Initializes a new instance of the class. - - Name of the parameter. - The layout. - - - - Initializes a new instance of the class. - - The name of the parameter. - The layout. - The type of the parameter. - - - - Gets or sets the name of the parameter. - - - - - - Gets or sets the type of the parameter. Obsolete alias for - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Calls the specified static method on each log message and passes contextual parameters to it. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets the class name. - - - - - - Gets or sets the method name. The method must be public and static. - - Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx - e.g. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - Name of the target. - Method to call on logevent. - - - - Initializes the target. - - - - - Calls the specified Method. - - Method parameters. - The logging event. - - - - Calls the specified Method. - - Method parameters. - - - - The base class for all targets which call methods (local or remote). - Manages parameters and type coercion. - - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - - - - Prepares an array of parameters to be passed based on the logging event and calls DoInvoke(). - - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Sends log messages over the network. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- To print the results, use any application that's able to receive messages over - TCP or UDP. NetCat is - a simple but very powerful command-line tool that can be used for that. This image - demonstrates the NetCat tool receiving log messages from Network target. -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will be very slow. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-

- There are two specialized versions of the Network target: Chainsaw - and NLogViewer which write to instances of Chainsaw log4j viewer - or NLogViewer application respectively. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the network address. - - - The network address can be: -
    -
  • tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
  • -
  • tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
  • -
  • tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
  • -
  • udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • http://host:port/pageName - HTTP using POST verb
  • -
  • https://host:port/pageName - HTTPS using POST verb
  • -
- For SOAP-based webservice support over HTTP use WebService target. -
- -
- - - Gets or sets a value indicating whether to keep connection open whenever possible. - - - - - - Gets or sets a value indicating whether to append newline at the end of log message. - - - - - - Gets or sets the end of line value if a newline is appended at the end of log message . - - - - - - Gets or sets the maximum message size in bytes. - - - - - - Gets or sets the size of the connection cache (number of connections which are kept alive). - - - - - - Gets or sets the maximum current connections. 0 = no maximum. - - - - - - Gets or sets the action that should be taken if the will be more connections than . - - - - - - Gets or sets the maximum queue size. - - - - - - Gets or sets the action that should be taken if the message is larger than - maxMessageSize. - - - - - - Gets or sets the encoding to be used. - - - - - - Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. - - - - - - The number of seconds a connection will remain idle before the first keep-alive probe is sent - - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Sends the - rendered logging event over the network optionally concatenating it with a newline character. - - The logging event. - - - - Try to remove. - - - - - removed something? - - - - Gets the bytes to be written. - - Log event. - Byte array. - - - - The action to be taken when there are more connections then the max. - - - - - Just allow it. - - - - - Discard the connection item. - - - - - Block until there's more room in the queue. - - - - - Action that should be taken if the message overflows. - - - - - Report an error. - - - - - Split the message into smaller pieces. - - - - - Discard the entire message. - - - - - Represents a parameter to a NLogViewer target. - - - - - Initializes a new instance of the class. - - - - - Gets or sets viewer parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - Sends log messages to the remote instance of NLog Viewer. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include stack contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the renderer for log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets the layout renderer which produces Log4j-compatible XML events. - - - - - Gets or sets the instance of that is used to format log messages. - - - - - - Discards log messages. Used mainly for debugging and benchmarking. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets a value indicating whether to perform layout calculation. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Does nothing. Optionally it calculates the layout text but - discards the results. - - The logging event. - - - - Outputs log messages through the OutputDebugString() Win32 API. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - - - - Increments specified performance counter on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
- - TODO: - 1. Unable to create a category allowing multiple counter instances (.Net 2.0 API only, probably) - 2. Is there any way of adding new counters without deleting the whole category? - 3. There should be some mechanism of resetting the counter (e.g every day starts from 0), or auto-switching to - another counter instance (with dynamic creation of new instance). This could be done with layouts. - -
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether performance counter should be automatically created. - - - - - - Gets or sets the name of the performance counter category. - - - - - - Gets or sets the name of the performance counter. - - - - - - Gets or sets the performance counter instance name. - - - - - - Gets or sets the counter help text. - - - - - - Gets or sets the performance counter type. - - - - - - The value by which to increment the counter. - - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Increments the configured performance counter. - - Log event. - - - - Closes the target and releases any unmanaged resources. - - - - - Ensures that the performance counter has been initialized. - - True if the performance counter is operational, false otherwise. - - - - SMTP authentication modes. - - - - - No authentication. - - - - - Basic - username and password. - - - - - NTLM Authentication. - - - - - Represents logging target. - - - - Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts - - - - The Max StackTraceUsage of all the in this Target - - - - - Gets or sets the name of the target. - - - - - - Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers - Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - - - - Can be used if has been enabled. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - This method won't prerender if all layouts in this target are thread-agnostic. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Writes async log event to the log target. - - Async Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Log event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - NOTE! Obsolete, instead override WriteAsyncThreadSafe(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target, in a thread safe manner. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Renders the event info in layout. - - The layout. - The event info. - String representing log event. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Should the exception be rethrown? - - - Upgrade to private protected when using C# 7.2 - - - - Marks class as a logging target and assigns a name to it. - - This attribute is not required when registering the target in the API. - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page). - - - - - Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page). - - - - - Attribute details for - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Gets or sets when an empty value should cause the property to be included - - - - - Gets or sets the type of the property. - - - - - Represents target that supports context capture using MDLC, MDC, NDLC and NDC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets or sets a value indicating whether to include contents of the dictionary - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the - - - - - - Gets the array of custom attributes to be passed into the logevent context - - - - - - Constructor - - - - - - - - Check if logevent has properties (or context properties) - - - True if properties should be included - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Dictionary with any context properties for the logEvent (Null if none found) - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Optional prefilled dictionary - Dictionary with any context properties for the logEvent (Null if none found) - - - - Creates combined dictionary of all configured properties for logEvent - - - Dictionary with all collected properties for logEvent - - - - Creates combined dictionary of all configured properties for logEvent - - - Optional prefilled dictionary - Dictionary with all collected properties for logEvent - - - - Generates a new unique name, when duplicate names are detected - - LogEvent that triggered the duplicate name - Duplicate item name - Item Value - Dictionary of context values - New (unique) value (or null to skip value). If the same value is used then the item will be overwritten - - - - Returns the captured snapshot of for the - - - Dictionary with MDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with MDLC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with GDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDC key - MDC value - Snapshot of MDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDLC key - MDLC value - Snapshot of MDLC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDC value - Snapshot of NDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDLC value - Snapshot of NDLC value - Include object value in snapshot - - - - Take snapshot of a single object value - - Log event - Key Name (null when NDC / NDLC) - Object Value - Snapshot of value - Include object value in snapshot - - - Internal Layout that allows capture of MDC context - - - Internal Layout that allows capture of NDC context - - - Internal Layout that allows capture of MDLC context - - - Internal Layout that allows capture of NDLC context - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the layout used to format log messages. - - - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the text to be rendered. - - - - - - Gets or sets the footer. - - - - - - Gets or sets the header. - - - - - - Gets or sets the layout with header and footer. - - The layout with header and footer. - - - - Sends log messages through System.Diagnostics.Trace. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Always use independent of - - - - - - Forward to (Instead of ) - - - Trace.Fail can have special side-effects, and give fatal exceptions, message dialogs or Environment.FailFast - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Writes the specified logging event to the facility. - - Redirects the log message depending on and . - When is false: - - writes to - - writes to - - writes to - - writes to - - writes to - - writes to - - The logging event. - - - - Web service protocol. - - - - - Use SOAP 1.1 Protocol. - - - - - Use SOAP 1.2 Protocol. - - - - - Use HTTP POST Protocol. - - - - - Use HTTP GET Protocol. - - - - - Do an HTTP POST of a JSON document. - - - - - Do an HTTP POST of an XML document. - - - - - Web Service Proxy Configuration Type - - - - - Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy) - - - Example of how to configure default proxy using app.config - - <system.net> - <defaultProxy enabled = "true" useDefaultCredentials = "true" > - <proxy usesystemdefault = "True" /> - </defaultProxy> - </system.net> - - - - - - Automatic use of proxy with authentication (cached) - - - - - Disables use of proxy (fast) - - - - - Custom proxy address (cached) - - - - - Calls the specified web service on each log message. - - Documentation on NLog Wiki - - The web service must implement a method that accepts a number of string parameters. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

The example web service that works with this example is shown below

- -
-
- - - dictionary that maps a concrete implementation - to a specific -value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target - - - - Gets or sets the web service URL. - - - - - - Gets or sets the value of the User-agent HTTP header. - - - - - - Gets or sets the Web service method name. Only used with Soap. - - - - - - Gets or sets the Web service namespace. Only used with Soap. - - - - - - Gets or sets the protocol to be used when calling web service. - - - - - - Gets or sets the proxy configuration when calling web service - - - - - - Gets or sets the custom proxy address, include port separated by a colon - - - - - - Should we include the BOM (Byte-order-mark) for UTF? Influences the property. - - This will only work for UTF-8. - - - - - - Gets or sets the encoding. - - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Gets or sets the name of the root XML element, - if POST of XML document chosen. - If so, this property must not be null. - (see and ). - - - - - - Gets or sets the (optional) root namespace of the XML document, - if POST of XML document chosen. - (see and ). - - - - - - Gets the array of parameters to be passed. - - - - - - Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters) - - - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Invokes the web service method. - - Parameters to be passed. - The logging event. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. - - - - - - - Write from input to output. Fix the UTF-8 bom - - - - - - - - - base class for POST formatters, that - implement former PrepareRequest() method, - that creates the content for - the requested kind of HTTP request - - - - - Win32 file attributes. - - - For more information see https://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp. - - - - - Read-only file. - - - - - Hidden file. - - - - - System file. - - - - - File should be archived. - - - - - Device file. - - - - - Normal file. - - - - - File is temporary (should be kept in cache and not - written to disk if possible). - - - - - Sparse file. - - - - - Reparse point. - - - - - Compress file contents. - - - - - File should not be indexed by the content indexing service. - - - - - Encrypted file. - - - - - The system writes through any intermediate cache and goes directly to disk. - - - - - The system opens a file with no system caching. - - - - - Delete file after it is closed. - - - - - A file is accessed according to POSIX rules. - - - - - Asynchronous request queue. - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Gets or sets the request limit. - - - - - Gets or sets the action to be taken when there's no more room in - the queue and another request is enqueued. - - - - - Notifies about log event that was dropped when set to - - - - - Notifies when queue size is growing over - - - - - Raise event when queued element was dropped because of queue overflow - - Dropped queue item - - - - Raise event when RequestCount overflow - - current requests count - - - - Provides asynchronous, buffered execution of target writes. - - Documentation on NLog Wiki - -

- Asynchronous target wrapper allows the logger code to execute more quickly, by queueing - messages and processing them in a separate thread. You should wrap targets - that spend a non-trivial amount of time in their Write() method with asynchronous - target to speed up logging. -

-

- Because asynchronous logging is quite a common scenario, NLog supports a - shorthand notation for wrapping all targets with AsyncWrapper. Just add async="true" to - the <targets/> element in the configuration file. -

- - - ... your targets go here ... - - ]]> -
- -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of requests in the queue. - The action to be taken when the queue overflows. - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity) - - - - - - Raise event when Target cannot store LogEvent. - Event arg contains lost LogEvents - - - - - Raises when event queue grow. - Queue can grow when was set to - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the limit of full s to write before yielding into - Performance is better when writing many small batches, than writing a single large batch - - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - - Gets the queue of lazy writer thread requests. - - - - - Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target by starting the lazy writer timer. - - - - - Shuts down the lazy writer timer. - - - - - Starts the lazy writer thread which periodically writes - queued log messages. - - - - - Attempts to start an instant timer-worker-thread which can write - queued log messages. - - Returns true when scheduled a timer-worker-thread - - - - Stops the lazy writer thread. - - - - - Adds the log event to asynchronous queue to be processed by - the lazy writer thread. - - The log event. - - The is called - to ensure that the log event can be processed in another thread. - - - - - Write to queue without locking - - - - - - The action to be taken when the queue overflows. - - - - - Grow the queue. - - - - - Discard the overflowing item. - - - - - Block until there's more room in the queue. - - - - - Causes a flush on a wrapped target if LogEvent satisfies the . - If condition isn't set, flushes on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Gets or sets the condition expression. Log events who meet this condition will cause - a flush on the wrapped target. - - - - - - Delay the flush until the LogEvent has been confirmed as written - - If not explicitly set, then disabled by default for and AsyncTaskTarget - - - - - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - The wrapped target. - Name of the target - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes the target. - - - - - Forwards the call to the .Write() - and calls on it if LogEvent satisfies - the flush condition or condition is null. - - Logging event to be written out. - - - - Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - A target that buffers log events and sends them in batches to the wrapped target. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - The action to take when the buffer overflows. - - - - Gets or sets the number of log events to be buffered. - - - - - - Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed - if there's no write in the specified period of time. Use -1 to disable timed flushes. - - - - - - Gets or sets a value indicating whether to use sliding timeout. - - - This value determines how the inactivity period is determined. If sliding timeout is enabled, - the inactivity timer is reset after each write, if it is disabled - inactivity timer will - count from the first event written to the buffer. - - - - - - Gets or sets the action to take if the buffer overflows. - - - Setting to will replace the - oldest event with new events without sending events down to the wrapped target, and - setting to will flush the - entire buffer to the wrapped target. - - - - - - Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target. - - - - - Closes the target by flushing pending events in the buffer (if any). - - - - - Adds the specified log event to the buffer and flushes - the buffer in case the buffer gets full. - - The log event. - - - - The action to be taken when the buffer overflows. - - - - - Flush the content of the buffer. - - - - - Discard the oldest item. - - - - - A base class for targets which wrap other (multiple) targets - and provide various forms of target routing. - - - - - Initializes a new instance of the class. - - The targets. - - - - Gets the collection of targets managed by this compound target. - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Writes logging event to the log target. - - Logging event to be written out. - - - - Flush any pending log messages for all wrapped targets. - - The asynchronous continuation. - - - - Concurrent Asynchronous request queue based on - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - Only for debugging purposes - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Provides fallback-on-error. - - Documentation on NLog Wiki - -

This example causes the messages to be written to server1, - and if it fails, messages go to server2.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Gets or sets a value indicating whether to return to the first target after any successful write. - - - - - - - - - - - - Forwards the log event to the sub-targets until one of them succeeds. - - The log event. - - The method remembers the last-known-successful target - and starts the iteration from it. - If is set, the method - resets the target to the first target - stored in . - - - - - Filtering rule for . - - - - - Initializes a new instance of the FilteringRule class. - - - - - Initializes a new instance of the FilteringRule class. - - Condition to be tested against all events. - Filter to apply to all log events when the first condition matches any of them. - - - - Gets or sets the condition to be tested. - - - - - - Gets or sets the resulting filter to be applied when the condition matches. - - - - - - Filters log entries based on a condition. - - Documentation on NLog Wiki - -

This example causes the messages not contains the string '1' to be ignored.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The condition. - - - - Initializes a new instance of the class. - - The wrapped target. - The condition. - - - - Gets or sets the condition expression. Log events who meet this condition will be forwarded - to the wrapped target. - - - - - - Gets or sets the filter. Log events who evaluates to will be discarded - - - - - - - - - Checks the condition against the passed log event. - If the condition is met, the log event is forwarded to - the wrapped target. - - Log event. - - - - - - - Impersonates another user for the duration of the write. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Gets or sets username to change context to. - - - - - - Gets or sets the user account password. - - - - - - Gets or sets Windows domain name to change context to. - - - - - - Gets or sets the Logon Type. - - - - - - Gets or sets the type of the logon provider. - - - - - - Gets or sets the required impersonation level. - - - - - - Gets or sets a value indicating whether to revert to the credentials of the process instead of impersonating another user. - - - - - - Initializes the impersonation context. - - - - - Closes the impersonation context. - - - - - Changes the security context, forwards the call to the .Write() - and switches the context back to original. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Changes the security context, forwards the call to the .Write() - and switches the context back to original. - - Log events. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Helper class which reverts the given - to its original value as part of . - - - - - Initializes a new instance of the class. - - The windows impersonation context. - - - - Reverts the impersonation context. - - - - - Limits the number of messages written per timespan to the wrapped target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of messages written per interval. - Interval in which the maximum number of messages can be written. - - - - Gets or sets the maximum allowed number of messages written per . - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets or sets the interval in which messages will be written up to the number of messages. - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets the DateTime when the current will be reset. - - - - - - Gets the number of written in the current . - - - - - - Initializes the target and resets the current Interval and . - - - - - Writes log event to the wrapped target if the current is lower than . - If the is already reached, no log event will be written to the wrapped target. - resets when the current is expired. - - Log event to be written out. - - - - Arguments for events. - - - - - - - - Instance of that was dropped by - - - - - Raises by when - queue is full - and set to - By default queue doubles it size. - - - - - Contains items count and new queue size. - - Required queue size - Current queue size - - - - New queue size - - - - - Current requests count - - - - - Logon provider. - - - - - Use the standard logon provider for the system. - - - The default security provider is negotiate, unless you pass NULL for the domain name and the user name - is not in UPN format. In this case, the default provider is NTLM. - NOTE: Windows 2000/NT: The default security provider is NTLM. - - - - - Filters buffered log entries based on a set of conditions that are evaluated on a group of events. - - Documentation on NLog Wiki - - PostFilteringWrapper must be used with some type of buffering target or wrapper, such as - AsyncTargetWrapper, BufferingWrapper or ASPNetBufferingWrapper. - - -

- This example works like this. If there are no Warn,Error or Fatal messages in the buffer - only Info messages are written to the file, but if there are any warnings or errors, - the output includes detailed trace (levels >= Debug). You can plug in a different type - of buffering wrapper (such as ASPNetBufferingWrapper) to achieve different - functionality. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Gets or sets the default filter to be applied when no specific rule matches. - - - - - - Gets the collection of filtering rules. The rules are processed top-down - and the first rule that matches determines the filtering condition to - be applied to log events. - - - - - - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Evaluates all filtering rules to find the first one that matches. - The matching rule determines the filtering condition to be applied - to all items in a buffer. If no condition matches, default filter - is applied to the array of log events. - - Array of log events to be post-filtered. - - - - Evaluate all the rules to get the filtering condition - - - - - - - Sends log messages to a randomly selected target. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt - chosen randomly on a per-message basis. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the log event to one of the sub-targets. - The sub-target is randomly chosen. - - The log event. - - - - Repeats each log event the specified number of times. - - Documentation on NLog Wiki - -

This example causes each log message to be repeated 3 times.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The repeat count. - - - - Initializes a new instance of the class. - - The wrapped target. - The repeat count. - - - - Gets or sets the number of times to repeat each log message. - - - - - - Forwards the log message to the by calling the method times. - - The log event. - - - - Retries in case of write error. - - Documentation on NLog Wiki - -

This example causes each write attempt to be repeated 3 times, - sleeping 1 second between attempts if first one fails.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Initializes a new instance of the class. - - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure. - - - - - - Gets or sets the time to wait between retries in milliseconds. - - - - - - Special SyncObject to allow closing down Target while busy retrying - - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Writes the specified log event to the wrapped target in a thread-safe manner. - - The log event. - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Distributes log events to targets in a round-robin fashion. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt. - Each odd message is written to file2.txt, each even message goes to file1.txt. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Ensures forwarding happens without holding lock - - - - - - Forwards the write to one of the targets from - the collection. - - The log event. - - The writes are routed in a round-robin fashion. - The first log event goes to the first target, the second - one goes to the second target and so on looping to the - first target when there are no more targets available. - In general request N goes to Targets[N % Targets.Count]. - - - - - Impersonation level. - - - - - Anonymous Level. - - - - - Identification Level. - - - - - Impersonation Level. - - - - - Delegation Level. - - - - - Logon type. - - - - - Interactive Logon. - - - This logon type is intended for users who will be interactively using the computer, such as a user being logged on - by a terminal server, remote shell, or similar process. - This logon type has the additional expense of caching logon information for disconnected operations; - therefore, it is inappropriate for some client/server applications, - such as a mail server. - - - - - Network Logon. - - - This logon type is intended for high performance servers to authenticate plaintext passwords. - The LogonUser function does not cache credentials for this logon type. - - - - - Batch Logon. - - - This logon type is intended for batch servers, where processes may be executing on behalf of a user without - their direct intervention. This type is also for higher performance servers that process many plaintext - authentication attempts at a time, such as mail or Web servers. - The LogonUser function does not cache credentials for this logon type. - - - - - Logon as a Service. - - - Indicates a service-type logon. The account provided must have the service privilege enabled. - - - - - Network Clear Text Logon. - - - This logon type preserves the name and password in the authentication package, which allows the server to make - connections to other network servers while impersonating the client. A server can accept plaintext credentials - from a client, call LogonUser, verify that the user can access the system across the network, and still - communicate with other servers. - NOTE: Windows NT: This value is not supported. - - - - - New Network Credentials. - - - This logon type allows the caller to clone its current token and specify new credentials for outbound connections. - The new logon session has the same local identifier but uses different credentials for other network connections. - NOTE: This logon type is supported only by the LOGON32_PROVIDER_WINNT50 logon provider. - NOTE: Windows NT: This value is not supported. - - - - - Writes log events to all targets. - - Documentation on NLog Wiki - -

This example causes the messages to be written to both file1.txt or file2.txt -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the specified log event to all sub-targets. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Base class for targets wrap other (single) targets. - - - - - Gets or sets the target that is wrapped by this target. - - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Builtin IFileCompressor implementation utilizing the .Net4.5 specific - and is used as the default value for on .Net4.5. - So log files created via can be zipped when archived - w/o 3rd party zip library when run on .Net4.5 or higher. - - - - - Implements using the .Net4.5 specific - - - - - Current local time retrieved directly from DateTime.Now. - - - - - Gets current local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Current UTC time retrieved directly from DateTime.UtcNow. - - - - - Gets current UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Fast time source that updates current time only once per tick (15.6 milliseconds). - - - - - Gets raw uncached time from derived time source. - - - - - Gets current time cached for one system tick (15.6 milliseconds). - - - - - Fast local time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Fast UTC time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Defines source of current time. - - - - - Gets current time. - - - - - Gets or sets current global time source used in all log events. - - - Default time source is . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to the same form - as time values originated from this source. - - - - There are situations when NLog have to compare the time originated from TimeSource - to the time originated externally in the system. - To be able to provide meaningful result of such comparisons the system time must be expressed in - the same form as TimeSource time. - - - Examples: - - If the TimeSource provides time values of local time, it should also convert the provided - to the local time. - - If the TimeSource shifts or skews its time values, it should also apply - the same transform to the given . - - - - - - Marks class as a time source and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the time source. - -
-
diff --git a/app/packages/NLog.4.7.15/lib/netstandard1.3/NLog.dll b/app/packages/NLog.4.7.15/lib/netstandard1.3/NLog.dll deleted file mode 100644 index 9d1d861..0000000 Binary files a/app/packages/NLog.4.7.15/lib/netstandard1.3/NLog.dll and /dev/null differ diff --git a/app/packages/NLog.4.7.15/lib/netstandard1.3/NLog.xml b/app/packages/NLog.4.7.15/lib/netstandard1.3/NLog.xml deleted file mode 100644 index df346d8..0000000 --- a/app/packages/NLog.4.7.15/lib/netstandard1.3/NLog.xml +++ /dev/null @@ -1,25889 +0,0 @@ - - - - NLog - - - - - Indicates that the value of the marked element could be null sometimes, - so the check for null is necessary before its usage. - - - [CanBeNull] object Test() => null; - - void UseTest() { - var p = Test(); - var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' - } - - - - - Indicates that the value of the marked element could never be null. - - - [NotNull] object Foo() { - return null; // Warning: Possible 'null' assignment - } - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can never be null. - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can be null. - - - - - Indicates that the marked method builds string by format pattern and (optional) arguments. - Parameter, which contains format string, should be given in constructor. The format string - should be in -like form. - - - [StringFormatMethod("message")] - void ShowError(string message, params object[] args) { /* do something */ } - - void Foo() { - ShowError("Failed: {0}"); // Warning: Non-existing argument in format string - } - - - - - Specifies which parameter of an annotated method should be treated as format-string - - - - - For a parameter that is expected to be one of the limited set of values. - Specify fields of which type should be used as values for this parameter. - - - - - Indicates that the function argument should be string literal and match one - of the parameters of the caller function. For example, ReSharper annotates - the parameter of . - - - void Foo(string param) { - if (param == null) - throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol - } - - - - - Indicates that the method is contained in a type that implements - System.ComponentModel.INotifyPropertyChanged interface and this method - is used to notify that some property value changed. - - - The method should be non-static and conform to one of the supported signatures: - - NotifyChanged(string) - NotifyChanged(params string[]) - NotifyChanged{T}(Expression{Func{T}}) - NotifyChanged{T,U}(Expression{Func{T,U}}) - SetProperty{T}(ref T, T, string) - - - - public class Foo : INotifyPropertyChanged { - public event PropertyChangedEventHandler PropertyChanged; - - [NotifyPropertyChangedInvocator] - protected virtual void NotifyChanged(string propertyName) { ... } - - string _name; - - public string Name { - get { return _name; } - set { _name = value; NotifyChanged("LastName"); /* Warning */ } - } - } - - Examples of generated notifications: - - NotifyChanged("Property") - NotifyChanged(() => Property) - NotifyChanged((VM x) => x.Property) - SetProperty(ref myField, value, "Property") - - - - - - Describes dependency between method input and output. - - -

Function Definition Table syntax:

- - FDT ::= FDTRow [;FDTRow]* - FDTRow ::= Input => Output | Output <= Input - Input ::= ParameterName: Value [, Input]* - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} - Value ::= true | false | null | notnull | canbenull - - If method has single input parameter, it's name could be omitted.
- Using halt (or void/nothing, which is the same) for method output - means that the methods doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute - with rows separated by semicolon. There is no notion of order rows, all rows are checked - for applicability and applied per each program state tracked by R# analysis.
-
- - - [ContractAnnotation("=> halt")] - public void TerminationMethod() - - - [ContractAnnotation("halt <= condition: false")] - public void Assert(bool condition, string text) // regular assertion method - - - [ContractAnnotation("s:null => true")] - public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() - - - // A method that returns null if the parameter is null, - // and not null if the parameter is not null - [ContractAnnotation("null => null; notnull => notnull")] - public object Transform(object data) - - - [ContractAnnotation("=> true, result: notnull; => false, result: null")] - public bool TryParse(string s, out Person result) - - -
- - - Indicates that marked element should be localized or not. - - - [LocalizationRequiredAttribute(true)] - class Foo { - string str = "my string"; // Warning: Localizable string - } - - - - - Indicates that the value of the marked type (or its derivatives) - cannot be compared using '==' or '!=' operators and Equals() - should be used instead. However, using '==' or '!=' for comparison - with null is always permitted. - - - [CannotApplyEqualityOperator] - class NoEquality { } - - class UsesNoEquality { - void Test() { - var ca1 = new NoEquality(); - var ca2 = new NoEquality(); - if (ca1 != null) { // OK - bool condition = ca1 == ca2; // Warning - } - } - } - - - - - When applied to a target attribute, specifies a requirement for any type marked - with the target attribute to implement or inherit specific type or types. - - - [BaseTypeRequired(typeof(IComponent)] // Specify requirement - class ComponentAttribute : Attribute { } - - [Component] // ComponentAttribute requires implementing IComponent interface - class MyComponent : IComponent { } - - - - - Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), - so this symbol will not be marked as unused (as well as by other usage inspections). - - - - - Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes - as unused (as well as by other usage inspections) - - - - Only entity marked with attribute considered used. - - - Indicates implicit assignment to a member. - - - - Indicates implicit instantiation of a type with fixed constructor signature. - That means any unused constructor parameters won't be reported as such. - - - - Indicates implicit instantiation of a type. - - - - Specify what is considered used implicitly when marked - with or . - - - - Members of entity marked with attribute are considered used. - - - Entity marked with attribute and all its members considered used. - - - - This attribute is intended to mark publicly available API - which should not be removed and so is treated as used. - - - - - Tells code analysis engine if the parameter is completely handled when the invoked method is on stack. - If the parameter is a delegate, indicates that delegate is executed while the method is executed. - If the parameter is an enumerable, indicates that it is enumerated while the method is executed. - - - - - Indicates that a method does not make any observable state changes. - The same as System.Diagnostics.Contracts.PureAttribute. - - - [Pure] int Multiply(int x, int y) => x * y; - - void M() { - Multiply(123, 42); // Waring: Return value of pure method is not used - } - - - - - Indicates that the return value of method invocation must be used. - - - - - Indicates the type member or parameter of some type, that should be used instead of all other ways - to get the value that type. This annotation is useful when you have some "context" value evaluated - and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one. - - - class Foo { - [ProvidesContext] IBarService _barService = ...; - - void ProcessNode(INode node) { - DoSomething(node, node.GetGlobalServices().Bar); - // ^ Warning: use value of '_barService' field - } - } - - - - - Indicates that a parameter is a path to a file or a folder within a web project. - Path can be relative or absolute, starting from web root (~). - - - - - An extension method marked with this attribute is processed by ReSharper code completion - as a 'Source Template'. When extension method is completed over some expression, it's source code - is automatically expanded like a template at call site. - - - Template method body can contain valid source code and/or special comments starting with '$'. - Text inside these comments is added as source code when the template is applied. Template parameters - can be used either as additional method parameters or as identifiers wrapped in two '$' signs. - Use the attribute to specify macros for parameters. - - - In this example, the 'forEach' method is a source template available over all values - of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block: - - [SourceTemplate] - public static void forEach<T>(this IEnumerable<T> xs) { - foreach (var x in xs) { - //$ $END$ - } - } - - - - - - Allows specifying a macro for a parameter of a source template. - - - You can apply the attribute on the whole method or on any of its additional parameters. The macro expression - is defined in the property. When applied on a method, the target - template parameter is defined in the property. To apply the macro silently - for the parameter, set the property value = -1. - - - Applying the attribute on a source template method: - - [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] - public static void forEach<T>(this IEnumerable<T> collection) { - foreach (var item in collection) { - //$ $END$ - } - } - - Applying the attribute on a template method parameter: - - [SourceTemplate] - public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { - /*$ var $x$Id = "$newguid$" + x.ToString(); - x.DoSomething($x$Id); */ - } - - - - - - Allows specifying a macro that will be executed for a source template - parameter when the template is expanded. - - - - - Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. - - - If the target parameter is used several times in the template, only one occurrence becomes editable; - other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, - use values >= 0. To make the parameter non-editable when the template is expanded, use -1. - > - - - - Identifies the target parameter of a source template if the - is applied on a template method. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC action. If applied to a method, the MVC action name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC area. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is - an MVC controller. If applied to a method, the MVC controller name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC - partial view. If applied to a method, the MVC partial view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC template. - Use this attribute for custom wrappers similar to - System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component. If applied to a method, the MVC view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Controller.View(Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component name. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component view. If applied to a method, the MVC view component view name is default. - - - - - ASP.NET MVC attribute. When applied to a parameter of an attribute, - indicates that this parameter is an MVC action name. - - - [ActionName("Foo")] - public ActionResult Login(string returnUrl) { - ViewBag.ReturnUrl = Url.Action("Foo"); // OK - return RedirectToAction("Bar"); // Error: Cannot resolve action - } - - - - - Razor attribute. Indicates that a parameter or a method is a Razor section. - Use this attribute for custom wrappers similar to - System.Web.WebPages.WebPageBase.RenderSection(String). - - - - - Indicates how method, constructor invocation or property access - over collection type affects content of the collection. - - - - Method does not use or modify content of the collection. - - - Method only reads content of the collection but does not modify it. - - - Method can change content of the collection but does not add new elements. - - - Method can add new elements to the collection. - - - - Indicates that the marked method is assertion method, i.e. it halts control flow if - one of the conditions is satisfied. To set the condition, mark one of the parameters with - attribute. - - - - - Indicates the condition parameter of the assertion method. The method itself should be - marked by attribute. The mandatory argument of - the attribute is the assertion type. - - - - - Specifies assertion type. If the assertion method argument satisfies the condition, - then the execution continues. Otherwise, execution is assumed to be halted. - - - - Marked parameter should be evaluated to true. - - - Marked parameter should be evaluated to false. - - - Marked parameter should be evaluated to null value. - - - Marked parameter should be evaluated to not null value. - - - - Indicates that the marked method unconditionally terminates control flow execution. - For example, it could unconditionally throw exception. - - - - - Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select, - .Where). This annotation allows inference of [InstantHandle] annotation for parameters - of delegate type by analyzing LINQ method chains. - - - - - Indicates that IEnumerable, passed as parameter, is not enumerated. - - - - - Indicates that parameter is regular expression pattern. - - - - - Prevents the Member Reordering feature from tossing members of the marked class. - - - The attribute must be mentioned in your member reordering patterns - - - - - XAML attribute. Indicates the type that has ItemsSource property and should be treated - as ItemsControl-derived type, to enable inner items DataContext type resolve. - - - - - XAML attribute. Indicates the property of some BindingBase-derived type, that - is used to bind some item of ItemsControl-derived type. This annotation will - enable the DataContext type resolve for XAML bindings for such properties. - - - Property should have the tree ancestor of the ItemsControl type or - marked with the attribute. - - - - - Support implementation of - - - - - - - - - - - - - - - - - Asynchronous continuation delegate - function invoked at the end of asynchronous - processing. - - Exception during asynchronous processing or null if no exception - was thrown. - - - - Helpers for asynchronous operations. - - - - - Iterates over all items in the given collection and runs the specified action - in sequence (each action executes only after the preceding one has completed without an error). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end. - - The repeat count. - The asynchronous continuation to invoke at the end. - The action to invoke. - - - - Modifies the continuation by pre-pending given action to execute just before it. - - The async continuation. - The action to pre-pend. - Continuation which will execute the given action before forwarding to the actual continuation. - - - - Attaches a timeout to a continuation which will invoke the continuation when the specified - timeout has elapsed. - - The asynchronous continuation. - The timeout. - Wrapped continuation. - - - - Iterates over all items in the given collection and runs the specified action - in parallel (each action executes on a thread from thread pool). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Runs the specified asynchronous action synchronously (blocks until the continuation has - been invoked). - - The action. - - Using this method is not recommended because it will block the calling thread. - - - - - Wraps the continuation with a guard which will only make sure that the continuation function - is invoked only once. - - The asynchronous continuation. - Wrapped asynchronous continuation. - - - - Gets the combined exception from all exceptions in the list. - - The exceptions. - Combined exception or null if no exception was thrown. - - - - Disposes the Timer, and waits for it to leave the Timer-callback-method - - The Timer object to dispose - Timeout to wait (TimeSpan.Zero means dispose without waiting) - Timer disposed within timeout (true/false) - - - - Asynchronous action. - - Continuation to be invoked at the end of action. - - - - Asynchronous action with one argument. - - Type of the argument. - Argument to the action. - Continuation to be invoked at the end of action. - - - - Represents the logging event with asynchronous continuation. - - - - - Initializes a new instance of the struct. - - The log event. - The continuation. - - - - Gets the log event. - - - - - Gets the continuation. - - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - A value of true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - String Conversion Helpers - - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - Output value - Default value - Returns false if the input value could not be parsed - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - The type of the enum - Output value. Null if parse failed - - - - Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded. - - The enumeration type to which to convert value. - The string representation of the enumeration name or underlying value to convert. - true to ignore case; false to consider case. - When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized. - true if the value parameter was converted successfully; otherwise, false. - Wrapper because Enum.TryParse is not present in .net 3.5 - - - - Enum.TryParse implementation for .net 3.5 - - - - Don't uses reflection - - - - Enables to extract extra context details for - - - - - Name of context - - - - - The current LogFactory next to LogManager - - - - - NLog internal logger. - - Writes to file, console or custom text writer (see ) - - - Don't use as that can lead to recursive calls - stackoverflow - - - - - Gets a value indicating whether internal log includes Trace messages. - - - - - Gets a value indicating whether internal log includes Debug messages. - - - - - Gets a value indicating whether internal log includes Info messages. - - - - - Gets a value indicating whether internal log includes Warn messages. - - - - - Gets a value indicating whether internal log includes Error messages. - - - - - Gets a value indicating whether internal log includes Fatal messages. - - - - - Logs the specified message without an at the Trace level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - Log message. - - - - Logs the specified message without an at the Trace level. - will be only called when logging is enabled for level Trace. - - Function that returns the log message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Trace level. - will be only called when logging is enabled for level Trace. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Debug level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Debug level. - - Log message. - - - - Logs the specified message without an at the Debug level. - will be only called when logging is enabled for level Debug. - - Function that returns the log message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Debug level. - will be only called when logging is enabled for level Debug. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Info level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Info level. - - Log message. - - - - Logs the specified message without an at the Info level. - will be only called when logging is enabled for level Info. - - Function that returns the log message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Info level. - will be only called when logging is enabled for level Info. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Warn level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Warn level. - - Log message. - - - - Logs the specified message without an at the Warn level. - will be only called when logging is enabled for level Warn. - - Function that returns the log message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Warn level. - will be only called when logging is enabled for level Warn. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Error level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Error level. - - Log message. - - - - Logs the specified message without an at the Error level. - will be only called when logging is enabled for level Error. - - Function that returns the log message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Error level. - will be only called when logging is enabled for level Error. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Fatal level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Fatal level. - - Log message. - - - - Logs the specified message without an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Function that returns the log message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Exception to be logged. - Function that returns the log message. - - - - Initializes static members of the InternalLogger class. - - - - - Set the config of the InternalLogger with defaults and config. - - - - - Gets or sets the minimal internal log level. - - If set to , then messages of the levels , and will be written. - - - - Gets or sets a value indicating whether internal messages should be written to the console output stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the console error stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the .Trace - - - - - Gets or sets the file path of the internal log file. - - A value of value disables internal logging to a file. - - - - Gets or sets the text writer that will receive internal logs. - - - - - Event written to the internal log. - Please note that the event is not triggered when then event hasn't the minimal log level set by - - - - - Gets or sets a value indicating whether timestamp should be included in internal log output. - - - - - Is there an thrown when writing the message? - - - - - Logs the specified message without an at the specified level. - - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the specified level. - - Log level. - Log message. - - - - Logs the specified message without an at the specified level. - will be only called when logging is enabled for level . - - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - will be only called when logging is enabled for level . - - Exception to be logged. - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Log message. - - - - Write to internallogger. - - optional exception to be logged. - level - message - optional args for - - - - Create log line with timestamp, exception message etc (if configured) - - - - - Determine if logging should be avoided because of exception type. - - The exception to check. - true if logging should be avoided; otherwise, false. - - - - Determine if logging is enabled for given LogLevel - - The for the log event. - true if logging is enabled; otherwise, false. - - - - Determine if logging is enabled. - - true if logging is enabled; otherwise, false. - - - - Write internal messages to the log file defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Logs the assembly version and file version of the given Assembly. - - The assembly to log. - - - - A message has been written to the internal logger - - - - - The rendered message - - - - - The log level - - - - - The exception. Could be null. - - - - - The type that triggered this internal log event, for example the FileTarget. - This property is not always populated. - - - - - The context name that triggered this internal log event, for example the name of the Target. - This property is not always populated. - - - - - - - - A cyclic buffer of object. - - - - - Initializes a new instance of the class. - - Buffer size. - Whether buffer should grow as it becomes full. - The maximum number of items that the buffer can grow to. - - - - Gets the capacity of the buffer - - - - - Gets the number of items in the buffer - - - - - Adds the specified log event to the buffer. - - Log event. - The number of items in the buffer. - - - - Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation. - - Events in the buffer. - - - - Condition and expression. - - - - - Initializes a new instance of the class. - - Left hand side of the AND expression. - Right hand side of the AND expression. - - - - Gets the left hand side of the AND expression. - - - - - Gets the right hand side of the AND expression. - - - - - Returns a string representation of this expression. - - A concatenated '(Left) and (Right)' string. - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the conjunction operator. - - - - Exception during evaluation of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Base class for representing nodes in condition expression trees. - - - - - Converts condition text to a condition expression tree. - - Condition text to be converted. - Condition expression tree. - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition layout expression (represented by a string literal - with embedded ${}). - - - - - Initializes a new instance of the class. - - The layout. - - - - Gets the layout. - - The layout. - - - - Returns a string representation of this expression. - - String literal in single quotes. - - - - Evaluates the expression by calculating the value - of the layout in the specified evaluation context. - - Evaluation context. - The value of the layout. - - - - Condition level expression (represented by the level keyword). - - - - - Returns a string representation of the expression. - - The 'level' string. - - - - Evaluates to the current log level. - - Evaluation context. Ignored. - The object representing current log level. - - - - Condition literal expression (numeric, LogLevel.XXX, true or false). - - - - - Initializes a new instance of the class. - - Literal value. - ToString value. - - - - Gets the literal value. - - The literal value. - - - - Returns a string representation of the expression. - - The literal value. - - - - Evaluates the expression. - - Evaluation context. - The literal value as passed in the constructor. - - - - Condition logger name expression (represented by the logger keyword). - - - - - Returns a string representation of this expression. - - A logger string. - - - - Evaluates to the logger name. - - Evaluation context. - The logger name. - - - - Condition message expression (represented by the message keyword). - - - - - Returns a string representation of this expression. - - The 'message' string. - - - - Evaluates to the logger message. - - Evaluation context. - The logger message. - - - - Marks class as a log event Condition and assigns a name to it. - - - - - Initializes a new instance of the class. - - Condition method name. - - - - Condition method invocation expression (represented by method(p1,p2,p3) syntax). - - - - - Initializes a new instance of the class. - - Name of the condition method. - of the condition method. - Precompiled delegate of the condition method. - The method parameters. - - - - Gets the method info. - - - - - Gets the method parameters - - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - A bunch of utility methods (mostly predicates) which can be used in - condition expressions. Partially inspired by XPath 1.0. - - - - - Compares two values for equality. - - The first value. - The second value. - true when two objects are equal, false otherwise. - - - - Compares two strings for equality. - - The first string. - The second string. - Optional. If true, case is ignored; if false (default), case is significant. - true when two strings are equal, false otherwise. - - - - Gets or sets a value indicating whether the second string is a substring of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a substring of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a prefix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a suffix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Returns the length of a string. - - A string whose lengths is to be evaluated. - The length of the string. - - - - Indicates whether the specified regular expression finds a match in the specified input string. - - The string to search for a match. - The regular expression pattern to match. - A string consisting of the desired options for the test. The possible values are those of the separated by commas. - true if the regular expression finds a match; otherwise, false. - - - - - - - - - - - Marks the class as containing condition methods. - - - - - Condition not expression. - - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression to be negated. - - The expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition or expression. - - - - - Initializes a new instance of the class. - - Left hand side of the OR expression. - Right hand side of the OR expression. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the alternative operator. - - - - Exception during parsing of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Condition parser. Turns a string representation of condition expression - into an expression tree. - - - - - Initializes a new instance of the class. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - Instance of used to resolve references to condition methods and layout renderers. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - - Try stringed keyword to - - - - success? - - - - Parse number - - negative number? minus should be parsed first. - - - - - Condition relational (==, !=, <, <=, - > or >=) expression. - - - - - Initializes a new instance of the class. - - The left expression. - The right expression. - The relational operator. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Gets the relational operator. - - The operator. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Compares the specified values using specified relational operator. - - The first value. - The second value. - The relational operator. - Result of the given relational operator. - - - - Promote values to the type needed for the comparision, e.g. parse a string to int. - - - - - - - Promotes to type - - - - success? - - - - Try to promote both values. First try to promote to , - when failed, try to . - - - - - - Get the order for the type for comparision. - - - index, 0 to max int. Lower is first - - - - Dictionary from type to index. Lower index should be tested first. - - - - - Build the dictionary needed for the order of the types. - - - - - - Get the string representing the current - - - - - - Relational operators used in conditions. - - - - - Equality (==). - - - - - Inequality (!=). - - - - - Less than (<). - - - - - Greater than (>). - - - - - Less than or equal (<=). - - - - - Greater than or equal (>=). - - - - - Hand-written tokenizer for conditions. - - - - - Initializes a new instance of the class. - - The string reader. - - - - Gets the type of the token. - - The type of the token. - - - - Gets the token value. - - The token value. - - - - Gets the value of a string token. - - The string token value. - - - - Asserts current token type and advances to the next token. - - Expected token type. - If token type doesn't match, an exception is thrown. - - - - Asserts that current token is a keyword and returns its value and advances to the next token. - - Keyword value. - - - - Gets or sets a value indicating whether current keyword is equal to the specified value. - - The keyword. - - A value of true if current keyword is equal to the specified value; otherwise, false. - - - - - Gets or sets a value indicating whether the tokenizer has reached the end of the token stream. - - - A value of true if the tokenizer has reached the end of the token stream; otherwise, false. - - - - - Gets or sets a value indicating whether current token is a number. - - - A value of true if current token is a number; otherwise, false. - - - - - Gets or sets a value indicating whether the specified token is of specified type. - - The token type. - - A value of true if current token is of specified type; otherwise, false. - - - - - Gets the next token and sets and properties. - - - - - Try the comparison tokens (greater, smaller, greater-equals, smaller-equals) - - current char - is match - - - - Try the logical tokens (and, or, not, equals) - - current char - is match - - - - Mapping between characters and token types for punctuations. - - - - - Initializes a new instance of the CharToTokenType struct. - - The character. - Type of the token. - - - - Token types for condition expressions. - - - - - Marks the class or a member as advanced. Advanced classes and members are hidden by - default in generated documentation. - - - - - Initializes a new instance of the class. - - - - - Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain. - - - A layout(renderer) could be converted to a literal when: - - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput] - - Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout. - - - - - Used to mark configurable parameters which are arrays. - Specifies the mapping between XML elements and .NET types. - - - - - Initializes a new instance of the class. - - The type of the array item. - The XML element name that represents the item. - - - - Gets the .NET type of the array item. - - - - - Gets the XML element name. - - - - - An assembly is trying to load. - - - - - New event args - - - - - - The assembly that is trying to load. - - - - - Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. - - Type of the item. - Created object of the specified type. - - - - Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. - - Everything of an assembly could be loaded by - - - - - Called before the assembly will be loaded. - - - - - Initializes a new instance of the class. - - The assemblies to scan for named items. - - - - Gets or sets default singleton instance of . - - - This property implements lazy instantiation so that the is not built before - the internal logger is configured. - - - - - Gets or sets the creator delegate used to instantiate configuration objects. - - - By overriding this property, one can enable dependency injection or interception for created objects. - - - - - Gets the factory. - - The target factory. - - - - Gets the factory. - - The filter factory. - - - - gets the factory - - not using due to backwards-compatibility. - - - - - Gets the factory. - - The layout renderer factory. - - - - Gets the factory. - - The layout factory. - - - - Gets the ambient property factory. - - The ambient property factory. - - - - Legacy interface, no longer used by the NLog engine - - - - - Gets or sets the JSON serializer to use with or - - - - - Gets or sets the string serializer to use with - - - - - Gets or sets the custom object-type transformation for use in , or - - - - - Gets or sets the parameter converter to use with , or - - - - - Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect) - - - - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering. - - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with ) - - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging) - - - - - Gets the time source factory. - - The time source factory. - - - - Gets the condition method factory. - - The condition method factory. - - - - Gets the condition method factory (precompiled) - - The condition method factory. - - - - Registers named items from the assembly. - - The assembly. - - - - Registers named items from the assembly. - - The assembly. - Item name prefix. - - - - Call Preload for NLogPackageLoader - - - Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) - This method will be called just before registering all items in the assembly. - - - - - - Call the Preload method for . The Preload method must be static. - - - - - - Clears the contents of all factories. - - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Builds the default configuration item factory. - - Default factory. - - - - Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. - - - - - Attribute used to mark the default parameters for layout renderers. - - - - - Initializes a new instance of the class. - - - - - Dynamic filtering with a positive list of enabled levels - - - - - Dynamic filtering with a minlevel and maxlevel range - - - - - Format of the exception output to the specific target. - - - - - Appends the Message of an Exception to the specified target. - - - - - Appends the type of an Exception to the specified target. - - - - - Appends the short type of an Exception to the specified target. - - - - - Appends the result of calling ToString() on an Exception to the specified target. - - - - - Appends the method name from Exception's stack trace to the specified target. - - - - - Appends the stack trace from an Exception to the specified target. - - - - - Appends the contents of an Exception's Data property to the specified target. - - - - - Destructure the exception (usually into JSON) - - - - - Appends the from the application or the object that caused the error. - - - - - Appends the from the application or the object that caused the error. - - - - - Appends any additional properties that specific type of Exception might have. - - - - - Factory for class-based items. - - The base type of each item. - The type of the attribute used to annotate items. - - - - Scans the assembly. - - The types to scan. - The prefix. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Registers the item based on a type name. - - Name of the item. - Name of the type. - - - - Clears the contents of the factory. - - - - - Registers a single type definition. - - The item name. - The type of the item. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Creates an item instance. - - The name of the item. - Created item. - - - - Factory specialized for s. - - - - - Clear all func layouts - - - - - Register a layout renderer with a callback function. - - Name of the layoutrenderer, without ${}. - the renderer that renders the value. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.). - - - - - Implemented by objects which support installation and uninstallation. - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Interface for accessing configuration details - - - - - Name of the config section - - - - - Configuration Key/Value Pairs - - - - - Child config sections - - - - - Interface for loading NLog - - - - - Finds and loads the NLog configuration - - LogFactory that owns the NLog configuration - Name of NLog.config file (optional) - NLog configuration (or null if none found) - - - - Notifies when LoggingConfiguration has been successfully applied - - LogFactory that owns the NLog configuration - NLog Config - - - - Get file paths (including filename) for the possible NLog config files. - - Name of NLog.config file (optional) - The file paths to the possible config file - - - - Level enabled flags for each LogLevel ordinal - - - - - Converts the filter into a simple - - - - - Represents a factory of named items (such as targets, layouts, layout renderers, etc.). - - Base type for each item instance. - Item definition type (typically or ). - - - - Registers new item definition. - - Name of the item. - Item definition. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Creates item instance. - - Name of the item. - Newly created item instance. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides context for install/uninstall operations. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log output. - - - - Gets or sets the installation log level. - - - - - Gets or sets a value indicating whether to ignore failures during installation. - - - - - Whether installation exceptions should be rethrown. If IgnoreFailures is set to true, - this property has no effect (there are no exceptions to rethrow). - - - - - Gets the installation parameters. - - - - - Gets or sets the log output. - - - - - Logs the specified trace message. - - The message. - The arguments. - - - - Logs the specified debug message. - - The message. - The arguments. - - - - Logs the specified informational message. - - The message. - The arguments. - - - - Logs the specified warning message. - - The message. - The arguments. - - - - Logs the specified error message. - - The message. - The arguments. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Creates the log event which can be used to render layouts during installation/uninstallations. - - Log event info object. - - - - Convert object-value into specified type - - - - - Parses the input value and converts into the wanted type - - Input Value - Wanted Type - Format to use when parsing - Culture to use when parsing - Output value with wanted type - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for extension loading - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for enabling NLog - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - LoggingConfiguration being built - - - - - Interface for fluent setup of LogFactory options for logevent serialization - - - - - LogFactory under configuration - - - - - Encapsulates and the logic to match the actual logger name - All subclasses defines immutable objects. - Concrete subclasses defines various matching rules through - - - - - Creates a concrete based on . - - - Rules used to select the concrete implementation returned: - - if is null => returns (never matches) - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals) - if == '*' => returns (always matches) - if doesn't contain '?' - - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns - - - returns - - - - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - A concrete - - - - Returns the argument passed to - - - - - Checks whether given name matches the logger name pattern. - - String to be matched. - A value of when the name matches, otherwise. - - - - Defines a that never matches. - Used when pattern is null - - - - - Defines a that always matches. - Used when pattern is '*' - - - - - Defines a that matches with a case-sensitive Equals - Used when pattern is a string without wildcards '?' '*' - - - - - Defines a that matches with a case-sensitive StartsWith - Used when pattern is a string like "*foobar" - - - - - Defines a that matches with a case-sensitive EndsWith - Used when pattern is a string like "foobar*" - - - - - Defines a that matches with a case-sensitive Contains - Used when pattern is a string like "*foobar*" - - - - - Defines a that matches with a complex wildcards combinations: - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - used when pattern is a string containing any number of '?' or '*' in any position - i.e. "*Server[*].Connection[?]" - - - - - Keeps logging configuration and provides simple API to modify it. - - This class is thread-safe..ToList() is used for that purpose. - - - - Variables defined in xml or in API. name is case case insensitive. - - - - - Gets the factory that will be configured - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. - - - - Gets the variables defined in the configuration. - - - - - Gets a collection of named targets specified in the configuration. - - - A list of named targets. - - - Unnamed targets (such as those wrapped by other targets) are not returned. - - - - - Gets the collection of file names which should be watched for changes by NLog. - - - - - Gets the collection of logging rules. - - - - - Gets or sets the default culture info to use as . - - - Specific culture info or null to use - - - - - Gets all targets. - - - - - Compare objects based on their name. - - This property is use to cache the comparer object. - - - - Defines methods to support the comparison of objects for equality based on their name. - - - - - Registers the specified target object. The name of the target is read from . - - - The target object with a non - - when is - - - - Registers the specified target object under a given name. - - Name of the target. - The target object. - when is - when is - - - - Finds the target with the specified name. - - - The name of the target to be found. - - - Found target or when the target is not found. - - - - - Finds the target with the specified name and specified type. - - - The name of the target to be found. - - Type of the target - - Found target or when the target is not found of not of type - - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for all loglevels. - - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Finds the logging rule with the specified name. - - The name of the logging rule to be found. - Found logging rule or when not found. - - - - Removes the specified named logging rule. - - The name of the logging rule to be removed. - Found one or more logging rule to remove, or when not found. - - - - Called by LogManager when one of the log configuration files changes. - - - A new instance of that represents the updated configuration. - - - - - Removes the specified named target. - - Name of the target. - - - - Installs target-specific objects on current system. - - The installation context. - - Installation typically runs with administrative permissions. - - - - - Uninstalls target-specific objects from current system. - - The installation context. - - Uninstallation typically runs with administrative permissions. - - - - - Closes all targets and releases any unmanaged resources. - - - - - Log to the internal (NLog) logger the information about the and associated with this instance. - - - The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is - recorded. - - - - - Validates the configuration. - - - - - Copies all variables from provided dictionary into current configuration variables. - - Master variables dictionary - - - - Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage. - - - - - - - Checks whether unused targets exist. If found any, just write an internal log at Warn level. - If initializing not started or failed, then checking process will be canceled - - - - - - - - Arguments for events. - - - - - Initializes a new instance of the class. - - The new configuration. - The old configuration. - - - - Gets the old configuration. - - The old configuration. - - - - Gets the new configuration. - - The new configuration. - - - - Gets the new configuration - - The new configuration. - - - - Gets the old configuration - - The old configuration. - - - - Gets the optional boolean attribute value. - - - Name of the attribute. - Default value to return if the attribute is not found or if there is a parse error - Boolean attribute value or default. - - - - Remove the namespace (before :) - - - x:a, will be a - - - - - - - Enables loading of NLog configuration from a file - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Loads NLog configuration from - - - - - Constructor - - - - - - Loads NLog configuration from provided config section - - - - - - - Builds list with unique keys, using last value of duplicates. High priority keys placed first. - - - - - - - Parse loglevel, but don't throw if exception throwing is disabled - - Name of attribute for logging. - Value of parse. - Used if there is an exception - - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Parse {Rules} xml element - - - Rules are added to this parameter. - - - - Parse {Logger} xml element - - - - - - Parse boolean - - Name of the property for logging. - value to parse - Default value to return if the parse failed - Boolean attribute value or default. - - - - Represents a logging rule. An equivalent of <logger /> configuration element. - - - - - Create an empty . - - - - - Create an empty . - - - - - Create a new with a and which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a new with a which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a (disabled) . You should call or to enable logging. - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Target to be written to when the rule matches. - - - - Rule identifier to allow rule lookup - - - - - Gets a collection of targets that should be written to when this rule matches. - - - - - Gets a collection of child rules to be evaluated when this rule matches. - - - - - Gets a collection of filters to be checked before writing to targets. - - - - - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - - Gets or sets logger name pattern. - - - Logger name pattern used by to check if a logger name matches this rule. - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - - - - Gets the collection of log levels enabled by this rule. - - - - - Default action if none of the filters match - - - - - Enables logging for a particular level. - - Level to be enabled. - - - - Enables logging for a particular levels between (included) and . - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Disables logging for a particular level. - - Level to be disabled. - - - - Disables logging for particular levels between (included) and . - - Minimum log level to be disables. - Maximum log level to de disabled. - - - - Enables logging the levels between (included) and . All the other levels will be disabled. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Returns a string representation of . Used for debugging. - - - A that represents the current . - - - - - Checks whether te particular log level is enabled for this rule. - - Level to be checked. - A value of when the log level is enabled, otherwise. - - - - Checks whether given name matches the . - - String to be matched. - A value of when the name matches, otherwise. - - - - Default filtering with static level config - - - - - Factory for locating methods. - - - - - Initializes a new instance of the class. - - Helper method to extract relevant methods from type - - - - Scans the assembly for classes marked with expected class - and methods marked with expected and adds them - to the factory. - - The types to scan. - The prefix to use for names. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Scans a type for relevant methods with their symbolic names - - Include types that are marked with this attribute - Include methods that are marked with this attribute - Class Type to scan - Collection of methods with their symbolic names - - - - Clears contents of the factory. - - - - - Registers the definition of a single method. - - The method name. - The method info. - - - - Registers the definition of a single method. - - The method name. - The method info. - The precompiled method delegate. - - - - Tries to retrieve method by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Tries to retrieve method-delegate by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Retrieves method by name. - - Method name. - MethodInfo object. - - - - Retrieves method by name. - - Method name. - Method delegate object. - - - - Tries to get method definition. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Marks the layout or layout renderer depends on mutable objects from the LogEvent - - This can be or - - - - - Attaches a simple name to an item (such as , - , , etc.). - - - - - Initializes a new instance of the class. - - The name of the item. - - - - Gets the name of the item. - - The name of the item. - - - - Indicates NLog should not scan this property during configuration. - - - - - Initializes a new instance of the class. - - - - - Marks the object as configuration item for NLog. - - - - - Initializes a new instance of the class. - - - - - Represents simple XML element with case-insensitive attribute semantics. - - - - - Initializes a new instance of the class. - - The reader to initialize element from. - - - - Prevents a default instance of the class from being created. - - - - - Gets the element name. - - - - - Gets the dictionary of attribute values. - - - - - Gets the collection of child elements. - - - - - Gets the value of the element. - - - - - Last error occured during configuration read - - - - - Returns children elements with the specified element name. - - Name of the element. - Children elements with the specified element name. - - - - Asserts that the name of the element is among specified element names. - - The allowed names. - - - - Returns all parsing errors from current and all child elements. - - - - - Special attribute we could ignore - - - - - Default implementation of - - - - - - - - Attribute used to mark the required parameters for targets, - layout targets and filters. - - - - - Provides simple programmatic configuration API used for trivial logging cases. - - Warning, these methods will overwrite the current config. - - - - - Configures NLog for to log to the specified target so that all messages - above and including the level are output. - - The target to log all messages to. - - - - Configures NLog for to log to the specified target so that all messages - above and including the specified level are output. - - The target to log all messages to. - The minimal logging level. - - - - Configures NLog for file logging so that all messages above and including - the level are written to the specified file. - - Log file name. - - - - Configures NLog for file logging so that all messages above and including - the specified level are written to the specified file. - - Log file name. - The minimal logging level. - - - - Value indicating how stack trace should be captured when processing the log event. - - - - - Stack trace should not be captured. - - - - - Stack trace should be captured without source-level information. - - - - - Stack trace should be captured including source-level information such as line numbers. - - - - - Capture maximum amount of the stack trace information supported on the platform. - - - - - Marks the layout or layout renderer as thread independent - it producing correct results - regardless of the thread it's running on. - - Without this attribute everything is rendered on the main thread. - - - If this attribute is set on a layout, it could be rendered on the another thread. - This could be more efficient as it's skipped when not needed. - - If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - - See the AsyncTargetWrapper and BufferTargetWrapper with the , using - - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - - - - - Marks the layout or layout renderer as thread safe - it producing correct results - regardless of the number of threads it's running on. - - Without this attribute then the target concurrency will be reduced - - - - - A class for configuring NLog through an XML configuration file - (App.config style or App.nlog style). - - Parsing of the XML file is also implemented in this class. - - - - This class is thread-safe..ToList() is used for that purpose. - - Update TemplateXSD.xml for changes outside targets - - - - - Initializes a new instance of the class. - - Configuration file to be read. - - - - Initializes a new instance of the class. - - Configuration file to be read. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - XML reader to read from. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - The XML contents. - Name of the XML file. - The to which to apply any applicable configuration values. - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - NLog LogFactory - - - - Did the Succeeded? true= success, false= error, null = initialize not started yet. - - - - - Gets or sets a value indicating whether all of the configuration files - should be watched for changes and reloaded automatically when changed. - - - - - Gets the collection of file names which should be watched for changes by NLog. - This is the list of configuration files processed. - If the autoReload attribute is not set it returns empty collection. - - - - - Re-reads the original configuration file and returns the new object. - - The new object. - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Create XML reader for (xml config) file. - - filepath - reader or null if filename is empty. - - - - Initializes the configuration. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Checks whether any error during XML configuration parsing has occured. - If there are any and ThrowConfigExceptions or ThrowExceptions - setting is enabled - throws NLogConfigurationException, otherwise - just write an internal log at Warn level. - - Root NLog configuration xml element - - - - Add a file with configuration. Check if not already included. - - - - - - - Parse the root - - - path to config file. - The default value for the autoReload option. - - - - Parse {configuration} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parse {NLog} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Include (multiple) files by filemask, e.g. *.nlog - - base directory in case if is relative - relative or absolute fileMask - - - - - - - - Matches when the specified condition is met. - - - Conditions are expressed using a simple language - described here. - - - - - Gets or sets the condition expression. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - An abstract filter class. Provides a way to eliminate log messages - based on properties other than logger name and log level. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the action to be taken when filter matches. - - - - - - Gets the result of evaluating filter against given log event. - - The log event. - Filter result. - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Marks class as a layout renderer and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the filter. - - - - Filter result. - - - - - The filter doesn't want to decide whether to log or discard the message. - - - - - The message should be logged. - - - - - The message should not be logged. - - - - - The message should be logged and processing should be finished. - - - - - The message should not be logged and processing should be finished. - - - - - A base class for filters that are based on comparing a value to a layout. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the layout to be used to filter log messages. - - The layout. - - - - - Matches when the calculated layout contains the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets the substring to be matched. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets a string to compare the layout to. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches the provided filter-method - - - - - Initializes a new instance of the class. - - - - - - - - Matches when the calculated layout does NOT contain the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets the substring to be matched. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is NOT equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a string to compare the layout to. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the result of the calculated layout has been repeated a moment ago - - - - - How long before a filter expires, and logging is accepted again - - - - - - Max length of filter values, will truncate if above limit - - - - - - Applies the configured action to the initial logevent that starts the timeout period. - Used to configure that it should ignore all events until timeout. - - - - - - Max number of unique filter values to expect simultaneously - - - - - - Default number of unique filter values to expect, will automatically increase if needed - - - - - - Insert FilterCount value into when an event is no longer filtered - - - - - - Append FilterCount to the when an event is no longer filtered - - - - - - Reuse internal buffers, and doesn't have to constantly allocate new buffers - - - - - - Default buffer size for the internal buffers - - - - - - Can be used if has been enabled. - - - - - Initializes a new instance of the class. - - - - - Checks whether log event should be logged or not. In case the LogEvent has just been repeated. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Uses object pooling, and prunes stale filter items when the pool runs dry - - - - - Remove stale filter-value from the cache, and fill them into the pool for reuse - - - - - Renders the Log Event into a filter value, that is used for checking if just repeated - - - - - Repeated LogEvent detected. Checks if it should activate filter-action - - - - - Filter Value State (mutable) - - - - - Filter Lookup Key (immutable) - - - - - A global logging class using caller info to find the logger. - - - - - Starts building a log event with the specified . - - The log level. - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Trace level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Debug level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Info level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Warn level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Error level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Fatal level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - A fluent class to build log events for NLog. - - - - - Initializes a new instance of the class. - - The to send the log event. - - - - Initializes a new instance of the class. - - The to send the log event. - The for the log event. - - - - Gets the created by the builder. - - - - - Sets the information of the logging event. - - The exception information of the logging event. - current for chaining calls. - - - - Sets the level of the logging event. - - The level of the logging event. - current for chaining calls. - - - - Sets the logger name of the logging event. - - The logger name of the logging event. - current for chaining calls. - - - - Sets the log message on the logging event. - - The log message for the logging event. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - The fourth object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - An object that supplies culture-specific formatting information. - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets a per-event context property on the logging event. - - The name of the context property. - The value of the context property. - current for chaining calls. - - - - Sets multiple per-event context properties on the logging event. - - The properties to set. - current for chaining calls. - - - - Sets the timestamp of the logging event. - - The timestamp of the logging event. - current for chaining calls. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - current for chaining calls. - - - - Writes the log event to the underlying logger. - - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - - - - Writes the log event to the underlying logger if the condition delegate is true. - - If condition is true, write log event; otherwise ignore event. - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - - - - Writes the log event to the underlying logger if the condition is true. - - If condition is true, write log event; otherwise ignore event. - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - - - - Extension methods for NLog . - - - - - Starts building a log event with the specified . - - The logger to write the log event to. - The log level. - current for chaining calls. - - - - Starts building a log event at the Trace level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Debug level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Info level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Warn level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Error level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Fatal level. - - The logger to write the log event to. - current for chaining calls. - - - - Global Diagnostics Context - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Global Diagnostics Context - a dictionary structure to hold per-application-instance values. - - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The item value, if defined; otherwise null. - - - - Returns all item names - - A collection of the names of all items in the Global Diagnostics Context. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Include context properties - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Interface for serialization of object values into JSON format - - - - - Serialization of an object into JSON format. - - The object to serialize to JSON. - Output destination. - Serialize succeeded (true/false) - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format.s - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Logger with only generic methods (passing 'LogLevel' to methods) and core properties. - - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Extensions for NLog . - - - - - Writes the diagnostic message and exception at the specified level. - - A logger implementation that will handle the message. - The log level. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Allocates new builder and appends to the provided target builder on dispose - - - - - Access the new builder allocated - - - - - Helpers for . - - - - - Load from url - - name without .dll - - - - - Forward declare of system delegate type for use by other classes - - - - - Keeps track of pending operation count, and can notify when pending operation count reaches zero - - - - - Mark operation has started - - - - - Mark operation has completed - - Exception coming from the completed operation [optional] - - - - Registers an AsyncContinuation to be called when all pending operations have completed - - Invoked on completion - AsyncContinuation operation - - - - Clear o - - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Legacy attempt to skip async MoveNext, but caused source file line number to be lost - - - - - Gets the entire stack trace. - - - - - Finds first user stack frame in a stack trace - - The stack trace of the logging method invocation - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - Index of the first user stack frame or 0 if all stack frames are non-user - - - - This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame - - The stack trace of the logging method invocation - Starting point for skipping async MoveNext-frames - - - - Assembly to skip? - - Find assembly via this frame. - true, we should skip. - - - - Is this the type of the logger? - - get type of this logger in this frame. - Type of the logger. - - - - - Memory optimized filtering - - Passing state too avoid delegate capture and memory-allocations. - - - - Provides untyped IDictionary interface on top of generic IDictionary. - - The type of the key. - The type of the value. - - - - Initializes a new instance of the DictionaryAdapter class. - - The implementation. - - - - Gets an object containing the values in the object. - - - - An object containing the values in the object. - - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - - Gets an object that can be used to synchronize access to the . - - - - An object that can be used to synchronize access to the . - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - - Gets an object containing the keys of the object. - - - - An object containing the keys of the object. - - - - - Gets or sets the with the specified key. - - Dictionary key. - Value corresponding to key or null if not found - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - - - Removes all elements from the object. - - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - True if the contains an element with the key; otherwise, false. - - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Wrapper IDictionaryEnumerator. - - - - - Initializes a new instance of the class. - - The wrapped. - - - - Gets both the key and the value of the current dictionary entry. - - - - A containing both the key and the value of the current dictionary entry. - - - - - Gets the key of the current dictionary entry. - - - - The key of the current element of the enumeration. - - - - - Gets the value of the current dictionary entry. - - - - The value of the current element of the enumeration. - - - - - Gets the current element in the collection. - - - - The current element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - - - Ensures that IDictionary.GetEnumerator returns DictionaryEntry values - - - - - UTF-8 BOM 239, 187, 191 - - - - - Safe way to get environment variables. - - - - - Helper class for dealing with exceptions. - - - - - Mark this exception as logged to the . - - - - - - - Is this exception logged to the ? - - - trueif the has been logged to the . - - - - Determines whether the exception must be rethrown and logs the error to the if is false. - - Advised to log first the error to the before calling this method. - - The exception to check. - Target context of the exception. - trueif the must be rethrown, false otherwise. - - - - Determines whether the exception must be rethrown immediately, without logging the error to the . - - Only used this method in special cases. - - The exception to check. - trueif the must be rethrown, false otherwise. - - - - Object construction helper. - - - - - - - - - - - - - - - - - - - - - - - - - Initializes a new instance of the class. - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Abstract calls for the application environment - - - - - Abstract calls to FileSystem - - - - Determines whether the specified file exists. - The file to check. - - - Returns the content of the specified file - The file to load. - - - - Base class for optimized file appenders. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the path of the file, including file extension. - - The name of the file. - - - - Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated - Universal Time [UTC] standard. - - The creation time of the file. - - - - Gets or sets the creation time for a file associated with the appender. Synchronized by - The time format is based on - - - - - Gets the last time the file associated with the appender is opened. The time returned is in Coordinated - Universal Time [UTC] standard. - - The time the file was last opened. - - - - Gets the file creation parameters. - - The file creation parameters. - - - - Writes the specified bytes. - - The bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates the file stream. - - If set to true sets the file stream to allow shared writing. - If larger than 0 then it will be used instead of the default BufferSize for the FileStream. - A object which can be used to write to the file. - - - - Base class for optimized file appenders which require the usage of a mutex. - - It is possible to use this class as replacement of BaseFileAppender and the mutex functionality - is not enforced to the implementing subclasses. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Implementation of which caches - file information. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Closes this instance of the appender. - - - - - Flushes this current appender. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Writes the specified bytes to a file. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Factory class which creates objects. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Maintains a collection of file appenders usually associated with file targets. - - - - - An "empty" instance of the class with zero size and empty list of appenders. - - - - - Initializes a new "empty" instance of the class with zero size and empty - list of appenders. - - - - - Initializes a new instance of the class. - - - The size of the list should be positive. No validations are performed during initialization as it is an - internal class. - - Total number of appenders allowed in list. - Factory used to create each appender. - Parameters used for creating a file. - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface that provides parameters for create file function. - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - Gets or sets the log file buffer size in bytes. - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Gets or sets the file attributes (Windows only). - - - - - Should archive mutex be created? - - - - - Should manual simple detection of file deletion be enabled? - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface implemented by all factories capable of creating file appenders. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - Instance of which can be used to write to the file. - - - - Appender used to discard data for the FileTarget. - Used mostly for testing entire stack except the actual writing to disk. - Throws away all data. - - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Multi-process and multi-host file appender which attempts - to get exclusive write access and retries if it's not available. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Optimized single-process file appender which keeps the file open for exclusive write. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - A layout that represents a filePath. - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid file names char array to avoid memory allocation every time Path.GetInvalidFileNameChars() is called. - - - - - not null when == false - - - - - non null is fixed, - - - - - is the cache-key, and when newly rendered filename matches the cache-key, - then it reuses the cleaned cache-value . - - - - - is the cache-value that is reused, when the newly rendered filename - matches the cache-key - - - - Initializes a new instance of the class. - - - - Render the raw filename from Layout - - The log event. - StringBuilder to minimize allocations [optional]. - String representation of a layout. - - - - Convert the raw filename to a correct filename - - The filename generated by Layout. - String representation of a correct filename. - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Convert object to string - - value - format for conversion. - - - If is null and isn't a already, then the will get a locked by - - - - - Format a log message - - - - - Format the message and return - - LogEvent with message to be formatted - formatted message - - - - Has the logevent properties? - - LogEvent with message to be formatted - False when logevent has no properties to be extracted - - - - Appends the logevent message to the provided StringBuilder - - LogEvent with message to be formatted - The to append the formatted message. - - - - Get the Raw, unformatted and unstrinyfied, value - - - - - Get the raw value - - - The value - RawValue supported? - - - - Interface implemented by layouts and layout renderers. - - - - - Renders the the value of layout or layout renderer in the context of the specified log event. - - The log event. - String representation of a layout. - - - - Supports rendering as string value with limited or no allocations (preferred) - - - - - Renders the value of layout renderer in the context of the specified log event - - - null if not possible or unknown - - - - Supports object initialization and termination. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Allows components to request stack trace information to be provided in the . - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Render the event info as parse as short - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as int - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as bool - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Logger configuration. - - - - - Initializes a new instance of the class. - - The targets by level. - Use the old exception log handling of NLog 3.0? - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. - - - - Gets targets for the specified level. - - The level. - Chain of targets with attached filters. - - - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - New formatter - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - The MessageFormatter delegate - - - - - - - - Most-Recently-Used-Cache, that discards less frequently used items on overflow - - - - - Constructor - - Maximum number of items the cache will hold before discarding. - - - - Attempt to insert item into cache. - - Key of the item to be inserted in the cache. - Value of the item to be inserted in the cache. - true when the key does not already exist in the cache, false otherwise. - - - - Lookup existing item in cache. - - Key of the item to be searched in the cache. - Output value of the item found in the cache. - True when the key is found in the cache, false otherwise. - - - - Network sender which uses HTTP or HTTPS POST. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Creates instances of objects for given URLs. - - - - - Creates a new instance of the network sender based on a network URL. - - URL that determines the network sender to be created. - The maximum queue size. - SSL protocols for TCP - KeepAliveTime for TCP - - A newly created network sender. - - - - - Interface for mocking socket calls. - - - - - A base class for all network senders. Supports one-way sending of messages - over various protocols. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Gets the address of the network endpoint. - - - - - Gets the last send time. - - - - - Initializes this network sender. - - - - - Closes the sender and releases any unmanaged resources. - - The continuation. - - - - Flushes any pending messages and invokes a continuation. - - The continuation. - - - - Send the given text over the specified protocol. - - Bytes to be sent. - Offset in buffer. - Number of bytes to send. - The asynchronous continuation. - - - - Closes the sender and releases any unmanaged resources. - - - - - Performs sender-specific initialization. - - - - - Performs sender-specific close operation. - - The continuation. - - - - Performs sender-specific flush. - - The continuation. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Parses the URI into an endpoint address. - - The URI to parse. - The address family. - Parsed endpoint. - - - - Default implementation of . - - - - - - - - A base class for network senders that can block or send out-of-order - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Performs sender-specific flush. - - The continuation. - - - - Socket proxy for mocking Socket code. - - - - - Initializes a new instance of the class. - - The address family. - Type of the socket. - Type of the protocol. - - - - Gets underlying socket instance. - - - - - Closes the wrapped socket. - - - - - Invokes ConnectAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendToAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Sends messages over a TCP network connection. - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - The address family. - - - - Creates the socket with given parameters. - - The host address. - The address family. - Type of the socket. - Type of the protocol. - Instance of which represents the socket. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Facilitates mocking of class. - - - - - Raises the Completed event. - - - - - Sends messages over the network as UDP datagrams. - - - - - Initializes a new instance of the class. - - URL. Must start with udp://. - The address family. - - - - Creates the socket. - - The address family. - Type of the socket. - Type of the protocol. - Implementation of to use. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Sends the specified text as a UDP datagram. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Scans (breadth-first) the object graph following all the edges whose are - instances have attached and returns - all objects implementing a specified interfaces. - - - - - Finds the objects which have attached which are reachable - from any of the given root objects when traversing the object graph over public properties. - - Type of the objects to return. - Also search the properties of the wanted objects. - The root objects. - Ordered list of objects implementing T. - - - ISet is not there in .net35, so using HashSet - - - - Helper for extracting propertyPath - - - - - Object Path to check - - - - - Try get value from , using , and set into - - - - - - - - Converts object into a List of property-names and -values using reflection - - - - - Scans properties for name (Skips string-compare and value-lookup until finding match) - - - - - Scans properties for name (Skips property value lookup until finding match) - - - - - Scans properties for name - - - - - Combine paths - - basepath, not null - optional dir - optional file - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Trims directory separators from the path - - path, could be null - never null - - - - Detects the platform the NLog is running on. - - - - - Gets the current runtime OS. - - - - - Gets a value indicating whether current OS is Win32-based (desktop or mobile). - - - - - Gets a value indicating whether current OS is Unix-based. - - - - - Gets a value indicating whether current runtime is Mono-based - - - - - Gets a value indicating whether current runtime supports use of mutex - - - - - Will creating a mutex succeed runtime? - "Cached" detection - - - - - Will creating a mutex succeed runtime? - - - - - Dictionary that combines the standard with the - MessageTemplate-properties extracted from the . - - The are returned as the first items - in the collection, and in positional order. - - - - - Value of the property - - - - - Is this a property of the message? - - - - - - - Value of the property - Is this a property of the message? - - - - The properties of the logEvent - - - - - The properties extracted from the message - - - - - Wraps the list of message-template-parameters into the IDictionary-interface - - Message-template-parameters - - - - Transforms the list of event-properties into IDictionary-interface - - Message-template-parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Check if the message-template-parameters can be used directly without allocating a dictionary - - Message-template-parameters - Are all parameter names unique (true / false) - - - - Attempt to insert the message-template-parameters into an empty dictionary - - Message-template-parameters - The initially empty dictionary - Message-template-parameters was inserted into dictionary without trouble (true/false) - - - - Attempt to override the existing dictionary values using the message-template-parameters - - Message-template-parameters - The already filled dictionary - List of unique message-template-parameters - - - - - - - - - - - - - - - - - - - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - - - - - - - - - - - - - - - - - Reflection helpers for accessing properties. - - - - - Set value parsed from string. - - object instance to set with property - name of the property on - The value to be parsed. - - - - - Get property info - - object which could have property - property name on - result when success. - success. - - - - Try parse of string to (Generic) list, comma separated. - - - If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape - - - - - Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase) - - - - - Try get the property - - - - - Reflection helpers. - - - - - Gets all usable exported types from the given assembly. - - Assembly to scan. - Usable types from the given assembly. - Types which cannot be loaded are skipped. - - - - Is this a static class? - - - - This is a work around, as Type doesn't have this property. - From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static - - - - - Optimized delegate for calling MethodInfo - - Object instance, use null for static methods. - Complete list of parameters that matches the method, including optional/default parameters. - - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) - - - - - Controls a single allocated char[]-buffer for reuse (only one active user) - - - - - Controls a single allocated StringBuilder for reuse (only one active user) - - - - - Controls a single allocated object for reuse (only one active user) - - - - Empty handle when is disabled - - - - Creates handle to the reusable char[]-buffer for active usage - - Handle to the reusable item, that can release it again - - - - Access the acquired reusable object - - - - - Controls a single allocated MemoryStream for reuse (only one active user) - - - - - Supported operating systems. - - - If you add anything here, make sure to add the appropriate detection - code to - - - - - Unknown operating system. - - - - - Unix/Linux operating systems. - - - - - Desktop versions of Windows (95,98,ME). - - - - - Windows NT, 2000, 2003 and future versions based on NT technology. - - - - - Macintosh Mac OSX - - - - - Simple character tokenizer. - - - - - Initializes a new instance of the class. - - The text to be tokenized. - - - - Current position in - - - - - Full text to be parsed - - - - - Check current char while not changing the position. - - - - - - Read the current char and change position - - - - - - Get the substring of the - - - - - - - - Implements a single-call guard around given continuation function. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - - - - Continuation function which implements the single-call guard. - - The exception. - - - - HashSet optimized for single item - - - - - - Insert single item on scope start, and remove on scope exit - - Item to insert in scope - Existing hashset to update - Force allocation of real hashset-container - HashSet EqualityComparer - - - - Add item to collection, if it not already exists - - Item to insert - - - - Clear hashset - - - - - Check if hashset contains item - - - Item exists in hashset (true/false) - - - - Remove item from hashset - - - Item removed from hashset (true/false) - - - - Copy items in hashset to array - - Destination array - Array offset - - - - Create hashset enumerator - - Enumerator - - - - Provides helpers to sort log events and associated continuations. - - - - - Key selector delegate. - - The type of the value. - The type of the key. - Value to extract key information from. - Key selected from log event. - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - The key comparer function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. - - - - - - - - - - - - - - - - Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. - Consider to use instead for better safety. - - Key value for lookup - Mapped value found - - - - Non-Allocating struct-enumerator - - - - - - - - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - - - - Will always throw, as dictionary is readonly - - - - Utilities for dealing with values. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - - - - Returns the assembly from the provided StackFrame (If not internal assembly) - - Valid assembly, or null if assembly was internal - - - - Returns the classname from the provided StackFrame (If not from internal assembly) - - - Valid class name, or empty string if assembly was internal - - - - Stream helpers - - - - - Copy to output stream and skip BOM if encoding is UTF8 - - - - - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - .net35 doesn't have a .copyto - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - first bytes to skip (optional) - - - - Helpers for , which is used in e.g. layout renderers. - - - - - Renders the specified log event context item and appends it to the specified . - - append to this - value to be appended - format string. If @, then serialize the value with the Default JsonConverter. - provider, for example culture - - - - Appends int without using culture, and most importantly without garbage - - - value to append - - - - Appends uint without using culture, and most importantly without garbage - - Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ - - - value to append - - - - Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 6801 date (Round-Trip-Time) - - - - - Clears the provider StringBuilder - - - - - - Copies the contents of the StringBuilder to the MemoryStream using the specified encoding (Without BOM/Preamble) - - StringBuilder source - MemoryStream destination - Encoding used for converter string into byte-stream - Helper char-buffer to minimize memory allocations - - - - Copies the contents of the StringBuilder to the destination StringBuilder - - StringBuilder source - StringBuilder destination - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle character to search for - - Index of the first occurrence (Else -1) - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle characters to search for - - Index of the first occurrence (Else -1) - - - - Compares the contents of two StringBuilders - - - Correct implementation of that also works when is not the same - - True when content is the same - - - - Compares the contents of a StringBuilder and a String - - True when content is the same - - - - Append a number and pad with 0 to 2 digits - - append to this - the number - - - - Append a number and pad with 0 to 4 digits - - append to this - the number - - - - Append a int type (byte, int) as string - - - - - Constructor - - Max number of items - Initial StringBuilder Size - Max StringBuilder Size - - - - Takes StringBuilder from pool - - Allow return to pool - - - - Releases StringBuilder back to pool at its right place - - - - - Keeps track of acquired pool item - - - - - Releases pool item back into pool - - - - - Helpers for . - - - - - IsNullOrWhiteSpace, including for .NET 3.5 - - - - - - - Split a string - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Represents target with a chain of filters which determine - whether logging should happen. - - - - - cached result as calculating is expensive. - - - - - Initializes a new instance of the class. - - The target. - The filter chain. - Default action if none of the filters match. - - - - Gets the target. - - The target. - - - - Gets the filter chain. - - The filter chain. - - - - Default action if none of the filters match. - - - - - Gets or sets the next item in the chain. - - The next item in the chain. - This is for example the 'target2' logger in writeTo='target1,target2' - - - - Gets the stack trace usage. - - A value that determines stack trace handling. - - - - Helper for dealing with thread-local storage. - - - - - Allocates the data slot for storing thread-local information. - - Allocated slot key. - - - - Gets the data for a slot in thread-local storage. - - Type of the data. - The slot to get data for. - Automatically create the object if it doesn't exist. - - Slot data (will create T if null). - - - - - Wraps with a timeout. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - The timeout. - - - - Continuation function which implements the timeout logic. - - The exception. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Transformation on a layout. Pre-calculated if the layout has a fixed value. - - - - - Create TransformedLayout. - - Layout - Transformation method - Optional renderer, otherwise is used - - - - - - - Create TransformedLayout. If is null, then the returns null - - Layout - Transformation method - Optional renderer, otherwise is used - null if is null - - - - - - - - - - URL Encoding helper. - - - - Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - - - Use RFC2396 standard (instead of RFC3986) - - - Should use lowercase when doing HEX escaping of special characters - - - Replace space ' ' with '+' instead of '%20' - - - Skip UTF8 encoding, and prefix special characters with '%u' - - - - Escape unicode string data for use in http-requests - - unicode string-data to be encoded - target for the encoded result - s for how to perform the encoding - - - - Convert the wide-char into utf8-bytes, and then escape - - - - - - - - - Is allowed? - - - - - - - - Is a-z / A-Z / 0-9 - - - - - - - Prevents the Xamarin linker from linking the target. - - - By applying this attribute all of the members of the target will be kept as if they had been referenced by the code. - - - - - Ensures that all members of this type are preserved - - - - - Flags the method as a method to preserve during linking if the container class is pulled in. - - - - - Helper class for XML - - - - - removes any unusual unicode characters that can't be encoded into XML - - - - - Pretest, small text and not escape needed - - - - - - - - Converts object value to invariant format, and strips any invalid xml-characters - - Object value - Object value converted to string - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object value converted to string - - - - XML elements must follow these naming rules: - - Element names are case-sensitive - - Element names must start with a letter or underscore - - Element names can contain letters, digits, hyphens, underscores, and periods - - Element names cannot contain spaces - - - - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object TypeCode - Check and remove unusual unicode characters from the result string. - Object value converted to string - - - - Safe version of WriteAttributeString - - - - - - - - - - Safe version of WriteAttributeString - - - - - - - - Safe version of WriteElementSafeString - - - - - - - - - - Safe version of WriteCData - - - - - - - Interface for handling object transformation - - - - - Takes a dangerous (or massive) object and converts into a safe (or reduced) object - - - Null if unknown object, or object cannot be handled - - - - - Provides an interface to execute System.Actions without surfacing any exceptions raised for that action. - - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. - - The task for which to log an error if it does not run to completion. - A task that completes in the state when completes. - - - - Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Async action to execute. - A task that completes in the state when completes. - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Async function to run. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Async function to run. - Fallback value to return if the task does not end in the state. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. - - - - Render a message template property to a string - - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Log event context data. - - - - - Initializes a new instance of the class. - - - - - Gets or sets string that will be used to separate key/value pairs. - - - - - - Get or set if empty values should be included. - - A value is empty when null or in case of a string, null or empty string. - - - - - - Gets or sets the keys to exclude from the output. If omitted, none are excluded. - - - - - - Also render the caller information attributes? (, - , ). - - See https://msdn.microsoft.com/en-us/library/hh534540.aspx - - - - - - Gets or sets how key/value pairs will be formatted. - - - - - - Renders all log event's properties and appends them to the specified . - - The to append the rendered data to. - Logging event. - - - - The names of caller information attributes. - , , ). - https://msdn.microsoft.com/en-us/library/hh534540.aspx - TODO NLog ver. 5 - Remove these properties - - - - - Designates a property of the class as an ambient property. - - - non-ambient: ${uppercase:${level}} - ambient : ${level:uppercase} - - - - - Initializes a new instance of the class. - - Ambient property name. - - - - Used to render the application domain name. - - - - - Create a new renderer - - - - - Create a new renderer - - - - - Format string. Possible values: "Short", "Long" or custom like {0} {1}. Default "Long" - The first parameter is the , the second the second the - This string is used in - - - - - - - - - - - - - - - Renders the assembly version information for the entry assembly or a named assembly. - - - As this layout renderer uses reflection and version information is unlikely to change during application execution, - it is recommended to use it in conjunction with the . - - - The entry assembly can't be found in some cases e.g. ASP.NET, unit tests, etc. - - - - - Initializes a new instance of the class. - - - - - The (full) name of the assembly. If null, using the entry assembly. - - - - - - Gets or sets the type of assembly version to retrieve. - - - Some version type and platform combinations are not fully supported. - - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified. - - Silverlight: Value for is always returned. - - - - - - Gets or sets the custom format of the assembly version output. - - - Supported placeholders are 'major', 'minor', 'build' and 'revision'. - The default .NET template for version numbers is 'major.minor.build.revision'. See - https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks - for details. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders an assembly version and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Type of assembly version to retrieve. - - - - - Gets the assembly version. - - - - - Gets the file version. - - - - - Gets additional version information. - - - - - The current application domain's base directory. - - - - - Use base dir of current process. Alternative one can just use ${processdir} - - - - - - Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the base directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. - - - - - - Renders the application base directory and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source file name. Full callsite - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - The call site (class name, method name and source information). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to render the class name. - - - - - - Gets or sets a value indicating whether to render the include the namespace with . - - - - - - Gets or sets a value indicating whether to render the method name. - - - - - - Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate. - - - - - - Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation - (everything after an await-statement inside of an async method). - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets a value indicating whether to render the source file name and line number. - - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source line number. Full callsite - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - A counter value (increases on each layout rendering). - - - - - Gets or sets the initial value of the counter. - - - - - - Gets or sets the value to be added to the counter after each layout rendering. - - - - - - Gets or sets the name of the sequence. Different named sequences can have individual values. - - - - - - - - - The current working directory of the application. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the current directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the current directory. - - - - - - - - - - - - Current date and time. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format). - - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - - - - - - - - - - DB null for a database - - - - - - - - - - - The OS dependent directory separator - - - - - - - - - - - The environment variable. - - - - - Gets or sets the name of the environment variable. - - - - - - Gets or sets the default value to be used when the environment variable is not set. - - - - - - - - - - - - Log event context data. - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the name of the item. - - - - - - Renders the specified log event context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. See . - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - - - - - - - - - - Exception information provided through - a call to one of the Logger.*Exception() methods. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the format of the output. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - - - Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - Gets or sets the separator used to concatenate parts specified in the Format. - - - - - - Gets or sets the separator used to concatenate exception data specified in the Format. - - - - - - Gets or sets the maximum number of inner exceptions to include in the output. - By default inner exceptions are not enabled for compatibility with NLog 1.0. - - - - - - Gets or sets the separator between inner exceptions. - - - - - - Gets or sets whether to render innermost Exception from - - - - - Gets or sets whether to collapse exception tree using - - - - - Gets the formats of the output of inner exceptions to be rendered in target. - - - - - - - Gets the formats of the output to be rendered in target. - - - - - - - - - - - - - Appends the Message of an Exception to the specified . - - The to append the rendered data to. - The exception containing the Message to append. - - - - Appends the method name from Exception's stack trace to the specified . - - The to append the rendered data to. - The Exception whose method name should be appended. - - - - Appends the stack trace from an Exception to the specified . - - The to append the rendered data to. - The Exception whose stack trace should be appended. - - - - Appends the result of calling ToString() on an Exception to the specified . - - The to append the rendered data to. - The Exception whose call to ToString() should be appended. - - - - Appends the type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose type should be appended. - - - - Appends the short type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose short type should be appended. - - - - Appends the application source of an Exception to the specified . - - The to append the rendered data to. - The Exception whose source should be appended. - - - - Appends the HResult of an Exception to the specified . - - The to append the rendered data to. - The Exception whose HResult should be appended. - - - - Appends the contents of an Exception's Data property to the specified . - - The to append the rendered data to. - The Exception whose Data property elements should be appended. - - - - Appends all the serialized properties of an Exception into the specified . - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Appends all the additional properties of an Exception like Data key-value-pairs - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Split the string and then compile into list of Rendering formats. - - - - - Find name of method on stracktrace. - - Full stracktrace - - - - - Renders contents of the specified file. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file. - - - - - - Gets or sets the encoding used in the file. - - The encoding. - - - - - Renders the contents of the specified file and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - Name used in config without ${}. E.g. "test" could be used as "${test}". - - - - - Method that renders the layout. - - This public property will be removed in NLog 5. - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render the value for this log event - - The event info. - The value. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - The information about the garbage collector. - - - - - Gets or sets the property to retrieve. - - - - - - - - - Gets or sets the property of System.GC to retrieve. - - - - - Total memory allocated. - - - - - Total memory allocated (perform full garbage collection first). - - - - - Gets the number of Gen0 collections. - - - - - Gets the number of Gen1 collections. - - - - - Gets the number of Gen2 collections. - - - - - Maximum generation number supported by GC. - - - - - Render a Global Diagnostics Context item. See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - - - - Globally-unique identifier (GUID). - - - - - Gets or sets the GUID format as accepted by Guid.ToString() method. - - - - - - Generate the Guid from the NLog LogEvent (Will be the same for all targets) - - - - - - - - - - - - - - - The host name that the process is running on. - - - - - - - - Gets the host name and falls back to computer name if not available - - - - - Tries the lookup value. - - The lookup function. - Type of the lookup. - - - - - - - - Installation parameter (passed to InstallNLogConfig). - - - - - Gets or sets the name of the parameter. - - - - - - Renders the specified installation parameter and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render environmental information related to logging events. - - - - - Gets the logging configuration this target is part of. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Renders the the value of layout renderer in the context of the specified log event. - - The log event. - String representation of a layout renderer. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Renders the value of layout renderer in the context of the specified log event. - - The log event. - The layout render output is appended to builder - - - - Renders the value of layout renderer in the context of the specified log event into . - - The to append the rendered data to. - Logging event. - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Get the for rendering the messages to a - - LogEvent with culture - Culture in on Layout level - - - - - Get the for rendering the messages to a , needed for date and number formats - - LogEvent with culture - Culture in on Layout level - - - is preferred - - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Renderer with callback func - - - - Marks class as a layout renderer and assigns a name to it. - - This attribute is not required when registering the layout in the API. - - - - Initializes a new instance of the class. - - Name of the layout renderer, without the `${ }` - - - - Format of the ${level} layout renderer output. - - - - - Render the LogLevel standard name. - - - - - Render the first character of the level. - - - - - Render the ordinal (aka number) for the level. - - - - - Render the LogLevel full name, expanding Warn / Info abbreviations - - - - - The log level. - - - - - Gets or sets a value indicating the output format of the level. - - - - - - - - - - - - - - - A string literal. - - - This is used to escape '${' sequence - as ;${literal:text=${}' - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The literal text value. - This is used by the layout compiler. - - - - Gets or sets the literal text. - - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - XML event description compatible with log4j, Chainsaw and NLogViewer. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes the layout renderer. - - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets a value indicating whether the XML should use spaces for indentation. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the XML logging event and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The logger name. - - - - - Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character). - - - - - - - - - - - - The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the date in the long format (yyyy-MM-dd HH:mm:ss.ffff) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The machine name that the process is running on. - - - - - - - - - - - Render a Mapped Diagnostic Context item, See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render a Mapped Diagnostic Logical Context item (based on CallContext). - See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - The formatted log message. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to log exception along with message. - - - - - - Gets or sets the string that separates message from the exception. - - - - - - Gets or sets whether it should render the raw message without formatting parameters - - - - - - - - - - - - Render a Nested Diagnostic Context item. - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested diagnostics context output. - - - - - - Renders the specified Nested Diagnostics Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render a Nested Diagnostic Logical Context item (Async scope) - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested logical context output. - - - - - - Renders the specified Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Timing Renderer (Async scope) - - - - - Gets or sets whether to only include the duration of the last scope created - - - - - - Gets or sets whether to just display the scope creation time, and not the duration - - - - - - Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format). - - - - - - Renders the timing details of the Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A newline literal. - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Property of System.Diagnostics.Process to retrieve. - - - - - Base Priority. - - - - - Exit Code. - - - - - Exit Time. - - - - - Process Handle. - - - - - Handle Count. - - - - - Whether process has exited. - - - - - Process ID. - - - - - Machine name. - - - - - Handle of the main window. - - - - - Title of the main window. - - - - - Maximum Working Set. - - - - - Minimum Working Set. - - - - - Non-paged System Memory Size. - - - - - Non-paged System Memory Size (64-bit). - - - - - Paged Memory Size. - - - - - Paged Memory Size (64-bit).. - - - - - Paged System Memory Size. - - - - - Paged System Memory Size (64-bit). - - - - - Peak Paged Memory Size. - - - - - Peak Paged Memory Size (64-bit). - - - - - Peak Virtual Memory Size. - - - - - Peak Virtual Memory Size (64-bit).. - - - - - Peak Working Set Size. - - - - - Peak Working Set Size (64-bit). - - - - - Whether priority boost is enabled. - - - - - Priority Class. - - - - - Private Memory Size. - - - - - Private Memory Size (64-bit). - - - - - Privileged Processor Time. - - - - - Process Name. - - - - - Whether process is responding. - - - - - Session ID. - - - - - Process Start Time. - - - - - Total Processor Time. - - - - - User Processor Time. - - - - - Virtual Memory Size. - - - - - Virtual Memory Size (64-bit). - - - - - Working Set Size. - - - - - Working Set Size (64-bit). - - - - - The process time in format HH:mm:ss.mmm. - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Write timestamp to builder with format hh:mm:ss:fff - - - - - The sequence ID - - - - - - - - - - - The short date in a sortable format yyyy-MM-dd. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the current short date string (yyyy-MM-dd) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Format of the ${stacktrace} layout renderer output. - - - - - Raw format (multiline - as returned by StackFrame.ToString() method). - - - - - Flat format (class and method names displayed in a single line). - - - - - Detailed flat format (method signatures displayed in a single line). - - - - - Stack trace renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the output format of the stack trace. - - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets the stack frame separator string. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A temporary directory. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The identifier of the current thread. - - - - - - - - The name of the current thread. - - - - - - - - The Ticks value of current date and time. - - - - - - - - - - - The time in a 24-hour, sortable format HH:mm:ss.mmmm. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Render a NLog variable (xml or config) - - - - - Gets or sets the name of the NLog variable. - - - - - - Gets or sets the default value to be used when the variable is not set. - - Not used if Name is null - - - - - Initializes the layout renderer. - - - - - Try get the - - - - - - - Renders the specified variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Applies caching to another layout output. - - - The value of the inner layout will be rendered only once and reused subsequently. - - - - - A value indicating when the cache is cleared. - - - - Never clear the cache. - - - Clear the cache whenever the is initialized. - - - Clear the cache whenever the is closed. - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether this is enabled. - - - - - - Gets or sets a value indicating when the cache is cleared. - - - - - - Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s - - - - - - Gets or sets a value indicating how many seconds the value should stay cached until it expires - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - - - - Filters characters not allowed in the file names by replacing them with safe character. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path - (illegal characters are replaced with '_'). - - - - - - - - - - - - Escapes output of another layout using JSON rules. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply JSON encoding. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - - - - - - - Left part of a text - - - - - Gets or sets the length in characters. - - - - - - Same as -property, so it can be used as ambient property. - - - ${message:truncate=80} - - - - - - - - - - - - Converts the result of another layout output to lower case. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Render the non-raw value of an object. - - For performance and/or full (formatted) control of the output. - - - - Gets or sets a value indicating whether to disable the IRawValue-interface - - A value of true if IRawValue-interface should be ignored; otherwise, false. - - - - - - - - - - - Render a single property of a object - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - Shortcut for - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - Only outputs the inner layout when exception has been defined for log message. - - - - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - ${onhasproperties:, Properties\: ${all-event-properties}} - - - - - - - - - - - Horizontal alignment for padding layout renderers. - - - - - When layout text is too long, align it to the left - (remove characters from the right). - - - - - When layout text is too long, align it to the right - (remove characters from the left). - - - - - Applies padding to another layout output. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of characters to pad the output to. - - - Positive padding values cause left padding, negative values - cause right padding to the desired width. - - - - - - Gets or sets the padding character. - - - - - - Gets or sets a value indicating whether to trim the - rendered text to the absolute value of the padding length. - - - - - - Gets or sets a value indicating whether a value that has - been truncated (when is true) - will be left-aligned (characters removed from the right) - or right-aligned (characters removed from the left). The - default is left alignment. - - RegistryLayoutRenderer - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Replaces a string in the output of another layout with another string. - - - ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}} - - - - - Gets or sets the text to search for. - - The text search for. - - - - - Gets or sets a value indicating whether regular expressions should be used. - - A value of true if regular expressions should be used otherwise, false. - - - - - Gets or sets the replacement string. - - The replacement string. - - - - - Gets or sets the group name to replace when using regular expressions. - Leave null or empty to replace without using group name. - - The group name. - - - - - Gets or sets a value indicating whether to ignore case. - - A value of true if case should be ignored when searching; otherwise, false. - - - - - Gets or sets a value indicating whether to search for whole words. - - A value of true if whole words should be searched for; otherwise, false. - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Initializes the layout renderer. - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass - - - - - A match evaluator for Regular Expression based replacing - - Input string. - Group name in the regex. - Replace value. - Match from regex. - Groups replaced with . - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating the string that should be used for separating lines. - - - - - - - - - - - - Right part of a text - - - - - Gets or sets the length in characters. - - - - - - - - - - - - Decodes text "encrypted" with ROT-13. - - - See https://en.wikipedia.org/wiki/ROT13. - - - - - Gets or sets the layout to be wrapped. - - The layout to be wrapped. - This variable is for backwards compatibility - - - - - Encodes/Decodes ROT-13-encoded string. - - The string to be encoded/decoded. - Encoded/Decoded text. - - - - - - - - - - Encodes/Decodes ROT-13-encoded string. - - - - - Substring the result - - - ${substring:${level}:start=2:length=2} - ${substring:${level}:start=-2:length=2} - ${substring:Inner=${level}:start=2:length=2} - - - - - Initializes a new instance of the class. - - - - - Gets or sets the start index. - - Index - - - - - Gets or sets the length in characters. If null, then the whole string - - Index - - - - - - - - - - - Calculate start position - - 0 or positive number - - - - Calculate needed length - - 0 or positive number - - - - Trims the whitespace from the result of another layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - - - - - - - Converts the result of another layout output to upper case. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - ${level:uppercase} // [AmbientProperty] - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether upper case conversion should be applied. - - A value of true if upper case conversion should be applied otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Encodes the result of another layout output for use with URLs. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether spaces should be translated to '+' or '%20'. - - A value of true if space should be translated to '+'; otherwise, false. - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - - - Gets or sets the layout to be rendered when original layout produced empty result. - - - - - - - - - - - - - - - Only outputs the inner layout when the specified condition has been met. - - - - - Gets or sets the condition that must be met for the layout to be printed. - - - - - - If is not met, print this layout. - - - - - - - - - - - - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the line length for wrapping. - - - Only positive values are allowed - - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - Base class for s which wrapping other s. - - This has the property (which is default) and can be used to wrap. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - - - - - Gets or sets the wrapped layout. - - [DefaultParameter] so Inner: is not required if it's the first - - - - - - - - - Renders the inner message, processes it and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Appends the rendered output from -layout and transforms the added output (when necessary) - - Logging event. - The to append the rendered data to. - Start position for any necessary transformation of . - - - - Transforms the output of another layout. - - Logging event. - Output to be transform. - Transformed text. - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - Base class for s which wrapping other s. - - This expects the transformation to work on a - - - - - - - - Transforms the output of another layout. - - - Output to be transform. - - - - Transforms the output of another layout. - - Output to be transform. - - - - Renders the inner layout contents. - - - for the result - - - - - - - - - - - - - - - - - - Converts the result of another layout output to be XML-compliant. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply XML encoding. - - Ensures always valid XML, but gives a performance hit - - - - - Gets or sets a value indicating whether to transform newlines (\r\n) into ( ) - - - - - - - - - - - - A layout containing one or more nested layouts. - - - - - Initializes a new instance of the class. - - - - - Gets the inner layouts. - - - - - - Initializes the layout. - - - - - Formats the log event relying on inner layouts. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event relying on inner layouts. - - The logging event. - for the result - - - - Closes the layout. - - - - - Generate description of Compound Layout - - Compound Layout String Description - - - - A column in the CSV. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column. - The layout of the column. - - - - Gets or sets the name of the column. - - - - - - Gets or sets the layout of the column. - - - - - - Gets or sets the override of Quoting mode - - - and are faster than the default - - - - - - Specifies allowed column delimiters. - - - - - Automatically detect from regional settings. - - - - - Comma (ASCII 44). - - - - - Semicolon (ASCII 59). - - - - - Tab character (ASCII 9). - - - - - Pipe character (ASCII 124). - - - - - Space character (ASCII 32). - - - - - Custom string, specified by the CustomDelimiter. - - - - - A specialized layout that renders CSV-formatted events. - - If is set, then the header generation with column names will be disabled. - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - Gets or sets a value indicating whether CVS should include header. - - A value of true if CVS should include header; otherwise, false. - - - - - Gets or sets the column delimiter. - - - - - - Gets or sets the quoting mode. - - - - - - Gets or sets the quote Character. - - - - - - Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom'). - - - - - - Initializes the layout. - - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event for write. - - The logging event. - for the result - - - - Get the headers with the column names. - - - - - - Header with column names for CSV layout. - - - - - Initializes a new instance of the class. - - The parent. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Generate description of CSV Layout - - CSV Layout String Description - - - - Specifies CSV quoting modes. - - - - - Quote all column (Fast) - - - - - Quote nothing (Very fast) - - - - - Quote only whose values contain the quote symbol or the separator (Slow) - - - - - JSON attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with json-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Json encoded. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A specialized layout that renders JSON-formatted events. - - - - - Initializes a new instance of the class. - - - - - Gets the array of attributes' configurations. - - - - - - Gets or sets the option to suppress the extra spaces in the output json - - - - - - Gets or sets the option to render the empty object value {} - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to exclude null/empty properties from the log event (as JSON) - - - - - - List of property names to exclude when is true - - - - - - How far should the JSON serializer follow object references before backing off - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Formats the log event as a JSON document for writing. - - The logging event. - for the result - - - - Formats the log event as a JSON document for writing. - - The log event to be formatted. - A JSON string representation of the log event. - - - - Generate description of JSON Layout - - JSON Layout String Description - - - - Abstract interface that layouts must implement. - - - - - Is this layout initialized? See - - - - - Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). - - - Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are - like that as well. - - Thread-agnostic layouts only use contents of for its output. - - - - - Gets the level of stack trace information required for rendering. - - - - - Gets the logging configuration this target is part of. - - - - - Converts a given text to a . - - Text to be converted. - object represented by the text. - - - - Implicitly converts the specified string to a . - - The layout string. - Instance of .' - - - - Implicitly converts the specified string to a . - - The layout string. - The NLog factories to use when resolving layout renderers. - Instance of . - - - - Implicitly converts the specified string to a . - - The layout string. - Whether should be thrown on parse errors (false = replace unrecognized tokens with a space). - Instance of . - - - - Create a from a lambda method. - - Method that renders the layout. - Tell if method is safe for concurrent threading. - Instance of . - - - - Precalculates the layout for the specified log event and stores the result - in per-log event cache. - - Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic]. - - The log event. - - Calling this method enables you to store the log event in a buffer - and/or potentially evaluate it in another thread even though the - layout may contain thread-dependent renderer. - - - - - Renders the event info in layout. - - The event info. - String representing log event. - - - - Optimized version of for internal Layouts. Works best - when override of is available. - - The event info. - Appends the string representing log event to target - Should rendering result be cached on LogEventInfo - - - - Valid default implementation of , when having implemented the optimized - - The logging event. - StringBuilder to help minimize allocations [optional]. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Optimized version of for internal Layouts, when - override of is available. - - - - - Try get value - - - rawValue if return result is true - false if we could not determine the rawValue - - - - Marks class as a layout renderer and assigns a format string to it. - - - - - Initializes a new instance of the class. - - Layout name. - - - - Parses layout strings. - - - - - Add to - - - - - - - Options available for - - - - - Default options - - - - - Layout renderer method can handle concurrent threads - - - - - Layout renderer method is agnostic to current thread context. This means it will render the same result indepdent of thread-context. - - - - - A specialized layout that supports header and footer. - - - - - Gets or sets the body layout (can be repeated multiple times). - - - - - - Gets or sets the header layout. - - - - - - Gets or sets the footer layout. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result. - - - - A specialized layout that renders Log4j-compatible XML events. - - - This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets the instance that renders log events. - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Represents a string with embedded placeholders that can render contextual information. - - - This layout is not meant to be used explicitly. Instead you can just use a string containing layout - renderers everywhere the layout is required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout string to parse. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - Whether should be thrown on parse errors. - - - - Original text before compile to Layout renderes - - - - - Gets or sets the layout text. - - - - - - Is the message fixed? (no Layout renderers used) - - - - - Get the fixed text. Only set when is true - - - - - Is the message a simple formatted string? (Can skip StringBuilder) - - - - - Gets a collection of objects that make up this layout. - - - - - Gets the level of stack trace information required for rendering. - - - - - Converts a text to a simple layout. - - Text to be converted. - A object. - - - - Escapes the passed text so that it can - be used literally in all places where - layout is normally expected without being - treated as layout. - - The text to be escaped. - The escaped text. - - Escaping is done by replacing all occurrences of - '${' with '${literal:text=${}' - - - - - Evaluates the specified text by expanding all layout renderers. - - The text to be evaluated. - Log event to be used for evaluation. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Evaluates the specified text by expanding all layout renderers - in new context. - - The text to be evaluated. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Returns a that represents the current object. - - - A that represents the current object. - - - - - - - - - - - - - - - - - - - - XML attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with xml-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A XML Element - - - - - - - - - - - Name of the element - - - - - - Value inside the element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - The name of the top XML node - The value of the top XML node - - - - Name of the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Value inside the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Auto indent and create new lines - - - - - - Gets the array of xml 'elements' configurations. - - - - - - Gets the array of 'attributes' configurations for the element - - - - - - Gets or sets whether a ElementValue with empty value should be included in the output - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - List of property names to exclude when is true - - - - - - XML element name to use when rendering properties - - - Support string-format where {0} means property-key-name - - Skips closing element tag when having configured - - - - - - XML attribute name to use when rendering property-key - - When null (or empty) then key-attribute is not included - - - Will replace newlines in attribute-value with - - - - - - XML attribute name to use when rendering property-value - - When null (or empty) then value-attribute is not included and - value is formatted as XML-element-value - - - Skips closing element tag when using attribute for value - - Will replace newlines in attribute-value with - - - - - - XML element name to use for rendering IList-collections items - - - - - - How far should the XML serializer follow object references before backing off - - - - - - Initializes the layout. - - - - - Formats the log event as a XML document for writing. - - The logging event. - for the result - - - - Formats the log event as a XML document for writing. - - The log event to be formatted. - A XML string representation of the log event. - - - - write attribute, only if is not empty - - - - - rendered - - - - Generate description of XML Layout - - XML Layout String Description - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - - - - - - - Name of the root XML element - - - - - - Value inside the root XML element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Represents the logging event. - - - - - Gets the date of the first log event created. - - - - - The formatted log message. - - - - - The log message including any parameter placeholders - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - Already parsed message template parameters. - - - - Initializes a new instance of the class. - - Log level. - Override default Logger name. Default is used when null - Log message. - List of event-properties - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - Exception information. - - - - Gets the unique identifier of log event which is automatically generated - and monotonously increasing. - - - - - Gets or sets the timestamp of the logging event. - - - - - Gets or sets the level of the logging event. - - - - - Gets a value indicating whether stack trace has been set for this event. - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Gets the entire stack trace. - - - - - Gets the callsite class name - - - - - Gets the callsite member function name - - - - - Gets the callsite source file path - - - - - Gets the callsite source file line number - - - - - Gets or sets the exception information. - - - - - Gets or sets the logger name. - - - - - Gets the logger short name. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the log message including any parameter placeholders. - - - - - Gets or sets the parameter values or null if no parameters have been specified. - - - - - Gets or sets the format provider that was provided while logging or - when no formatProvider was specified. - - - - - Gets or sets the message formatter for generating - Uses string.Format(...) when nothing else has been configured. - - - - - Gets the formatted message. - - - - - Checks if any per-event properties (Without allocation) - - - - - Gets the dictionary of per-event context properties. - - - - - Gets the dictionary of per-event context properties. - Internal helper for the PropertiesDictionary type. - - Create the event-properties dictionary, even if no initial template parameters - Provided when having parsed the message template and capture template parameters (else null) - - - - - Gets the named parameters extracted from parsing as MessageTemplate - - - - - Gets the dictionary of per-event context properties. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Creates the null event. - - Null log event. - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - The exception. - Instance of . - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates from this by attaching the specified asynchronous continuation. - - The asynchronous continuation. - Instance of with attached continuation. - - - - Returns a string representation of this log event. - - String representation of the log event. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace (Negative means NLog should skip stackframes from System-assemblies). - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Set the - - true = Always, false = Never, null = Auto Detect - - - - Specialized LogFactory that can return instances of custom logger types. - - Use this only when a custom Logger type is defined. - The type of the logger to be returned. Must inherit from . - - - - Gets the logger with type . - - The logger name. - An instance of . - - - - Gets a custom logger with the full name of the current class (so namespace and class name) and type . - - An instance of . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Overwrite possible file paths (including filename) for possible NLog config files. - When this property is null, the default file paths ( are used. - - - - - Occurs when logging changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The config. - - - - Initializes a new instance of the class. - - The config loader - The custom AppEnvironmnet override - - - - Gets the current . - - - - - Gets or sets a value indicating whether exceptions should be thrown. See also . - - A value of true if exception should be thrown; otherwise, false. - By default exceptions are not thrown under any circumstances. - - - - Gets or sets a value indicating whether should be thrown. - - If null then is used. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. After setting this property all - existing loggers will be re-configured, so there is no need to call - manually. - - - - - Gets or sets the global log level threshold. Log events below this threshold are not logged. - - - - - Gets the default culture info to use as . - - - Specific culture info or null to use - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting - unmanaged resources. - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Creates a logger that discards all log messages. - - Null logger instance. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets the logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - The logger with type . - Type of the logger - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The type of the logger to create. The type must inherit from - The logger of type . - This is a slow-running method. Make sure you are not calling this method in a - loop. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - Name of the logger. - Type of the logger - The logger reference with type . Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The type of the logger to create. The type must inherit from . - The logger of type . Multiple calls to GetLogger with the - same argument aren't guaranteed to return the same logger reference. - - - - Loops through all loggers previously returned by GetLogger and recalculates their - target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time - will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flushes any pending log messages on all appenders. - - Config containing Targets to Flush - Flush completed notification (success / timeout) - Optional timeout that guarantees that completed notication is called. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Returns if logging is currently enabled. - - A value of if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Raises the event when the configuration is reloaded. - - Event arguments. - - - - Currently this is disposing? - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; - false to release only unmanaged resources. - - - - Dispose all targets, and shutdown logging. - - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Logger cache key. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Determines if two objects are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Determines if two objects of the same type are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Logger cache. - - - - - Inserts or updates. - - - - - - - Internal for unit tests - - - - - Enables logging in implementation. - - - - - Initializes a new instance of the class. - - The factory. - - - - Enables logging. - - - - - Logging methods which only are executed when the DEBUG conditional compilation symbol is set. - - Remarks: - The DEBUG conditional compilation symbol is default enabled (only) in a debug build. - - If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods. - This could lead to better performance. - - See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx - - - Provides logging interface and utility functions. - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Initializes a new instance of the class. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Collection of context properties for the Logger. The logger will append it for all log events - - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Creates new logger that automatically appends the specified property to all log events (without changing current logger) - - Property Name - Property Value - New Logger object that automatically appends specified property - - - - Updates the specified context property for the current logger. The logger will append it for all log events. - - It could be rendered with ${event-properties:YOURNAME} - - With property, all properties could be changed. - - - Will affect all locations/contexts that makes use of the same named logger object. - - Property Name - Property Value - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. - - The task for which to log an error if it does not run to completion. - A task that completes in the state when completes. - - - - Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Async action to execute. - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Async function to run. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Async function to run. - Fallback value to return if the task does not end in the state. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. - - - - Raises the event when the logger is reconfigured. - - Event arguments - - - - Implementation of logging engine. - - - - - Gets the filter result. - - The filter chain. - The log event. - default result if there are no filters, or none of the filters decides. - The result of the filter. - - - - Defines available log levels. - - - - - Trace log level. - - - - - Debug log level. - - - - - Info log level. - - - - - Warn log level. - - - - - Error log level. - - - - - Fatal log level. - - - - - Off log level. - - - - - Gets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - - - - - Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) - i.e LogLevel.Off is excluded. - - - - - Initializes a new instance of . - - The log level name. - The log level ordinal number. - - - - Gets the name of the log level. - - - - - Gets the ordinal of the log level. - - - - - Compares two objects - and returns a value indicating whether - the first one is equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal == level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is not equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal != level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than the second one. - - The first level. - The second level. - The value of level1.Ordinal > level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal >= level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than the second one. - - The first level. - The second level. - The value of level1.Ordinal < level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal <= level2.Ordinal. - - - - Gets the that corresponds to the specified ordinal. - - The ordinal. - The instance. For 0 it returns , 1 gives and so on. - - - - Returns the that corresponds to the supplied . - - The textual representation of the log level. - The enumeration value. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Determines whether the specified instance is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Compares the level to the other object. - - - The object object. - - - A value less than zero when this logger's is - less than the other logger's ordinal, 0 when they are equal and - greater than zero when this ordinal is greater than the - other ordinal. - - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Delegate used to set/get the culture in use. - - This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the instance used in the . - - Could be used to pass the to other methods - - - - Occurs when logging changes. - - - - - Gets or sets a value indicating whether NLog should throw exceptions. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether should be thrown. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. - - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Gets or sets the global log threshold. Log events below this threshold are not logged. - - - - - Gets or sets the default culture to use. - - This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Adds the given assembly which will be skipped - when NLog is trying to find the calling method on stack trace. - - The assembly to skip. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The logger class. This class must inherit from . - The logger of type . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates a logger that discards all log messages. - - Null logger which discards all log messages. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - - - - Gets the specified named custom logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The logger class. This class must inherit from . - The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - The generic way for this method is - - - - Loops through all loggers previously returned by GetLogger. - and recalculates their target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Checks if logging is currently enabled. - - if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Dispose all targets, and shutdown logging. - - - - - Generates a formatted message from the log event - - Log event. - Formatted message - - - - Returns a log message. Used to defer calculation of - the log message until it's actually needed. - - Log message. - - - - Mapped Diagnostics Context - a thread-local structure that keeps a dictionary - of strings and provides methods to output them in layouts. - - - - - Gets the thread-local dictionary - - Must be true for any subsequent dictionary modification operation - - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The to use when converting a value to a . - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Returns all item names - - A set of the names of all items in current thread-MDC. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified exists in current thread MDC. - - - - Removes the specified from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary - of strings and provides methods to output them in layouts. Allows for maintaining state across - asynchronous tasks and call contexts. - - - Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original - NLog library so that state can be maintained for multiple threads in asynchronous situations. - - - - - Simulate ImmutableDictionary behavior (which is not yet part of all .NET frameworks). - In future the real ImmutableDictionary could be used here to minimize memory usage and copying time. - - Must be true for any subsequent dictionary modification operation - Prepare dictionary for additional inserts - - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The to use when converting a value to a string. - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Updates the current logical context with multiple items in single operation - - . - >An that can be used to remove the item from the current logical context (null if no items). - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Returns all item names - - A collection of the names of all items in current logical context. - - - - Checks whether the specified exists in current logical context. - - Item name. - A boolean indicating whether the specified exists in current logical context. - - - - Removes the specified from current logical context. - - Item name. - - - - Clears the content of current logical context. - - - - - Clears the content of current logical context. - - Free the full slot. - - - - Mapped Diagnostics Context - - This class marked as obsolete before NLog 2.0 and it may be removed in a future release. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified item exists in current thread MDC. - - - - Removes the specified item from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mark a parameter of a method for message templating - - - - - Specifies which parameter of an annotated method should be treated as message-template-string - - - - - The name of the parameter that should be as treated as message-template-string - - - - - The type of the captured hole - - - - - Not decided - - - - - normal {x} - - - - - Serialize operator {@x} (aka destructure) - - - - - stringification operator {$x} - - - - - A hole that will be replaced with a value - - - - - Constructor - - - - Parameter name sent to structured loggers. - This is everything between "{" and the first of ",:}". - Including surrounding spaces and names that are numbers. - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - Type - - - - When the template is positional, this is the parsed name of this parameter. - For named templates, the value of Index is undefined. - - - Alignment to render the parameter, by default 0. - This is the parsed value between "," and the first of ":}" - - - - A fixed value - - - - Number of characters from the original template to copy at the current position. - This can be 0 when the template starts with a hole or when there are multiple consecutive holes. - - - Number of characters to skip in the original template at the current position. - 0 is a special value that mean: 1 escaped char, no hole. It can also happen last when the template ends with a literal. - - - - Combines Literal and Hole - - - - Literal - - - Hole - Uninitialized when = 0. - - - - Description of a single parameter extracted from a MessageTemplate - - - - - Parameter Name extracted from - This is everything between "{" and the first of ",:}". - - - - - Parameter Value extracted from the -array - - - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - - Parameter method that should be used to render the parameter - See also - - - - - Returns index for , when - - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - Parameter CaptureType - - - - Parameters extracted from parsing as MessageTemplate - - - - - - - - - - - Gets the parameters at the given index - - - - - Number of parameters - - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Indicates whether the template was parsed successful, and there are no unmatched parameters - - - - - Constructor for parsing the message template with parameters - - including any parameter placeholders - All - - - - Constructor for named parameters that already has been parsed - - - - - Create MessageTemplateParameter from - - - - - A message template - - - - The original template string. - This is the key passed to structured targets. - - - The list of literal parts, useful for string rendering. - It indicates the number of characters from the original string to print, - then there's a hole with how many chars to skip. - - "Hello {firstName} {lastName}!" - ------------------------------------- - ║P |S ║P|S ║P|S║ - ║6 |11 ║1|10 ║1|0║ - ║Hello |{firstName}║ |{lastName}║!║ - - "{x} * 2 = {2x}" - -------------------- - ║P|S ║P |S ║ - ║0|3 ║7 |4 ║ - ║{x}║ * 2 = |{2x}║ - - The tricky part is escaped braces. They are represented by a skip = 0, - which is interpreted as "move one char forward, no hole". - - "Escaped }} is fun." - ---------------------- - ║P |S║P |S║ - ║9 |0║8 |0║ - ║Escaped }|}║ is fun.|║ - - - - This list of holes. It's used both to fill the string rendering - and to send values along the template to structured targets. - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Create a template, which is already parsed - - - - - - - - - Create a template, which is already parsed - - - - - - - - This is for testing only: recreates from the parsed data. - - - - This is for testing only: rebuilds the hole - - Add to this string builder - ref for performance - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Gets the current literal/hole in the template - - - - - Clears the enumerator - - - - - Restarts the enumerator of the template - - - - - Moves to the next literal/hole in the template - - Found new element [true/false] - - - - Parse format after hole name/index. Handle the escaped { and } in the format. Don't read the last } - - - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Error when parsing a template. - - - - - Current index when the error occurred. - - - - - The template we were parsing - - - - - New exception - - The message to be shown. - Current index when the error occurred. - - - - - Render templates - - - - - Render a template to a string. - - The template. - Culture. - Parameters for the holes. - Do not fallback to StringBuilder.Format for positional templates. - The String Builder destination. - Parameters for the holes. - - - - Render a template to a string. - - The template. - The String Builder destination. - Culture. - Parameters for the holes. - Rendered template, never null. - - - - Convert Render or serialize a value, with optionally backwards-compatible with - - - - Singleton - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Format an object to a readable string, or if it's an object, serialize - - The value to convert - - - - - - - - Try serializing a scalar (string, int, NULL) or simple type (IFormattable) - - - - - Serialize Dictionary as JSON like structure, without { and } - - - "FirstOrder"=true, "Previous login"=20-12-2017 14:55:32, "number of tries"=1 - - - formatstring of an item - - - - - - - - - Convert a value to a string with format and append to . - - The value to convert. - Format sting for the value. - Format provider for the value. - Append to this - - - - Nested Diagnostics Context - - This class marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top object off the NDC stack. The object is removed from the stack. - - The top object from the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all objects on the NDC stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Nested Diagnostics Context - a thread-local structure that keeps a stack - of strings and provides methods to output them in layouts - - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object at the top of the NDC stack if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified object on current thread NDC. - - The object to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top message from the NDC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top object off the NDC stack. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Peeks the first object on the NDC stack - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. - - Array of objects on the stack. - - - - Resets the stack to the original count during . - - - - - Initializes a new instance of the class. - - The stack. - The previous count. - - - - Reverts the stack to original item count. - - - - - Async version of - a logical context structure that keeps a stack - Allows for maintaining scope across asynchronous tasks and call contexts. - - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDLC stack. - - The top message which is no longer on the stack. - this methods returns a object instead of string, this because of backwards-compatibility - - - - Pops the top message from the NDLC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top message off the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the top object on the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the current scope, and returns its start time - - Scope Creation Time - - - - Peeks the first scope, and returns its start time - - Scope Creation Time - - - - Clears current stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Exception thrown during NLog configuration. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The inner exception. - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Exception thrown during log event processing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - It works as a normal but it discards all messages which an application requests - to be logged. - - It effectively implements the "Null Object" pattern for objects. - - - - - Initializes a new instance of . - - The factory class to be used for the creation of this logger. - - - - Extension methods to setup LogFactory options - - - - - Gets the logger with the full name of the current class, so namespace and class name. - - - - - Gets the specified named logger. - - - - - Configures loading of NLog extensions for Targets and LayoutRenderers - - - - - Configures the output of NLog for diagnostics / troubleshooting - - - - - Configures serialization and transformation of LogEvents - - - - - Loads NLog config created by the method - - - - - Loads NLog config provided in - - - - - Loads NLog config from filename if provided, else fallback to scanning for NLog.config - - - - - Loads NLog config from XML in - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Enable/disables autoloading of NLog extensions by scanning and loading available assemblies - - - Enabled by default, and gives a huge performance hit during startup. Recommended to disable this when running in the cloud. - - - - - Registers NLog extensions from the assembly. - - - - - Registers NLog extensions from the assembly type name - - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - MethodInfo extracted by reflection - typeof(MyClass).GetMethod("MyFunc", BindingFlags.Static). - - - - Extension methods to setup NLog options - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Overrides the active with a new custom implementation - - - - - Overrides the active with a new custom implementation - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Specifies the way archive numbering is performed. - - - - - Sequence style numbering. The most recent archive has the highest number. - - - - - Rolling style numbering (the most recent is always #0 then #1, ..., #N. - - - - - Date style numbering. Archives will be stamped with the prior period - (Year, Month, Day, Hour, Minute) datetime. - - - - - Date and sequence style numbering. - Archives will be stamped with the prior period (Year, Month, Day) datetime. - The most recent archive has the highest number (in combination with the date). - - - - - Abstract Target with async Task support - - - - - How many milliseconds to delay the actual write operation to optimize for batching - - - - - How many seconds a Task is allowed to run before it is cancelled. - - - - - How many attempts to retry the same Task, before it is aborted - - - - - How many milliseconds to wait before next retry (will double with each retry) - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Task Scheduler used for processing async Tasks - - - - - Constructor - - - - - Initializes the internal queue for pending logevents - - - - - Override this to create the actual logging task - - Example of how to override this method, and call custom async method - - protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) - { - return CustomWriteAsync(logEvent, token); - } - - private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) - { - await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); - } - - - The log event. - The cancellation token - - - - - Override this to create the actual logging task for handling batch of logevents - - A batch of logevents. - The cancellation token - - - - - Handle cleanup after failed write operation - - Exception from previous failed Task - The cancellation token - Number of retries remaining - Time to sleep before retrying - Should attempt retry - - - - Schedules the LogEventInfo for async writing - - The log event. - - - - Write to queue without locking - - - - - - Schedules notification of when all messages has been written - - - - - - Closes Target by updating CancellationToken - - - - - Releases any managed resources - - - - - - Checks the internal queue for the next to create a new task for - - Used for race-condition validation between task-completion and timeout - Signals whether previousTask completed an almost full BatchSize - - - - Generates recursive task-chain to perform retry of writing logevents with increasing retry-delay - - - - - Creates new task to handle the writing of the input - - LogEvents to write - New Task created [true / false] - - - - Handles that scheduled task has completed (successfully or failed), and starts the next pending task - - Task just completed - AsyncContinuation to notify of success or failure - - - - Timer method, that is fired when pending task fails to complete within timeout - - - - - - Sends log messages to the remote instance of Chainsaw application from log4j. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a name. - - Name of the target. - - - - Colored console output color. - - - Note that this enumeration is defined to be binary compatible with - .NET 2.0 System.ConsoleColor + some additions - - - - - Black Color (#000000). - - - - - Dark blue Color (#000080). - - - - - Dark green Color (#008000). - - - - - Dark Cyan Color (#008080). - - - - - Dark Red Color (#800000). - - - - - Dark Magenta Color (#800080). - - - - - Dark Yellow Color (#808000). - - - - - Gray Color (#C0C0C0). - - - - - Dark Gray Color (#808080). - - - - - Blue Color (#0000FF). - - - - - Green Color (#00FF00). - - - - - Cyan Color (#00FFFF). - - - - - Red Color (#FF0000). - - - - - Magenta Color (#FF00FF). - - - - - Yellow Color (#FFFF00). - - - - - White Color (#FFFFFF). - - - - - Don't change the color. - - - - - The row-highlighting condition. - - - - - Initializes static members of the ConsoleRowHighlightingRule class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The condition. - Color of the foreground. - Color of the background. - - - - Gets the default highlighting rule. Doesn't change the color. - - - - - Gets or sets the condition that must be met in order to set the specified foreground and background color. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Checks whether the specified log event matches the condition (if any). - - - Log event. - - - A value of if the condition is not defined or - if it matches, otherwise. - - - - - Information about database command + parameters. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the type of the command. - - The type of the command. - - - - - Gets or sets the connection string to run the command against. If not provided, connection string from the target is used. - - - - - - Gets or sets the command text. - - - - - - Gets or sets a value indicating whether to ignore failures. - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a database named or positional parameter. - - - - - - Information about object-property for the database-connection-object - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name for the object-property - - - - - - Gets or sets the value to assign on the object-property - - - - - - Gets or sets the type of the object-property - - - - - - Gets or sets convert format of the property value - - - - - - Gets or sets the culture used for parsing property string-value for type-conversion - - - - - - Represents a parameter to a Database target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the parameter. - The parameter layout. - - - - Gets or sets the database parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets the database parameter DbType. - - - - - - Gets or sets the database parameter size. - - - - - - Gets or sets the database parameter precision. - - - - - - Gets or sets the database parameter scale. - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets convert format of the database parameter value. - - - - - - Gets or sets the culture used for parsing parameter string-value for type-conversion - - - - - - Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values. - - - - - - Writes log messages to the database using an ADO.NET provider. - - - - NETSTANDARD cannot load connectionstrings from .config - - Documentation on NLog Wiki - - - The configuration is dependent on the database type, because - there are different methods of specifying connection string, SQL - command and command parameters. - - MS SQL Server using System.Data.SqlClient: - - Oracle using System.Data.OracleClient: - - Oracle using System.Data.OleDBClient: - - To set up the log target programmatically use code like this (an equivalent of MSSQL configuration): - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets the name of the database provider. - - - - The parameter name should be a provider invariant name as registered in machine.config or app.config. Common values are: - -
    -
  • System.Data.SqlClient - SQL Sever Client
  • -
  • System.Data.SqlServerCe.3.5 - SQL Sever Compact 3.5
  • -
  • System.Data.OracleClient - Oracle Client from Microsoft (deprecated in .NET Framework 4)
  • -
  • Oracle.DataAccess.Client - ODP.NET provider from Oracle
  • -
  • System.Data.SQLite - System.Data.SQLite driver for SQLite
  • -
  • Npgsql - Npgsql driver for PostgreSQL
  • -
  • MySql.Data.MySqlClient - MySQL Connector/Net
  • -
- (Note that provider invariant names are not supported on .NET Compact Framework). - - Alternatively the parameter value can be be a fully qualified name of the provider - connection type (class implementing ) or one of the following tokens: - -
    -
  • sqlserver, mssql, microsoft or msde - SQL Server Data Provider
  • -
  • oledb - OLEDB Data Provider
  • -
  • odbc - ODBC Data Provider
  • -
-
- -
- - - Gets or sets the connection string. When provided, it overrides the values - specified in DBHost, DBUserName, DBPassword, DBDatabase. - - - - - - Gets or sets the connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used. - - - - - - Gets the installation DDL commands. - - - - - - Gets the uninstallation DDL commands. - - - - - - Gets or sets a value indicating whether to keep the - database connection open between the log events. - - - - - - Obsolete - value will be ignored! The logging code always runs outside of transaction. - - Gets or sets a value indicating whether to use database transactions. - Some data providers require this. - - - - This option was removed in NLog 4.0 because the logging code always runs outside of transaction. - This ensures that the log gets written to the database if you rollback the main transaction because of an error and want to log the error. - - - - - Gets or sets the database host name. If the ConnectionString is not provided - this value will be used to construct the "Server=" part of the - connection string. - - - - - - Gets or sets the database user name. If the ConnectionString is not provided - this value will be used to construct the "User ID=" part of the - connection string. - - - - - - Gets or sets the database password. If the ConnectionString is not provided - this value will be used to construct the "Password=" part of the - connection string. - - - - - - Gets or sets the database name. If the ConnectionString is not provided - this value will be used to construct the "Database=" part of the - connection string. - - - - - - Gets or sets the text of the SQL command to be run on each log level. - - - Typically this is a SQL INSERT statement or a stored procedure call. - It should use the database-specific parameters (marked as @parameter - for SQL server or :parameter for Oracle, other data providers - have their own notation) and not the layout renderers, - because the latter is prone to SQL injection attacks. - The layout renderers should be specified as <parameter /> elements instead. - - - - - - Gets or sets the type of the SQL command to be run on each log level. - - - This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure". - When using the value StoredProcedure, the commandText-property would - normally be the name of the stored procedure. TableDirect method is not supported in this context. - - - - - - Gets the collection of parameters. Each item contains a mapping - between NLog layout and a database named or positional parameter. - - - - - - Gets the collection of properties. Each item contains a mapping - between NLog layout and a property on the DbConnection instance - - - - - - Gets the collection of properties. Each item contains a mapping - between NLog layout and a property on the DbCommand instance - - - - - - Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance. - - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Set the to use it for opening connections to the database. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the database. It creates - a new database command, prepares parameters for it by calculating - layouts and executes the command. - - The logging event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Write logEvent to database - - - - - Build the connectionstring from the properties. - - - Using at first, and falls back to the properties , - , and - - Event to render the layout inside the properties. - - - - - Escape quotes and semicolons. - See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722656(v=vs.85)#setting-values-that-use-reserved-characters - - - - - Create database parameter - - Current command. - Parameter configuration info. - - - - Extract parameter value from the logevent - - Current logevent. - Parameter configuration info. - - - - Create Default Value of Type - - - - - Fake transaction - - Transactions aren't in .NET Core: https://github.com/dotnet/corefx/issues/2949 - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Fake option - - - - - A descriptor for an archive created with the DateAndSequence numbering mode. - - - - - The full name of the archive file. - - - - - The parsed date contained in the file name. - - - - - The parsed sequence number contained in the file name. - - - - - Determines whether produces the same string as the current instance's date once formatted with the current instance's date format. - - The date to compare the current object's date to. - True if the formatted dates are equal, otherwise False. - - - - Initializes a new instance of the class. - - - - - Mock target - useful for testing. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the number of times this target has been called. - - - - - - Gets the last message rendered by this target. - - - - - - Increases the number of messages. - - The logging event. - - - - Default class for serialization of values to JSON format. - - - - - Singleton instance of the serializer. - - - - - Private. Use - - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - Serialized value. - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - serialisation options - Serialized value. - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - The objects in path (Avoid cyclic reference loop). - The current depth (level) of recursion. - Object serialized successfully (true/false). - - - - No quotes needed for this type? - - - - - Checks the object if it is numeric - - TypeCode for the object - Accept fractional types as numeric type. - - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - all options - JSON escaped string - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - Should non-ascii characters be encoded - - JSON escaped string - - - - Check if cleanup should be performed on initialize new file - - Skip cleanup when initializing new file, just after having performed archive operation - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Characters determining the start of the . - - - - - Characters determining the end of the . - - - - - File name which is used as template for matching and replacements. - It is expected to contain a pattern to match. - - - - - The begging position of the - within the . -1 is returned - when no pattern can be found. - - - - - The ending position of the - within the . -1 is returned - when no pattern can be found. - - - - - Replace the pattern with the specified String. - - - - - - - Archives the log-files using a date style numbering. Archives will be stamped with the - prior period (Year, Month, Day, Hour, Minute) datetime. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Archives the log-files using a date and sequence style numbering. Archives will be stamped - with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in - combination with the date). - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Parse filename with date and sequence pattern - - - dateformat for archive - - the found pattern. When failed, then default - the found pattern. When failed, then default - - - - - Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes - duplicate archive filenames, then sequence-style is automatically enforced. - - Example: - Base Filename trace.log - Next Filename trace.0.log - - The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern. - Before called the original IFileArchiveMode, that has been wrapped by this - - - - - Determines if the file name as contains a numeric pattern i.e. {#} in it. - - Example: - trace{#}.log Contains the numeric pattern. - trace{###}.log Contains the numeric pattern. - trace{#X#}.log Contains the numeric pattern (See remarks). - trace.log Does not contain the pattern. - - Occasionally, this method can identify the existence of the {#} pattern incorrectly. - File name to be checked. - when the pattern is found; otherwise. - - - - Archives the log-files using a rolling style numbering (the most recent is always #0 then - #1, ..., #N. - - When the number of archive files exceed the obsolete archives - are deleted. - - - - - Replaces the numeric pattern i.e. {#} in a file name with the parameter value. - - File name which contains the numeric pattern. - Value which will replace the numeric pattern. - File name with the value of in the position of the numeric pattern. - - - - Archives the log-files using a sequence style numbering. The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Modes of archiving files based on time. - - - - - Don't archive based on time. - - - - - AddToArchive every year. - - - - - AddToArchive every month. - - - - - AddToArchive daily. - - - - - AddToArchive every hour. - - - - - AddToArchive every minute. - - - - - AddToArchive every Sunday. - - - - - AddToArchive every Monday. - - - - - AddToArchive every Tuesday. - - - - - AddToArchive every Wednesday. - - - - - AddToArchive every Thursday. - - - - - AddToArchive every Friday. - - - - - AddToArchive every Saturday. - - - - - Type of filepath - - - - - Detect of relative or absolute - - - - - Relative path - - - - - Absolute path - - Best for performance - - - - Writes log messages to one or more files. - - Documentation on NLog Wiki - - - - Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list. - - Clean up period is defined in days. - - - - The maximum number of initialized files before clean up procedures are initiated, - to keep the number of initialized files to a minimum. Chose 25 to cater for monthly rolling of log-files. - - - - - This value disables file archiving based on the size. - - - - - Holds the initialized files each given time by the instance. Against each file, the last write time is stored. - - Last write time is store in local time (no UTC). - - - - List of the associated file appenders with the instance. - - - - - The number of initialized files at any one time. - - - - - The maximum number of archive files that should be kept. - - - - - The maximum days of archive files that should be kept. - - - - - The filename as target - - - - - The archive file name as target - - - - - The date of the previous log event. - - - - - The file name of the previous log event. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the name of the file to write to. - - - This FileName string is a layout which may include instances of layout renderers. - This lets you use a single target to write to multiple files. - - - The following value makes NLog write logging events to files based on the log level in the directory where - the application runs. - ${basedir}/${level}.log - All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on. - You can combine as many of the layout renderers as you want to produce an arbitrary log file name. - - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. - If set to false, nothing gets written when the filename is wrong. - - - - - - Is the an absolute or relative path? - - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - - Gets or sets a value indicating whether to delete old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - - - - - - Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end. - - - - - - Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event. - - - Setting this property to True helps improve performance. - - - - - - Gets or sets the maximum number of log file names that should be stored as existing. - - - The bigger this number is the longer it will take to write each log record. The smaller the number is - the higher the chance that the clean function will be run when no new files have been opened. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - - Gets or sets the file attributes (Windows only). - - - - - - Gets or sets the line ending mode. - - - - - - Gets or sets a value indicating whether to automatically flush the file buffers after each log message. - - - - - - Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance - in a situation where a single File target is writing to many files - (such as splitting by level or by logger). - - - The files are managed on a LRU (least recently used) basis, which flushes - the files that have not been used for the longest period of time should the - cache become full. As a rule of thumb, you shouldn't set this parameter to - a very high value. A number like 10-15 shouldn't be exceeded, because you'd - be keeping a large number of files open which consumes system resources. - - - - - - Gets or sets the maximum number of seconds that files are kept open. If this number is negative the files are - not automatically closed after a period of inactivity. - - - - - - Gets or sets the maximum number of seconds before open files are flushed. If this number is negative or zero - the files are not flushed by timer. - - - - - - Gets or sets the log file buffer size in bytes. - - - - - - Gets or sets the file encoding. - - - - - - Gets or sets whether or not this target should just discard all data that its asked to write. - Mostly used for when testing NLog Stack except final write - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts. - - - This effectively prevents files from being kept open. - - - - - - Gets or sets a value indicating whether to write BOM (byte order mark) in created files - - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - The actual delay is a random value between 0 and the value specified - in this parameter. On each failed attempt the delay base is doubled - up to times. - - - Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:

- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...

- and so on. - - - - -

- Gets or sets a value indicating whether to archive old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - After archiving the old file, the current log file will be empty. - - -
- - - Gets or sets a value of the file size threshold to archive old log file on startup. - - - This option won't work if is set to false - Default value is 0 which means that the file is archived as soon as archival on - startup is enabled. - - - - - - Gets or sets a value specifying the date format to use when archiving files. - - - This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence. - - - - - - Gets or sets the size in bytes above which log files will be automatically archived. - - Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. - Choose: - - - Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. - - - - - - Gets or sets a value indicating whether to automatically archive log files every time the specified time passes. - - - Files are moved to the archive as part of the write operation if the current period of time changes. For example - if the current hour changes from 10 to 11, the first write that will occur - on or after 11:00 will trigger the archiving. -

- Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. -

-
- -
- - - Is the an absolute or relative path? - - - - - - Gets or sets the name of the file to be used for an archive. - - - It may contain a special placeholder {#####} - that will be replaced with a sequence of numbers depending on - the archiving strategy. The number of hash characters used determines - the number of numerical digits to be used for numbering files. - - - - - - Gets or sets the maximum number of archive files that should be kept. - - - - - - Gets or sets the maximum days of archive files that should be kept. - - - - - - Gets or sets the way file archives are numbered. - - - - - - Used to compress log files during archiving. - This may be used to provide your own implementation of a zip file compressor, - on platforms other than .Net4.5. - Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise. - - - - - - Gets or sets a value indicating whether to compress archive files into the zip archive format. - - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - - Gets or sets a value indicating whether the footer should be written only when the file is archived. - - - - - - Gets the characters that are appended after each line. - - - - - Refresh the ArchiveFilePatternToWatch option of the . - The log file must be watched for archiving when multiple processes are writing to the same - open file. - - - - - Removes records of initialized files that have not been - accessed in the last two days. - - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Removes records of initialized files that have not been - accessed after the specified date. - - The cleanup threshold. - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Flushes all pending file operations. - - The asynchronous continuation. - - The timeout parameter is ignored, because file APIs don't provide - the needed functionality. - - - - - Returns the suitable appender factory ( ) to be used to generate the file - appenders associated with the instance. - - The type of the file appender factory returned depends on the values of various properties. - - suitable for this instance. - - - - Initializes file logging by creating data structures that - enable efficient multi-file logging. - - - - - Closes the file(s) opened for writing. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Writes the specified logging event to a file specified in the FileName - parameter. - - The logging event. - - - - Get full filename (=absolute) and cleaned if needed. - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes the specified array of logging events to a file specified in the FileName - parameter. - - An array of objects. - - This function makes use of the fact that the events are batched by sorting - the requests by filename. This optimizes the number of open/close calls - and can help improve performance. - - - - - Returns estimated size for memory stream, based on events count and first event size in bytes. - - Count of events - Bytes count of first event - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Gets the bytes to be written to the file. - - Log event. - Array of bytes that are ready to be written. - - - - Modifies the specified byte array before it gets sent to a file. - - The byte array. - The modified byte array. The function can do the modification in-place. - - - - Gets the bytes to be written to the file. - - The log event to be formatted. - to help format log event. - Optional temporary char-array to help format log event. - Destination for the encoded result. - - - - Formats the log event for write. - - The log event to be formatted. - for the result. - - - - Modifies the specified byte array before it gets sent to a file. - - The LogEvent being written - The byte array. - - - - Archives fileName to archiveFileName. - - File name to be archived. - Name of the archive file. - - - - Gets the correct formatting to be used based on the value of for converting values which will be inserting into file - names during archiving. - - This value will be computed only when a empty value or is passed into - - Date format to used irrespectively of value. - Formatting for dates. - - - - Calculate the DateTime of the requested day of the week. - - The DateTime of the previous log event. - The next occuring day of the week to return a DateTime for. - The DateTime of the next occuring dayOfWeek. - For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return - Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. - - - - Invokes the archiving process after determining when and which type of archiving is required. - - File name to be checked and archived. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - - - - Gets the pattern that archive files will match - - Filename of the log file - Log event that the instance is currently processing. - A string with a pattern that will match the archive file names - - - - Archives the file if it should be archived. - - The file name to check for. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - True when archive operation of the file was completed (by this target or a concurrent target) - - - - Closes any active file-appenders that matches the input filenames. - File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive - - - - - Indicates if the automatic archiving process should be executed. - - File name to be written. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Returns the correct filename to archive - - - - - Gets the file name for archiving, or null if archiving should not occur based on file size. - - File name to be written. - The size in bytes of the next chunk of data to be written in the file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists - - - - - Returns the file name for archiving, or null if archiving should not occur based on date/time. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - - High resolution Time - Time Resolution Level - Truncated Low Resolution Time - - - - Evaluates which parts of a file should be written (header, content, footer) based on various properties of - instance and writes them. - - File name to be written. - Raw sequence of to be written into the content part of the file. - File has just been opened. - - - - Initialise a file to be used by the instance. Based on the number of initialized - files and the values of various instance properties clean up and/or archiving processes can be invoked. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file (DateTime.MinValue if just initialized). - - - - Writes the file footer and finalizes the file in instance internal structures. - - File name to close. - Indicates if the file is being finalized for archiving. - - - - Writes the footer information to a file. - - The file path to write to. - - - - Decision logic whether to archive logfile on startup. - and properties. - - File name to be written. - Decision whether to archive or not. - - - - Invokes the archiving and clean up of older archive file based on the values of - and - properties respectively. - - File name to be written. - Log event that the instance is currently processing. - - - - Creates the file specified in and writes the file content in each entirety i.e. - Header, Content and Footer. - - The name of the file to be written. - Sequence of to be written in the content section of the file. - First attempt to write? - This method is used when the content of the log file is re-written on every write. - - - - Writes the header information and byte order mark to a file. - - File appender associated with the file. - - - - The sequence of to be written in a file after applying any formatting and any - transformations required from the . - - The layout used to render output message. - Sequence of to be written. - Usually it is used to render the header and hooter of the files. - - - - Check if cleanup should be performed on initialize new file - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Create a wildcard file-mask that allows one to find all files belonging to the same archive. - - Base archive file pattern - Wildcard file-mask - - - - Search directory for all existing files that are part of the same archive. - - Base archive file pattern - - - - - Generate the next archive filename for the archive. - - Base archive file pattern - File date of archive - Existing files in the same archive - - - - - Return all files that should be removed from the provided archive. - - Base archive file pattern - Existing files in the same archive - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - - - - may be configured to compress archived files in a custom way - by setting before logging your first event. - - - - - Create archiveFileName by compressing fileName. - - Absolute path to the log file to compress. - Absolute path to the compressed archive file to create. - - - - Interface for serialization of values, maybe even objects to JSON format. - Useful for wrappers for existing serializers. - - - - - Returns a serialization of an object - into JSON format. - - The object to serialize to JSON. - Serialized value (null = Serialize failed). - - - - Options for JSON serialisation - - - - - Add quotes around object keys? - - - - - Format provider for value - - - - - Format string for value - - - - - Should non-ascii characters be encoded - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - - - Serialize enum as string value - - - - - Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_). - - Any other characters will be converted to underscore character (_) - - - - - How far down the rabbit hole should the Json Serializer go with object-reflection before stopping - - - - Initializes a new instance of the class. - - - - Line ending mode. - - - - - Insert platform-dependent end-of-line sequence after each line. - - - - - Insert CR LF sequence (ASCII 13, ASCII 10) after each line. - - - - - Insert CR character (ASCII 13) after each line. - - - - - Insert LF character (ASCII 10) after each line. - - - - - Insert null terminator (ASCII 0) after each line. - - - - - Do not insert any line ending. - - - - - Gets the name of the LineEndingMode instance. - - - - - Gets the new line characters (value) of the LineEndingMode instance. - - - - - Initializes a new instance of . - - The mode name. - The new line characters to be used. - - - - Returns the that corresponds to the supplied . - - - The textual representation of the line ending mode, such as CRLF, LF, Default etc. - Name is not case sensitive. - - The value, that corresponds to the . - There is no line ending mode with the specified name. - - - - Compares two objects and returns a - value indicating whether the first one is equal to the second one. - - The first level. - The second level. - The value of mode1.NewLineCharacters == mode2.NewLineCharacters. - - - - Compares two objects and returns a - value indicating whether the first one is not equal to the second one. - - The first mode - The second mode - The value of mode1.NewLineCharacters != mode2.NewLineCharacters. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms - and data structures like a hash table. - - - - - Determines whether the specified is - equal to this instance. - - The to compare with - this instance. - - Value of true if the specified - is equal to this instance; otherwise, false. - - - The parameter is null. - - - - Indicates whether the current object is equal to another object of the same type. - true if the current object is equal to the parameter; otherwise, false. - An object to compare with this object. - - - - Writes log messages to in memory for programmatic retrieval. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the list of logs gathered in the . - - - - - Gets or sets the max number of items to have in memory - - - - - - Renders the logging event message and adds to - - The logging event. - - - - A parameter to MethodCall. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout to use for parameter value. - - - - Initializes a new instance of the class. - - Name of the parameter. - The layout. - - - - Initializes a new instance of the class. - - The name of the parameter. - The layout. - The type of the parameter. - - - - Gets or sets the name of the parameter. - - - - - - Gets or sets the type of the parameter. Obsolete alias for - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Calls the specified static method on each log message and passes contextual parameters to it. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets the class name. - - - - - - Gets or sets the method name. The method must be public and static. - - Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx - e.g. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - Name of the target. - Method to call on logevent. - - - - Initializes the target. - - - - - Calls the specified Method. - - Method parameters. - The logging event. - - - - Calls the specified Method. - - Method parameters. - - - - The base class for all targets which call methods (local or remote). - Manages parameters and type coercion. - - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - - - - Prepares an array of parameters to be passed based on the logging event and calls DoInvoke(). - - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Sends log messages over the network. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- To print the results, use any application that's able to receive messages over - TCP or UDP. NetCat is - a simple but very powerful command-line tool that can be used for that. This image - demonstrates the NetCat tool receiving log messages from Network target. -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will be very slow. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-

- There are two specialized versions of the Network target: Chainsaw - and NLogViewer which write to instances of Chainsaw log4j viewer - or NLogViewer application respectively. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the network address. - - - The network address can be: -
    -
  • tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
  • -
  • tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
  • -
  • tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
  • -
  • udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • http://host:port/pageName - HTTP using POST verb
  • -
  • https://host:port/pageName - HTTPS using POST verb
  • -
- For SOAP-based webservice support over HTTP use WebService target. -
- -
- - - Gets or sets a value indicating whether to keep connection open whenever possible. - - - - - - Gets or sets a value indicating whether to append newline at the end of log message. - - - - - - Gets or sets the end of line value if a newline is appended at the end of log message . - - - - - - Gets or sets the maximum message size in bytes. - - - - - - Gets or sets the size of the connection cache (number of connections which are kept alive). - - - - - - Gets or sets the maximum current connections. 0 = no maximum. - - - - - - Gets or sets the action that should be taken if the will be more connections than . - - - - - - Gets or sets the maximum queue size. - - - - - - Gets or sets the action that should be taken if the message is larger than - maxMessageSize. - - - - - - Gets or sets the encoding to be used. - - - - - - Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. - - - - - - The number of seconds a connection will remain idle before the first keep-alive probe is sent - - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Sends the - rendered logging event over the network optionally concatenating it with a newline character. - - The logging event. - - - - Try to remove. - - - - - removed something? - - - - Gets the bytes to be written. - - Log event. - Byte array. - - - - The action to be taken when there are more connections then the max. - - - - - Just allow it. - - - - - Discard the connection item. - - - - - Block until there's more room in the queue. - - - - - Action that should be taken if the message overflows. - - - - - Report an error. - - - - - Split the message into smaller pieces. - - - - - Discard the entire message. - - - - - Represents a parameter to a NLogViewer target. - - - - - Initializes a new instance of the class. - - - - - Gets or sets viewer parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - Sends log messages to the remote instance of NLog Viewer. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include stack contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the renderer for log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets the layout renderer which produces Log4j-compatible XML events. - - - - - Gets or sets the instance of that is used to format log messages. - - - - - - Discards log messages. Used mainly for debugging and benchmarking. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets a value indicating whether to perform layout calculation. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Does nothing. Optionally it calculates the layout text but - discards the results. - - The logging event. - - - - Outputs log messages through the OutputDebugString() Win32 API. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - - - - Represents logging target. - - - - Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts - - - - The Max StackTraceUsage of all the in this Target - - - - - Gets or sets the name of the target. - - - - - - Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers - Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - - - - Can be used if has been enabled. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - This method won't prerender if all layouts in this target are thread-agnostic. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Writes async log event to the log target. - - Async Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Log event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - NOTE! Obsolete, instead override WriteAsyncThreadSafe(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target, in a thread safe manner. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Renders the event info in layout. - - The layout. - The event info. - String representing log event. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Should the exception be rethrown? - - - Upgrade to private protected when using C# 7.2 - - - - Marks class as a logging target and assigns a name to it. - - This attribute is not required when registering the target in the API. - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page). - - - - - Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page). - - - - - Attribute details for - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Gets or sets when an empty value should cause the property to be included - - - - - Gets or sets the type of the property. - - - - - Represents target that supports context capture using MDLC, MDC, NDLC and NDC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets or sets a value indicating whether to include contents of the dictionary - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the - - - - - - Gets the array of custom attributes to be passed into the logevent context - - - - - - Constructor - - - - - - - - Check if logevent has properties (or context properties) - - - True if properties should be included - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Dictionary with any context properties for the logEvent (Null if none found) - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Optional prefilled dictionary - Dictionary with any context properties for the logEvent (Null if none found) - - - - Creates combined dictionary of all configured properties for logEvent - - - Dictionary with all collected properties for logEvent - - - - Creates combined dictionary of all configured properties for logEvent - - - Optional prefilled dictionary - Dictionary with all collected properties for logEvent - - - - Generates a new unique name, when duplicate names are detected - - LogEvent that triggered the duplicate name - Duplicate item name - Item Value - Dictionary of context values - New (unique) value (or null to skip value). If the same value is used then the item will be overwritten - - - - Returns the captured snapshot of for the - - - Dictionary with MDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with MDLC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with GDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDC key - MDC value - Snapshot of MDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDLC key - MDLC value - Snapshot of MDLC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDC value - Snapshot of NDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDLC value - Snapshot of NDLC value - Include object value in snapshot - - - - Take snapshot of a single object value - - Log event - Key Name (null when NDC / NDLC) - Object Value - Snapshot of value - Include object value in snapshot - - - Internal Layout that allows capture of MDC context - - - Internal Layout that allows capture of NDC context - - - Internal Layout that allows capture of MDLC context - - - Internal Layout that allows capture of NDLC context - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the layout used to format log messages. - - - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the text to be rendered. - - - - - - Gets or sets the footer. - - - - - - Gets or sets the header. - - - - - - Gets or sets the layout with header and footer. - - The layout with header and footer. - - - - Web service protocol. - - - - - Use SOAP 1.1 Protocol. - - - - - Use SOAP 1.2 Protocol. - - - - - Use HTTP POST Protocol. - - - - - Use HTTP GET Protocol. - - - - - Do an HTTP POST of a JSON document. - - - - - Do an HTTP POST of an XML document. - - - - - Web Service Proxy Configuration Type - - - - - Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy) - - - Example of how to configure default proxy using app.config - - <system.net> - <defaultProxy enabled = "true" useDefaultCredentials = "true" > - <proxy usesystemdefault = "True" /> - </defaultProxy> - </system.net> - - - - - - Automatic use of proxy with authentication (cached) - - - - - Disables use of proxy (fast) - - - - - Custom proxy address (cached) - - - - - Calls the specified web service on each log message. - - Documentation on NLog Wiki - - The web service must implement a method that accepts a number of string parameters. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

The example web service that works with this example is shown below

- -
-
- - - dictionary that maps a concrete implementation - to a specific -value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target - - - - Gets or sets the web service URL. - - - - - - Gets or sets the value of the User-agent HTTP header. - - - - - - Gets or sets the Web service method name. Only used with Soap. - - - - - - Gets or sets the Web service namespace. Only used with Soap. - - - - - - Gets or sets the protocol to be used when calling web service. - - - - - - Gets or sets the proxy configuration when calling web service - - - - - - Gets or sets the custom proxy address, include port separated by a colon - - - - - - Should we include the BOM (Byte-order-mark) for UTF? Influences the property. - - This will only work for UTF-8. - - - - - - Gets or sets the encoding. - - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Gets or sets the name of the root XML element, - if POST of XML document chosen. - If so, this property must not be null. - (see and ). - - - - - - Gets or sets the (optional) root namespace of the XML document, - if POST of XML document chosen. - (see and ). - - - - - - Gets the array of parameters to be passed. - - - - - - Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters) - - - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Invokes the web service method. - - Parameters to be passed. - The logging event. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. - - - - - - - Write from input to output. Fix the UTF-8 bom - - - - - - - - - base class for POST formatters, that - implement former PrepareRequest() method, - that creates the content for - the requested kind of HTTP request - - - - - Win32 file attributes. - - - For more information see https://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp. - - - - - Read-only file. - - - - - Hidden file. - - - - - System file. - - - - - File should be archived. - - - - - Device file. - - - - - Normal file. - - - - - File is temporary (should be kept in cache and not - written to disk if possible). - - - - - Sparse file. - - - - - Reparse point. - - - - - Compress file contents. - - - - - File should not be indexed by the content indexing service. - - - - - Encrypted file. - - - - - The system writes through any intermediate cache and goes directly to disk. - - - - - The system opens a file with no system caching. - - - - - Delete file after it is closed. - - - - - A file is accessed according to POSIX rules. - - - - - Asynchronous request queue. - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Gets or sets the request limit. - - - - - Gets or sets the action to be taken when there's no more room in - the queue and another request is enqueued. - - - - - Notifies about log event that was dropped when set to - - - - - Notifies when queue size is growing over - - - - - Raise event when queued element was dropped because of queue overflow - - Dropped queue item - - - - Raise event when RequestCount overflow - - current requests count - - - - Provides asynchronous, buffered execution of target writes. - - Documentation on NLog Wiki - -

- Asynchronous target wrapper allows the logger code to execute more quickly, by queueing - messages and processing them in a separate thread. You should wrap targets - that spend a non-trivial amount of time in their Write() method with asynchronous - target to speed up logging. -

-

- Because asynchronous logging is quite a common scenario, NLog supports a - shorthand notation for wrapping all targets with AsyncWrapper. Just add async="true" to - the <targets/> element in the configuration file. -

- - - ... your targets go here ... - - ]]> -
- -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of requests in the queue. - The action to be taken when the queue overflows. - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity) - - - - - - Raise event when Target cannot store LogEvent. - Event arg contains lost LogEvents - - - - - Raises when event queue grow. - Queue can grow when was set to - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the limit of full s to write before yielding into - Performance is better when writing many small batches, than writing a single large batch - - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - - Gets the queue of lazy writer thread requests. - - - - - Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target by starting the lazy writer timer. - - - - - Shuts down the lazy writer timer. - - - - - Starts the lazy writer thread which periodically writes - queued log messages. - - - - - Attempts to start an instant timer-worker-thread which can write - queued log messages. - - Returns true when scheduled a timer-worker-thread - - - - Stops the lazy writer thread. - - - - - Adds the log event to asynchronous queue to be processed by - the lazy writer thread. - - The log event. - - The is called - to ensure that the log event can be processed in another thread. - - - - - Write to queue without locking - - - - - - The action to be taken when the queue overflows. - - - - - Grow the queue. - - - - - Discard the overflowing item. - - - - - Block until there's more room in the queue. - - - - - Causes a flush on a wrapped target if LogEvent satisfies the . - If condition isn't set, flushes on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Gets or sets the condition expression. Log events who meet this condition will cause - a flush on the wrapped target. - - - - - - Delay the flush until the LogEvent has been confirmed as written - - If not explicitly set, then disabled by default for and AsyncTaskTarget - - - - - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - The wrapped target. - Name of the target - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes the target. - - - - - Forwards the call to the .Write() - and calls on it if LogEvent satisfies - the flush condition or condition is null. - - Logging event to be written out. - - - - Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - A target that buffers log events and sends them in batches to the wrapped target. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - The action to take when the buffer overflows. - - - - Gets or sets the number of log events to be buffered. - - - - - - Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed - if there's no write in the specified period of time. Use -1 to disable timed flushes. - - - - - - Gets or sets a value indicating whether to use sliding timeout. - - - This value determines how the inactivity period is determined. If sliding timeout is enabled, - the inactivity timer is reset after each write, if it is disabled - inactivity timer will - count from the first event written to the buffer. - - - - - - Gets or sets the action to take if the buffer overflows. - - - Setting to will replace the - oldest event with new events without sending events down to the wrapped target, and - setting to will flush the - entire buffer to the wrapped target. - - - - - - Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target. - - - - - Closes the target by flushing pending events in the buffer (if any). - - - - - Adds the specified log event to the buffer and flushes - the buffer in case the buffer gets full. - - The log event. - - - - The action to be taken when the buffer overflows. - - - - - Flush the content of the buffer. - - - - - Discard the oldest item. - - - - - A base class for targets which wrap other (multiple) targets - and provide various forms of target routing. - - - - - Initializes a new instance of the class. - - The targets. - - - - Gets the collection of targets managed by this compound target. - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Writes logging event to the log target. - - Logging event to be written out. - - - - Flush any pending log messages for all wrapped targets. - - The asynchronous continuation. - - - - Concurrent Asynchronous request queue based on - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - Only for debugging purposes - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Provides fallback-on-error. - - Documentation on NLog Wiki - -

This example causes the messages to be written to server1, - and if it fails, messages go to server2.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Gets or sets a value indicating whether to return to the first target after any successful write. - - - - - - - - - - - - Forwards the log event to the sub-targets until one of them succeeds. - - The log event. - - The method remembers the last-known-successful target - and starts the iteration from it. - If is set, the method - resets the target to the first target - stored in . - - - - - Filtering rule for . - - - - - Initializes a new instance of the FilteringRule class. - - - - - Initializes a new instance of the FilteringRule class. - - Condition to be tested against all events. - Filter to apply to all log events when the first condition matches any of them. - - - - Gets or sets the condition to be tested. - - - - - - Gets or sets the resulting filter to be applied when the condition matches. - - - - - - Filters log entries based on a condition. - - Documentation on NLog Wiki - -

This example causes the messages not contains the string '1' to be ignored.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The condition. - - - - Initializes a new instance of the class. - - The wrapped target. - The condition. - - - - Gets or sets the condition expression. Log events who meet this condition will be forwarded - to the wrapped target. - - - - - - Gets or sets the filter. Log events who evaluates to will be discarded - - - - - - - - - Checks the condition against the passed log event. - If the condition is met, the log event is forwarded to - the wrapped target. - - Log event. - - - - - - - Limits the number of messages written per timespan to the wrapped target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of messages written per interval. - Interval in which the maximum number of messages can be written. - - - - Gets or sets the maximum allowed number of messages written per . - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets or sets the interval in which messages will be written up to the number of messages. - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets the DateTime when the current will be reset. - - - - - - Gets the number of written in the current . - - - - - - Initializes the target and resets the current Interval and . - - - - - Writes log event to the wrapped target if the current is lower than . - If the is already reached, no log event will be written to the wrapped target. - resets when the current is expired. - - Log event to be written out. - - - - Arguments for events. - - - - - - - - Instance of that was dropped by - - - - - Raises by when - queue is full - and set to - By default queue doubles it size. - - - - - Contains items count and new queue size. - - Required queue size - Current queue size - - - - New queue size - - - - - Current requests count - - - - - Filters buffered log entries based on a set of conditions that are evaluated on a group of events. - - Documentation on NLog Wiki - - PostFilteringWrapper must be used with some type of buffering target or wrapper, such as - AsyncTargetWrapper, BufferingWrapper or ASPNetBufferingWrapper. - - -

- This example works like this. If there are no Warn,Error or Fatal messages in the buffer - only Info messages are written to the file, but if there are any warnings or errors, - the output includes detailed trace (levels >= Debug). You can plug in a different type - of buffering wrapper (such as ASPNetBufferingWrapper) to achieve different - functionality. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Gets or sets the default filter to be applied when no specific rule matches. - - - - - - Gets the collection of filtering rules. The rules are processed top-down - and the first rule that matches determines the filtering condition to - be applied to log events. - - - - - - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Evaluates all filtering rules to find the first one that matches. - The matching rule determines the filtering condition to be applied - to all items in a buffer. If no condition matches, default filter - is applied to the array of log events. - - Array of log events to be post-filtered. - - - - Evaluate all the rules to get the filtering condition - - - - - - - Sends log messages to a randomly selected target. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt - chosen randomly on a per-message basis. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the log event to one of the sub-targets. - The sub-target is randomly chosen. - - The log event. - - - - Repeats each log event the specified number of times. - - Documentation on NLog Wiki - -

This example causes each log message to be repeated 3 times.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The repeat count. - - - - Initializes a new instance of the class. - - The wrapped target. - The repeat count. - - - - Gets or sets the number of times to repeat each log message. - - - - - - Forwards the log message to the by calling the method times. - - The log event. - - - - Retries in case of write error. - - Documentation on NLog Wiki - -

This example causes each write attempt to be repeated 3 times, - sleeping 1 second between attempts if first one fails.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Initializes a new instance of the class. - - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure. - - - - - - Gets or sets the time to wait between retries in milliseconds. - - - - - - Special SyncObject to allow closing down Target while busy retrying - - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Writes the specified log event to the wrapped target in a thread-safe manner. - - The log event. - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Distributes log events to targets in a round-robin fashion. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt. - Each odd message is written to file2.txt, each even message goes to file1.txt. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Ensures forwarding happens without holding lock - - - - - - Forwards the write to one of the targets from - the collection. - - The log event. - - The writes are routed in a round-robin fashion. - The first log event goes to the first target, the second - one goes to the second target and so on looping to the - first target when there are no more targets available. - In general request N goes to Targets[N % Targets.Count]. - - - - - Writes log events to all targets. - - Documentation on NLog Wiki - -

This example causes the messages to be written to both file1.txt or file2.txt -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the specified log event to all sub-targets. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Base class for targets wrap other (single) targets. - - - - - Gets or sets the target that is wrapped by this target. - - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Builtin IFileCompressor implementation utilizing the .Net4.5 specific - and is used as the default value for on .Net4.5. - So log files created via can be zipped when archived - w/o 3rd party zip library when run on .Net4.5 or higher. - - - - - Implements using the .Net4.5 specific - - - - - Current local time retrieved directly from DateTime.Now. - - - - - Gets current local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Current UTC time retrieved directly from DateTime.UtcNow. - - - - - Gets current UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Fast time source that updates current time only once per tick (15.6 milliseconds). - - - - - Gets raw uncached time from derived time source. - - - - - Gets current time cached for one system tick (15.6 milliseconds). - - - - - Fast local time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Fast UTC time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Defines source of current time. - - - - - Gets current time. - - - - - Gets or sets current global time source used in all log events. - - - Default time source is . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to the same form - as time values originated from this source. - - - - There are situations when NLog have to compare the time originated from TimeSource - to the time originated externally in the system. - To be able to provide meaningful result of such comparisons the system time must be expressed in - the same form as TimeSource time. - - - Examples: - - If the TimeSource provides time values of local time, it should also convert the provided - to the local time. - - If the TimeSource shifts or skews its time values, it should also apply - the same transform to the given . - - - - - - Marks class as a time source and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the time source. - -
-
diff --git a/app/packages/NLog.4.7.15/lib/netstandard1.5/NLog.dll b/app/packages/NLog.4.7.15/lib/netstandard1.5/NLog.dll deleted file mode 100644 index 58d2224..0000000 Binary files a/app/packages/NLog.4.7.15/lib/netstandard1.5/NLog.dll and /dev/null differ diff --git a/app/packages/NLog.4.7.15/lib/netstandard1.5/NLog.xml b/app/packages/NLog.4.7.15/lib/netstandard1.5/NLog.xml deleted file mode 100644 index 2fb0a3e..0000000 --- a/app/packages/NLog.4.7.15/lib/netstandard1.5/NLog.xml +++ /dev/null @@ -1,26888 +0,0 @@ - - - - NLog - - - - - Indicates that the value of the marked element could be null sometimes, - so the check for null is necessary before its usage. - - - [CanBeNull] object Test() => null; - - void UseTest() { - var p = Test(); - var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' - } - - - - - Indicates that the value of the marked element could never be null. - - - [NotNull] object Foo() { - return null; // Warning: Possible 'null' assignment - } - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can never be null. - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can be null. - - - - - Indicates that the marked method builds string by format pattern and (optional) arguments. - Parameter, which contains format string, should be given in constructor. The format string - should be in -like form. - - - [StringFormatMethod("message")] - void ShowError(string message, params object[] args) { /* do something */ } - - void Foo() { - ShowError("Failed: {0}"); // Warning: Non-existing argument in format string - } - - - - - Specifies which parameter of an annotated method should be treated as format-string - - - - - For a parameter that is expected to be one of the limited set of values. - Specify fields of which type should be used as values for this parameter. - - - - - Indicates that the function argument should be string literal and match one - of the parameters of the caller function. For example, ReSharper annotates - the parameter of . - - - void Foo(string param) { - if (param == null) - throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol - } - - - - - Indicates that the method is contained in a type that implements - System.ComponentModel.INotifyPropertyChanged interface and this method - is used to notify that some property value changed. - - - The method should be non-static and conform to one of the supported signatures: - - NotifyChanged(string) - NotifyChanged(params string[]) - NotifyChanged{T}(Expression{Func{T}}) - NotifyChanged{T,U}(Expression{Func{T,U}}) - SetProperty{T}(ref T, T, string) - - - - public class Foo : INotifyPropertyChanged { - public event PropertyChangedEventHandler PropertyChanged; - - [NotifyPropertyChangedInvocator] - protected virtual void NotifyChanged(string propertyName) { ... } - - string _name; - - public string Name { - get { return _name; } - set { _name = value; NotifyChanged("LastName"); /* Warning */ } - } - } - - Examples of generated notifications: - - NotifyChanged("Property") - NotifyChanged(() => Property) - NotifyChanged((VM x) => x.Property) - SetProperty(ref myField, value, "Property") - - - - - - Describes dependency between method input and output. - - -

Function Definition Table syntax:

- - FDT ::= FDTRow [;FDTRow]* - FDTRow ::= Input => Output | Output <= Input - Input ::= ParameterName: Value [, Input]* - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} - Value ::= true | false | null | notnull | canbenull - - If method has single input parameter, it's name could be omitted.
- Using halt (or void/nothing, which is the same) for method output - means that the methods doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute - with rows separated by semicolon. There is no notion of order rows, all rows are checked - for applicability and applied per each program state tracked by R# analysis.
-
- - - [ContractAnnotation("=> halt")] - public void TerminationMethod() - - - [ContractAnnotation("halt <= condition: false")] - public void Assert(bool condition, string text) // regular assertion method - - - [ContractAnnotation("s:null => true")] - public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() - - - // A method that returns null if the parameter is null, - // and not null if the parameter is not null - [ContractAnnotation("null => null; notnull => notnull")] - public object Transform(object data) - - - [ContractAnnotation("=> true, result: notnull; => false, result: null")] - public bool TryParse(string s, out Person result) - - -
- - - Indicates that marked element should be localized or not. - - - [LocalizationRequiredAttribute(true)] - class Foo { - string str = "my string"; // Warning: Localizable string - } - - - - - Indicates that the value of the marked type (or its derivatives) - cannot be compared using '==' or '!=' operators and Equals() - should be used instead. However, using '==' or '!=' for comparison - with null is always permitted. - - - [CannotApplyEqualityOperator] - class NoEquality { } - - class UsesNoEquality { - void Test() { - var ca1 = new NoEquality(); - var ca2 = new NoEquality(); - if (ca1 != null) { // OK - bool condition = ca1 == ca2; // Warning - } - } - } - - - - - When applied to a target attribute, specifies a requirement for any type marked - with the target attribute to implement or inherit specific type or types. - - - [BaseTypeRequired(typeof(IComponent)] // Specify requirement - class ComponentAttribute : Attribute { } - - [Component] // ComponentAttribute requires implementing IComponent interface - class MyComponent : IComponent { } - - - - - Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), - so this symbol will not be marked as unused (as well as by other usage inspections). - - - - - Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes - as unused (as well as by other usage inspections) - - - - Only entity marked with attribute considered used. - - - Indicates implicit assignment to a member. - - - - Indicates implicit instantiation of a type with fixed constructor signature. - That means any unused constructor parameters won't be reported as such. - - - - Indicates implicit instantiation of a type. - - - - Specify what is considered used implicitly when marked - with or . - - - - Members of entity marked with attribute are considered used. - - - Entity marked with attribute and all its members considered used. - - - - This attribute is intended to mark publicly available API - which should not be removed and so is treated as used. - - - - - Tells code analysis engine if the parameter is completely handled when the invoked method is on stack. - If the parameter is a delegate, indicates that delegate is executed while the method is executed. - If the parameter is an enumerable, indicates that it is enumerated while the method is executed. - - - - - Indicates that a method does not make any observable state changes. - The same as System.Diagnostics.Contracts.PureAttribute. - - - [Pure] int Multiply(int x, int y) => x * y; - - void M() { - Multiply(123, 42); // Waring: Return value of pure method is not used - } - - - - - Indicates that the return value of method invocation must be used. - - - - - Indicates the type member or parameter of some type, that should be used instead of all other ways - to get the value that type. This annotation is useful when you have some "context" value evaluated - and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one. - - - class Foo { - [ProvidesContext] IBarService _barService = ...; - - void ProcessNode(INode node) { - DoSomething(node, node.GetGlobalServices().Bar); - // ^ Warning: use value of '_barService' field - } - } - - - - - Indicates that a parameter is a path to a file or a folder within a web project. - Path can be relative or absolute, starting from web root (~). - - - - - An extension method marked with this attribute is processed by ReSharper code completion - as a 'Source Template'. When extension method is completed over some expression, it's source code - is automatically expanded like a template at call site. - - - Template method body can contain valid source code and/or special comments starting with '$'. - Text inside these comments is added as source code when the template is applied. Template parameters - can be used either as additional method parameters or as identifiers wrapped in two '$' signs. - Use the attribute to specify macros for parameters. - - - In this example, the 'forEach' method is a source template available over all values - of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block: - - [SourceTemplate] - public static void forEach<T>(this IEnumerable<T> xs) { - foreach (var x in xs) { - //$ $END$ - } - } - - - - - - Allows specifying a macro for a parameter of a source template. - - - You can apply the attribute on the whole method or on any of its additional parameters. The macro expression - is defined in the property. When applied on a method, the target - template parameter is defined in the property. To apply the macro silently - for the parameter, set the property value = -1. - - - Applying the attribute on a source template method: - - [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] - public static void forEach<T>(this IEnumerable<T> collection) { - foreach (var item in collection) { - //$ $END$ - } - } - - Applying the attribute on a template method parameter: - - [SourceTemplate] - public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { - /*$ var $x$Id = "$newguid$" + x.ToString(); - x.DoSomething($x$Id); */ - } - - - - - - Allows specifying a macro that will be executed for a source template - parameter when the template is expanded. - - - - - Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. - - - If the target parameter is used several times in the template, only one occurrence becomes editable; - other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, - use values >= 0. To make the parameter non-editable when the template is expanded, use -1. - > - - - - Identifies the target parameter of a source template if the - is applied on a template method. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC action. If applied to a method, the MVC action name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC area. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is - an MVC controller. If applied to a method, the MVC controller name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC - partial view. If applied to a method, the MVC partial view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC template. - Use this attribute for custom wrappers similar to - System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component. If applied to a method, the MVC view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Controller.View(Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component name. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component view. If applied to a method, the MVC view component view name is default. - - - - - ASP.NET MVC attribute. When applied to a parameter of an attribute, - indicates that this parameter is an MVC action name. - - - [ActionName("Foo")] - public ActionResult Login(string returnUrl) { - ViewBag.ReturnUrl = Url.Action("Foo"); // OK - return RedirectToAction("Bar"); // Error: Cannot resolve action - } - - - - - Razor attribute. Indicates that a parameter or a method is a Razor section. - Use this attribute for custom wrappers similar to - System.Web.WebPages.WebPageBase.RenderSection(String). - - - - - Indicates how method, constructor invocation or property access - over collection type affects content of the collection. - - - - Method does not use or modify content of the collection. - - - Method only reads content of the collection but does not modify it. - - - Method can change content of the collection but does not add new elements. - - - Method can add new elements to the collection. - - - - Indicates that the marked method is assertion method, i.e. it halts control flow if - one of the conditions is satisfied. To set the condition, mark one of the parameters with - attribute. - - - - - Indicates the condition parameter of the assertion method. The method itself should be - marked by attribute. The mandatory argument of - the attribute is the assertion type. - - - - - Specifies assertion type. If the assertion method argument satisfies the condition, - then the execution continues. Otherwise, execution is assumed to be halted. - - - - Marked parameter should be evaluated to true. - - - Marked parameter should be evaluated to false. - - - Marked parameter should be evaluated to null value. - - - Marked parameter should be evaluated to not null value. - - - - Indicates that the marked method unconditionally terminates control flow execution. - For example, it could unconditionally throw exception. - - - - - Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select, - .Where). This annotation allows inference of [InstantHandle] annotation for parameters - of delegate type by analyzing LINQ method chains. - - - - - Indicates that IEnumerable, passed as parameter, is not enumerated. - - - - - Indicates that parameter is regular expression pattern. - - - - - Prevents the Member Reordering feature from tossing members of the marked class. - - - The attribute must be mentioned in your member reordering patterns - - - - - XAML attribute. Indicates the type that has ItemsSource property and should be treated - as ItemsControl-derived type, to enable inner items DataContext type resolve. - - - - - XAML attribute. Indicates the property of some BindingBase-derived type, that - is used to bind some item of ItemsControl-derived type. This annotation will - enable the DataContext type resolve for XAML bindings for such properties. - - - Property should have the tree ancestor of the ItemsControl type or - marked with the attribute. - - - - - Support implementation of - - - - - - - - - - - - - - - - - Asynchronous continuation delegate - function invoked at the end of asynchronous - processing. - - Exception during asynchronous processing or null if no exception - was thrown. - - - - Helpers for asynchronous operations. - - - - - Iterates over all items in the given collection and runs the specified action - in sequence (each action executes only after the preceding one has completed without an error). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end. - - The repeat count. - The asynchronous continuation to invoke at the end. - The action to invoke. - - - - Modifies the continuation by pre-pending given action to execute just before it. - - The async continuation. - The action to pre-pend. - Continuation which will execute the given action before forwarding to the actual continuation. - - - - Attaches a timeout to a continuation which will invoke the continuation when the specified - timeout has elapsed. - - The asynchronous continuation. - The timeout. - Wrapped continuation. - - - - Iterates over all items in the given collection and runs the specified action - in parallel (each action executes on a thread from thread pool). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Runs the specified asynchronous action synchronously (blocks until the continuation has - been invoked). - - The action. - - Using this method is not recommended because it will block the calling thread. - - - - - Wraps the continuation with a guard which will only make sure that the continuation function - is invoked only once. - - The asynchronous continuation. - Wrapped asynchronous continuation. - - - - Gets the combined exception from all exceptions in the list. - - The exceptions. - Combined exception or null if no exception was thrown. - - - - Disposes the Timer, and waits for it to leave the Timer-callback-method - - The Timer object to dispose - Timeout to wait (TimeSpan.Zero means dispose without waiting) - Timer disposed within timeout (true/false) - - - - Asynchronous action. - - Continuation to be invoked at the end of action. - - - - Asynchronous action with one argument. - - Type of the argument. - Argument to the action. - Continuation to be invoked at the end of action. - - - - Represents the logging event with asynchronous continuation. - - - - - Initializes a new instance of the struct. - - The log event. - The continuation. - - - - Gets the log event. - - - - - Gets the continuation. - - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - A value of true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - String Conversion Helpers - - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - Output value - Default value - Returns false if the input value could not be parsed - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - The type of the enum - Output value. Null if parse failed - - - - Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded. - - The enumeration type to which to convert value. - The string representation of the enumeration name or underlying value to convert. - true to ignore case; false to consider case. - When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized. - true if the value parameter was converted successfully; otherwise, false. - Wrapper because Enum.TryParse is not present in .net 3.5 - - - - Enum.TryParse implementation for .net 3.5 - - - - Don't uses reflection - - - - Enables to extract extra context details for - - - - - Name of context - - - - - The current LogFactory next to LogManager - - - - - NLog internal logger. - - Writes to file, console or custom text writer (see ) - - - Don't use as that can lead to recursive calls - stackoverflow - - - - - Gets a value indicating whether internal log includes Trace messages. - - - - - Gets a value indicating whether internal log includes Debug messages. - - - - - Gets a value indicating whether internal log includes Info messages. - - - - - Gets a value indicating whether internal log includes Warn messages. - - - - - Gets a value indicating whether internal log includes Error messages. - - - - - Gets a value indicating whether internal log includes Fatal messages. - - - - - Logs the specified message without an at the Trace level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - Log message. - - - - Logs the specified message without an at the Trace level. - will be only called when logging is enabled for level Trace. - - Function that returns the log message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Trace level. - will be only called when logging is enabled for level Trace. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Debug level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Debug level. - - Log message. - - - - Logs the specified message without an at the Debug level. - will be only called when logging is enabled for level Debug. - - Function that returns the log message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Debug level. - will be only called when logging is enabled for level Debug. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Info level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Info level. - - Log message. - - - - Logs the specified message without an at the Info level. - will be only called when logging is enabled for level Info. - - Function that returns the log message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Info level. - will be only called when logging is enabled for level Info. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Warn level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Warn level. - - Log message. - - - - Logs the specified message without an at the Warn level. - will be only called when logging is enabled for level Warn. - - Function that returns the log message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Warn level. - will be only called when logging is enabled for level Warn. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Error level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Error level. - - Log message. - - - - Logs the specified message without an at the Error level. - will be only called when logging is enabled for level Error. - - Function that returns the log message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Error level. - will be only called when logging is enabled for level Error. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Fatal level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Fatal level. - - Log message. - - - - Logs the specified message without an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Function that returns the log message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Exception to be logged. - Function that returns the log message. - - - - Initializes static members of the InternalLogger class. - - - - - Set the config of the InternalLogger with defaults and config. - - - - - Gets or sets the minimal internal log level. - - If set to , then messages of the levels , and will be written. - - - - Gets or sets a value indicating whether internal messages should be written to the console output stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the console error stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the .Trace - - - - - Gets or sets the file path of the internal log file. - - A value of value disables internal logging to a file. - - - - Gets or sets the text writer that will receive internal logs. - - - - - Event written to the internal log. - Please note that the event is not triggered when then event hasn't the minimal log level set by - - - - - Gets or sets a value indicating whether timestamp should be included in internal log output. - - - - - Is there an thrown when writing the message? - - - - - Logs the specified message without an at the specified level. - - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the specified level. - - Log level. - Log message. - - - - Logs the specified message without an at the specified level. - will be only called when logging is enabled for level . - - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - will be only called when logging is enabled for level . - - Exception to be logged. - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Log message. - - - - Write to internallogger. - - optional exception to be logged. - level - message - optional args for - - - - Create log line with timestamp, exception message etc (if configured) - - - - - Determine if logging should be avoided because of exception type. - - The exception to check. - true if logging should be avoided; otherwise, false. - - - - Determine if logging is enabled for given LogLevel - - The for the log event. - true if logging is enabled; otherwise, false. - - - - Determine if logging is enabled. - - true if logging is enabled; otherwise, false. - - - - Write internal messages to the log file defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged only when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - A message to write. - - Works when property set to true. - The is used in Debug and Release configuration. - The works only in Debug configuration and this is reason why is replaced by . - in DEBUG - - - - - Logs the assembly version and file version of the given Assembly. - - The assembly to log. - - - - A message has been written to the internal logger - - - - - The rendered message - - - - - The log level - - - - - The exception. Could be null. - - - - - The type that triggered this internal log event, for example the FileTarget. - This property is not always populated. - - - - - The context name that triggered this internal log event, for example the name of the Target. - This property is not always populated. - - - - - - - - A cyclic buffer of object. - - - - - Initializes a new instance of the class. - - Buffer size. - Whether buffer should grow as it becomes full. - The maximum number of items that the buffer can grow to. - - - - Gets the capacity of the buffer - - - - - Gets the number of items in the buffer - - - - - Adds the specified log event to the buffer. - - Log event. - The number of items in the buffer. - - - - Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation. - - Events in the buffer. - - - - Condition and expression. - - - - - Initializes a new instance of the class. - - Left hand side of the AND expression. - Right hand side of the AND expression. - - - - Gets the left hand side of the AND expression. - - - - - Gets the right hand side of the AND expression. - - - - - Returns a string representation of this expression. - - A concatenated '(Left) and (Right)' string. - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the conjunction operator. - - - - Exception during evaluation of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Base class for representing nodes in condition expression trees. - - - - - Converts condition text to a condition expression tree. - - Condition text to be converted. - Condition expression tree. - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition layout expression (represented by a string literal - with embedded ${}). - - - - - Initializes a new instance of the class. - - The layout. - - - - Gets the layout. - - The layout. - - - - Returns a string representation of this expression. - - String literal in single quotes. - - - - Evaluates the expression by calculating the value - of the layout in the specified evaluation context. - - Evaluation context. - The value of the layout. - - - - Condition level expression (represented by the level keyword). - - - - - Returns a string representation of the expression. - - The 'level' string. - - - - Evaluates to the current log level. - - Evaluation context. Ignored. - The object representing current log level. - - - - Condition literal expression (numeric, LogLevel.XXX, true or false). - - - - - Initializes a new instance of the class. - - Literal value. - ToString value. - - - - Gets the literal value. - - The literal value. - - - - Returns a string representation of the expression. - - The literal value. - - - - Evaluates the expression. - - Evaluation context. - The literal value as passed in the constructor. - - - - Condition logger name expression (represented by the logger keyword). - - - - - Returns a string representation of this expression. - - A logger string. - - - - Evaluates to the logger name. - - Evaluation context. - The logger name. - - - - Condition message expression (represented by the message keyword). - - - - - Returns a string representation of this expression. - - The 'message' string. - - - - Evaluates to the logger message. - - Evaluation context. - The logger message. - - - - Marks class as a log event Condition and assigns a name to it. - - - - - Initializes a new instance of the class. - - Condition method name. - - - - Condition method invocation expression (represented by method(p1,p2,p3) syntax). - - - - - Initializes a new instance of the class. - - Name of the condition method. - of the condition method. - Precompiled delegate of the condition method. - The method parameters. - - - - Gets the method info. - - - - - Gets the method parameters - - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - A bunch of utility methods (mostly predicates) which can be used in - condition expressions. Partially inspired by XPath 1.0. - - - - - Compares two values for equality. - - The first value. - The second value. - true when two objects are equal, false otherwise. - - - - Compares two strings for equality. - - The first string. - The second string. - Optional. If true, case is ignored; if false (default), case is significant. - true when two strings are equal, false otherwise. - - - - Gets or sets a value indicating whether the second string is a substring of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a substring of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a prefix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a suffix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Returns the length of a string. - - A string whose lengths is to be evaluated. - The length of the string. - - - - Indicates whether the specified regular expression finds a match in the specified input string. - - The string to search for a match. - The regular expression pattern to match. - A string consisting of the desired options for the test. The possible values are those of the separated by commas. - true if the regular expression finds a match; otherwise, false. - - - - - - - - - - - Marks the class as containing condition methods. - - - - - Condition not expression. - - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression to be negated. - - The expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition or expression. - - - - - Initializes a new instance of the class. - - Left hand side of the OR expression. - Right hand side of the OR expression. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the alternative operator. - - - - Exception during parsing of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Condition parser. Turns a string representation of condition expression - into an expression tree. - - - - - Initializes a new instance of the class. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - Instance of used to resolve references to condition methods and layout renderers. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - - Try stringed keyword to - - - - success? - - - - Parse number - - negative number? minus should be parsed first. - - - - - Condition relational (==, !=, <, <=, - > or >=) expression. - - - - - Initializes a new instance of the class. - - The left expression. - The right expression. - The relational operator. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Gets the relational operator. - - The operator. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Compares the specified values using specified relational operator. - - The first value. - The second value. - The relational operator. - Result of the given relational operator. - - - - Promote values to the type needed for the comparision, e.g. parse a string to int. - - - - - - - Promotes to type - - - - success? - - - - Try to promote both values. First try to promote to , - when failed, try to . - - - - - - Get the order for the type for comparision. - - - index, 0 to max int. Lower is first - - - - Dictionary from type to index. Lower index should be tested first. - - - - - Build the dictionary needed for the order of the types. - - - - - - Get the string representing the current - - - - - - Relational operators used in conditions. - - - - - Equality (==). - - - - - Inequality (!=). - - - - - Less than (<). - - - - - Greater than (>). - - - - - Less than or equal (<=). - - - - - Greater than or equal (>=). - - - - - Hand-written tokenizer for conditions. - - - - - Initializes a new instance of the class. - - The string reader. - - - - Gets the type of the token. - - The type of the token. - - - - Gets the token value. - - The token value. - - - - Gets the value of a string token. - - The string token value. - - - - Asserts current token type and advances to the next token. - - Expected token type. - If token type doesn't match, an exception is thrown. - - - - Asserts that current token is a keyword and returns its value and advances to the next token. - - Keyword value. - - - - Gets or sets a value indicating whether current keyword is equal to the specified value. - - The keyword. - - A value of true if current keyword is equal to the specified value; otherwise, false. - - - - - Gets or sets a value indicating whether the tokenizer has reached the end of the token stream. - - - A value of true if the tokenizer has reached the end of the token stream; otherwise, false. - - - - - Gets or sets a value indicating whether current token is a number. - - - A value of true if current token is a number; otherwise, false. - - - - - Gets or sets a value indicating whether the specified token is of specified type. - - The token type. - - A value of true if current token is of specified type; otherwise, false. - - - - - Gets the next token and sets and properties. - - - - - Try the comparison tokens (greater, smaller, greater-equals, smaller-equals) - - current char - is match - - - - Try the logical tokens (and, or, not, equals) - - current char - is match - - - - Mapping between characters and token types for punctuations. - - - - - Initializes a new instance of the CharToTokenType struct. - - The character. - Type of the token. - - - - Token types for condition expressions. - - - - - Marks the class or a member as advanced. Advanced classes and members are hidden by - default in generated documentation. - - - - - Initializes a new instance of the class. - - - - - Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain. - - - A layout(renderer) could be converted to a literal when: - - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput] - - Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout. - - - - - Used to mark configurable parameters which are arrays. - Specifies the mapping between XML elements and .NET types. - - - - - Initializes a new instance of the class. - - The type of the array item. - The XML element name that represents the item. - - - - Gets the .NET type of the array item. - - - - - Gets the XML element name. - - - - - An assembly is trying to load. - - - - - New event args - - - - - - The assembly that is trying to load. - - - - - Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. - - Type of the item. - Created object of the specified type. - - - - Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. - - Everything of an assembly could be loaded by - - - - - Called before the assembly will be loaded. - - - - - Initializes a new instance of the class. - - The assemblies to scan for named items. - - - - Gets or sets default singleton instance of . - - - This property implements lazy instantiation so that the is not built before - the internal logger is configured. - - - - - Gets or sets the creator delegate used to instantiate configuration objects. - - - By overriding this property, one can enable dependency injection or interception for created objects. - - - - - Gets the factory. - - The target factory. - - - - Gets the factory. - - The filter factory. - - - - gets the factory - - not using due to backwards-compatibility. - - - - - Gets the factory. - - The layout renderer factory. - - - - Gets the factory. - - The layout factory. - - - - Gets the ambient property factory. - - The ambient property factory. - - - - Legacy interface, no longer used by the NLog engine - - - - - Gets or sets the JSON serializer to use with or - - - - - Gets or sets the string serializer to use with - - - - - Gets or sets the custom object-type transformation for use in , or - - - - - Gets or sets the parameter converter to use with , or - - - - - Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect) - - - - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering. - - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with ) - - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging) - - - - - Gets the time source factory. - - The time source factory. - - - - Gets the condition method factory. - - The condition method factory. - - - - Gets the condition method factory (precompiled) - - The condition method factory. - - - - Registers named items from the assembly. - - The assembly. - - - - Registers named items from the assembly. - - The assembly. - Item name prefix. - - - - Call Preload for NLogPackageLoader - - - Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) - This method will be called just before registering all items in the assembly. - - - - - - Call the Preload method for . The Preload method must be static. - - - - - - Clears the contents of all factories. - - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Builds the default configuration item factory. - - Default factory. - - - - Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. - - - - - Attribute used to mark the default parameters for layout renderers. - - - - - Initializes a new instance of the class. - - - - - Dynamic filtering with a positive list of enabled levels - - - - - Dynamic filtering with a minlevel and maxlevel range - - - - - Format of the exception output to the specific target. - - - - - Appends the Message of an Exception to the specified target. - - - - - Appends the type of an Exception to the specified target. - - - - - Appends the short type of an Exception to the specified target. - - - - - Appends the result of calling ToString() on an Exception to the specified target. - - - - - Appends the method name from Exception's stack trace to the specified target. - - - - - Appends the stack trace from an Exception to the specified target. - - - - - Appends the contents of an Exception's Data property to the specified target. - - - - - Destructure the exception (usually into JSON) - - - - - Appends the from the application or the object that caused the error. - - - - - Appends the from the application or the object that caused the error. - - - - - Appends any additional properties that specific type of Exception might have. - - - - - Factory for class-based items. - - The base type of each item. - The type of the attribute used to annotate items. - - - - Scans the assembly. - - The types to scan. - The prefix. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Registers the item based on a type name. - - Name of the item. - Name of the type. - - - - Clears the contents of the factory. - - - - - Registers a single type definition. - - The item name. - The type of the item. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Creates an item instance. - - The name of the item. - Created item. - - - - Factory specialized for s. - - - - - Clear all func layouts - - - - - Register a layout renderer with a callback function. - - Name of the layoutrenderer, without ${}. - the renderer that renders the value. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.). - - - - - Implemented by objects which support installation and uninstallation. - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Interface for accessing configuration details - - - - - Name of the config section - - - - - Configuration Key/Value Pairs - - - - - Child config sections - - - - - Interface for loading NLog - - - - - Finds and loads the NLog configuration - - LogFactory that owns the NLog configuration - Name of NLog.config file (optional) - NLog configuration (or null if none found) - - - - Notifies when LoggingConfiguration has been successfully applied - - LogFactory that owns the NLog configuration - NLog Config - - - - Get file paths (including filename) for the possible NLog config files. - - Name of NLog.config file (optional) - The file paths to the possible config file - - - - Level enabled flags for each LogLevel ordinal - - - - - Converts the filter into a simple - - - - - Represents a factory of named items (such as targets, layouts, layout renderers, etc.). - - Base type for each item instance. - Item definition type (typically or ). - - - - Registers new item definition. - - Name of the item. - Item definition. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Creates item instance. - - Name of the item. - Newly created item instance. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides context for install/uninstall operations. - - - - - Mapping between log levels and console output colors. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log output. - - - - Gets or sets the installation log level. - - - - - Gets or sets a value indicating whether to ignore failures during installation. - - - - - Whether installation exceptions should be rethrown. If IgnoreFailures is set to true, - this property has no effect (there are no exceptions to rethrow). - - - - - Gets the installation parameters. - - - - - Gets or sets the log output. - - - - - Logs the specified trace message. - - The message. - The arguments. - - - - Logs the specified debug message. - - The message. - The arguments. - - - - Logs the specified informational message. - - The message. - The arguments. - - - - Logs the specified warning message. - - The message. - The arguments. - - - - Logs the specified error message. - - The message. - The arguments. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Creates the log event which can be used to render layouts during installation/uninstallations. - - Log event info object. - - - - Convert object-value into specified type - - - - - Parses the input value and converts into the wanted type - - Input Value - Wanted Type - Format to use when parsing - Culture to use when parsing - Output value with wanted type - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for extension loading - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for enabling NLog - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - LoggingConfiguration being built - - - - - Interface for fluent setup of LogFactory options for logevent serialization - - - - - LogFactory under configuration - - - - - Encapsulates and the logic to match the actual logger name - All subclasses defines immutable objects. - Concrete subclasses defines various matching rules through - - - - - Creates a concrete based on . - - - Rules used to select the concrete implementation returned: - - if is null => returns (never matches) - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals) - if == '*' => returns (always matches) - if doesn't contain '?' - - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns - - - returns - - - - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - A concrete - - - - Returns the argument passed to - - - - - Checks whether given name matches the logger name pattern. - - String to be matched. - A value of when the name matches, otherwise. - - - - Defines a that never matches. - Used when pattern is null - - - - - Defines a that always matches. - Used when pattern is '*' - - - - - Defines a that matches with a case-sensitive Equals - Used when pattern is a string without wildcards '?' '*' - - - - - Defines a that matches with a case-sensitive StartsWith - Used when pattern is a string like "*foobar" - - - - - Defines a that matches with a case-sensitive EndsWith - Used when pattern is a string like "foobar*" - - - - - Defines a that matches with a case-sensitive Contains - Used when pattern is a string like "*foobar*" - - - - - Defines a that matches with a complex wildcards combinations: - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - used when pattern is a string containing any number of '?' or '*' in any position - i.e. "*Server[*].Connection[?]" - - - - - Keeps logging configuration and provides simple API to modify it. - - This class is thread-safe..ToList() is used for that purpose. - - - - Variables defined in xml or in API. name is case case insensitive. - - - - - Gets the factory that will be configured - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. - - - - Gets the variables defined in the configuration. - - - - - Gets a collection of named targets specified in the configuration. - - - A list of named targets. - - - Unnamed targets (such as those wrapped by other targets) are not returned. - - - - - Gets the collection of file names which should be watched for changes by NLog. - - - - - Gets the collection of logging rules. - - - - - Gets or sets the default culture info to use as . - - - Specific culture info or null to use - - - - - Gets all targets. - - - - - Compare objects based on their name. - - This property is use to cache the comparer object. - - - - Defines methods to support the comparison of objects for equality based on their name. - - - - - Registers the specified target object. The name of the target is read from . - - - The target object with a non - - when is - - - - Registers the specified target object under a given name. - - Name of the target. - The target object. - when is - when is - - - - Finds the target with the specified name. - - - The name of the target to be found. - - - Found target or when the target is not found. - - - - - Finds the target with the specified name and specified type. - - - The name of the target to be found. - - Type of the target - - Found target or when the target is not found of not of type - - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for all loglevels. - - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Finds the logging rule with the specified name. - - The name of the logging rule to be found. - Found logging rule or when not found. - - - - Removes the specified named logging rule. - - The name of the logging rule to be removed. - Found one or more logging rule to remove, or when not found. - - - - Called by LogManager when one of the log configuration files changes. - - - A new instance of that represents the updated configuration. - - - - - Removes the specified named target. - - Name of the target. - - - - Installs target-specific objects on current system. - - The installation context. - - Installation typically runs with administrative permissions. - - - - - Uninstalls target-specific objects from current system. - - The installation context. - - Uninstallation typically runs with administrative permissions. - - - - - Closes all targets and releases any unmanaged resources. - - - - - Log to the internal (NLog) logger the information about the and associated with this instance. - - - The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is - recorded. - - - - - Validates the configuration. - - - - - Copies all variables from provided dictionary into current configuration variables. - - Master variables dictionary - - - - Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage. - - - - - - - Checks whether unused targets exist. If found any, just write an internal log at Warn level. - If initializing not started or failed, then checking process will be canceled - - - - - - - - Arguments for events. - - - - - Initializes a new instance of the class. - - The new configuration. - The old configuration. - - - - Gets the old configuration. - - The old configuration. - - - - Gets the new configuration. - - The new configuration. - - - - Gets the new configuration - - The new configuration. - - - - Gets the old configuration - - The old configuration. - - - - Gets the optional boolean attribute value. - - - Name of the attribute. - Default value to return if the attribute is not found or if there is a parse error - Boolean attribute value or default. - - - - Remove the namespace (before :) - - - x:a, will be a - - - - - - - Enables loading of NLog configuration from a file - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Loads NLog configuration from - - - - - Constructor - - - - - - Loads NLog configuration from provided config section - - - - - - - Builds list with unique keys, using last value of duplicates. High priority keys placed first. - - - - - - - Parse loglevel, but don't throw if exception throwing is disabled - - Name of attribute for logging. - Value of parse. - Used if there is an exception - - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Parse {Rules} xml element - - - Rules are added to this parameter. - - - - Parse {Logger} xml element - - - - - - Parse boolean - - Name of the property for logging. - value to parse - Default value to return if the parse failed - Boolean attribute value or default. - - - - Arguments for . - - - - - Initializes a new instance of the class. - - Whether configuration reload has succeeded. - - - - Initializes a new instance of the class. - - Whether configuration reload has succeeded. - The exception during configuration reload. - - - - Gets a value indicating whether configuration reload has succeeded. - - A value of true if succeeded; otherwise, false. - - - - Gets the exception which occurred during configuration reload. - - The exception. - - - - Enables FileWatcher for the currently loaded NLog Configuration File, - and supports automatic reload on file modification. - - - - - Represents a logging rule. An equivalent of <logger /> configuration element. - - - - - Create an empty . - - - - - Create an empty . - - - - - Create a new with a and which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a new with a which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a (disabled) . You should call or to enable logging. - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Target to be written to when the rule matches. - - - - Rule identifier to allow rule lookup - - - - - Gets a collection of targets that should be written to when this rule matches. - - - - - Gets a collection of child rules to be evaluated when this rule matches. - - - - - Gets a collection of filters to be checked before writing to targets. - - - - - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - - Gets or sets logger name pattern. - - - Logger name pattern used by to check if a logger name matches this rule. - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - - - - Gets the collection of log levels enabled by this rule. - - - - - Default action if none of the filters match - - - - - Enables logging for a particular level. - - Level to be enabled. - - - - Enables logging for a particular levels between (included) and . - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Disables logging for a particular level. - - Level to be disabled. - - - - Disables logging for particular levels between (included) and . - - Minimum log level to be disables. - Maximum log level to de disabled. - - - - Enables logging the levels between (included) and . All the other levels will be disabled. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Returns a string representation of . Used for debugging. - - - A that represents the current . - - - - - Checks whether te particular log level is enabled for this rule. - - Level to be checked. - A value of when the log level is enabled, otherwise. - - - - Checks whether given name matches the . - - String to be matched. - A value of when the name matches, otherwise. - - - - Default filtering with static level config - - - - - Factory for locating methods. - - - - - Initializes a new instance of the class. - - Helper method to extract relevant methods from type - - - - Scans the assembly for classes marked with expected class - and methods marked with expected and adds them - to the factory. - - The types to scan. - The prefix to use for names. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Scans a type for relevant methods with their symbolic names - - Include types that are marked with this attribute - Include methods that are marked with this attribute - Class Type to scan - Collection of methods with their symbolic names - - - - Clears contents of the factory. - - - - - Registers the definition of a single method. - - The method name. - The method info. - - - - Registers the definition of a single method. - - The method name. - The method info. - The precompiled method delegate. - - - - Tries to retrieve method by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Tries to retrieve method-delegate by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Retrieves method by name. - - Method name. - MethodInfo object. - - - - Retrieves method by name. - - Method name. - Method delegate object. - - - - Tries to get method definition. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Marks the layout or layout renderer depends on mutable objects from the LogEvent - - This can be or - - - - - Attaches a simple name to an item (such as , - , , etc.). - - - - - Initializes a new instance of the class. - - The name of the item. - - - - Gets the name of the item. - - The name of the item. - - - - Indicates NLog should not scan this property during configuration. - - - - - Initializes a new instance of the class. - - - - - Marks the object as configuration item for NLog. - - - - - Initializes a new instance of the class. - - - - - Represents simple XML element with case-insensitive attribute semantics. - - - - - Initializes a new instance of the class. - - The reader to initialize element from. - - - - Prevents a default instance of the class from being created. - - - - - Gets the element name. - - - - - Gets the dictionary of attribute values. - - - - - Gets the collection of child elements. - - - - - Gets the value of the element. - - - - - Last error occured during configuration read - - - - - Returns children elements with the specified element name. - - Name of the element. - Children elements with the specified element name. - - - - Asserts that the name of the element is among specified element names. - - The allowed names. - - - - Returns all parsing errors from current and all child elements. - - - - - Special attribute we could ignore - - - - - Default implementation of - - - - - - - - Attribute used to mark the required parameters for targets, - layout targets and filters. - - - - - Provides simple programmatic configuration API used for trivial logging cases. - - Warning, these methods will overwrite the current config. - - - - - Configures NLog for console logging so that all messages above and including - the level are output to the console. - - - - - Configures NLog for console logging so that all messages above and including - the specified level are output to the console. - - The minimal logging level. - - - - Configures NLog for to log to the specified target so that all messages - above and including the level are output. - - The target to log all messages to. - - - - Configures NLog for to log to the specified target so that all messages - above and including the specified level are output. - - The target to log all messages to. - The minimal logging level. - - - - Configures NLog for file logging so that all messages above and including - the level are written to the specified file. - - Log file name. - - - - Configures NLog for file logging so that all messages above and including - the specified level are written to the specified file. - - Log file name. - The minimal logging level. - - - - Value indicating how stack trace should be captured when processing the log event. - - - - - Stack trace should not be captured. - - - - - Stack trace should be captured without source-level information. - - - - - Stack trace should be captured including source-level information such as line numbers. - - - - - Capture maximum amount of the stack trace information supported on the platform. - - - - - Marks the layout or layout renderer as thread independent - it producing correct results - regardless of the thread it's running on. - - Without this attribute everything is rendered on the main thread. - - - If this attribute is set on a layout, it could be rendered on the another thread. - This could be more efficient as it's skipped when not needed. - - If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - - See the AsyncTargetWrapper and BufferTargetWrapper with the , using - - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - - - - - Marks the layout or layout renderer as thread safe - it producing correct results - regardless of the number of threads it's running on. - - Without this attribute then the target concurrency will be reduced - - - - - A class for configuring NLog through an XML configuration file - (App.config style or App.nlog style). - - Parsing of the XML file is also implemented in this class. - - - - This class is thread-safe..ToList() is used for that purpose. - - Update TemplateXSD.xml for changes outside targets - - - - - Initializes a new instance of the class. - - Configuration file to be read. - - - - Initializes a new instance of the class. - - Configuration file to be read. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - XML reader to read from. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - The XML contents. - Name of the XML file. - The to which to apply any applicable configuration values. - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - NLog LogFactory - - - - Did the Succeeded? true= success, false= error, null = initialize not started yet. - - - - - Gets or sets a value indicating whether all of the configuration files - should be watched for changes and reloaded automatically when changed. - - - - - Gets the collection of file names which should be watched for changes by NLog. - This is the list of configuration files processed. - If the autoReload attribute is not set it returns empty collection. - - - - - Re-reads the original configuration file and returns the new object. - - The new object. - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Create XML reader for (xml config) file. - - filepath - reader or null if filename is empty. - - - - Initializes the configuration. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Checks whether any error during XML configuration parsing has occured. - If there are any and ThrowConfigExceptions or ThrowExceptions - setting is enabled - throws NLogConfigurationException, otherwise - just write an internal log at Warn level. - - Root NLog configuration xml element - - - - Add a file with configuration. Check if not already included. - - - - - - - Parse the root - - - path to config file. - The default value for the autoReload option. - - - - Parse {configuration} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parse {NLog} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Include (multiple) files by filemask, e.g. *.nlog - - base directory in case if is relative - relative or absolute fileMask - - - - - - - - Matches when the specified condition is met. - - - Conditions are expressed using a simple language - described here. - - - - - Gets or sets the condition expression. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - An abstract filter class. Provides a way to eliminate log messages - based on properties other than logger name and log level. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the action to be taken when filter matches. - - - - - - Gets the result of evaluating filter against given log event. - - The log event. - Filter result. - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Marks class as a layout renderer and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the filter. - - - - Filter result. - - - - - The filter doesn't want to decide whether to log or discard the message. - - - - - The message should be logged. - - - - - The message should not be logged. - - - - - The message should be logged and processing should be finished. - - - - - The message should not be logged and processing should be finished. - - - - - A base class for filters that are based on comparing a value to a layout. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the layout to be used to filter log messages. - - The layout. - - - - - Matches when the calculated layout contains the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets the substring to be matched. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets a string to compare the layout to. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches the provided filter-method - - - - - Initializes a new instance of the class. - - - - - - - - Matches when the calculated layout does NOT contain the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets the substring to be matched. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is NOT equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a string to compare the layout to. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the result of the calculated layout has been repeated a moment ago - - - - - How long before a filter expires, and logging is accepted again - - - - - - Max length of filter values, will truncate if above limit - - - - - - Applies the configured action to the initial logevent that starts the timeout period. - Used to configure that it should ignore all events until timeout. - - - - - - Max number of unique filter values to expect simultaneously - - - - - - Default number of unique filter values to expect, will automatically increase if needed - - - - - - Insert FilterCount value into when an event is no longer filtered - - - - - - Append FilterCount to the when an event is no longer filtered - - - - - - Reuse internal buffers, and doesn't have to constantly allocate new buffers - - - - - - Default buffer size for the internal buffers - - - - - - Can be used if has been enabled. - - - - - Initializes a new instance of the class. - - - - - Checks whether log event should be logged or not. In case the LogEvent has just been repeated. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Uses object pooling, and prunes stale filter items when the pool runs dry - - - - - Remove stale filter-value from the cache, and fill them into the pool for reuse - - - - - Renders the Log Event into a filter value, that is used for checking if just repeated - - - - - Repeated LogEvent detected. Checks if it should activate filter-action - - - - - Filter Value State (mutable) - - - - - Filter Lookup Key (immutable) - - - - - A global logging class using caller info to find the logger. - - - - - Starts building a log event with the specified . - - The log level. - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Trace level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Debug level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Info level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Warn level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Error level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Fatal level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - A fluent class to build log events for NLog. - - - - - Initializes a new instance of the class. - - The to send the log event. - - - - Initializes a new instance of the class. - - The to send the log event. - The for the log event. - - - - Gets the created by the builder. - - - - - Sets the information of the logging event. - - The exception information of the logging event. - current for chaining calls. - - - - Sets the level of the logging event. - - The level of the logging event. - current for chaining calls. - - - - Sets the logger name of the logging event. - - The logger name of the logging event. - current for chaining calls. - - - - Sets the log message on the logging event. - - The log message for the logging event. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - The fourth object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - An object that supplies culture-specific formatting information. - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets a per-event context property on the logging event. - - The name of the context property. - The value of the context property. - current for chaining calls. - - - - Sets multiple per-event context properties on the logging event. - - The properties to set. - current for chaining calls. - - - - Sets the timestamp of the logging event. - - The timestamp of the logging event. - current for chaining calls. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - current for chaining calls. - - - - Writes the log event to the underlying logger. - - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - - - - Writes the log event to the underlying logger if the condition delegate is true. - - If condition is true, write log event; otherwise ignore event. - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - - - - Writes the log event to the underlying logger if the condition is true. - - If condition is true, write log event; otherwise ignore event. - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - - - - Extension methods for NLog . - - - - - Starts building a log event with the specified . - - The logger to write the log event to. - The log level. - current for chaining calls. - - - - Starts building a log event at the Trace level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Debug level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Info level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Warn level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Error level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Fatal level. - - The logger to write the log event to. - current for chaining calls. - - - - Global Diagnostics Context - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Global Diagnostics Context - a dictionary structure to hold per-application-instance values. - - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The item value, if defined; otherwise null. - - - - Returns all item names - - A collection of the names of all items in the Global Diagnostics Context. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Include context properties - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Interface for serialization of object values into JSON format - - - - - Serialization of an object into JSON format. - - The object to serialize to JSON. - Output destination. - Serialize succeeded (true/false) - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format.s - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Logger with only generic methods (passing 'LogLevel' to methods) and core properties. - - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Extensions for NLog . - - - - - Writes the diagnostic message and exception at the specified level. - - A logger implementation that will handle the message. - The log level. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Allocates new builder and appends to the provided target builder on dispose - - - - - Access the new builder allocated - - - - - Helpers for . - - - - - Load from url - - file or path, including .dll - basepath, optional - - - - - Load from url - - name without .dll - - - - - Forward declare of system delegate type for use by other classes - - - - - Keeps track of pending operation count, and can notify when pending operation count reaches zero - - - - - Mark operation has started - - - - - Mark operation has completed - - Exception coming from the completed operation [optional] - - - - Registers an AsyncContinuation to be called when all pending operations have completed - - Invoked on completion - AsyncContinuation operation - - - - Clear o - - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Legacy attempt to skip async MoveNext, but caused source file line number to be lost - - - - - Gets the entire stack trace. - - - - - Finds first user stack frame in a stack trace - - The stack trace of the logging method invocation - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - Index of the first user stack frame or 0 if all stack frames are non-user - - - - This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame - - The stack trace of the logging method invocation - Starting point for skipping async MoveNext-frames - - - - Assembly to skip? - - Find assembly via this frame. - true, we should skip. - - - - Is this the type of the logger? - - get type of this logger in this frame. - Type of the logger. - - - - - Memory optimized filtering - - Passing state too avoid delegate capture and memory-allocations. - - - - Provides untyped IDictionary interface on top of generic IDictionary. - - The type of the key. - The type of the value. - - - - Initializes a new instance of the DictionaryAdapter class. - - The implementation. - - - - Gets an object containing the values in the object. - - - - An object containing the values in the object. - - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - - Gets an object that can be used to synchronize access to the . - - - - An object that can be used to synchronize access to the . - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - - Gets an object containing the keys of the object. - - - - An object containing the keys of the object. - - - - - Gets or sets the with the specified key. - - Dictionary key. - Value corresponding to key or null if not found - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - - - Removes all elements from the object. - - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - True if the contains an element with the key; otherwise, false. - - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Wrapper IDictionaryEnumerator. - - - - - Initializes a new instance of the class. - - The wrapped. - - - - Gets both the key and the value of the current dictionary entry. - - - - A containing both the key and the value of the current dictionary entry. - - - - - Gets the key of the current dictionary entry. - - - - The key of the current element of the enumeration. - - - - - Gets the value of the current dictionary entry. - - - - The value of the current element of the enumeration. - - - - - Gets the current element in the collection. - - - - The current element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - - - Ensures that IDictionary.GetEnumerator returns DictionaryEntry values - - - - - UTF-8 BOM 239, 187, 191 - - - - - Safe way to get environment variables. - - - - - Helper class for dealing with exceptions. - - - - - Mark this exception as logged to the . - - - - - - - Is this exception logged to the ? - - - trueif the has been logged to the . - - - - Determines whether the exception must be rethrown and logs the error to the if is false. - - Advised to log first the error to the before calling this method. - - The exception to check. - Target context of the exception. - trueif the must be rethrown, false otherwise. - - - - Determines whether the exception must be rethrown immediately, without logging the error to the . - - Only used this method in special cases. - - The exception to check. - trueif the must be rethrown, false otherwise. - - - - Object construction helper. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Initializes a new instance of the class. - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Abstract calls for the application environment - - - - - Gets current process name (excluding filename extension, if any). - - - - - Abstract calls to FileSystem - - - - Determines whether the specified file exists. - The file to check. - - - Returns the content of the specified file - The file to load. - - - - Base class for optimized file appenders. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the path of the file, including file extension. - - The name of the file. - - - - Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated - Universal Time [UTC] standard. - - The creation time of the file. - - - - Gets or sets the creation time for a file associated with the appender. Synchronized by - The time format is based on - - - - - Gets the last time the file associated with the appender is opened. The time returned is in Coordinated - Universal Time [UTC] standard. - - The time the file was last opened. - - - - Gets the file creation parameters. - - The file creation parameters. - - - - Writes the specified bytes. - - The bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates the file stream. - - If set to true sets the file stream to allow shared writing. - If larger than 0 then it will be used instead of the default BufferSize for the FileStream. - A object which can be used to write to the file. - - - - Base class for optimized file appenders which require the usage of a mutex. - - It is possible to use this class as replacement of BaseFileAppender and the mutex functionality - is not enforced to the implementing subclasses. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates a mutex that is sharable by more than one process. - - The prefix to use for the name of the mutex. - A object which is sharable by multiple processes. - - - - Implementation of which caches - file information. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Closes this instance of the appender. - - - - - Flushes this current appender. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Writes the specified bytes to a file. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Factory class which creates objects. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Maintains a collection of file appenders usually associated with file targets. - - - - - An "empty" instance of the class with zero size and empty list of appenders. - - - - - Initializes a new "empty" instance of the class with zero size and empty - list of appenders. - - - - - Initializes a new instance of the class. - - - The size of the list should be positive. No validations are performed during initialization as it is an - internal class. - - Total number of appenders allowed in list. - Factory used to create each appender. - Parameters used for creating a file. - - - - The archive file path pattern that is used to detect when archiving occurs. - - - - - Invalidates appenders for all files that were archived. - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface that provides parameters for create file function. - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - Gets or sets the log file buffer size in bytes. - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Gets or sets the file attributes (Windows only). - - - - - Should archive mutex be created? - - - - - Should manual simple detection of file deletion be enabled? - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - The archive file path pattern that is used to detect when archiving occurs. - - - - - Invalidates appenders for all files that were archived. - - - - - Interface implemented by all factories capable of creating file appenders. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - Instance of which can be used to write to the file. - - - - Provides a multi process-safe atomic file appends while - keeping the files open. - - - On Unix you can get all the appends to be atomic, even when multiple - processes are trying to write to the same file, because setting the file - pointer to the end of the file and appending can be made one operation. - On Win32 we need to maintain some synchronization between processes - (global named mutex is used for this) - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Closes this instance. - - - - - Flushes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Appender used to discard data for the FileTarget. - Used mostly for testing entire stack except the actual writing to disk. - Throws away all data. - - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Multi-process and multi-host file appender which attempts - to get exclusive write access and retries if it's not available. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Optimized single-process file appender which keeps the file open for exclusive write. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - A layout that represents a filePath. - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid file names char array to avoid memory allocation every time Path.GetInvalidFileNameChars() is called. - - - - - not null when == false - - - - - non null is fixed, - - - - - is the cache-key, and when newly rendered filename matches the cache-key, - then it reuses the cleaned cache-value . - - - - - is the cache-value that is reused, when the newly rendered filename - matches the cache-key - - - - Initializes a new instance of the class. - - - - Render the raw filename from Layout - - The log event. - StringBuilder to minimize allocations [optional]. - String representation of a layout. - - - - Convert the raw filename to a correct filename - - The filename generated by Layout. - String representation of a correct filename. - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Convert object to string - - value - format for conversion. - - - If is null and isn't a already, then the will get a locked by - - - - - Format a log message - - - - - Format the message and return - - LogEvent with message to be formatted - formatted message - - - - Has the logevent properties? - - LogEvent with message to be formatted - False when logevent has no properties to be extracted - - - - Appends the logevent message to the provided StringBuilder - - LogEvent with message to be formatted - The to append the formatted message. - - - - Get the Raw, unformatted and unstrinyfied, value - - - - - Get the raw value - - - The value - RawValue supported? - - - - Interface implemented by layouts and layout renderers. - - - - - Renders the the value of layout or layout renderer in the context of the specified log event. - - The log event. - String representation of a layout. - - - - Supports rendering as string value with limited or no allocations (preferred) - - - - - Renders the value of layout renderer in the context of the specified log event - - - null if not possible or unknown - - - - Supports object initialization and termination. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Allows components to request stack trace information to be provided in the . - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Render the event info as parse as short - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as int - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as bool - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Logger configuration. - - - - - Initializes a new instance of the class. - - The targets by level. - Use the old exception log handling of NLog 3.0? - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. - - - - Gets targets for the specified level. - - The level. - Chain of targets with attached filters. - - - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - New formatter - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - The MessageFormatter delegate - - - - - - - - Most-Recently-Used-Cache, that discards less frequently used items on overflow - - - - - Constructor - - Maximum number of items the cache will hold before discarding. - - - - Attempt to insert item into cache. - - Key of the item to be inserted in the cache. - Value of the item to be inserted in the cache. - true when the key does not already exist in the cache, false otherwise. - - - - Lookup existing item in cache. - - Key of the item to be searched in the cache. - Output value of the item found in the cache. - True when the key is found in the cache, false otherwise. - - - - Watches multiple files at the same time and raises an event whenever - a single change is detected in any of those files. - - - - - The types of changes to watch for. - - - - - Occurs when a change is detected in one of the monitored files. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Stops watching all files. - - - - - Stops watching the specified file. - - - - - - Watches the specified files for changes. - - The file names. - - - - Network sender which uses HTTP or HTTPS POST. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Creates instances of objects for given URLs. - - - - - Creates a new instance of the network sender based on a network URL. - - URL that determines the network sender to be created. - The maximum queue size. - SSL protocols for TCP - KeepAliveTime for TCP - - A newly created network sender. - - - - - Interface for mocking socket calls. - - - - - A base class for all network senders. Supports one-way sending of messages - over various protocols. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Gets the address of the network endpoint. - - - - - Gets the last send time. - - - - - Initializes this network sender. - - - - - Closes the sender and releases any unmanaged resources. - - The continuation. - - - - Flushes any pending messages and invokes a continuation. - - The continuation. - - - - Send the given text over the specified protocol. - - Bytes to be sent. - Offset in buffer. - Number of bytes to send. - The asynchronous continuation. - - - - Closes the sender and releases any unmanaged resources. - - - - - Performs sender-specific initialization. - - - - - Performs sender-specific close operation. - - The continuation. - - - - Performs sender-specific flush. - - The continuation. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Parses the URI into an endpoint address. - - The URI to parse. - The address family. - Parsed endpoint. - - - - Default implementation of . - - - - - - - - A base class for network senders that can block or send out-of-order - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Performs sender-specific flush. - - The continuation. - - - - Socket proxy for mocking Socket code. - - - - - Initializes a new instance of the class. - - The address family. - Type of the socket. - Type of the protocol. - - - - Gets underlying socket instance. - - - - - Closes the wrapped socket. - - - - - Invokes ConnectAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendToAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Sends messages over a TCP network connection. - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - The address family. - - - - Creates the socket with given parameters. - - The host address. - The address family. - Type of the socket. - Type of the protocol. - Instance of which represents the socket. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Facilitates mocking of class. - - - - - Raises the Completed event. - - - - - Sends messages over the network as UDP datagrams. - - - - - Initializes a new instance of the class. - - URL. Must start with udp://. - The address family. - - - - Creates the socket. - - The address family. - Type of the socket. - Type of the protocol. - Implementation of to use. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Sends the specified text as a UDP datagram. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Scans (breadth-first) the object graph following all the edges whose are - instances have attached and returns - all objects implementing a specified interfaces. - - - - - Finds the objects which have attached which are reachable - from any of the given root objects when traversing the object graph over public properties. - - Type of the objects to return. - Also search the properties of the wanted objects. - The root objects. - Ordered list of objects implementing T. - - - ISet is not there in .net35, so using HashSet - - - - Helper for extracting propertyPath - - - - - Object Path to check - - - - - Try get value from , using , and set into - - - - - - - - Converts object into a List of property-names and -values using reflection - - - - - Scans properties for name (Skips string-compare and value-lookup until finding match) - - - - - Scans properties for name (Skips property value lookup until finding match) - - - - - Scans properties for name - - - - - Combine paths - - basepath, not null - optional dir - optional file - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Trims directory separators from the path - - path, could be null - never null - - - - Detects the platform the NLog is running on. - - - - - Gets the current runtime OS. - - - - - Gets a value indicating whether current OS is Win32-based (desktop or mobile). - - - - - Gets a value indicating whether current OS is Unix-based. - - - - - Gets a value indicating whether current runtime is Mono-based - - - - - Gets a value indicating whether current runtime supports use of mutex - - - - - Will creating a mutex succeed runtime? - "Cached" detection - - - - - Will creating a mutex succeed runtime? - - - - - Dictionary that combines the standard with the - MessageTemplate-properties extracted from the . - - The are returned as the first items - in the collection, and in positional order. - - - - - Value of the property - - - - - Is this a property of the message? - - - - - - - Value of the property - Is this a property of the message? - - - - The properties of the logEvent - - - - - The properties extracted from the message - - - - - Wraps the list of message-template-parameters into the IDictionary-interface - - Message-template-parameters - - - - Transforms the list of event-properties into IDictionary-interface - - Message-template-parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Check if the message-template-parameters can be used directly without allocating a dictionary - - Message-template-parameters - Are all parameter names unique (true / false) - - - - Attempt to insert the message-template-parameters into an empty dictionary - - Message-template-parameters - The initially empty dictionary - Message-template-parameters was inserted into dictionary without trouble (true/false) - - - - Attempt to override the existing dictionary values using the message-template-parameters - - Message-template-parameters - The already filled dictionary - List of unique message-template-parameters - - - - - - - - - - - - - - - - - - - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - - - - - - - - - - - - - - - - - Reflection helpers for accessing properties. - - - - - Set value parsed from string. - - object instance to set with property - name of the property on - The value to be parsed. - - - - - Get property info - - object which could have property - property name on - result when success. - success. - - - - Try parse of string to (Generic) list, comma separated. - - - If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape - - - - - Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase) - - - - - Try get the property - - - - - Reflection helpers. - - - - - Gets all usable exported types from the given assembly. - - Assembly to scan. - Usable types from the given assembly. - Types which cannot be loaded are skipped. - - - - Is this a static class? - - - - This is a work around, as Type doesn't have this property. - From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static - - - - - Optimized delegate for calling MethodInfo - - Object instance, use null for static methods. - Complete list of parameters that matches the method, including optional/default parameters. - - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) - - - - - Controls a single allocated char[]-buffer for reuse (only one active user) - - - - - Controls a single allocated StringBuilder for reuse (only one active user) - - - - - Controls a single allocated object for reuse (only one active user) - - - - Empty handle when is disabled - - - - Creates handle to the reusable char[]-buffer for active usage - - Handle to the reusable item, that can release it again - - - - Access the acquired reusable object - - - - - Controls a single allocated MemoryStream for reuse (only one active user) - - - - - Supported operating systems. - - - If you add anything here, make sure to add the appropriate detection - code to - - - - - Unknown operating system. - - - - - Unix/Linux operating systems. - - - - - Desktop versions of Windows (95,98,ME). - - - - - Windows NT, 2000, 2003 and future versions based on NT technology. - - - - - Macintosh Mac OSX - - - - - Simple character tokenizer. - - - - - Initializes a new instance of the class. - - The text to be tokenized. - - - - Current position in - - - - - Full text to be parsed - - - - - Check current char while not changing the position. - - - - - - Read the current char and change position - - - - - - Get the substring of the - - - - - - - - Implements a single-call guard around given continuation function. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - - - - Continuation function which implements the single-call guard. - - The exception. - - - - HashSet optimized for single item - - - - - - Insert single item on scope start, and remove on scope exit - - Item to insert in scope - Existing hashset to update - Force allocation of real hashset-container - HashSet EqualityComparer - - - - Add item to collection, if it not already exists - - Item to insert - - - - Clear hashset - - - - - Check if hashset contains item - - - Item exists in hashset (true/false) - - - - Remove item from hashset - - - Item removed from hashset (true/false) - - - - Copy items in hashset to array - - Destination array - Array offset - - - - Create hashset enumerator - - Enumerator - - - - Provides helpers to sort log events and associated continuations. - - - - - Key selector delegate. - - The type of the value. - The type of the key. - Value to extract key information from. - Key selected from log event. - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - The key comparer function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. - - - - - - - - - - - - - - - - Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. - Consider to use instead for better safety. - - Key value for lookup - Mapped value found - - - - Non-Allocating struct-enumerator - - - - - - - - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - - - - Will always throw, as dictionary is readonly - - - - Utilities for dealing with values. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - - - - Returns the assembly from the provided StackFrame (If not internal assembly) - - Valid assembly, or null if assembly was internal - - - - Returns the classname from the provided StackFrame (If not from internal assembly) - - - Valid class name, or empty string if assembly was internal - - - - Stream helpers - - - - - Copy to output stream and skip BOM if encoding is UTF8 - - - - - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - .net35 doesn't have a .copyto - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - first bytes to skip (optional) - - - - Helpers for , which is used in e.g. layout renderers. - - - - - Renders the specified log event context item and appends it to the specified . - - append to this - value to be appended - format string. If @, then serialize the value with the Default JsonConverter. - provider, for example culture - - - - Appends int without using culture, and most importantly without garbage - - - value to append - - - - Appends uint without using culture, and most importantly without garbage - - Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ - - - value to append - - - - Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 6801 date (Round-Trip-Time) - - - - - Clears the provider StringBuilder - - - - - - Copies the contents of the StringBuilder to the MemoryStream using the specified encoding (Without BOM/Preamble) - - StringBuilder source - MemoryStream destination - Encoding used for converter string into byte-stream - Helper char-buffer to minimize memory allocations - - - - Copies the contents of the StringBuilder to the destination StringBuilder - - StringBuilder source - StringBuilder destination - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle character to search for - - Index of the first occurrence (Else -1) - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle characters to search for - - Index of the first occurrence (Else -1) - - - - Compares the contents of two StringBuilders - - - Correct implementation of that also works when is not the same - - True when content is the same - - - - Compares the contents of a StringBuilder and a String - - True when content is the same - - - - Append a number and pad with 0 to 2 digits - - append to this - the number - - - - Append a number and pad with 0 to 4 digits - - append to this - the number - - - - Append a int type (byte, int) as string - - - - - Constructor - - Max number of items - Initial StringBuilder Size - Max StringBuilder Size - - - - Takes StringBuilder from pool - - Allow return to pool - - - - Releases StringBuilder back to pool at its right place - - - - - Keeps track of acquired pool item - - - - - Releases pool item back into pool - - - - - Helpers for . - - - - - IsNullOrWhiteSpace, including for .NET 3.5 - - - - - - - Split a string - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Represents target with a chain of filters which determine - whether logging should happen. - - - - - cached result as calculating is expensive. - - - - - Initializes a new instance of the class. - - The target. - The filter chain. - Default action if none of the filters match. - - - - Gets the target. - - The target. - - - - Gets the filter chain. - - The filter chain. - - - - Default action if none of the filters match. - - - - - Gets or sets the next item in the chain. - - The next item in the chain. - This is for example the 'target2' logger in writeTo='target1,target2' - - - - Gets the stack trace usage. - - A value that determines stack trace handling. - - - - Helper for dealing with thread-local storage. - - - - - Allocates the data slot for storing thread-local information. - - Allocated slot key. - - - - Gets the data for a slot in thread-local storage. - - Type of the data. - The slot to get data for. - Automatically create the object if it doesn't exist. - - Slot data (will create T if null). - - - - - Wraps with a timeout. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - The timeout. - - - - Continuation function which implements the timeout logic. - - The exception. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Transformation on a layout. Pre-calculated if the layout has a fixed value. - - - - - Create TransformedLayout. - - Layout - Transformation method - Optional renderer, otherwise is used - - - - - - - Create TransformedLayout. If is null, then the returns null - - Layout - Transformation method - Optional renderer, otherwise is used - null if is null - - - - - - - - - - URL Encoding helper. - - - - Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - - - Use RFC2396 standard (instead of RFC3986) - - - Should use lowercase when doing HEX escaping of special characters - - - Replace space ' ' with '+' instead of '%20' - - - Skip UTF8 encoding, and prefix special characters with '%u' - - - - Escape unicode string data for use in http-requests - - unicode string-data to be encoded - target for the encoded result - s for how to perform the encoding - - - - Convert the wide-char into utf8-bytes, and then escape - - - - - - - - - Is allowed? - - - - - - - - Is a-z / A-Z / 0-9 - - - - - - - Prevents the Xamarin linker from linking the target. - - - By applying this attribute all of the members of the target will be kept as if they had been referenced by the code. - - - - - Ensures that all members of this type are preserved - - - - - Flags the method as a method to preserve during linking if the container class is pulled in. - - - - - Helper class for XML - - - - - removes any unusual unicode characters that can't be encoded into XML - - - - - Pretest, small text and not escape needed - - - - - - - - Converts object value to invariant format, and strips any invalid xml-characters - - Object value - Object value converted to string - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object value converted to string - - - - XML elements must follow these naming rules: - - Element names are case-sensitive - - Element names must start with a letter or underscore - - Element names can contain letters, digits, hyphens, underscores, and periods - - Element names cannot contain spaces - - - - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object TypeCode - Check and remove unusual unicode characters from the result string. - Object value converted to string - - - - Safe version of WriteAttributeString - - - - - - - - - - Safe version of WriteAttributeString - - - - - - - - Safe version of WriteElementSafeString - - - - - - - - - - Safe version of WriteCData - - - - - - - Interface for handling object transformation - - - - - Takes a dangerous (or massive) object and converts into a safe (or reduced) object - - - Null if unknown object, or object cannot be handled - - - - - Provides an interface to execute System.Actions without surfacing any exceptions raised for that action. - - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. - - The task for which to log an error if it does not run to completion. - A task that completes in the state when completes. - - - - Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Async action to execute. - A task that completes in the state when completes. - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Async function to run. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Async function to run. - Fallback value to return if the task does not end in the state. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. - - - - Render a message template property to a string - - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Log event context data. - - - - - Initializes a new instance of the class. - - - - - Gets or sets string that will be used to separate key/value pairs. - - - - - - Get or set if empty values should be included. - - A value is empty when null or in case of a string, null or empty string. - - - - - - Gets or sets the keys to exclude from the output. If omitted, none are excluded. - - - - - - Also render the caller information attributes? (, - , ). - - See https://msdn.microsoft.com/en-us/library/hh534540.aspx - - - - - - Gets or sets how key/value pairs will be formatted. - - - - - - Renders all log event's properties and appends them to the specified . - - The to append the rendered data to. - Logging event. - - - - The names of caller information attributes. - , , ). - https://msdn.microsoft.com/en-us/library/hh534540.aspx - TODO NLog ver. 5 - Remove these properties - - - - - Designates a property of the class as an ambient property. - - - non-ambient: ${uppercase:${level}} - ambient : ${level:uppercase} - - - - - Initializes a new instance of the class. - - Ambient property name. - - - - Used to render the application domain name. - - - - - Create a new renderer - - - - - Create a new renderer - - - - - Format string. Possible values: "Short", "Long" or custom like {0} {1}. Default "Long" - The first parameter is the , the second the second the - This string is used in - - - - - - - - - - - - - - - Renders the assembly version information for the entry assembly or a named assembly. - - - As this layout renderer uses reflection and version information is unlikely to change during application execution, - it is recommended to use it in conjunction with the . - - - The entry assembly can't be found in some cases e.g. ASP.NET, unit tests, etc. - - - - - Initializes a new instance of the class. - - - - - The (full) name of the assembly. If null, using the entry assembly. - - - - - - Gets or sets the type of assembly version to retrieve. - - - Some version type and platform combinations are not fully supported. - - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified. - - Silverlight: Value for is always returned. - - - - - - Gets or sets the custom format of the assembly version output. - - - Supported placeholders are 'major', 'minor', 'build' and 'revision'. - The default .NET template for version numbers is 'major.minor.build.revision'. See - https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks - for details. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders an assembly version and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Gets the assembly specified by , or entry assembly otherwise - - Found assembly - - - - Type of assembly version to retrieve. - - - - - Gets the assembly version. - - - - - Gets the file version. - - - - - Gets additional version information. - - - - - The current application domain's base directory. - - - - - cached - - - - - Use base dir of current process. Alternative one can just use ${processdir} - - - - - - Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the base directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. - - - - - - Renders the application base directory and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source file name. Full callsite - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - The call site (class name, method name and source information). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to render the class name. - - - - - - Gets or sets a value indicating whether to render the include the namespace with . - - - - - - Gets or sets a value indicating whether to render the method name. - - - - - - Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate. - - - - - - Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation - (everything after an await-statement inside of an async method). - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets a value indicating whether to render the source file name and line number. - - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source line number. Full callsite - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - A counter value (increases on each layout rendering). - - - - - Gets or sets the initial value of the counter. - - - - - - Gets or sets the value to be added to the counter after each layout rendering. - - - - - - Gets or sets the name of the sequence. Different named sequences can have individual values. - - - - - - - - - The current working directory of the application. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the current directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the current directory. - - - - - - - - - - - - Current date and time. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format). - - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - - - - - - - - - - DB null for a database - - - - - - - - - - - The OS dependent directory separator - - - - - - - - - - - The environment variable. - - - - - Gets or sets the name of the environment variable. - - - - - - Gets or sets the default value to be used when the environment variable is not set. - - - - - - - - - - - - Log event context data. - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the name of the item. - - - - - - Renders the specified log event context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. See . - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - - - - - - - - - - Exception information provided through - a call to one of the Logger.*Exception() methods. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the format of the output. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - - - Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - Gets or sets the separator used to concatenate parts specified in the Format. - - - - - - Gets or sets the separator used to concatenate exception data specified in the Format. - - - - - - Gets or sets the maximum number of inner exceptions to include in the output. - By default inner exceptions are not enabled for compatibility with NLog 1.0. - - - - - - Gets or sets the separator between inner exceptions. - - - - - - Gets or sets whether to render innermost Exception from - - - - - Gets or sets whether to collapse exception tree using - - - - - Gets the formats of the output of inner exceptions to be rendered in target. - - - - - - - Gets the formats of the output to be rendered in target. - - - - - - - - - - - - - Appends the Message of an Exception to the specified . - - The to append the rendered data to. - The exception containing the Message to append. - - - - Appends the method name from Exception's stack trace to the specified . - - The to append the rendered data to. - The Exception whose method name should be appended. - - - - Appends the stack trace from an Exception to the specified . - - The to append the rendered data to. - The Exception whose stack trace should be appended. - - - - Appends the result of calling ToString() on an Exception to the specified . - - The to append the rendered data to. - The Exception whose call to ToString() should be appended. - - - - Appends the type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose type should be appended. - - - - Appends the short type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose short type should be appended. - - - - Appends the application source of an Exception to the specified . - - The to append the rendered data to. - The Exception whose source should be appended. - - - - Appends the HResult of an Exception to the specified . - - The to append the rendered data to. - The Exception whose HResult should be appended. - - - - Appends the contents of an Exception's Data property to the specified . - - The to append the rendered data to. - The Exception whose Data property elements should be appended. - - - - Appends all the serialized properties of an Exception into the specified . - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Appends all the additional properties of an Exception like Data key-value-pairs - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Split the string and then compile into list of Rendering formats. - - - - - Find name of method on stracktrace. - - Full stracktrace - - - - - Renders contents of the specified file. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file. - - - - - - Gets or sets the encoding used in the file. - - The encoding. - - - - - Renders the contents of the specified file and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - Name used in config without ${}. E.g. "test" could be used as "${test}". - - - - - Method that renders the layout. - - This public property will be removed in NLog 5. - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render the value for this log event - - The event info. - The value. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - The information about the garbage collector. - - - - - Gets or sets the property to retrieve. - - - - - - - - - Gets or sets the property of System.GC to retrieve. - - - - - Total memory allocated. - - - - - Total memory allocated (perform full garbage collection first). - - - - - Gets the number of Gen0 collections. - - - - - Gets the number of Gen1 collections. - - - - - Gets the number of Gen2 collections. - - - - - Maximum generation number supported by GC. - - - - - Render a Global Diagnostics Context item. See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - - - - Globally-unique identifier (GUID). - - - - - Gets or sets the GUID format as accepted by Guid.ToString() method. - - - - - - Generate the Guid from the NLog LogEvent (Will be the same for all targets) - - - - - - - - - - - - - - - The host name that the process is running on. - - - - - - - - Gets the host name and falls back to computer name if not available - - - - - Tries the lookup value. - - The lookup function. - Type of the lookup. - - - - - - - - Installation parameter (passed to InstallNLogConfig). - - - - - Gets or sets the name of the parameter. - - - - - - Renders the specified installation parameter and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render environmental information related to logging events. - - - - - Gets the logging configuration this target is part of. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Renders the the value of layout renderer in the context of the specified log event. - - The log event. - String representation of a layout renderer. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Renders the value of layout renderer in the context of the specified log event. - - The log event. - The layout render output is appended to builder - - - - Renders the value of layout renderer in the context of the specified log event into . - - The to append the rendered data to. - Logging event. - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Get the for rendering the messages to a - - LogEvent with culture - Culture in on Layout level - - - - - Get the for rendering the messages to a , needed for date and number formats - - LogEvent with culture - Culture in on Layout level - - - is preferred - - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Renderer with callback func - - - - Marks class as a layout renderer and assigns a name to it. - - This attribute is not required when registering the layout in the API. - - - - Initializes a new instance of the class. - - Name of the layout renderer, without the `${ }` - - - - Format of the ${level} layout renderer output. - - - - - Render the LogLevel standard name. - - - - - Render the first character of the level. - - - - - Render the ordinal (aka number) for the level. - - - - - Render the LogLevel full name, expanding Warn / Info abbreviations - - - - - The log level. - - - - - Gets or sets a value indicating the output format of the level. - - - - - - - - - - - - - - - A string literal. - - - This is used to escape '${' sequence - as ;${literal:text=${}' - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The literal text value. - This is used by the layout compiler. - - - - Gets or sets the literal text. - - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - XML event description compatible with log4j, Chainsaw and NLogViewer. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes the layout renderer. - - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets a value indicating whether the XML should use spaces for indentation. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the XML logging event and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The logger name. - - - - - Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character). - - - - - - - - - - - - The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the date in the long format (yyyy-MM-dd HH:mm:ss.ffff) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The machine name that the process is running on. - - - - - - - - - - - Render a Mapped Diagnostic Context item, See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render a Mapped Diagnostic Logical Context item (based on CallContext). - See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - The formatted log message. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to log exception along with message. - - - - - - Gets or sets the string that separates message from the exception. - - - - - - Gets or sets whether it should render the raw message without formatting parameters - - - - - - - - - - - - Render a Nested Diagnostic Context item. - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested diagnostics context output. - - - - - - Renders the specified Nested Diagnostics Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render a Nested Diagnostic Logical Context item (Async scope) - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested logical context output. - - - - - - Renders the specified Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Timing Renderer (Async scope) - - - - - Gets or sets whether to only include the duration of the last scope created - - - - - - Gets or sets whether to just display the scope creation time, and not the duration - - - - - - Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format). - - - - - - Renders the timing details of the Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A newline literal. - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The directory where NLog.dll is located. - - - - - Initializes static members of the NLogDirLayoutRenderer class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The executable directory from the FileName, - using the current process - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the process directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the process directory. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - The identifier of the current process. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - The information about the running process. - - - - - Gets or sets the property to retrieve. - - - - - - Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum) - - - - - - - - - - - - - - - Property of System.Diagnostics.Process to retrieve. - - - - - Base Priority. - - - - - Exit Code. - - - - - Exit Time. - - - - - Process Handle. - - - - - Handle Count. - - - - - Whether process has exited. - - - - - Process ID. - - - - - Machine name. - - - - - Handle of the main window. - - - - - Title of the main window. - - - - - Maximum Working Set. - - - - - Minimum Working Set. - - - - - Non-paged System Memory Size. - - - - - Non-paged System Memory Size (64-bit). - - - - - Paged Memory Size. - - - - - Paged Memory Size (64-bit).. - - - - - Paged System Memory Size. - - - - - Paged System Memory Size (64-bit). - - - - - Peak Paged Memory Size. - - - - - Peak Paged Memory Size (64-bit). - - - - - Peak Virtual Memory Size. - - - - - Peak Virtual Memory Size (64-bit).. - - - - - Peak Working Set Size. - - - - - Peak Working Set Size (64-bit). - - - - - Whether priority boost is enabled. - - - - - Priority Class. - - - - - Private Memory Size. - - - - - Private Memory Size (64-bit). - - - - - Privileged Processor Time. - - - - - Process Name. - - - - - Whether process is responding. - - - - - Session ID. - - - - - Process Start Time. - - - - - Total Processor Time. - - - - - User Processor Time. - - - - - Virtual Memory Size. - - - - - Virtual Memory Size (64-bit). - - - - - Working Set Size. - - - - - Working Set Size (64-bit). - - - - - The name of the current process. - - - - - Gets or sets a value indicating whether to write the full path to the process executable. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Renders the current process name (optionally with a full path). - - The to append the rendered data to. - Logging event. - - - - The process time in format HH:mm:ss.mmm. - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Write timestamp to builder with format hh:mm:ss:fff - - - - - The sequence ID - - - - - - - - - - - The short date in a sortable format yyyy-MM-dd. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the current short date string (yyyy-MM-dd) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Format of the ${stacktrace} layout renderer output. - - - - - Raw format (multiline - as returned by StackFrame.ToString() method). - - - - - Flat format (class and method names displayed in a single line). - - - - - Detailed flat format (method signatures displayed in a single line). - - - - - Stack trace renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the output format of the stack trace. - - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets the stack frame separator string. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A temporary directory. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The identifier of the current thread. - - - - - - - - The name of the current thread. - - - - - - - - The Ticks value of current date and time. - - - - - - - - - - - The time in a 24-hour, sortable format HH:mm:ss.mmmm. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Render a NLog variable (xml or config) - - - - - Gets or sets the name of the NLog variable. - - - - - - Gets or sets the default value to be used when the variable is not set. - - Not used if Name is null - - - - - Initializes the layout renderer. - - - - - Try get the - - - - - - - Renders the specified variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Applies caching to another layout output. - - - The value of the inner layout will be rendered only once and reused subsequently. - - - - - A value indicating when the cache is cleared. - - - - Never clear the cache. - - - Clear the cache whenever the is initialized. - - - Clear the cache whenever the is closed. - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether this is enabled. - - - - - - Gets or sets a value indicating when the cache is cleared. - - - - - - Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s - - - - - - Gets or sets a value indicating how many seconds the value should stay cached until it expires - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - - - - Filters characters not allowed in the file names by replacing them with safe character. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path - (illegal characters are replaced with '_'). - - - - - - - - - - - - Escapes output of another layout using JSON rules. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply JSON encoding. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - - - - - - - Left part of a text - - - - - Gets or sets the length in characters. - - - - - - Same as -property, so it can be used as ambient property. - - - ${message:truncate=80} - - - - - - - - - - - - Converts the result of another layout output to lower case. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Render the non-raw value of an object. - - For performance and/or full (formatted) control of the output. - - - - Gets or sets a value indicating whether to disable the IRawValue-interface - - A value of true if IRawValue-interface should be ignored; otherwise, false. - - - - - - - - - - - Render a single property of a object - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - Shortcut for - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - Only outputs the inner layout when exception has been defined for log message. - - - - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - ${onhasproperties:, Properties\: ${all-event-properties}} - - - - - - - - - - - Horizontal alignment for padding layout renderers. - - - - - When layout text is too long, align it to the left - (remove characters from the right). - - - - - When layout text is too long, align it to the right - (remove characters from the left). - - - - - Applies padding to another layout output. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of characters to pad the output to. - - - Positive padding values cause left padding, negative values - cause right padding to the desired width. - - - - - - Gets or sets the padding character. - - - - - - Gets or sets a value indicating whether to trim the - rendered text to the absolute value of the padding length. - - - - - - Gets or sets a value indicating whether a value that has - been truncated (when is true) - will be left-aligned (characters removed from the right) - or right-aligned (characters removed from the left). The - default is left alignment. - - RegistryLayoutRenderer - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Replaces a string in the output of another layout with another string. - - - ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}} - - - - - Gets or sets the text to search for. - - The text search for. - - - - - Gets or sets a value indicating whether regular expressions should be used. - - A value of true if regular expressions should be used otherwise, false. - - - - - Gets or sets the replacement string. - - The replacement string. - - - - - Gets or sets the group name to replace when using regular expressions. - Leave null or empty to replace without using group name. - - The group name. - - - - - Gets or sets a value indicating whether to ignore case. - - A value of true if case should be ignored when searching; otherwise, false. - - - - - Gets or sets a value indicating whether to search for whole words. - - A value of true if whole words should be searched for; otherwise, false. - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Initializes the layout renderer. - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass - - - - - A match evaluator for Regular Expression based replacing - - Input string. - Group name in the regex. - Replace value. - Match from regex. - Groups replaced with . - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating the string that should be used for separating lines. - - - - - - - - - - - - Right part of a text - - - - - Gets or sets the length in characters. - - - - - - - - - - - - Decodes text "encrypted" with ROT-13. - - - See https://en.wikipedia.org/wiki/ROT13. - - - - - Gets or sets the layout to be wrapped. - - The layout to be wrapped. - This variable is for backwards compatibility - - - - - Encodes/Decodes ROT-13-encoded string. - - The string to be encoded/decoded. - Encoded/Decoded text. - - - - - - - - - - Encodes/Decodes ROT-13-encoded string. - - - - - Substring the result - - - ${substring:${level}:start=2:length=2} - ${substring:${level}:start=-2:length=2} - ${substring:Inner=${level}:start=2:length=2} - - - - - Initializes a new instance of the class. - - - - - Gets or sets the start index. - - Index - - - - - Gets or sets the length in characters. If null, then the whole string - - Index - - - - - - - - - - - Calculate start position - - 0 or positive number - - - - Calculate needed length - - 0 or positive number - - - - Trims the whitespace from the result of another layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - - - - - - - Converts the result of another layout output to upper case. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - ${level:uppercase} // [AmbientProperty] - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether upper case conversion should be applied. - - A value of true if upper case conversion should be applied otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Encodes the result of another layout output for use with URLs. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether spaces should be translated to '+' or '%20'. - - A value of true if space should be translated to '+'; otherwise, false. - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - - - Gets or sets the layout to be rendered when original layout produced empty result. - - - - - - - - - - - - - - - Only outputs the inner layout when the specified condition has been met. - - - - - Gets or sets the condition that must be met for the layout to be printed. - - - - - - If is not met, print this layout. - - - - - - - - - - - - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the line length for wrapping. - - - Only positive values are allowed - - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - Base class for s which wrapping other s. - - This has the property (which is default) and can be used to wrap. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - - - - - Gets or sets the wrapped layout. - - [DefaultParameter] so Inner: is not required if it's the first - - - - - - - - - Renders the inner message, processes it and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Appends the rendered output from -layout and transforms the added output (when necessary) - - Logging event. - The to append the rendered data to. - Start position for any necessary transformation of . - - - - Transforms the output of another layout. - - Logging event. - Output to be transform. - Transformed text. - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - Base class for s which wrapping other s. - - This expects the transformation to work on a - - - - - - - - Transforms the output of another layout. - - - Output to be transform. - - - - Transforms the output of another layout. - - Output to be transform. - - - - Renders the inner layout contents. - - - for the result - - - - - - - - - - - - - - - - - - Converts the result of another layout output to be XML-compliant. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply XML encoding. - - Ensures always valid XML, but gives a performance hit - - - - - Gets or sets a value indicating whether to transform newlines (\r\n) into ( ) - - - - - - - - - - - - A layout containing one or more nested layouts. - - - - - Initializes a new instance of the class. - - - - - Gets the inner layouts. - - - - - - Initializes the layout. - - - - - Formats the log event relying on inner layouts. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event relying on inner layouts. - - The logging event. - for the result - - - - Closes the layout. - - - - - Generate description of Compound Layout - - Compound Layout String Description - - - - A column in the CSV. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column. - The layout of the column. - - - - Gets or sets the name of the column. - - - - - - Gets or sets the layout of the column. - - - - - - Gets or sets the override of Quoting mode - - - and are faster than the default - - - - - - Specifies allowed column delimiters. - - - - - Automatically detect from regional settings. - - - - - Comma (ASCII 44). - - - - - Semicolon (ASCII 59). - - - - - Tab character (ASCII 9). - - - - - Pipe character (ASCII 124). - - - - - Space character (ASCII 32). - - - - - Custom string, specified by the CustomDelimiter. - - - - - A specialized layout that renders CSV-formatted events. - - If is set, then the header generation with column names will be disabled. - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - Gets or sets a value indicating whether CVS should include header. - - A value of true if CVS should include header; otherwise, false. - - - - - Gets or sets the column delimiter. - - - - - - Gets or sets the quoting mode. - - - - - - Gets or sets the quote Character. - - - - - - Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom'). - - - - - - Initializes the layout. - - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event for write. - - The logging event. - for the result - - - - Get the headers with the column names. - - - - - - Header with column names for CSV layout. - - - - - Initializes a new instance of the class. - - The parent. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Generate description of CSV Layout - - CSV Layout String Description - - - - Specifies CSV quoting modes. - - - - - Quote all column (Fast) - - - - - Quote nothing (Very fast) - - - - - Quote only whose values contain the quote symbol or the separator (Slow) - - - - - JSON attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with json-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Json encoded. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A specialized layout that renders JSON-formatted events. - - - - - Initializes a new instance of the class. - - - - - Gets the array of attributes' configurations. - - - - - - Gets or sets the option to suppress the extra spaces in the output json - - - - - - Gets or sets the option to render the empty object value {} - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to exclude null/empty properties from the log event (as JSON) - - - - - - List of property names to exclude when is true - - - - - - How far should the JSON serializer follow object references before backing off - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Formats the log event as a JSON document for writing. - - The logging event. - for the result - - - - Formats the log event as a JSON document for writing. - - The log event to be formatted. - A JSON string representation of the log event. - - - - Generate description of JSON Layout - - JSON Layout String Description - - - - Abstract interface that layouts must implement. - - - - - Is this layout initialized? See - - - - - Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). - - - Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are - like that as well. - - Thread-agnostic layouts only use contents of for its output. - - - - - Gets the level of stack trace information required for rendering. - - - - - Gets the logging configuration this target is part of. - - - - - Converts a given text to a . - - Text to be converted. - object represented by the text. - - - - Implicitly converts the specified string to a . - - The layout string. - Instance of .' - - - - Implicitly converts the specified string to a . - - The layout string. - The NLog factories to use when resolving layout renderers. - Instance of . - - - - Implicitly converts the specified string to a . - - The layout string. - Whether should be thrown on parse errors (false = replace unrecognized tokens with a space). - Instance of . - - - - Create a from a lambda method. - - Method that renders the layout. - Tell if method is safe for concurrent threading. - Instance of . - - - - Precalculates the layout for the specified log event and stores the result - in per-log event cache. - - Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic]. - - The log event. - - Calling this method enables you to store the log event in a buffer - and/or potentially evaluate it in another thread even though the - layout may contain thread-dependent renderer. - - - - - Renders the event info in layout. - - The event info. - String representing log event. - - - - Optimized version of for internal Layouts. Works best - when override of is available. - - The event info. - Appends the string representing log event to target - Should rendering result be cached on LogEventInfo - - - - Valid default implementation of , when having implemented the optimized - - The logging event. - StringBuilder to help minimize allocations [optional]. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Optimized version of for internal Layouts, when - override of is available. - - - - - Try get value - - - rawValue if return result is true - false if we could not determine the rawValue - - - - Marks class as a layout renderer and assigns a format string to it. - - - - - Initializes a new instance of the class. - - Layout name. - - - - Parses layout strings. - - - - - Add to - - - - - - - Options available for - - - - - Default options - - - - - Layout renderer method can handle concurrent threads - - - - - Layout renderer method is agnostic to current thread context. This means it will render the same result indepdent of thread-context. - - - - - A specialized layout that supports header and footer. - - - - - Gets or sets the body layout (can be repeated multiple times). - - - - - - Gets or sets the header layout. - - - - - - Gets or sets the footer layout. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result. - - - - A specialized layout that renders Log4j-compatible XML events. - - - This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets the instance that renders log events. - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Represents a string with embedded placeholders that can render contextual information. - - - This layout is not meant to be used explicitly. Instead you can just use a string containing layout - renderers everywhere the layout is required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout string to parse. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - Whether should be thrown on parse errors. - - - - Original text before compile to Layout renderes - - - - - Gets or sets the layout text. - - - - - - Is the message fixed? (no Layout renderers used) - - - - - Get the fixed text. Only set when is true - - - - - Is the message a simple formatted string? (Can skip StringBuilder) - - - - - Gets a collection of objects that make up this layout. - - - - - Gets the level of stack trace information required for rendering. - - - - - Converts a text to a simple layout. - - Text to be converted. - A object. - - - - Escapes the passed text so that it can - be used literally in all places where - layout is normally expected without being - treated as layout. - - The text to be escaped. - The escaped text. - - Escaping is done by replacing all occurrences of - '${' with '${literal:text=${}' - - - - - Evaluates the specified text by expanding all layout renderers. - - The text to be evaluated. - Log event to be used for evaluation. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Evaluates the specified text by expanding all layout renderers - in new context. - - The text to be evaluated. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Returns a that represents the current object. - - - A that represents the current object. - - - - - - - - - - - - - - - - - - - - XML attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with xml-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A XML Element - - - - - - - - - - - Name of the element - - - - - - Value inside the element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - The name of the top XML node - The value of the top XML node - - - - Name of the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Value inside the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Auto indent and create new lines - - - - - - Gets the array of xml 'elements' configurations. - - - - - - Gets the array of 'attributes' configurations for the element - - - - - - Gets or sets whether a ElementValue with empty value should be included in the output - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - List of property names to exclude when is true - - - - - - XML element name to use when rendering properties - - - Support string-format where {0} means property-key-name - - Skips closing element tag when having configured - - - - - - XML attribute name to use when rendering property-key - - When null (or empty) then key-attribute is not included - - - Will replace newlines in attribute-value with - - - - - - XML attribute name to use when rendering property-value - - When null (or empty) then value-attribute is not included and - value is formatted as XML-element-value - - - Skips closing element tag when using attribute for value - - Will replace newlines in attribute-value with - - - - - - XML element name to use for rendering IList-collections items - - - - - - How far should the XML serializer follow object references before backing off - - - - - - Initializes the layout. - - - - - Formats the log event as a XML document for writing. - - The logging event. - for the result - - - - Formats the log event as a XML document for writing. - - The log event to be formatted. - A XML string representation of the log event. - - - - write attribute, only if is not empty - - - - - rendered - - - - Generate description of XML Layout - - XML Layout String Description - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - - - - - - - Name of the root XML element - - - - - - Value inside the root XML element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Represents the logging event. - - - - - Gets the date of the first log event created. - - - - - The formatted log message. - - - - - The log message including any parameter placeholders - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - Already parsed message template parameters. - - - - Initializes a new instance of the class. - - Log level. - Override default Logger name. Default is used when null - Log message. - List of event-properties - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - Exception information. - - - - Gets the unique identifier of log event which is automatically generated - and monotonously increasing. - - - - - Gets or sets the timestamp of the logging event. - - - - - Gets or sets the level of the logging event. - - - - - Gets a value indicating whether stack trace has been set for this event. - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Gets the entire stack trace. - - - - - Gets the callsite class name - - - - - Gets the callsite member function name - - - - - Gets the callsite source file path - - - - - Gets the callsite source file line number - - - - - Gets or sets the exception information. - - - - - Gets or sets the logger name. - - - - - Gets the logger short name. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the log message including any parameter placeholders. - - - - - Gets or sets the parameter values or null if no parameters have been specified. - - - - - Gets or sets the format provider that was provided while logging or - when no formatProvider was specified. - - - - - Gets or sets the message formatter for generating - Uses string.Format(...) when nothing else has been configured. - - - - - Gets the formatted message. - - - - - Checks if any per-event properties (Without allocation) - - - - - Gets the dictionary of per-event context properties. - - - - - Gets the dictionary of per-event context properties. - Internal helper for the PropertiesDictionary type. - - Create the event-properties dictionary, even if no initial template parameters - Provided when having parsed the message template and capture template parameters (else null) - - - - - Gets the named parameters extracted from parsing as MessageTemplate - - - - - Gets the dictionary of per-event context properties. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Creates the null event. - - Null log event. - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - The exception. - Instance of . - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates from this by attaching the specified asynchronous continuation. - - The asynchronous continuation. - Instance of with attached continuation. - - - - Returns a string representation of this log event. - - String representation of the log event. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace (Negative means NLog should skip stackframes from System-assemblies). - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Set the - - true = Always, false = Never, null = Auto Detect - - - - Specialized LogFactory that can return instances of custom logger types. - - Use this only when a custom Logger type is defined. - The type of the logger to be returned. Must inherit from . - - - - Gets the logger with type . - - The logger name. - An instance of . - - - - Gets a custom logger with the full name of the current class (so namespace and class name) and type . - - An instance of . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Overwrite possible file paths (including filename) for possible NLog config files. - When this property is null, the default file paths ( are used. - - - - - Occurs when logging changes. - - - - - Occurs when logging gets reloaded. - - - - - Initializes static members of the LogManager class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The config. - - - - Initializes a new instance of the class. - - The config loader - The custom AppEnvironmnet override - - - - Gets the current . - - - - - Gets or sets a value indicating whether exceptions should be thrown. See also . - - A value of true if exception should be thrown; otherwise, false. - By default exceptions are not thrown under any circumstances. - - - - Gets or sets a value indicating whether should be thrown. - - If null then is used. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. After setting this property all - existing loggers will be re-configured, so there is no need to call - manually. - - - - - Gets or sets the global log level threshold. Log events below this threshold are not logged. - - - - - Gets the default culture info to use as . - - - Specific culture info or null to use - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting - unmanaged resources. - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Creates a logger that discards all log messages. - - Null logger instance. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets the logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - The logger with type . - Type of the logger - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The type of the logger to create. The type must inherit from - The logger of type . - This is a slow-running method. Make sure you are not calling this method in a - loop. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - Name of the logger. - Type of the logger - The logger reference with type . Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The type of the logger to create. The type must inherit from . - The logger of type . Multiple calls to GetLogger with the - same argument aren't guaranteed to return the same logger reference. - - - - Loops through all loggers previously returned by GetLogger and recalculates their - target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time - will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flushes any pending log messages on all appenders. - - Config containing Targets to Flush - Flush completed notification (success / timeout) - Optional timeout that guarantees that completed notication is called. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Returns if logging is currently enabled. - - A value of if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Raises the event when the configuration is reloaded. - - Event arguments. - - - - Raises the event when the configuration is reloaded. - - Event arguments - - - - Currently this is disposing? - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; - false to release only unmanaged resources. - - - - Dispose all targets, and shutdown logging. - - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Logger cache key. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Determines if two objects are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Determines if two objects of the same type are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Logger cache. - - - - - Inserts or updates. - - - - - - - Internal for unit tests - - - - - Enables logging in implementation. - - - - - Initializes a new instance of the class. - - The factory. - - - - Enables logging. - - - - - Logging methods which only are executed when the DEBUG conditional compilation symbol is set. - - Remarks: - The DEBUG conditional compilation symbol is default enabled (only) in a debug build. - - If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods. - This could lead to better performance. - - See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx - - - Provides logging interface and utility functions. - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Initializes a new instance of the class. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Collection of context properties for the Logger. The logger will append it for all log events - - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Creates new logger that automatically appends the specified property to all log events (without changing current logger) - - Property Name - Property Value - New Logger object that automatically appends specified property - - - - Updates the specified context property for the current logger. The logger will append it for all log events. - - It could be rendered with ${event-properties:YOURNAME} - - With property, all properties could be changed. - - - Will affect all locations/contexts that makes use of the same named logger object. - - Property Name - Property Value - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. - - The task for which to log an error if it does not run to completion. - A task that completes in the state when completes. - - - - Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Async action to execute. - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Async function to run. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Async function to run. - Fallback value to return if the task does not end in the state. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. - - - - Raises the event when the logger is reconfigured. - - Event arguments - - - - Implementation of logging engine. - - - - - Gets the filter result. - - The filter chain. - The log event. - default result if there are no filters, or none of the filters decides. - The result of the filter. - - - - Defines available log levels. - - - - - Trace log level. - - - - - Debug log level. - - - - - Info log level. - - - - - Warn log level. - - - - - Error log level. - - - - - Fatal log level. - - - - - Off log level. - - - - - Gets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - - - - - Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) - i.e LogLevel.Off is excluded. - - - - - Initializes a new instance of . - - The log level name. - The log level ordinal number. - - - - Gets the name of the log level. - - - - - Gets the ordinal of the log level. - - - - - Compares two objects - and returns a value indicating whether - the first one is equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal == level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is not equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal != level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than the second one. - - The first level. - The second level. - The value of level1.Ordinal > level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal >= level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than the second one. - - The first level. - The second level. - The value of level1.Ordinal < level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal <= level2.Ordinal. - - - - Gets the that corresponds to the specified ordinal. - - The ordinal. - The instance. For 0 it returns , 1 gives and so on. - - - - Returns the that corresponds to the supplied . - - The textual representation of the log level. - The enumeration value. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Determines whether the specified instance is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Compares the level to the other object. - - - The object object. - - - A value less than zero when this logger's is - less than the other logger's ordinal, 0 when they are equal and - greater than zero when this ordinal is greater than the - other ordinal. - - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Delegate used to set/get the culture in use. - - This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the instance used in the . - - Could be used to pass the to other methods - - - - Occurs when logging changes. - - - - - Occurs when logging gets reloaded. - - - - - Gets or sets a value indicating whether NLog should throw exceptions. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether should be thrown. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. - - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Gets or sets the global log threshold. Log events below this threshold are not logged. - - - - - Gets or sets the default culture to use. - - This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Adds the given assembly which will be skipped - when NLog is trying to find the calling method on stack trace. - - The assembly to skip. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The logger class. This class must inherit from . - The logger of type . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates a logger that discards all log messages. - - Null logger which discards all log messages. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - - - - Gets the specified named custom logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The logger class. This class must inherit from . - The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - The generic way for this method is - - - - Loops through all loggers previously returned by GetLogger. - and recalculates their target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Checks if logging is currently enabled. - - if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Dispose all targets, and shutdown logging. - - - - - Generates a formatted message from the log event - - Log event. - Formatted message - - - - Returns a log message. Used to defer calculation of - the log message until it's actually needed. - - Log message. - - - - Mapped Diagnostics Context - a thread-local structure that keeps a dictionary - of strings and provides methods to output them in layouts. - - - - - Gets the thread-local dictionary - - Must be true for any subsequent dictionary modification operation - - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The to use when converting a value to a . - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Returns all item names - - A set of the names of all items in current thread-MDC. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified exists in current thread MDC. - - - - Removes the specified from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary - of strings and provides methods to output them in layouts. Allows for maintaining state across - asynchronous tasks and call contexts. - - - Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original - NLog library so that state can be maintained for multiple threads in asynchronous situations. - - - - - Simulate ImmutableDictionary behavior (which is not yet part of all .NET frameworks). - In future the real ImmutableDictionary could be used here to minimize memory usage and copying time. - - Must be true for any subsequent dictionary modification operation - Prepare dictionary for additional inserts - - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The to use when converting a value to a string. - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Updates the current logical context with multiple items in single operation - - . - >An that can be used to remove the item from the current logical context (null if no items). - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Returns all item names - - A collection of the names of all items in current logical context. - - - - Checks whether the specified exists in current logical context. - - Item name. - A boolean indicating whether the specified exists in current logical context. - - - - Removes the specified from current logical context. - - Item name. - - - - Clears the content of current logical context. - - - - - Clears the content of current logical context. - - Free the full slot. - - - - Mapped Diagnostics Context - - This class marked as obsolete before NLog 2.0 and it may be removed in a future release. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified item exists in current thread MDC. - - - - Removes the specified item from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mark a parameter of a method for message templating - - - - - Specifies which parameter of an annotated method should be treated as message-template-string - - - - - The name of the parameter that should be as treated as message-template-string - - - - - The type of the captured hole - - - - - Not decided - - - - - normal {x} - - - - - Serialize operator {@x} (aka destructure) - - - - - stringification operator {$x} - - - - - A hole that will be replaced with a value - - - - - Constructor - - - - Parameter name sent to structured loggers. - This is everything between "{" and the first of ",:}". - Including surrounding spaces and names that are numbers. - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - Type - - - - When the template is positional, this is the parsed name of this parameter. - For named templates, the value of Index is undefined. - - - Alignment to render the parameter, by default 0. - This is the parsed value between "," and the first of ":}" - - - - A fixed value - - - - Number of characters from the original template to copy at the current position. - This can be 0 when the template starts with a hole or when there are multiple consecutive holes. - - - Number of characters to skip in the original template at the current position. - 0 is a special value that mean: 1 escaped char, no hole. It can also happen last when the template ends with a literal. - - - - Combines Literal and Hole - - - - Literal - - - Hole - Uninitialized when = 0. - - - - Description of a single parameter extracted from a MessageTemplate - - - - - Parameter Name extracted from - This is everything between "{" and the first of ",:}". - - - - - Parameter Value extracted from the -array - - - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - - Parameter method that should be used to render the parameter - See also - - - - - Returns index for , when - - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - Parameter CaptureType - - - - Parameters extracted from parsing as MessageTemplate - - - - - - - - - - - Gets the parameters at the given index - - - - - Number of parameters - - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Indicates whether the template was parsed successful, and there are no unmatched parameters - - - - - Constructor for parsing the message template with parameters - - including any parameter placeholders - All - - - - Constructor for named parameters that already has been parsed - - - - - Create MessageTemplateParameter from - - - - - A message template - - - - The original template string. - This is the key passed to structured targets. - - - The list of literal parts, useful for string rendering. - It indicates the number of characters from the original string to print, - then there's a hole with how many chars to skip. - - "Hello {firstName} {lastName}!" - ------------------------------------- - ║P |S ║P|S ║P|S║ - ║6 |11 ║1|10 ║1|0║ - ║Hello |{firstName}║ |{lastName}║!║ - - "{x} * 2 = {2x}" - -------------------- - ║P|S ║P |S ║ - ║0|3 ║7 |4 ║ - ║{x}║ * 2 = |{2x}║ - - The tricky part is escaped braces. They are represented by a skip = 0, - which is interpreted as "move one char forward, no hole". - - "Escaped }} is fun." - ---------------------- - ║P |S║P |S║ - ║9 |0║8 |0║ - ║Escaped }|}║ is fun.|║ - - - - This list of holes. It's used both to fill the string rendering - and to send values along the template to structured targets. - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Create a template, which is already parsed - - - - - - - - - Create a template, which is already parsed - - - - - - - - This is for testing only: recreates from the parsed data. - - - - This is for testing only: rebuilds the hole - - Add to this string builder - ref for performance - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Gets the current literal/hole in the template - - - - - Clears the enumerator - - - - - Restarts the enumerator of the template - - - - - Moves to the next literal/hole in the template - - Found new element [true/false] - - - - Parse format after hole name/index. Handle the escaped { and } in the format. Don't read the last } - - - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Error when parsing a template. - - - - - Current index when the error occurred. - - - - - The template we were parsing - - - - - New exception - - The message to be shown. - Current index when the error occurred. - - - - - Render templates - - - - - Render a template to a string. - - The template. - Culture. - Parameters for the holes. - Do not fallback to StringBuilder.Format for positional templates. - The String Builder destination. - Parameters for the holes. - - - - Render a template to a string. - - The template. - The String Builder destination. - Culture. - Parameters for the holes. - Rendered template, never null. - - - - Convert Render or serialize a value, with optionally backwards-compatible with - - - - Singleton - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Format an object to a readable string, or if it's an object, serialize - - The value to convert - - - - - - - - Try serializing a scalar (string, int, NULL) or simple type (IFormattable) - - - - - Serialize Dictionary as JSON like structure, without { and } - - - "FirstOrder"=true, "Previous login"=20-12-2017 14:55:32, "number of tries"=1 - - - formatstring of an item - - - - - - - - - Convert a value to a string with format and append to . - - The value to convert. - Format sting for the value. - Format provider for the value. - Append to this - - - - Nested Diagnostics Context - - This class marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top object off the NDC stack. The object is removed from the stack. - - The top object from the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all objects on the NDC stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Nested Diagnostics Context - a thread-local structure that keeps a stack - of strings and provides methods to output them in layouts - - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object at the top of the NDC stack if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified object on current thread NDC. - - The object to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top message from the NDC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top object off the NDC stack. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Peeks the first object on the NDC stack - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. - - Array of objects on the stack. - - - - Resets the stack to the original count during . - - - - - Initializes a new instance of the class. - - The stack. - The previous count. - - - - Reverts the stack to original item count. - - - - - Async version of - a logical context structure that keeps a stack - Allows for maintaining scope across asynchronous tasks and call contexts. - - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDLC stack. - - The top message which is no longer on the stack. - this methods returns a object instead of string, this because of backwards-compatibility - - - - Pops the top message from the NDLC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top message off the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the top object on the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the current scope, and returns its start time - - Scope Creation Time - - - - Peeks the first scope, and returns its start time - - Scope Creation Time - - - - Clears current stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Exception thrown during NLog configuration. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The inner exception. - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Exception thrown during log event processing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - It works as a normal but it discards all messages which an application requests - to be logged. - - It effectively implements the "Null Object" pattern for objects. - - - - - Initializes a new instance of . - - The factory class to be used for the creation of this logger. - - - - Extension methods to setup LogFactory options - - - - - Gets the logger with the full name of the current class, so namespace and class name. - - - - - Gets the specified named logger. - - - - - Configures loading of NLog extensions for Targets and LayoutRenderers - - - - - Configures the output of NLog for diagnostics / troubleshooting - - - - - Configures serialization and transformation of LogEvents - - - - - Loads NLog config created by the method - - - - - Loads NLog config provided in - - - - - Loads NLog config from filename if provided, else fallback to scanning for NLog.config - - - - - Loads NLog config from XML in - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Enable/disables autoloading of NLog extensions by scanning and loading available assemblies - - - Enabled by default, and gives a huge performance hit during startup. Recommended to disable this when running in the cloud. - - - - - Registers NLog extensions from the assembly. - - - - - Registers NLog extensions from the assembly type name - - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - MethodInfo extracted by reflection - typeof(MyClass).GetMethod("MyFunc", BindingFlags.Static). - - - - Extension methods to setup NLog options - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Overrides the active with a new custom implementation - - - - - Overrides the active with a new custom implementation - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Specifies the way archive numbering is performed. - - - - - Sequence style numbering. The most recent archive has the highest number. - - - - - Rolling style numbering (the most recent is always #0 then #1, ..., #N. - - - - - Date style numbering. Archives will be stamped with the prior period - (Year, Month, Day, Hour, Minute) datetime. - - - - - Date and sequence style numbering. - Archives will be stamped with the prior period (Year, Month, Day) datetime. - The most recent archive has the highest number (in combination with the date). - - - - - Abstract Target with async Task support - - - - - How many milliseconds to delay the actual write operation to optimize for batching - - - - - How many seconds a Task is allowed to run before it is cancelled. - - - - - How many attempts to retry the same Task, before it is aborted - - - - - How many milliseconds to wait before next retry (will double with each retry) - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Task Scheduler used for processing async Tasks - - - - - Constructor - - - - - Initializes the internal queue for pending logevents - - - - - Override this to create the actual logging task - - Example of how to override this method, and call custom async method - - protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) - { - return CustomWriteAsync(logEvent, token); - } - - private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) - { - await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); - } - - - The log event. - The cancellation token - - - - - Override this to create the actual logging task for handling batch of logevents - - A batch of logevents. - The cancellation token - - - - - Handle cleanup after failed write operation - - Exception from previous failed Task - The cancellation token - Number of retries remaining - Time to sleep before retrying - Should attempt retry - - - - Schedules the LogEventInfo for async writing - - The log event. - - - - Write to queue without locking - - - - - - Schedules notification of when all messages has been written - - - - - - Closes Target by updating CancellationToken - - - - - Releases any managed resources - - - - - - Checks the internal queue for the next to create a new task for - - Used for race-condition validation between task-completion and timeout - Signals whether previousTask completed an almost full BatchSize - - - - Generates recursive task-chain to perform retry of writing logevents with increasing retry-delay - - - - - Creates new task to handle the writing of the input - - LogEvents to write - New Task created [true / false] - - - - Handles that scheduled task has completed (successfully or failed), and starts the next pending task - - Task just completed - AsyncContinuation to notify of success or failure - - - - Timer method, that is fired when pending task fails to complete within timeout - - - - - - Sends log messages to the remote instance of Chainsaw application from log4j. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a name. - - Name of the target. - - - - Color formatting for using ANSI Color Codes - - - - - Not using bold to get light colors, as it has to be cleared - - - - - Not using bold to get light colors, as it has to be cleared (And because it only works for text, and not background) - - - - - Resets both foreground and background color. - - - - - ANSI have 8 color-codes (30-37) by default. The "bright" (or "intense") color-codes (90-97) are extended values not supported by all terminals - - - - - Color formatting for using - and - - - - - Writes log messages to the console with customizable coloring. - - Documentation on NLog Wiki - - - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default.In multithreaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether the error stream (stderr) should be used instead of the output stream (stdout). - - - - - - Gets or sets a value indicating whether to use default row highlighting rules. - - - The default rules are: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ConditionForeground ColorBackground Color
level == LogLevel.FatalRedNoChange
level == LogLevel.ErrorYellowNoChange
level == LogLevel.WarnMagentaNoChange
level == LogLevel.InfoWhiteNoChange
level == LogLevel.DebugGrayNoChange
level == LogLevel.TraceDarkGrayNoChange
-
- -
- - - The encoding for writing messages to the . - - Has side effect - - - - - Gets or sets a value indicating whether to auto-check if the console is available. - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-check if the console has been redirected to file - - Disables coloring logic when System.Console.IsOutputRedirected = true - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Enables output using ANSI Color Codes - - - - - - Gets the row highlighting rules. - - - - - - Gets the word highlighting rules. - - - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified log event to the console highlighting entries - and words based on a set of defined rules. - - Log event. - - - - Colored console output color. - - - Note that this enumeration is defined to be binary compatible with - .NET 2.0 System.ConsoleColor + some additions - - - - - Black Color (#000000). - - - - - Dark blue Color (#000080). - - - - - Dark green Color (#008000). - - - - - Dark Cyan Color (#008080). - - - - - Dark Red Color (#800000). - - - - - Dark Magenta Color (#800080). - - - - - Dark Yellow Color (#808000). - - - - - Gray Color (#C0C0C0). - - - - - Dark Gray Color (#808080). - - - - - Blue Color (#0000FF). - - - - - Green Color (#00FF00). - - - - - Cyan Color (#00FFFF). - - - - - Red Color (#FF0000). - - - - - Magenta Color (#FF00FF). - - - - - Yellow Color (#FFFF00). - - - - - White Color (#FFFFFF). - - - - - Don't change the color. - - - - - The row-highlighting condition. - - - - - Initializes static members of the ConsoleRowHighlightingRule class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The condition. - Color of the foreground. - Color of the background. - - - - Gets the default highlighting rule. Doesn't change the color. - - - - - Gets or sets the condition that must be met in order to set the specified foreground and background color. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Checks whether the specified log event matches the condition (if any). - - - Log event. - - - A value of if the condition is not defined or - if it matches, otherwise. - - - - - Writes log messages to the console. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default. In multi threaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. - - - - - - The encoding for writing messages to the . - - Has side effect - - - - - Gets or sets a value indicating whether to auto-check if the console is available - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Gets or sets whether to enable batch writing using char[]-buffers, instead of using - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified logging event to the Console.Out or - Console.Error depending on the value of the Error flag. - - The logging event. - - Note that the Error option is not supported on .NET Compact Framework. - - - - - - - - Write to output - - - - - Highlighting rule for Win32 colorful console. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The text to be matched.. - Color of the foreground. - Color of the background. - - - - Gets or sets the regular expression to be matched. You must specify either text or regex. - - - - - - Gets or sets the condition that must be met before scanning the row for highlight of words - - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets the text to be matched. You must specify either text or regex. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Gets the compiled regular expression that matches either Text or Regex property. Only used when is true. - - - - - Information about database command + parameters. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the type of the command. - - The type of the command. - - - - - Gets or sets the connection string to run the command against. If not provided, connection string from the target is used. - - - - - - Gets or sets the command text. - - - - - - Gets or sets a value indicating whether to ignore failures. - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a database named or positional parameter. - - - - - - Information about object-property for the database-connection-object - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name for the object-property - - - - - - Gets or sets the value to assign on the object-property - - - - - - Gets or sets the type of the object-property - - - - - - Gets or sets convert format of the property value - - - - - - Gets or sets the culture used for parsing property string-value for type-conversion - - - - - - Represents a parameter to a Database target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the parameter. - The parameter layout. - - - - Gets or sets the database parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets the database parameter DbType. - - - - - - Gets or sets the database parameter size. - - - - - - Gets or sets the database parameter precision. - - - - - - Gets or sets the database parameter scale. - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets convert format of the database parameter value. - - - - - - Gets or sets the culture used for parsing parameter string-value for type-conversion - - - - - - Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values. - - - - - - Writes log messages to the database using an ADO.NET provider. - - - - NETSTANDARD cannot load connectionstrings from .config - - Documentation on NLog Wiki - - - The configuration is dependent on the database type, because - there are different methods of specifying connection string, SQL - command and command parameters. - - MS SQL Server using System.Data.SqlClient: - - Oracle using System.Data.OracleClient: - - Oracle using System.Data.OleDBClient: - - To set up the log target programmatically use code like this (an equivalent of MSSQL configuration): - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets the name of the database provider. - - - - The parameter name should be a provider invariant name as registered in machine.config or app.config. Common values are: - -
    -
  • System.Data.SqlClient - SQL Sever Client
  • -
  • System.Data.SqlServerCe.3.5 - SQL Sever Compact 3.5
  • -
  • System.Data.OracleClient - Oracle Client from Microsoft (deprecated in .NET Framework 4)
  • -
  • Oracle.DataAccess.Client - ODP.NET provider from Oracle
  • -
  • System.Data.SQLite - System.Data.SQLite driver for SQLite
  • -
  • Npgsql - Npgsql driver for PostgreSQL
  • -
  • MySql.Data.MySqlClient - MySQL Connector/Net
  • -
- (Note that provider invariant names are not supported on .NET Compact Framework). - - Alternatively the parameter value can be be a fully qualified name of the provider - connection type (class implementing ) or one of the following tokens: - -
    -
  • sqlserver, mssql, microsoft or msde - SQL Server Data Provider
  • -
  • oledb - OLEDB Data Provider
  • -
  • odbc - ODBC Data Provider
  • -
-
- -
- - - Gets or sets the connection string. When provided, it overrides the values - specified in DBHost, DBUserName, DBPassword, DBDatabase. - - - - - - Gets or sets the connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used. - - - - - - Gets the installation DDL commands. - - - - - - Gets the uninstallation DDL commands. - - - - - - Gets or sets a value indicating whether to keep the - database connection open between the log events. - - - - - - Obsolete - value will be ignored! The logging code always runs outside of transaction. - - Gets or sets a value indicating whether to use database transactions. - Some data providers require this. - - - - This option was removed in NLog 4.0 because the logging code always runs outside of transaction. - This ensures that the log gets written to the database if you rollback the main transaction because of an error and want to log the error. - - - - - Gets or sets the database host name. If the ConnectionString is not provided - this value will be used to construct the "Server=" part of the - connection string. - - - - - - Gets or sets the database user name. If the ConnectionString is not provided - this value will be used to construct the "User ID=" part of the - connection string. - - - - - - Gets or sets the database password. If the ConnectionString is not provided - this value will be used to construct the "Password=" part of the - connection string. - - - - - - Gets or sets the database name. If the ConnectionString is not provided - this value will be used to construct the "Database=" part of the - connection string. - - - - - - Gets or sets the text of the SQL command to be run on each log level. - - - Typically this is a SQL INSERT statement or a stored procedure call. - It should use the database-specific parameters (marked as @parameter - for SQL server or :parameter for Oracle, other data providers - have their own notation) and not the layout renderers, - because the latter is prone to SQL injection attacks. - The layout renderers should be specified as <parameter /> elements instead. - - - - - - Gets or sets the type of the SQL command to be run on each log level. - - - This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure". - When using the value StoredProcedure, the commandText-property would - normally be the name of the stored procedure. TableDirect method is not supported in this context. - - - - - - Gets the collection of parameters. Each item contains a mapping - between NLog layout and a database named or positional parameter. - - - - - - Gets the collection of properties. Each item contains a mapping - between NLog layout and a property on the DbConnection instance - - - - - - Gets the collection of properties. Each item contains a mapping - between NLog layout and a property on the DbCommand instance - - - - - - Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance. - - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Set the to use it for opening connections to the database. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the database. It creates - a new database command, prepares parameters for it by calculating - layouts and executes the command. - - The logging event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Write logEvent to database - - - - - Build the connectionstring from the properties. - - - Using at first, and falls back to the properties , - , and - - Event to render the layout inside the properties. - - - - - Escape quotes and semicolons. - See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722656(v=vs.85)#setting-values-that-use-reserved-characters - - - - - Create database parameter - - Current command. - Parameter configuration info. - - - - Extract parameter value from the logevent - - Current logevent. - Parameter configuration info. - - - - Create Default Value of Type - - - - - Fake transaction - - Transactions aren't in .NET Core: https://github.com/dotnet/corefx/issues/2949 - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Fake option - - - - - A descriptor for an archive created with the DateAndSequence numbering mode. - - - - - The full name of the archive file. - - - - - The parsed date contained in the file name. - - - - - The parsed sequence number contained in the file name. - - - - - Determines whether produces the same string as the current instance's date once formatted with the current instance's date format. - - The date to compare the current object's date to. - True if the formatted dates are equal, otherwise False. - - - - Initializes a new instance of the class. - - - - - Mock target - useful for testing. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the number of times this target has been called. - - - - - - Gets the last message rendered by this target. - - - - - - Increases the number of messages. - - The logging event. - - - - Default class for serialization of values to JSON format. - - - - - Singleton instance of the serializer. - - - - - Private. Use - - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - Serialized value. - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - serialisation options - Serialized value. - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - The objects in path (Avoid cyclic reference loop). - The current depth (level) of recursion. - Object serialized successfully (true/false). - - - - No quotes needed for this type? - - - - - Checks the object if it is numeric - - TypeCode for the object - Accept fractional types as numeric type. - - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - all options - JSON escaped string - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - Should non-ascii characters be encoded - - JSON escaped string - - - - Check if cleanup should be performed on initialize new file - - Skip cleanup when initializing new file, just after having performed archive operation - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Characters determining the start of the . - - - - - Characters determining the end of the . - - - - - File name which is used as template for matching and replacements. - It is expected to contain a pattern to match. - - - - - The begging position of the - within the . -1 is returned - when no pattern can be found. - - - - - The ending position of the - within the . -1 is returned - when no pattern can be found. - - - - - Replace the pattern with the specified String. - - - - - - - Archives the log-files using a date style numbering. Archives will be stamped with the - prior period (Year, Month, Day, Hour, Minute) datetime. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Archives the log-files using a date and sequence style numbering. Archives will be stamped - with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in - combination with the date). - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Parse filename with date and sequence pattern - - - dateformat for archive - - the found pattern. When failed, then default - the found pattern. When failed, then default - - - - - Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes - duplicate archive filenames, then sequence-style is automatically enforced. - - Example: - Base Filename trace.log - Next Filename trace.0.log - - The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern. - Before called the original IFileArchiveMode, that has been wrapped by this - - - - - Determines if the file name as contains a numeric pattern i.e. {#} in it. - - Example: - trace{#}.log Contains the numeric pattern. - trace{###}.log Contains the numeric pattern. - trace{#X#}.log Contains the numeric pattern (See remarks). - trace.log Does not contain the pattern. - - Occasionally, this method can identify the existence of the {#} pattern incorrectly. - File name to be checked. - when the pattern is found; otherwise. - - - - Archives the log-files using a rolling style numbering (the most recent is always #0 then - #1, ..., #N. - - When the number of archive files exceed the obsolete archives - are deleted. - - - - - Replaces the numeric pattern i.e. {#} in a file name with the parameter value. - - File name which contains the numeric pattern. - Value which will replace the numeric pattern. - File name with the value of in the position of the numeric pattern. - - - - Archives the log-files using a sequence style numbering. The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Modes of archiving files based on time. - - - - - Don't archive based on time. - - - - - AddToArchive every year. - - - - - AddToArchive every month. - - - - - AddToArchive daily. - - - - - AddToArchive every hour. - - - - - AddToArchive every minute. - - - - - AddToArchive every Sunday. - - - - - AddToArchive every Monday. - - - - - AddToArchive every Tuesday. - - - - - AddToArchive every Wednesday. - - - - - AddToArchive every Thursday. - - - - - AddToArchive every Friday. - - - - - AddToArchive every Saturday. - - - - - Type of filepath - - - - - Detect of relative or absolute - - - - - Relative path - - - - - Absolute path - - Best for performance - - - - Writes log messages to one or more files. - - Documentation on NLog Wiki - - - - Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list. - - Clean up period is defined in days. - - - - The maximum number of initialized files before clean up procedures are initiated, - to keep the number of initialized files to a minimum. Chose 25 to cater for monthly rolling of log-files. - - - - - This value disables file archiving based on the size. - - - - - Holds the initialized files each given time by the instance. Against each file, the last write time is stored. - - Last write time is store in local time (no UTC). - - - - List of the associated file appenders with the instance. - - - - - The number of initialized files at any one time. - - - - - The maximum number of archive files that should be kept. - - - - - The maximum days of archive files that should be kept. - - - - - The filename as target - - - - - The archive file name as target - - - - - The date of the previous log event. - - - - - The file name of the previous log event. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the name of the file to write to. - - - This FileName string is a layout which may include instances of layout renderers. - This lets you use a single target to write to multiple files. - - - The following value makes NLog write logging events to files based on the log level in the directory where - the application runs. - ${basedir}/${level}.log - All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on. - You can combine as many of the layout renderers as you want to produce an arbitrary log file name. - - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. - If set to false, nothing gets written when the filename is wrong. - - - - - - Is the an absolute or relative path? - - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - - Gets or sets a value indicating whether to delete old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - - - - - - Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end. - - - - - - Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event. - - - Setting this property to True helps improve performance. - - - - - - Gets or sets the maximum number of log file names that should be stored as existing. - - - The bigger this number is the longer it will take to write each log record. The smaller the number is - the higher the chance that the clean function will be run when no new files have been opened. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - - Gets or sets the file attributes (Windows only). - - - - - - Gets or sets the line ending mode. - - - - - - Gets or sets a value indicating whether to automatically flush the file buffers after each log message. - - - - - - Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance - in a situation where a single File target is writing to many files - (such as splitting by level or by logger). - - - The files are managed on a LRU (least recently used) basis, which flushes - the files that have not been used for the longest period of time should the - cache become full. As a rule of thumb, you shouldn't set this parameter to - a very high value. A number like 10-15 shouldn't be exceeded, because you'd - be keeping a large number of files open which consumes system resources. - - - - - - Gets or sets the maximum number of seconds that files are kept open. If this number is negative the files are - not automatically closed after a period of inactivity. - - - - - - Gets or sets the maximum number of seconds before open files are flushed. If this number is negative or zero - the files are not flushed by timer. - - - - - - Gets or sets the log file buffer size in bytes. - - - - - - Gets or sets the file encoding. - - - - - - Gets or sets whether or not this target should just discard all data that its asked to write. - Mostly used for when testing NLog Stack except final write - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts. - - - This effectively prevents files from being kept open. - - - - - - Gets or sets a value indicating whether to write BOM (byte order mark) in created files - - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - The actual delay is a random value between 0 and the value specified - in this parameter. On each failed attempt the delay base is doubled - up to times. - - - Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:

- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...

- and so on. - - - - -

- Gets or sets a value indicating whether to archive old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - After archiving the old file, the current log file will be empty. - - -
- - - Gets or sets a value of the file size threshold to archive old log file on startup. - - - This option won't work if is set to false - Default value is 0 which means that the file is archived as soon as archival on - startup is enabled. - - - - - - Gets or sets a value specifying the date format to use when archiving files. - - - This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence. - - - - - - Gets or sets the size in bytes above which log files will be automatically archived. - - Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. - Choose: - - - Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. - - - - - - Gets or sets a value indicating whether to automatically archive log files every time the specified time passes. - - - Files are moved to the archive as part of the write operation if the current period of time changes. For example - if the current hour changes from 10 to 11, the first write that will occur - on or after 11:00 will trigger the archiving. -

- Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. -

-
- -
- - - Is the an absolute or relative path? - - - - - - Gets or sets the name of the file to be used for an archive. - - - It may contain a special placeholder {#####} - that will be replaced with a sequence of numbers depending on - the archiving strategy. The number of hash characters used determines - the number of numerical digits to be used for numbering files. - - - - - - Gets or sets the maximum number of archive files that should be kept. - - - - - - Gets or sets the maximum days of archive files that should be kept. - - - - - - Gets or sets the way file archives are numbered. - - - - - - Used to compress log files during archiving. - This may be used to provide your own implementation of a zip file compressor, - on platforms other than .Net4.5. - Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise. - - - - - - Gets or sets a value indicating whether to compress archive files into the zip archive format. - - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - - Gets or sets a value indicating whether file creation calls should be synchronized by a system global mutex. - - - - - - Gets or sets a value indicating whether the footer should be written only when the file is archived. - - - - - - Gets the characters that are appended after each line. - - - - - Refresh the ArchiveFilePatternToWatch option of the . - The log file must be watched for archiving when multiple processes are writing to the same - open file. - - - - - Removes records of initialized files that have not been - accessed in the last two days. - - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Removes records of initialized files that have not been - accessed after the specified date. - - The cleanup threshold. - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Flushes all pending file operations. - - The asynchronous continuation. - - The timeout parameter is ignored, because file APIs don't provide - the needed functionality. - - - - - Returns the suitable appender factory ( ) to be used to generate the file - appenders associated with the instance. - - The type of the file appender factory returned depends on the values of various properties. - - suitable for this instance. - - - - Initializes file logging by creating data structures that - enable efficient multi-file logging. - - - - - Closes the file(s) opened for writing. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Writes the specified logging event to a file specified in the FileName - parameter. - - The logging event. - - - - Get full filename (=absolute) and cleaned if needed. - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes the specified array of logging events to a file specified in the FileName - parameter. - - An array of objects. - - This function makes use of the fact that the events are batched by sorting - the requests by filename. This optimizes the number of open/close calls - and can help improve performance. - - - - - Returns estimated size for memory stream, based on events count and first event size in bytes. - - Count of events - Bytes count of first event - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Gets the bytes to be written to the file. - - Log event. - Array of bytes that are ready to be written. - - - - Modifies the specified byte array before it gets sent to a file. - - The byte array. - The modified byte array. The function can do the modification in-place. - - - - Gets the bytes to be written to the file. - - The log event to be formatted. - to help format log event. - Optional temporary char-array to help format log event. - Destination for the encoded result. - - - - Formats the log event for write. - - The log event to be formatted. - for the result. - - - - Modifies the specified byte array before it gets sent to a file. - - The LogEvent being written - The byte array. - - - - Archives fileName to archiveFileName. - - File name to be archived. - Name of the archive file. - - - - Gets the correct formatting to be used based on the value of for converting values which will be inserting into file - names during archiving. - - This value will be computed only when a empty value or is passed into - - Date format to used irrespectively of value. - Formatting for dates. - - - - Calculate the DateTime of the requested day of the week. - - The DateTime of the previous log event. - The next occuring day of the week to return a DateTime for. - The DateTime of the next occuring dayOfWeek. - For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return - Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. - - - - Invokes the archiving process after determining when and which type of archiving is required. - - File name to be checked and archived. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - - - - Gets the pattern that archive files will match - - Filename of the log file - Log event that the instance is currently processing. - A string with a pattern that will match the archive file names - - - - Archives the file if it should be archived. - - The file name to check for. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - True when archive operation of the file was completed (by this target or a concurrent target) - - - - Closes any active file-appenders that matches the input filenames. - File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive - - - - - Indicates if the automatic archiving process should be executed. - - File name to be written. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Returns the correct filename to archive - - - - - Gets the file name for archiving, or null if archiving should not occur based on file size. - - File name to be written. - The size in bytes of the next chunk of data to be written in the file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists - - - - - Returns the file name for archiving, or null if archiving should not occur based on date/time. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - - High resolution Time - Time Resolution Level - Truncated Low Resolution Time - - - - Evaluates which parts of a file should be written (header, content, footer) based on various properties of - instance and writes them. - - File name to be written. - Raw sequence of to be written into the content part of the file. - File has just been opened. - - - - Initialise a file to be used by the instance. Based on the number of initialized - files and the values of various instance properties clean up and/or archiving processes can be invoked. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file (DateTime.MinValue if just initialized). - - - - Writes the file footer and finalizes the file in instance internal structures. - - File name to close. - Indicates if the file is being finalized for archiving. - - - - Writes the footer information to a file. - - The file path to write to. - - - - Decision logic whether to archive logfile on startup. - and properties. - - File name to be written. - Decision whether to archive or not. - - - - Invokes the archiving and clean up of older archive file based on the values of - and - properties respectively. - - File name to be written. - Log event that the instance is currently processing. - - - - Creates the file specified in and writes the file content in each entirety i.e. - Header, Content and Footer. - - The name of the file to be written. - Sequence of to be written in the content section of the file. - First attempt to write? - This method is used when the content of the log file is re-written on every write. - - - - Writes the header information and byte order mark to a file. - - File appender associated with the file. - - - - The sequence of to be written in a file after applying any formatting and any - transformations required from the . - - The layout used to render output message. - Sequence of to be written. - Usually it is used to render the header and hooter of the files. - - - - Controls the text and color formatting for - - - - - Creates a TextWriter for the console to start building a colored text message - - Active console stream - Optional StringBuilder to optimize performance - TextWriter for the console - - - - Releases the TextWriter for the console after having built a colored text message (Restores console colors) - - Colored TextWriter - Active console stream - Original foreground color for console (If changed) - Original background color for console (If changed) - Flush TextWriter - - - - Changes foreground color for the Colored TextWriter - - Colored TextWriter - New foreground color for the console - Old previous backgroundColor color for the console - Old foreground color for the console - - - - Changes backgroundColor color for the Colored TextWriter - - Colored TextWriter - New backgroundColor color for the console - Old previous backgroundColor color for the console - Old backgroundColor color for the console - - - - Restores console colors back to their original state - - Colored TextWriter - Original foregroundColor color for the console - Original backgroundColor color for the console - - - - Writes multiple characters to console in one operation (faster) - - Colored TextWriter - Output Text - Start Index - End Index - - - - Writes single character to console - - Colored TextWriter - Output Text - - - - Writes whole string and completes with newline - - Colored TextWriter - Output Text - - - - Default row highlight rules for the console printer - - - - - Check if cleanup should be performed on initialize new file - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Create a wildcard file-mask that allows one to find all files belonging to the same archive. - - Base archive file pattern - Wildcard file-mask - - - - Search directory for all existing files that are part of the same archive. - - Base archive file pattern - - - - - Generate the next archive filename for the archive. - - Base archive file pattern - File date of archive - Existing files in the same archive - - - - - Return all files that should be removed from the provided archive. - - Base archive file pattern - Existing files in the same archive - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - - - - may be configured to compress archived files in a custom way - by setting before logging your first event. - - - - - Create archiveFileName by compressing fileName. - - Absolute path to the log file to compress. - Absolute path to the compressed archive file to create. - - - - Interface for serialization of values, maybe even objects to JSON format. - Useful for wrappers for existing serializers. - - - - - Returns a serialization of an object - into JSON format. - - The object to serialize to JSON. - Serialized value (null = Serialize failed). - - - - Options for JSON serialisation - - - - - Add quotes around object keys? - - - - - Format provider for value - - - - - Format string for value - - - - - Should non-ascii characters be encoded - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - - - Serialize enum as string value - - - - - Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_). - - Any other characters will be converted to underscore character (_) - - - - - How far down the rabbit hole should the Json Serializer go with object-reflection before stopping - - - - Initializes a new instance of the class. - - - - Line ending mode. - - - - - Insert platform-dependent end-of-line sequence after each line. - - - - - Insert CR LF sequence (ASCII 13, ASCII 10) after each line. - - - - - Insert CR character (ASCII 13) after each line. - - - - - Insert LF character (ASCII 10) after each line. - - - - - Insert null terminator (ASCII 0) after each line. - - - - - Do not insert any line ending. - - - - - Gets the name of the LineEndingMode instance. - - - - - Gets the new line characters (value) of the LineEndingMode instance. - - - - - Initializes a new instance of . - - The mode name. - The new line characters to be used. - - - - Returns the that corresponds to the supplied . - - - The textual representation of the line ending mode, such as CRLF, LF, Default etc. - Name is not case sensitive. - - The value, that corresponds to the . - There is no line ending mode with the specified name. - - - - Compares two objects and returns a - value indicating whether the first one is equal to the second one. - - The first level. - The second level. - The value of mode1.NewLineCharacters == mode2.NewLineCharacters. - - - - Compares two objects and returns a - value indicating whether the first one is not equal to the second one. - - The first mode - The second mode - The value of mode1.NewLineCharacters != mode2.NewLineCharacters. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms - and data structures like a hash table. - - - - - Determines whether the specified is - equal to this instance. - - The to compare with - this instance. - - Value of true if the specified - is equal to this instance; otherwise, false. - - - The parameter is null. - - - - Indicates whether the current object is equal to another object of the same type. - true if the current object is equal to the parameter; otherwise, false. - An object to compare with this object. - - - - Provides a type converter to convert objects to and from other representations. - - - - - Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context. - - - true if this converter can perform the conversion; otherwise, false. - - An that provides a format context. A that represents the type you want to convert from. - - - - Converts the given object to the type of this converter, using the specified context and culture information. - - - An that represents the converted value. - - An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed. - - - - Writes log messages to in memory for programmatic retrieval. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the list of logs gathered in the . - - - - - Gets or sets the max number of items to have in memory - - - - - - Renders the logging event message and adds to - - The logging event. - - - - A parameter to MethodCall. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout to use for parameter value. - - - - Initializes a new instance of the class. - - Name of the parameter. - The layout. - - - - Initializes a new instance of the class. - - The name of the parameter. - The layout. - The type of the parameter. - - - - Gets or sets the name of the parameter. - - - - - - Gets or sets the type of the parameter. Obsolete alias for - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Calls the specified static method on each log message and passes contextual parameters to it. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets the class name. - - - - - - Gets or sets the method name. The method must be public and static. - - Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx - e.g. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - Name of the target. - Method to call on logevent. - - - - Initializes the target. - - - - - Calls the specified Method. - - Method parameters. - The logging event. - - - - Calls the specified Method. - - Method parameters. - - - - The base class for all targets which call methods (local or remote). - Manages parameters and type coercion. - - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - - - - Prepares an array of parameters to be passed based on the logging event and calls DoInvoke(). - - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Sends log messages over the network. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- To print the results, use any application that's able to receive messages over - TCP or UDP. NetCat is - a simple but very powerful command-line tool that can be used for that. This image - demonstrates the NetCat tool receiving log messages from Network target. -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will be very slow. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-

- There are two specialized versions of the Network target: Chainsaw - and NLogViewer which write to instances of Chainsaw log4j viewer - or NLogViewer application respectively. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the network address. - - - The network address can be: -
    -
  • tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
  • -
  • tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
  • -
  • tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
  • -
  • udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • http://host:port/pageName - HTTP using POST verb
  • -
  • https://host:port/pageName - HTTPS using POST verb
  • -
- For SOAP-based webservice support over HTTP use WebService target. -
- -
- - - Gets or sets a value indicating whether to keep connection open whenever possible. - - - - - - Gets or sets a value indicating whether to append newline at the end of log message. - - - - - - Gets or sets the end of line value if a newline is appended at the end of log message . - - - - - - Gets or sets the maximum message size in bytes. - - - - - - Gets or sets the size of the connection cache (number of connections which are kept alive). - - - - - - Gets or sets the maximum current connections. 0 = no maximum. - - - - - - Gets or sets the action that should be taken if the will be more connections than . - - - - - - Gets or sets the maximum queue size. - - - - - - Gets or sets the action that should be taken if the message is larger than - maxMessageSize. - - - - - - Gets or sets the encoding to be used. - - - - - - Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. - - - - - - The number of seconds a connection will remain idle before the first keep-alive probe is sent - - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Sends the - rendered logging event over the network optionally concatenating it with a newline character. - - The logging event. - - - - Try to remove. - - - - - removed something? - - - - Gets the bytes to be written. - - Log event. - Byte array. - - - - The action to be taken when there are more connections then the max. - - - - - Just allow it. - - - - - Discard the connection item. - - - - - Block until there's more room in the queue. - - - - - Action that should be taken if the message overflows. - - - - - Report an error. - - - - - Split the message into smaller pieces. - - - - - Discard the entire message. - - - - - Represents a parameter to a NLogViewer target. - - - - - Initializes a new instance of the class. - - - - - Gets or sets viewer parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - Sends log messages to the remote instance of NLog Viewer. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include stack contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the renderer for log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets the layout renderer which produces Log4j-compatible XML events. - - - - - Gets or sets the instance of that is used to format log messages. - - - - - - Discards log messages. Used mainly for debugging and benchmarking. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets a value indicating whether to perform layout calculation. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Does nothing. Optionally it calculates the layout text but - discards the results. - - The logging event. - - - - Outputs log messages through the OutputDebugString() Win32 API. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - - - - Represents logging target. - - - - Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts - - - - The Max StackTraceUsage of all the in this Target - - - - - Gets or sets the name of the target. - - - - - - Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers - Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - - - - Can be used if has been enabled. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - This method won't prerender if all layouts in this target are thread-agnostic. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Writes async log event to the log target. - - Async Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Log event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - NOTE! Obsolete, instead override WriteAsyncThreadSafe(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target, in a thread safe manner. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Renders the event info in layout. - - The layout. - The event info. - String representing log event. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Should the exception be rethrown? - - - Upgrade to private protected when using C# 7.2 - - - - Marks class as a logging target and assigns a name to it. - - This attribute is not required when registering the target in the API. - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page). - - - - - Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page). - - - - - Attribute details for - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Gets or sets when an empty value should cause the property to be included - - - - - Gets or sets the type of the property. - - - - - Represents target that supports context capture using MDLC, MDC, NDLC and NDC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets or sets a value indicating whether to include contents of the dictionary - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the - - - - - - Gets the array of custom attributes to be passed into the logevent context - - - - - - Constructor - - - - - - - - Check if logevent has properties (or context properties) - - - True if properties should be included - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Dictionary with any context properties for the logEvent (Null if none found) - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Optional prefilled dictionary - Dictionary with any context properties for the logEvent (Null if none found) - - - - Creates combined dictionary of all configured properties for logEvent - - - Dictionary with all collected properties for logEvent - - - - Creates combined dictionary of all configured properties for logEvent - - - Optional prefilled dictionary - Dictionary with all collected properties for logEvent - - - - Generates a new unique name, when duplicate names are detected - - LogEvent that triggered the duplicate name - Duplicate item name - Item Value - Dictionary of context values - New (unique) value (or null to skip value). If the same value is used then the item will be overwritten - - - - Returns the captured snapshot of for the - - - Dictionary with MDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with MDLC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with GDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDC key - MDC value - Snapshot of MDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDLC key - MDLC value - Snapshot of MDLC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDC value - Snapshot of NDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDLC value - Snapshot of NDLC value - Include object value in snapshot - - - - Take snapshot of a single object value - - Log event - Key Name (null when NDC / NDLC) - Object Value - Snapshot of value - Include object value in snapshot - - - Internal Layout that allows capture of MDC context - - - Internal Layout that allows capture of NDC context - - - Internal Layout that allows capture of MDLC context - - - Internal Layout that allows capture of NDLC context - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the layout used to format log messages. - - - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the text to be rendered. - - - - - - Gets or sets the footer. - - - - - - Gets or sets the header. - - - - - - Gets or sets the layout with header and footer. - - The layout with header and footer. - - - - Sends log messages through System.Diagnostics.Trace. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Always use independent of - - - - - - Forward to (Instead of ) - - - Trace.Fail can have special side-effects, and give fatal exceptions, message dialogs or Environment.FailFast - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Writes the specified logging event to the facility. - - Redirects the log message depending on and . - When is false: - - writes to - - writes to - - writes to - - writes to - - writes to - - writes to - - The logging event. - - - - Web service protocol. - - - - - Use SOAP 1.1 Protocol. - - - - - Use SOAP 1.2 Protocol. - - - - - Use HTTP POST Protocol. - - - - - Use HTTP GET Protocol. - - - - - Do an HTTP POST of a JSON document. - - - - - Do an HTTP POST of an XML document. - - - - - Web Service Proxy Configuration Type - - - - - Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy) - - - Example of how to configure default proxy using app.config - - <system.net> - <defaultProxy enabled = "true" useDefaultCredentials = "true" > - <proxy usesystemdefault = "True" /> - </defaultProxy> - </system.net> - - - - - - Automatic use of proxy with authentication (cached) - - - - - Disables use of proxy (fast) - - - - - Custom proxy address (cached) - - - - - Calls the specified web service on each log message. - - Documentation on NLog Wiki - - The web service must implement a method that accepts a number of string parameters. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

The example web service that works with this example is shown below

- -
-
- - - dictionary that maps a concrete implementation - to a specific -value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target - - - - Gets or sets the web service URL. - - - - - - Gets or sets the value of the User-agent HTTP header. - - - - - - Gets or sets the Web service method name. Only used with Soap. - - - - - - Gets or sets the Web service namespace. Only used with Soap. - - - - - - Gets or sets the protocol to be used when calling web service. - - - - - - Gets or sets the proxy configuration when calling web service - - - - - - Gets or sets the custom proxy address, include port separated by a colon - - - - - - Should we include the BOM (Byte-order-mark) for UTF? Influences the property. - - This will only work for UTF-8. - - - - - - Gets or sets the encoding. - - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Gets or sets the name of the root XML element, - if POST of XML document chosen. - If so, this property must not be null. - (see and ). - - - - - - Gets or sets the (optional) root namespace of the XML document, - if POST of XML document chosen. - (see and ). - - - - - - Gets the array of parameters to be passed. - - - - - - Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters) - - - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Invokes the web service method. - - Parameters to be passed. - The logging event. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. - - - - - - - Write from input to output. Fix the UTF-8 bom - - - - - - - - - base class for POST formatters, that - implement former PrepareRequest() method, - that creates the content for - the requested kind of HTTP request - - - - - Win32 file attributes. - - - For more information see https://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp. - - - - - Read-only file. - - - - - Hidden file. - - - - - System file. - - - - - File should be archived. - - - - - Device file. - - - - - Normal file. - - - - - File is temporary (should be kept in cache and not - written to disk if possible). - - - - - Sparse file. - - - - - Reparse point. - - - - - Compress file contents. - - - - - File should not be indexed by the content indexing service. - - - - - Encrypted file. - - - - - The system writes through any intermediate cache and goes directly to disk. - - - - - The system opens a file with no system caching. - - - - - Delete file after it is closed. - - - - - A file is accessed according to POSIX rules. - - - - - Asynchronous request queue. - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Gets or sets the request limit. - - - - - Gets or sets the action to be taken when there's no more room in - the queue and another request is enqueued. - - - - - Notifies about log event that was dropped when set to - - - - - Notifies when queue size is growing over - - - - - Raise event when queued element was dropped because of queue overflow - - Dropped queue item - - - - Raise event when RequestCount overflow - - current requests count - - - - Provides asynchronous, buffered execution of target writes. - - Documentation on NLog Wiki - -

- Asynchronous target wrapper allows the logger code to execute more quickly, by queueing - messages and processing them in a separate thread. You should wrap targets - that spend a non-trivial amount of time in their Write() method with asynchronous - target to speed up logging. -

-

- Because asynchronous logging is quite a common scenario, NLog supports a - shorthand notation for wrapping all targets with AsyncWrapper. Just add async="true" to - the <targets/> element in the configuration file. -

- - - ... your targets go here ... - - ]]> -
- -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of requests in the queue. - The action to be taken when the queue overflows. - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity) - - - - - - Raise event when Target cannot store LogEvent. - Event arg contains lost LogEvents - - - - - Raises when event queue grow. - Queue can grow when was set to - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the limit of full s to write before yielding into - Performance is better when writing many small batches, than writing a single large batch - - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - - Gets the queue of lazy writer thread requests. - - - - - Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target by starting the lazy writer timer. - - - - - Shuts down the lazy writer timer. - - - - - Starts the lazy writer thread which periodically writes - queued log messages. - - - - - Attempts to start an instant timer-worker-thread which can write - queued log messages. - - Returns true when scheduled a timer-worker-thread - - - - Stops the lazy writer thread. - - - - - Adds the log event to asynchronous queue to be processed by - the lazy writer thread. - - The log event. - - The is called - to ensure that the log event can be processed in another thread. - - - - - Write to queue without locking - - - - - - The action to be taken when the queue overflows. - - - - - Grow the queue. - - - - - Discard the overflowing item. - - - - - Block until there's more room in the queue. - - - - - Causes a flush on a wrapped target if LogEvent satisfies the . - If condition isn't set, flushes on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Gets or sets the condition expression. Log events who meet this condition will cause - a flush on the wrapped target. - - - - - - Delay the flush until the LogEvent has been confirmed as written - - If not explicitly set, then disabled by default for and AsyncTaskTarget - - - - - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - The wrapped target. - Name of the target - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes the target. - - - - - Forwards the call to the .Write() - and calls on it if LogEvent satisfies - the flush condition or condition is null. - - Logging event to be written out. - - - - Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - A target that buffers log events and sends them in batches to the wrapped target. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - The action to take when the buffer overflows. - - - - Gets or sets the number of log events to be buffered. - - - - - - Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed - if there's no write in the specified period of time. Use -1 to disable timed flushes. - - - - - - Gets or sets a value indicating whether to use sliding timeout. - - - This value determines how the inactivity period is determined. If sliding timeout is enabled, - the inactivity timer is reset after each write, if it is disabled - inactivity timer will - count from the first event written to the buffer. - - - - - - Gets or sets the action to take if the buffer overflows. - - - Setting to will replace the - oldest event with new events without sending events down to the wrapped target, and - setting to will flush the - entire buffer to the wrapped target. - - - - - - Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target. - - - - - Closes the target by flushing pending events in the buffer (if any). - - - - - Adds the specified log event to the buffer and flushes - the buffer in case the buffer gets full. - - The log event. - - - - The action to be taken when the buffer overflows. - - - - - Flush the content of the buffer. - - - - - Discard the oldest item. - - - - - A base class for targets which wrap other (multiple) targets - and provide various forms of target routing. - - - - - Initializes a new instance of the class. - - The targets. - - - - Gets the collection of targets managed by this compound target. - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Writes logging event to the log target. - - Logging event to be written out. - - - - Flush any pending log messages for all wrapped targets. - - The asynchronous continuation. - - - - Concurrent Asynchronous request queue based on - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - Only for debugging purposes - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Provides fallback-on-error. - - Documentation on NLog Wiki - -

This example causes the messages to be written to server1, - and if it fails, messages go to server2.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Gets or sets a value indicating whether to return to the first target after any successful write. - - - - - - - - - - - - Forwards the log event to the sub-targets until one of them succeeds. - - The log event. - - The method remembers the last-known-successful target - and starts the iteration from it. - If is set, the method - resets the target to the first target - stored in . - - - - - Filtering rule for . - - - - - Initializes a new instance of the FilteringRule class. - - - - - Initializes a new instance of the FilteringRule class. - - Condition to be tested against all events. - Filter to apply to all log events when the first condition matches any of them. - - - - Gets or sets the condition to be tested. - - - - - - Gets or sets the resulting filter to be applied when the condition matches. - - - - - - Filters log entries based on a condition. - - Documentation on NLog Wiki - -

This example causes the messages not contains the string '1' to be ignored.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The condition. - - - - Initializes a new instance of the class. - - The wrapped target. - The condition. - - - - Gets or sets the condition expression. Log events who meet this condition will be forwarded - to the wrapped target. - - - - - - Gets or sets the filter. Log events who evaluates to will be discarded - - - - - - - - - Checks the condition against the passed log event. - If the condition is met, the log event is forwarded to - the wrapped target. - - Log event. - - - - - - - Limits the number of messages written per timespan to the wrapped target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of messages written per interval. - Interval in which the maximum number of messages can be written. - - - - Gets or sets the maximum allowed number of messages written per . - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets or sets the interval in which messages will be written up to the number of messages. - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets the DateTime when the current will be reset. - - - - - - Gets the number of written in the current . - - - - - - Initializes the target and resets the current Interval and . - - - - - Writes log event to the wrapped target if the current is lower than . - If the is already reached, no log event will be written to the wrapped target. - resets when the current is expired. - - Log event to be written out. - - - - Arguments for events. - - - - - - - - Instance of that was dropped by - - - - - Raises by when - queue is full - and set to - By default queue doubles it size. - - - - - Contains items count and new queue size. - - Required queue size - Current queue size - - - - New queue size - - - - - Current requests count - - - - - Filters buffered log entries based on a set of conditions that are evaluated on a group of events. - - Documentation on NLog Wiki - - PostFilteringWrapper must be used with some type of buffering target or wrapper, such as - AsyncTargetWrapper, BufferingWrapper or ASPNetBufferingWrapper. - - -

- This example works like this. If there are no Warn,Error or Fatal messages in the buffer - only Info messages are written to the file, but if there are any warnings or errors, - the output includes detailed trace (levels >= Debug). You can plug in a different type - of buffering wrapper (such as ASPNetBufferingWrapper) to achieve different - functionality. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Gets or sets the default filter to be applied when no specific rule matches. - - - - - - Gets the collection of filtering rules. The rules are processed top-down - and the first rule that matches determines the filtering condition to - be applied to log events. - - - - - - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Evaluates all filtering rules to find the first one that matches. - The matching rule determines the filtering condition to be applied - to all items in a buffer. If no condition matches, default filter - is applied to the array of log events. - - Array of log events to be post-filtered. - - - - Evaluate all the rules to get the filtering condition - - - - - - - Sends log messages to a randomly selected target. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt - chosen randomly on a per-message basis. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the log event to one of the sub-targets. - The sub-target is randomly chosen. - - The log event. - - - - Repeats each log event the specified number of times. - - Documentation on NLog Wiki - -

This example causes each log message to be repeated 3 times.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The repeat count. - - - - Initializes a new instance of the class. - - The wrapped target. - The repeat count. - - - - Gets or sets the number of times to repeat each log message. - - - - - - Forwards the log message to the by calling the method times. - - The log event. - - - - Retries in case of write error. - - Documentation on NLog Wiki - -

This example causes each write attempt to be repeated 3 times, - sleeping 1 second between attempts if first one fails.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Initializes a new instance of the class. - - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure. - - - - - - Gets or sets the time to wait between retries in milliseconds. - - - - - - Special SyncObject to allow closing down Target while busy retrying - - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Writes the specified log event to the wrapped target in a thread-safe manner. - - The log event. - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Distributes log events to targets in a round-robin fashion. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt. - Each odd message is written to file2.txt, each even message goes to file1.txt. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Ensures forwarding happens without holding lock - - - - - - Forwards the write to one of the targets from - the collection. - - The log event. - - The writes are routed in a round-robin fashion. - The first log event goes to the first target, the second - one goes to the second target and so on looping to the - first target when there are no more targets available. - In general request N goes to Targets[N % Targets.Count]. - - - - - Writes log events to all targets. - - Documentation on NLog Wiki - -

This example causes the messages to be written to both file1.txt or file2.txt -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the specified log event to all sub-targets. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Base class for targets wrap other (single) targets. - - - - - Gets or sets the target that is wrapped by this target. - - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Builtin IFileCompressor implementation utilizing the .Net4.5 specific - and is used as the default value for on .Net4.5. - So log files created via can be zipped when archived - w/o 3rd party zip library when run on .Net4.5 or higher. - - - - - Implements using the .Net4.5 specific - - - - - Current local time retrieved directly from DateTime.Now. - - - - - Gets current local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Current UTC time retrieved directly from DateTime.UtcNow. - - - - - Gets current UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Fast time source that updates current time only once per tick (15.6 milliseconds). - - - - - Gets raw uncached time from derived time source. - - - - - Gets current time cached for one system tick (15.6 milliseconds). - - - - - Fast local time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Fast UTC time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Defines source of current time. - - - - - Gets current time. - - - - - Gets or sets current global time source used in all log events. - - - Default time source is . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to the same form - as time values originated from this source. - - - - There are situations when NLog have to compare the time originated from TimeSource - to the time originated externally in the system. - To be able to provide meaningful result of such comparisons the system time must be expressed in - the same form as TimeSource time. - - - Examples: - - If the TimeSource provides time values of local time, it should also convert the provided - to the local time. - - If the TimeSource shifts or skews its time values, it should also apply - the same transform to the given . - - - - - - Marks class as a time source and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the time source. - -
-
diff --git a/app/packages/NLog.4.7.15/lib/netstandard2.0/NLog.dll b/app/packages/NLog.4.7.15/lib/netstandard2.0/NLog.dll deleted file mode 100644 index 23bbb05..0000000 Binary files a/app/packages/NLog.4.7.15/lib/netstandard2.0/NLog.dll and /dev/null differ diff --git a/app/packages/NLog.4.7.15/lib/netstandard2.0/NLog.xml b/app/packages/NLog.4.7.15/lib/netstandard2.0/NLog.xml deleted file mode 100644 index a60ffda..0000000 --- a/app/packages/NLog.4.7.15/lib/netstandard2.0/NLog.xml +++ /dev/null @@ -1,27696 +0,0 @@ - - - - NLog - - - - - Indicates that the value of the marked element could be null sometimes, - so the check for null is necessary before its usage. - - - [CanBeNull] object Test() => null; - - void UseTest() { - var p = Test(); - var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' - } - - - - - Indicates that the value of the marked element could never be null. - - - [NotNull] object Foo() { - return null; // Warning: Possible 'null' assignment - } - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can never be null. - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can be null. - - - - - Indicates that the marked method builds string by format pattern and (optional) arguments. - Parameter, which contains format string, should be given in constructor. The format string - should be in -like form. - - - [StringFormatMethod("message")] - void ShowError(string message, params object[] args) { /* do something */ } - - void Foo() { - ShowError("Failed: {0}"); // Warning: Non-existing argument in format string - } - - - - - Specifies which parameter of an annotated method should be treated as format-string - - - - - For a parameter that is expected to be one of the limited set of values. - Specify fields of which type should be used as values for this parameter. - - - - - Indicates that the function argument should be string literal and match one - of the parameters of the caller function. For example, ReSharper annotates - the parameter of . - - - void Foo(string param) { - if (param == null) - throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol - } - - - - - Indicates that the method is contained in a type that implements - System.ComponentModel.INotifyPropertyChanged interface and this method - is used to notify that some property value changed. - - - The method should be non-static and conform to one of the supported signatures: - - NotifyChanged(string) - NotifyChanged(params string[]) - NotifyChanged{T}(Expression{Func{T}}) - NotifyChanged{T,U}(Expression{Func{T,U}}) - SetProperty{T}(ref T, T, string) - - - - public class Foo : INotifyPropertyChanged { - public event PropertyChangedEventHandler PropertyChanged; - - [NotifyPropertyChangedInvocator] - protected virtual void NotifyChanged(string propertyName) { ... } - - string _name; - - public string Name { - get { return _name; } - set { _name = value; NotifyChanged("LastName"); /* Warning */ } - } - } - - Examples of generated notifications: - - NotifyChanged("Property") - NotifyChanged(() => Property) - NotifyChanged((VM x) => x.Property) - SetProperty(ref myField, value, "Property") - - - - - - Describes dependency between method input and output. - - -

Function Definition Table syntax:

- - FDT ::= FDTRow [;FDTRow]* - FDTRow ::= Input => Output | Output <= Input - Input ::= ParameterName: Value [, Input]* - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} - Value ::= true | false | null | notnull | canbenull - - If method has single input parameter, it's name could be omitted.
- Using halt (or void/nothing, which is the same) for method output - means that the methods doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute - with rows separated by semicolon. There is no notion of order rows, all rows are checked - for applicability and applied per each program state tracked by R# analysis.
-
- - - [ContractAnnotation("=> halt")] - public void TerminationMethod() - - - [ContractAnnotation("halt <= condition: false")] - public void Assert(bool condition, string text) // regular assertion method - - - [ContractAnnotation("s:null => true")] - public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() - - - // A method that returns null if the parameter is null, - // and not null if the parameter is not null - [ContractAnnotation("null => null; notnull => notnull")] - public object Transform(object data) - - - [ContractAnnotation("=> true, result: notnull; => false, result: null")] - public bool TryParse(string s, out Person result) - - -
- - - Indicates that marked element should be localized or not. - - - [LocalizationRequiredAttribute(true)] - class Foo { - string str = "my string"; // Warning: Localizable string - } - - - - - Indicates that the value of the marked type (or its derivatives) - cannot be compared using '==' or '!=' operators and Equals() - should be used instead. However, using '==' or '!=' for comparison - with null is always permitted. - - - [CannotApplyEqualityOperator] - class NoEquality { } - - class UsesNoEquality { - void Test() { - var ca1 = new NoEquality(); - var ca2 = new NoEquality(); - if (ca1 != null) { // OK - bool condition = ca1 == ca2; // Warning - } - } - } - - - - - When applied to a target attribute, specifies a requirement for any type marked - with the target attribute to implement or inherit specific type or types. - - - [BaseTypeRequired(typeof(IComponent)] // Specify requirement - class ComponentAttribute : Attribute { } - - [Component] // ComponentAttribute requires implementing IComponent interface - class MyComponent : IComponent { } - - - - - Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), - so this symbol will not be marked as unused (as well as by other usage inspections). - - - - - Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes - as unused (as well as by other usage inspections) - - - - Only entity marked with attribute considered used. - - - Indicates implicit assignment to a member. - - - - Indicates implicit instantiation of a type with fixed constructor signature. - That means any unused constructor parameters won't be reported as such. - - - - Indicates implicit instantiation of a type. - - - - Specify what is considered used implicitly when marked - with or . - - - - Members of entity marked with attribute are considered used. - - - Entity marked with attribute and all its members considered used. - - - - This attribute is intended to mark publicly available API - which should not be removed and so is treated as used. - - - - - Tells code analysis engine if the parameter is completely handled when the invoked method is on stack. - If the parameter is a delegate, indicates that delegate is executed while the method is executed. - If the parameter is an enumerable, indicates that it is enumerated while the method is executed. - - - - - Indicates that a method does not make any observable state changes. - The same as System.Diagnostics.Contracts.PureAttribute. - - - [Pure] int Multiply(int x, int y) => x * y; - - void M() { - Multiply(123, 42); // Waring: Return value of pure method is not used - } - - - - - Indicates that the return value of method invocation must be used. - - - - - Indicates the type member or parameter of some type, that should be used instead of all other ways - to get the value that type. This annotation is useful when you have some "context" value evaluated - and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one. - - - class Foo { - [ProvidesContext] IBarService _barService = ...; - - void ProcessNode(INode node) { - DoSomething(node, node.GetGlobalServices().Bar); - // ^ Warning: use value of '_barService' field - } - } - - - - - Indicates that a parameter is a path to a file or a folder within a web project. - Path can be relative or absolute, starting from web root (~). - - - - - An extension method marked with this attribute is processed by ReSharper code completion - as a 'Source Template'. When extension method is completed over some expression, it's source code - is automatically expanded like a template at call site. - - - Template method body can contain valid source code and/or special comments starting with '$'. - Text inside these comments is added as source code when the template is applied. Template parameters - can be used either as additional method parameters or as identifiers wrapped in two '$' signs. - Use the attribute to specify macros for parameters. - - - In this example, the 'forEach' method is a source template available over all values - of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block: - - [SourceTemplate] - public static void forEach<T>(this IEnumerable<T> xs) { - foreach (var x in xs) { - //$ $END$ - } - } - - - - - - Allows specifying a macro for a parameter of a source template. - - - You can apply the attribute on the whole method or on any of its additional parameters. The macro expression - is defined in the property. When applied on a method, the target - template parameter is defined in the property. To apply the macro silently - for the parameter, set the property value = -1. - - - Applying the attribute on a source template method: - - [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] - public static void forEach<T>(this IEnumerable<T> collection) { - foreach (var item in collection) { - //$ $END$ - } - } - - Applying the attribute on a template method parameter: - - [SourceTemplate] - public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { - /*$ var $x$Id = "$newguid$" + x.ToString(); - x.DoSomething($x$Id); */ - } - - - - - - Allows specifying a macro that will be executed for a source template - parameter when the template is expanded. - - - - - Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. - - - If the target parameter is used several times in the template, only one occurrence becomes editable; - other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, - use values >= 0. To make the parameter non-editable when the template is expanded, use -1. - > - - - - Identifies the target parameter of a source template if the - is applied on a template method. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC action. If applied to a method, the MVC action name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC area. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is - an MVC controller. If applied to a method, the MVC controller name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC - partial view. If applied to a method, the MVC partial view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC template. - Use this attribute for custom wrappers similar to - System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component. If applied to a method, the MVC view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Controller.View(Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component name. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component view. If applied to a method, the MVC view component view name is default. - - - - - ASP.NET MVC attribute. When applied to a parameter of an attribute, - indicates that this parameter is an MVC action name. - - - [ActionName("Foo")] - public ActionResult Login(string returnUrl) { - ViewBag.ReturnUrl = Url.Action("Foo"); // OK - return RedirectToAction("Bar"); // Error: Cannot resolve action - } - - - - - Razor attribute. Indicates that a parameter or a method is a Razor section. - Use this attribute for custom wrappers similar to - System.Web.WebPages.WebPageBase.RenderSection(String). - - - - - Indicates how method, constructor invocation or property access - over collection type affects content of the collection. - - - - Method does not use or modify content of the collection. - - - Method only reads content of the collection but does not modify it. - - - Method can change content of the collection but does not add new elements. - - - Method can add new elements to the collection. - - - - Indicates that the marked method is assertion method, i.e. it halts control flow if - one of the conditions is satisfied. To set the condition, mark one of the parameters with - attribute. - - - - - Indicates the condition parameter of the assertion method. The method itself should be - marked by attribute. The mandatory argument of - the attribute is the assertion type. - - - - - Specifies assertion type. If the assertion method argument satisfies the condition, - then the execution continues. Otherwise, execution is assumed to be halted. - - - - Marked parameter should be evaluated to true. - - - Marked parameter should be evaluated to false. - - - Marked parameter should be evaluated to null value. - - - Marked parameter should be evaluated to not null value. - - - - Indicates that the marked method unconditionally terminates control flow execution. - For example, it could unconditionally throw exception. - - - - - Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select, - .Where). This annotation allows inference of [InstantHandle] annotation for parameters - of delegate type by analyzing LINQ method chains. - - - - - Indicates that IEnumerable, passed as parameter, is not enumerated. - - - - - Indicates that parameter is regular expression pattern. - - - - - Prevents the Member Reordering feature from tossing members of the marked class. - - - The attribute must be mentioned in your member reordering patterns - - - - - XAML attribute. Indicates the type that has ItemsSource property and should be treated - as ItemsControl-derived type, to enable inner items DataContext type resolve. - - - - - XAML attribute. Indicates the property of some BindingBase-derived type, that - is used to bind some item of ItemsControl-derived type. This annotation will - enable the DataContext type resolve for XAML bindings for such properties. - - - Property should have the tree ancestor of the ItemsControl type or - marked with the attribute. - - - - - Support implementation of - - - - - - - - - - - - - - - - - Asynchronous continuation delegate - function invoked at the end of asynchronous - processing. - - Exception during asynchronous processing or null if no exception - was thrown. - - - - Helpers for asynchronous operations. - - - - - Iterates over all items in the given collection and runs the specified action - in sequence (each action executes only after the preceding one has completed without an error). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end. - - The repeat count. - The asynchronous continuation to invoke at the end. - The action to invoke. - - - - Modifies the continuation by pre-pending given action to execute just before it. - - The async continuation. - The action to pre-pend. - Continuation which will execute the given action before forwarding to the actual continuation. - - - - Attaches a timeout to a continuation which will invoke the continuation when the specified - timeout has elapsed. - - The asynchronous continuation. - The timeout. - Wrapped continuation. - - - - Iterates over all items in the given collection and runs the specified action - in parallel (each action executes on a thread from thread pool). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Runs the specified asynchronous action synchronously (blocks until the continuation has - been invoked). - - The action. - - Using this method is not recommended because it will block the calling thread. - - - - - Wraps the continuation with a guard which will only make sure that the continuation function - is invoked only once. - - The asynchronous continuation. - Wrapped asynchronous continuation. - - - - Gets the combined exception from all exceptions in the list. - - The exceptions. - Combined exception or null if no exception was thrown. - - - - Disposes the Timer, and waits for it to leave the Timer-callback-method - - The Timer object to dispose - Timeout to wait (TimeSpan.Zero means dispose without waiting) - Timer disposed within timeout (true/false) - - - - Asynchronous action. - - Continuation to be invoked at the end of action. - - - - Asynchronous action with one argument. - - Type of the argument. - Argument to the action. - Continuation to be invoked at the end of action. - - - - Represents the logging event with asynchronous continuation. - - - - - Initializes a new instance of the struct. - - The log event. - The continuation. - - - - Gets the log event. - - - - - Gets the continuation. - - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - A value of true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - String Conversion Helpers - - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - Output value - Default value - Returns false if the input value could not be parsed - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - The type of the enum - Output value. Null if parse failed - - - - Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded. - - The enumeration type to which to convert value. - The string representation of the enumeration name or underlying value to convert. - true to ignore case; false to consider case. - When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized. - true if the value parameter was converted successfully; otherwise, false. - Wrapper because Enum.TryParse is not present in .net 3.5 - - - - Enum.TryParse implementation for .net 3.5 - - - - Don't uses reflection - - - - Enables to extract extra context details for - - - - - Name of context - - - - - The current LogFactory next to LogManager - - - - - NLog internal logger. - - Writes to file, console or custom text writer (see ) - - - Don't use as that can lead to recursive calls - stackoverflow - - - - - Gets a value indicating whether internal log includes Trace messages. - - - - - Gets a value indicating whether internal log includes Debug messages. - - - - - Gets a value indicating whether internal log includes Info messages. - - - - - Gets a value indicating whether internal log includes Warn messages. - - - - - Gets a value indicating whether internal log includes Error messages. - - - - - Gets a value indicating whether internal log includes Fatal messages. - - - - - Logs the specified message without an at the Trace level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - Log message. - - - - Logs the specified message without an at the Trace level. - will be only called when logging is enabled for level Trace. - - Function that returns the log message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Trace level. - will be only called when logging is enabled for level Trace. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Debug level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Debug level. - - Log message. - - - - Logs the specified message without an at the Debug level. - will be only called when logging is enabled for level Debug. - - Function that returns the log message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Debug level. - will be only called when logging is enabled for level Debug. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Info level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Info level. - - Log message. - - - - Logs the specified message without an at the Info level. - will be only called when logging is enabled for level Info. - - Function that returns the log message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Info level. - will be only called when logging is enabled for level Info. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Warn level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Warn level. - - Log message. - - - - Logs the specified message without an at the Warn level. - will be only called when logging is enabled for level Warn. - - Function that returns the log message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Warn level. - will be only called when logging is enabled for level Warn. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Error level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Error level. - - Log message. - - - - Logs the specified message without an at the Error level. - will be only called when logging is enabled for level Error. - - Function that returns the log message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Error level. - will be only called when logging is enabled for level Error. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Fatal level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Fatal level. - - Log message. - - - - Logs the specified message without an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Function that returns the log message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Exception to be logged. - Function that returns the log message. - - - - Initializes static members of the InternalLogger class. - - - - - Set the config of the InternalLogger with defaults and config. - - - - - Gets or sets the minimal internal log level. - - If set to , then messages of the levels , and will be written. - - - - Gets or sets a value indicating whether internal messages should be written to the console output stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the console error stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the .Trace - - - - - Gets or sets the file path of the internal log file. - - A value of value disables internal logging to a file. - - - - Gets or sets the text writer that will receive internal logs. - - - - - Event written to the internal log. - Please note that the event is not triggered when then event hasn't the minimal log level set by - - - - - Gets or sets a value indicating whether timestamp should be included in internal log output. - - - - - Is there an thrown when writing the message? - - - - - Logs the specified message without an at the specified level. - - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the specified level. - - Log level. - Log message. - - - - Logs the specified message without an at the specified level. - will be only called when logging is enabled for level . - - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - will be only called when logging is enabled for level . - - Exception to be logged. - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Log message. - - - - Write to internallogger. - - optional exception to be logged. - level - message - optional args for - - - - Create log line with timestamp, exception message etc (if configured) - - - - - Determine if logging should be avoided because of exception type. - - The exception to check. - true if logging should be avoided; otherwise, false. - - - - Determine if logging is enabled for given LogLevel - - The for the log event. - true if logging is enabled; otherwise, false. - - - - Determine if logging is enabled. - - true if logging is enabled; otherwise, false. - - - - Write internal messages to the log file defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged only when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - A message to write. - - Works when property set to true. - The is used in Debug and Release configuration. - The works only in Debug configuration and this is reason why is replaced by . - in DEBUG - - - - - Logs the assembly version and file version of the given Assembly. - - The assembly to log. - - - - A message has been written to the internal logger - - - - - The rendered message - - - - - The log level - - - - - The exception. Could be null. - - - - - The type that triggered this internal log event, for example the FileTarget. - This property is not always populated. - - - - - The context name that triggered this internal log event, for example the name of the Target. - This property is not always populated. - - - - - - - - A cyclic buffer of object. - - - - - Initializes a new instance of the class. - - Buffer size. - Whether buffer should grow as it becomes full. - The maximum number of items that the buffer can grow to. - - - - Gets the capacity of the buffer - - - - - Gets the number of items in the buffer - - - - - Adds the specified log event to the buffer. - - Log event. - The number of items in the buffer. - - - - Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation. - - Events in the buffer. - - - - Condition and expression. - - - - - Initializes a new instance of the class. - - Left hand side of the AND expression. - Right hand side of the AND expression. - - - - Gets the left hand side of the AND expression. - - - - - Gets the right hand side of the AND expression. - - - - - Returns a string representation of this expression. - - A concatenated '(Left) and (Right)' string. - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the conjunction operator. - - - - Exception during evaluation of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Base class for representing nodes in condition expression trees. - - - - - Converts condition text to a condition expression tree. - - Condition text to be converted. - Condition expression tree. - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition layout expression (represented by a string literal - with embedded ${}). - - - - - Initializes a new instance of the class. - - The layout. - - - - Gets the layout. - - The layout. - - - - Returns a string representation of this expression. - - String literal in single quotes. - - - - Evaluates the expression by calculating the value - of the layout in the specified evaluation context. - - Evaluation context. - The value of the layout. - - - - Condition level expression (represented by the level keyword). - - - - - Returns a string representation of the expression. - - The 'level' string. - - - - Evaluates to the current log level. - - Evaluation context. Ignored. - The object representing current log level. - - - - Condition literal expression (numeric, LogLevel.XXX, true or false). - - - - - Initializes a new instance of the class. - - Literal value. - ToString value. - - - - Gets the literal value. - - The literal value. - - - - Returns a string representation of the expression. - - The literal value. - - - - Evaluates the expression. - - Evaluation context. - The literal value as passed in the constructor. - - - - Condition logger name expression (represented by the logger keyword). - - - - - Returns a string representation of this expression. - - A logger string. - - - - Evaluates to the logger name. - - Evaluation context. - The logger name. - - - - Condition message expression (represented by the message keyword). - - - - - Returns a string representation of this expression. - - The 'message' string. - - - - Evaluates to the logger message. - - Evaluation context. - The logger message. - - - - Marks class as a log event Condition and assigns a name to it. - - - - - Initializes a new instance of the class. - - Condition method name. - - - - Condition method invocation expression (represented by method(p1,p2,p3) syntax). - - - - - Initializes a new instance of the class. - - Name of the condition method. - of the condition method. - Precompiled delegate of the condition method. - The method parameters. - - - - Gets the method info. - - - - - Gets the method parameters - - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - A bunch of utility methods (mostly predicates) which can be used in - condition expressions. Partially inspired by XPath 1.0. - - - - - Compares two values for equality. - - The first value. - The second value. - true when two objects are equal, false otherwise. - - - - Compares two strings for equality. - - The first string. - The second string. - Optional. If true, case is ignored; if false (default), case is significant. - true when two strings are equal, false otherwise. - - - - Gets or sets a value indicating whether the second string is a substring of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a substring of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a prefix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a suffix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Returns the length of a string. - - A string whose lengths is to be evaluated. - The length of the string. - - - - Indicates whether the specified regular expression finds a match in the specified input string. - - The string to search for a match. - The regular expression pattern to match. - A string consisting of the desired options for the test. The possible values are those of the separated by commas. - true if the regular expression finds a match; otherwise, false. - - - - - - - - - - - Marks the class as containing condition methods. - - - - - Condition not expression. - - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression to be negated. - - The expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition or expression. - - - - - Initializes a new instance of the class. - - Left hand side of the OR expression. - Right hand side of the OR expression. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the alternative operator. - - - - Exception during parsing of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Condition parser. Turns a string representation of condition expression - into an expression tree. - - - - - Initializes a new instance of the class. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - Instance of used to resolve references to condition methods and layout renderers. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - - Try stringed keyword to - - - - success? - - - - Parse number - - negative number? minus should be parsed first. - - - - - Condition relational (==, !=, <, <=, - > or >=) expression. - - - - - Initializes a new instance of the class. - - The left expression. - The right expression. - The relational operator. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Gets the relational operator. - - The operator. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Compares the specified values using specified relational operator. - - The first value. - The second value. - The relational operator. - Result of the given relational operator. - - - - Promote values to the type needed for the comparision, e.g. parse a string to int. - - - - - - - Promotes to type - - - - success? - - - - Try to promote both values. First try to promote to , - when failed, try to . - - - - - - Get the order for the type for comparision. - - - index, 0 to max int. Lower is first - - - - Dictionary from type to index. Lower index should be tested first. - - - - - Build the dictionary needed for the order of the types. - - - - - - Get the string representing the current - - - - - - Relational operators used in conditions. - - - - - Equality (==). - - - - - Inequality (!=). - - - - - Less than (<). - - - - - Greater than (>). - - - - - Less than or equal (<=). - - - - - Greater than or equal (>=). - - - - - Hand-written tokenizer for conditions. - - - - - Initializes a new instance of the class. - - The string reader. - - - - Gets the type of the token. - - The type of the token. - - - - Gets the token value. - - The token value. - - - - Gets the value of a string token. - - The string token value. - - - - Asserts current token type and advances to the next token. - - Expected token type. - If token type doesn't match, an exception is thrown. - - - - Asserts that current token is a keyword and returns its value and advances to the next token. - - Keyword value. - - - - Gets or sets a value indicating whether current keyword is equal to the specified value. - - The keyword. - - A value of true if current keyword is equal to the specified value; otherwise, false. - - - - - Gets or sets a value indicating whether the tokenizer has reached the end of the token stream. - - - A value of true if the tokenizer has reached the end of the token stream; otherwise, false. - - - - - Gets or sets a value indicating whether current token is a number. - - - A value of true if current token is a number; otherwise, false. - - - - - Gets or sets a value indicating whether the specified token is of specified type. - - The token type. - - A value of true if current token is of specified type; otherwise, false. - - - - - Gets the next token and sets and properties. - - - - - Try the comparison tokens (greater, smaller, greater-equals, smaller-equals) - - current char - is match - - - - Try the logical tokens (and, or, not, equals) - - current char - is match - - - - Mapping between characters and token types for punctuations. - - - - - Initializes a new instance of the CharToTokenType struct. - - The character. - Type of the token. - - - - Token types for condition expressions. - - - - - Marks the class or a member as advanced. Advanced classes and members are hidden by - default in generated documentation. - - - - - Initializes a new instance of the class. - - - - - Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain. - - - A layout(renderer) could be converted to a literal when: - - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput] - - Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout. - - - - - Used to mark configurable parameters which are arrays. - Specifies the mapping between XML elements and .NET types. - - - - - Initializes a new instance of the class. - - The type of the array item. - The XML element name that represents the item. - - - - Gets the .NET type of the array item. - - - - - Gets the XML element name. - - - - - An assembly is trying to load. - - - - - New event args - - - - - - The assembly that is trying to load. - - - - - Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. - - Type of the item. - Created object of the specified type. - - - - Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. - - Everything of an assembly could be loaded by - - - - - Called before the assembly will be loaded. - - - - - Initializes a new instance of the class. - - The assemblies to scan for named items. - - - - Gets or sets default singleton instance of . - - - This property implements lazy instantiation so that the is not built before - the internal logger is configured. - - - - - Gets or sets the creator delegate used to instantiate configuration objects. - - - By overriding this property, one can enable dependency injection or interception for created objects. - - - - - Gets the factory. - - The target factory. - - - - Gets the factory. - - The filter factory. - - - - gets the factory - - not using due to backwards-compatibility. - - - - - Gets the factory. - - The layout renderer factory. - - - - Gets the factory. - - The layout factory. - - - - Gets the ambient property factory. - - The ambient property factory. - - - - Legacy interface, no longer used by the NLog engine - - - - - Gets or sets the JSON serializer to use with or - - - - - Gets or sets the string serializer to use with - - - - - Gets or sets the custom object-type transformation for use in , or - - - - - Gets or sets the parameter converter to use with , or - - - - - Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect) - - - - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering. - - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with ) - - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging) - - - - - Gets the time source factory. - - The time source factory. - - - - Gets the condition method factory. - - The condition method factory. - - - - Gets the condition method factory (precompiled) - - The condition method factory. - - - - Registers named items from the assembly. - - The assembly. - - - - Registers named items from the assembly. - - The assembly. - Item name prefix. - - - - Call Preload for NLogPackageLoader - - - Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) - This method will be called just before registering all items in the assembly. - - - - - - Call the Preload method for . The Preload method must be static. - - - - - - Clears the contents of all factories. - - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Builds the default configuration item factory. - - Default factory. - - - - Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. - - - - - Attribute used to mark the default parameters for layout renderers. - - - - - Initializes a new instance of the class. - - - - - Dynamic filtering with a positive list of enabled levels - - - - - Dynamic filtering with a minlevel and maxlevel range - - - - - Format of the exception output to the specific target. - - - - - Appends the Message of an Exception to the specified target. - - - - - Appends the type of an Exception to the specified target. - - - - - Appends the short type of an Exception to the specified target. - - - - - Appends the result of calling ToString() on an Exception to the specified target. - - - - - Appends the method name from Exception's stack trace to the specified target. - - - - - Appends the stack trace from an Exception to the specified target. - - - - - Appends the contents of an Exception's Data property to the specified target. - - - - - Destructure the exception (usually into JSON) - - - - - Appends the from the application or the object that caused the error. - - - - - Appends the from the application or the object that caused the error. - - - - - Appends any additional properties that specific type of Exception might have. - - - - - Factory for class-based items. - - The base type of each item. - The type of the attribute used to annotate items. - - - - Scans the assembly. - - The types to scan. - The prefix. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Registers the item based on a type name. - - Name of the item. - Name of the type. - - - - Clears the contents of the factory. - - - - - Registers a single type definition. - - The item name. - The type of the item. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Creates an item instance. - - The name of the item. - Created item. - - - - Factory specialized for s. - - - - - Clear all func layouts - - - - - Register a layout renderer with a callback function. - - Name of the layoutrenderer, without ${}. - the renderer that renders the value. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.). - - - - - Implemented by objects which support installation and uninstallation. - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Interface for accessing configuration details - - - - - Name of the config section - - - - - Configuration Key/Value Pairs - - - - - Child config sections - - - - - Interface for loading NLog - - - - - Finds and loads the NLog configuration - - LogFactory that owns the NLog configuration - Name of NLog.config file (optional) - NLog configuration (or null if none found) - - - - Notifies when LoggingConfiguration has been successfully applied - - LogFactory that owns the NLog configuration - NLog Config - - - - Get file paths (including filename) for the possible NLog config files. - - Name of NLog.config file (optional) - The file paths to the possible config file - - - - Level enabled flags for each LogLevel ordinal - - - - - Converts the filter into a simple - - - - - Represents a factory of named items (such as targets, layouts, layout renderers, etc.). - - Base type for each item instance. - Item definition type (typically or ). - - - - Registers new item definition. - - Name of the item. - Item definition. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Creates item instance. - - Name of the item. - Newly created item instance. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides context for install/uninstall operations. - - - - - Mapping between log levels and console output colors. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log output. - - - - Gets or sets the installation log level. - - - - - Gets or sets a value indicating whether to ignore failures during installation. - - - - - Whether installation exceptions should be rethrown. If IgnoreFailures is set to true, - this property has no effect (there are no exceptions to rethrow). - - - - - Gets the installation parameters. - - - - - Gets or sets the log output. - - - - - Logs the specified trace message. - - The message. - The arguments. - - - - Logs the specified debug message. - - The message. - The arguments. - - - - Logs the specified informational message. - - The message. - The arguments. - - - - Logs the specified warning message. - - The message. - The arguments. - - - - Logs the specified error message. - - The message. - The arguments. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Creates the log event which can be used to render layouts during installation/uninstallations. - - Log event info object. - - - - Convert object-value into specified type - - - - - Parses the input value and converts into the wanted type - - Input Value - Wanted Type - Format to use when parsing - Culture to use when parsing - Output value with wanted type - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for extension loading - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for enabling NLog - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - LoggingConfiguration being built - - - - - Interface for fluent setup of LogFactory options for logevent serialization - - - - - LogFactory under configuration - - - - - Encapsulates and the logic to match the actual logger name - All subclasses defines immutable objects. - Concrete subclasses defines various matching rules through - - - - - Creates a concrete based on . - - - Rules used to select the concrete implementation returned: - - if is null => returns (never matches) - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals) - if == '*' => returns (always matches) - if doesn't contain '?' - - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns - - - returns - - - - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - A concrete - - - - Returns the argument passed to - - - - - Checks whether given name matches the logger name pattern. - - String to be matched. - A value of when the name matches, otherwise. - - - - Defines a that never matches. - Used when pattern is null - - - - - Defines a that always matches. - Used when pattern is '*' - - - - - Defines a that matches with a case-sensitive Equals - Used when pattern is a string without wildcards '?' '*' - - - - - Defines a that matches with a case-sensitive StartsWith - Used when pattern is a string like "*foobar" - - - - - Defines a that matches with a case-sensitive EndsWith - Used when pattern is a string like "foobar*" - - - - - Defines a that matches with a case-sensitive Contains - Used when pattern is a string like "*foobar*" - - - - - Defines a that matches with a complex wildcards combinations: - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - used when pattern is a string containing any number of '?' or '*' in any position - i.e. "*Server[*].Connection[?]" - - - - - Keeps logging configuration and provides simple API to modify it. - - This class is thread-safe..ToList() is used for that purpose. - - - - Variables defined in xml or in API. name is case case insensitive. - - - - - Gets the factory that will be configured - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. - - - - Gets the variables defined in the configuration. - - - - - Gets a collection of named targets specified in the configuration. - - - A list of named targets. - - - Unnamed targets (such as those wrapped by other targets) are not returned. - - - - - Gets the collection of file names which should be watched for changes by NLog. - - - - - Gets the collection of logging rules. - - - - - Gets or sets the default culture info to use as . - - - Specific culture info or null to use - - - - - Gets all targets. - - - - - Compare objects based on their name. - - This property is use to cache the comparer object. - - - - Defines methods to support the comparison of objects for equality based on their name. - - - - - Registers the specified target object. The name of the target is read from . - - - The target object with a non - - when is - - - - Registers the specified target object under a given name. - - Name of the target. - The target object. - when is - when is - - - - Finds the target with the specified name. - - - The name of the target to be found. - - - Found target or when the target is not found. - - - - - Finds the target with the specified name and specified type. - - - The name of the target to be found. - - Type of the target - - Found target or when the target is not found of not of type - - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for all loglevels. - - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Finds the logging rule with the specified name. - - The name of the logging rule to be found. - Found logging rule or when not found. - - - - Removes the specified named logging rule. - - The name of the logging rule to be removed. - Found one or more logging rule to remove, or when not found. - - - - Called by LogManager when one of the log configuration files changes. - - - A new instance of that represents the updated configuration. - - - - - Removes the specified named target. - - Name of the target. - - - - Installs target-specific objects on current system. - - The installation context. - - Installation typically runs with administrative permissions. - - - - - Uninstalls target-specific objects from current system. - - The installation context. - - Uninstallation typically runs with administrative permissions. - - - - - Closes all targets and releases any unmanaged resources. - - - - - Log to the internal (NLog) logger the information about the and associated with this instance. - - - The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is - recorded. - - - - - Validates the configuration. - - - - - Copies all variables from provided dictionary into current configuration variables. - - Master variables dictionary - - - - Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage. - - - - - - - Checks whether unused targets exist. If found any, just write an internal log at Warn level. - If initializing not started or failed, then checking process will be canceled - - - - - - - - Arguments for events. - - - - - Initializes a new instance of the class. - - The new configuration. - The old configuration. - - - - Gets the old configuration. - - The old configuration. - - - - Gets the new configuration. - - The new configuration. - - - - Gets the new configuration - - The new configuration. - - - - Gets the old configuration - - The old configuration. - - - - Gets the optional boolean attribute value. - - - Name of the attribute. - Default value to return if the attribute is not found or if there is a parse error - Boolean attribute value or default. - - - - Remove the namespace (before :) - - - x:a, will be a - - - - - - - Enables loading of NLog configuration from a file - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Loads NLog configuration from - - - - - Constructor - - - - - - Loads NLog configuration from provided config section - - - - - - - Builds list with unique keys, using last value of duplicates. High priority keys placed first. - - - - - - - Parse loglevel, but don't throw if exception throwing is disabled - - Name of attribute for logging. - Value of parse. - Used if there is an exception - - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Parse {Rules} xml element - - - Rules are added to this parameter. - - - - Parse {Logger} xml element - - - - - - Parse boolean - - Name of the property for logging. - value to parse - Default value to return if the parse failed - Boolean attribute value or default. - - - - Arguments for . - - - - - Initializes a new instance of the class. - - Whether configuration reload has succeeded. - - - - Initializes a new instance of the class. - - Whether configuration reload has succeeded. - The exception during configuration reload. - - - - Gets a value indicating whether configuration reload has succeeded. - - A value of true if succeeded; otherwise, false. - - - - Gets the exception which occurred during configuration reload. - - The exception. - - - - Enables FileWatcher for the currently loaded NLog Configuration File, - and supports automatic reload on file modification. - - - - - Represents a logging rule. An equivalent of <logger /> configuration element. - - - - - Create an empty . - - - - - Create an empty . - - - - - Create a new with a and which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a new with a which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a (disabled) . You should call or to enable logging. - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Target to be written to when the rule matches. - - - - Rule identifier to allow rule lookup - - - - - Gets a collection of targets that should be written to when this rule matches. - - - - - Gets a collection of child rules to be evaluated when this rule matches. - - - - - Gets a collection of filters to be checked before writing to targets. - - - - - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - - Gets or sets logger name pattern. - - - Logger name pattern used by to check if a logger name matches this rule. - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - - - - Gets the collection of log levels enabled by this rule. - - - - - Default action if none of the filters match - - - - - Enables logging for a particular level. - - Level to be enabled. - - - - Enables logging for a particular levels between (included) and . - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Disables logging for a particular level. - - Level to be disabled. - - - - Disables logging for particular levels between (included) and . - - Minimum log level to be disables. - Maximum log level to de disabled. - - - - Enables logging the levels between (included) and . All the other levels will be disabled. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Returns a string representation of . Used for debugging. - - - A that represents the current . - - - - - Checks whether te particular log level is enabled for this rule. - - Level to be checked. - A value of when the log level is enabled, otherwise. - - - - Checks whether given name matches the . - - String to be matched. - A value of when the name matches, otherwise. - - - - Default filtering with static level config - - - - - Factory for locating methods. - - - - - Initializes a new instance of the class. - - Helper method to extract relevant methods from type - - - - Scans the assembly for classes marked with expected class - and methods marked with expected and adds them - to the factory. - - The types to scan. - The prefix to use for names. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Scans a type for relevant methods with their symbolic names - - Include types that are marked with this attribute - Include methods that are marked with this attribute - Class Type to scan - Collection of methods with their symbolic names - - - - Clears contents of the factory. - - - - - Registers the definition of a single method. - - The method name. - The method info. - - - - Registers the definition of a single method. - - The method name. - The method info. - The precompiled method delegate. - - - - Tries to retrieve method by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Tries to retrieve method-delegate by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Retrieves method by name. - - Method name. - MethodInfo object. - - - - Retrieves method by name. - - Method name. - Method delegate object. - - - - Tries to get method definition. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Marks the layout or layout renderer depends on mutable objects from the LogEvent - - This can be or - - - - - Attaches a simple name to an item (such as , - , , etc.). - - - - - Initializes a new instance of the class. - - The name of the item. - - - - Gets the name of the item. - - The name of the item. - - - - Indicates NLog should not scan this property during configuration. - - - - - Initializes a new instance of the class. - - - - - Marks the object as configuration item for NLog. - - - - - Initializes a new instance of the class. - - - - - Represents simple XML element with case-insensitive attribute semantics. - - - - - Initializes a new instance of the class. - - The reader to initialize element from. - - - - Prevents a default instance of the class from being created. - - - - - Gets the element name. - - - - - Gets the dictionary of attribute values. - - - - - Gets the collection of child elements. - - - - - Gets the value of the element. - - - - - Last error occured during configuration read - - - - - Returns children elements with the specified element name. - - Name of the element. - Children elements with the specified element name. - - - - Asserts that the name of the element is among specified element names. - - The allowed names. - - - - Returns all parsing errors from current and all child elements. - - - - - Special attribute we could ignore - - - - - Default implementation of - - - - - - - - Attribute used to mark the required parameters for targets, - layout targets and filters. - - - - - Provides simple programmatic configuration API used for trivial logging cases. - - Warning, these methods will overwrite the current config. - - - - - Configures NLog for console logging so that all messages above and including - the level are output to the console. - - - - - Configures NLog for console logging so that all messages above and including - the specified level are output to the console. - - The minimal logging level. - - - - Configures NLog for to log to the specified target so that all messages - above and including the level are output. - - The target to log all messages to. - - - - Configures NLog for to log to the specified target so that all messages - above and including the specified level are output. - - The target to log all messages to. - The minimal logging level. - - - - Configures NLog for file logging so that all messages above and including - the level are written to the specified file. - - Log file name. - - - - Configures NLog for file logging so that all messages above and including - the specified level are written to the specified file. - - Log file name. - The minimal logging level. - - - - Value indicating how stack trace should be captured when processing the log event. - - - - - Stack trace should not be captured. - - - - - Stack trace should be captured without source-level information. - - - - - Stack trace should be captured including source-level information such as line numbers. - - - - - Capture maximum amount of the stack trace information supported on the platform. - - - - - Marks the layout or layout renderer as thread independent - it producing correct results - regardless of the thread it's running on. - - Without this attribute everything is rendered on the main thread. - - - If this attribute is set on a layout, it could be rendered on the another thread. - This could be more efficient as it's skipped when not needed. - - If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - - See the AsyncTargetWrapper and BufferTargetWrapper with the , using - - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - - - - - Marks the layout or layout renderer as thread safe - it producing correct results - regardless of the number of threads it's running on. - - Without this attribute then the target concurrency will be reduced - - - - - A class for configuring NLog through an XML configuration file - (App.config style or App.nlog style). - - Parsing of the XML file is also implemented in this class. - - - - This class is thread-safe..ToList() is used for that purpose. - - Update TemplateXSD.xml for changes outside targets - - - - - Initializes a new instance of the class. - - Configuration file to be read. - - - - Initializes a new instance of the class. - - Configuration file to be read. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - XML reader to read from. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - The XML contents. - Name of the XML file. - The to which to apply any applicable configuration values. - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - NLog LogFactory - - - - Did the Succeeded? true= success, false= error, null = initialize not started yet. - - - - - Gets or sets a value indicating whether all of the configuration files - should be watched for changes and reloaded automatically when changed. - - - - - Gets the collection of file names which should be watched for changes by NLog. - This is the list of configuration files processed. - If the autoReload attribute is not set it returns empty collection. - - - - - Re-reads the original configuration file and returns the new object. - - The new object. - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Create XML reader for (xml config) file. - - filepath - reader or null if filename is empty. - - - - Initializes the configuration. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Checks whether any error during XML configuration parsing has occured. - If there are any and ThrowConfigExceptions or ThrowExceptions - setting is enabled - throws NLogConfigurationException, otherwise - just write an internal log at Warn level. - - Root NLog configuration xml element - - - - Add a file with configuration. Check if not already included. - - - - - - - Parse the root - - - path to config file. - The default value for the autoReload option. - - - - Parse {configuration} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parse {NLog} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Include (multiple) files by filemask, e.g. *.nlog - - base directory in case if is relative - relative or absolute fileMask - - - - - - - - Matches when the specified condition is met. - - - Conditions are expressed using a simple language - described here. - - - - - Gets or sets the condition expression. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - An abstract filter class. Provides a way to eliminate log messages - based on properties other than logger name and log level. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the action to be taken when filter matches. - - - - - - Gets the result of evaluating filter against given log event. - - The log event. - Filter result. - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Marks class as a layout renderer and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the filter. - - - - Filter result. - - - - - The filter doesn't want to decide whether to log or discard the message. - - - - - The message should be logged. - - - - - The message should not be logged. - - - - - The message should be logged and processing should be finished. - - - - - The message should not be logged and processing should be finished. - - - - - A base class for filters that are based on comparing a value to a layout. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the layout to be used to filter log messages. - - The layout. - - - - - Matches when the calculated layout contains the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets the substring to be matched. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets a string to compare the layout to. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches the provided filter-method - - - - - Initializes a new instance of the class. - - - - - - - - Matches when the calculated layout does NOT contain the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets the substring to be matched. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is NOT equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a string to compare the layout to. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the result of the calculated layout has been repeated a moment ago - - - - - How long before a filter expires, and logging is accepted again - - - - - - Max length of filter values, will truncate if above limit - - - - - - Applies the configured action to the initial logevent that starts the timeout period. - Used to configure that it should ignore all events until timeout. - - - - - - Max number of unique filter values to expect simultaneously - - - - - - Default number of unique filter values to expect, will automatically increase if needed - - - - - - Insert FilterCount value into when an event is no longer filtered - - - - - - Append FilterCount to the when an event is no longer filtered - - - - - - Reuse internal buffers, and doesn't have to constantly allocate new buffers - - - - - - Default buffer size for the internal buffers - - - - - - Can be used if has been enabled. - - - - - Initializes a new instance of the class. - - - - - Checks whether log event should be logged or not. In case the LogEvent has just been repeated. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Uses object pooling, and prunes stale filter items when the pool runs dry - - - - - Remove stale filter-value from the cache, and fill them into the pool for reuse - - - - - Renders the Log Event into a filter value, that is used for checking if just repeated - - - - - Repeated LogEvent detected. Checks if it should activate filter-action - - - - - Filter Value State (mutable) - - - - - Filter Lookup Key (immutable) - - - - - A global logging class using caller info to find the logger. - - - - - Starts building a log event with the specified . - - The log level. - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Trace level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Debug level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Info level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Warn level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Error level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - Starts building a log event at the Fatal level. - - The full path of the source file that contains the caller. This is the file path at the time of compile. - An instance of the fluent . - - - - A fluent class to build log events for NLog. - - - - - Initializes a new instance of the class. - - The to send the log event. - - - - Initializes a new instance of the class. - - The to send the log event. - The for the log event. - - - - Gets the created by the builder. - - - - - Sets the information of the logging event. - - The exception information of the logging event. - current for chaining calls. - - - - Sets the level of the logging event. - - The level of the logging event. - current for chaining calls. - - - - Sets the logger name of the logging event. - - The logger name of the logging event. - current for chaining calls. - - - - Sets the log message on the logging event. - - The log message for the logging event. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - The fourth object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - An object that supplies culture-specific formatting information. - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets a per-event context property on the logging event. - - The name of the context property. - The value of the context property. - current for chaining calls. - - - - Sets multiple per-event context properties on the logging event. - - The properties to set. - current for chaining calls. - - - - Sets the timestamp of the logging event. - - The timestamp of the logging event. - current for chaining calls. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - current for chaining calls. - - - - Writes the log event to the underlying logger. - - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - - - - Writes the log event to the underlying logger if the condition delegate is true. - - If condition is true, write log event; otherwise ignore event. - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - - - - Writes the log event to the underlying logger if the condition is true. - - If condition is true, write log event; otherwise ignore event. - The method or property name of the caller to the method. This is set at by the compiler. - The full path of the source file that contains the caller. This is set at by the compiler. - The line number in the source file at which the method is called. This is set at by the compiler. - - - - Extension methods for NLog . - - - - - Starts building a log event with the specified . - - The logger to write the log event to. - The log level. - current for chaining calls. - - - - Starts building a log event at the Trace level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Debug level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Info level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Warn level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Error level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Fatal level. - - The logger to write the log event to. - current for chaining calls. - - - - Global Diagnostics Context - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Global Diagnostics Context - a dictionary structure to hold per-application-instance values. - - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The item value, if defined; otherwise null. - - - - Returns all item names - - A collection of the names of all items in the Global Diagnostics Context. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Include context properties - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Interface for serialization of object values into JSON format - - - - - Serialization of an object into JSON format. - - The object to serialize to JSON. - Output destination. - Serialize succeeded (true/false) - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format.s - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Logger with only generic methods (passing 'LogLevel' to methods) and core properties. - - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Extensions for NLog . - - - - - Writes the diagnostic message and exception at the specified level. - - A logger implementation that will handle the message. - The log level. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Allocates new builder and appends to the provided target builder on dispose - - - - - Access the new builder allocated - - - - - Helpers for . - - - - - Load from url - - file or path, including .dll - basepath, optional - - - - - Load from url - - name without .dll - - - - - Forward declare of system delegate type for use by other classes - - - - - Keeps track of pending operation count, and can notify when pending operation count reaches zero - - - - - Mark operation has started - - - - - Mark operation has completed - - Exception coming from the completed operation [optional] - - - - Registers an AsyncContinuation to be called when all pending operations have completed - - Invoked on completion - AsyncContinuation operation - - - - Clear o - - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Legacy attempt to skip async MoveNext, but caused source file line number to be lost - - - - - Gets the entire stack trace. - - - - - Finds first user stack frame in a stack trace - - The stack trace of the logging method invocation - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - Index of the first user stack frame or 0 if all stack frames are non-user - - - - This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame - - The stack trace of the logging method invocation - Starting point for skipping async MoveNext-frames - - - - Assembly to skip? - - Find assembly via this frame. - true, we should skip. - - - - Is this the type of the logger? - - get type of this logger in this frame. - Type of the logger. - - - - - Memory optimized filtering - - Passing state too avoid delegate capture and memory-allocations. - - - - Provides untyped IDictionary interface on top of generic IDictionary. - - The type of the key. - The type of the value. - - - - Initializes a new instance of the DictionaryAdapter class. - - The implementation. - - - - Gets an object containing the values in the object. - - - - An object containing the values in the object. - - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - - Gets an object that can be used to synchronize access to the . - - - - An object that can be used to synchronize access to the . - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - - Gets an object containing the keys of the object. - - - - An object containing the keys of the object. - - - - - Gets or sets the with the specified key. - - Dictionary key. - Value corresponding to key or null if not found - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - - - Removes all elements from the object. - - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - True if the contains an element with the key; otherwise, false. - - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Wrapper IDictionaryEnumerator. - - - - - Initializes a new instance of the class. - - The wrapped. - - - - Gets both the key and the value of the current dictionary entry. - - - - A containing both the key and the value of the current dictionary entry. - - - - - Gets the key of the current dictionary entry. - - - - The key of the current element of the enumeration. - - - - - Gets the value of the current dictionary entry. - - - - The value of the current element of the enumeration. - - - - - Gets the current element in the collection. - - - - The current element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - - - Ensures that IDictionary.GetEnumerator returns DictionaryEntry values - - - - - UTF-8 BOM 239, 187, 191 - - - - - Safe way to get environment variables. - - - - - Helper class for dealing with exceptions. - - - - - Mark this exception as logged to the . - - - - - - - Is this exception logged to the ? - - - trueif the has been logged to the . - - - - Determines whether the exception must be rethrown and logs the error to the if is false. - - Advised to log first the error to the before calling this method. - - The exception to check. - Target context of the exception. - trueif the must be rethrown, false otherwise. - - - - Determines whether the exception must be rethrown immediately, without logging the error to the . - - Only used this method in special cases. - - The exception to check. - trueif the must be rethrown, false otherwise. - - - - Object construction helper. - - - - - Adapter for to - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Creates an AppDomainWrapper for the current - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Abstract calls for the application environment - - - - - Gets current process name (excluding filename extension, if any). - - - - - Abstract calls to FileSystem - - - - Determines whether the specified file exists. - The file to check. - - - Returns the content of the specified file - The file to load. - - - - Base class for optimized file appenders. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the path of the file, including file extension. - - The name of the file. - - - - Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated - Universal Time [UTC] standard. - - The creation time of the file. - - - - Gets or sets the creation time for a file associated with the appender. Synchronized by - The time format is based on - - - - - Gets the last time the file associated with the appender is opened. The time returned is in Coordinated - Universal Time [UTC] standard. - - The time the file was last opened. - - - - Gets the file creation parameters. - - The file creation parameters. - - - - Writes the specified bytes. - - The bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates the file stream. - - If set to true sets the file stream to allow shared writing. - If larger than 0 then it will be used instead of the default BufferSize for the FileStream. - A object which can be used to write to the file. - - - - Base class for optimized file appenders which require the usage of a mutex. - - It is possible to use this class as replacement of BaseFileAppender and the mutex functionality - is not enforced to the implementing subclasses. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates a mutex that is sharable by more than one process. - - The prefix to use for the name of the mutex. - A object which is sharable by multiple processes. - - - - Implementation of which caches - file information. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Closes this instance of the appender. - - - - - Flushes this current appender. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Writes the specified bytes to a file. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Factory class which creates objects. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Maintains a collection of file appenders usually associated with file targets. - - - - - An "empty" instance of the class with zero size and empty list of appenders. - - - - - Initializes a new "empty" instance of the class with zero size and empty - list of appenders. - - - - - Initializes a new instance of the class. - - - The size of the list should be positive. No validations are performed during initialization as it is an - internal class. - - Total number of appenders allowed in list. - Factory used to create each appender. - Parameters used for creating a file. - - - - The archive file path pattern that is used to detect when archiving occurs. - - - - - Invalidates appenders for all files that were archived. - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface that provides parameters for create file function. - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - Gets or sets the log file buffer size in bytes. - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Gets or sets the file attributes (Windows only). - - - - - Should archive mutex be created? - - - - - Should manual simple detection of file deletion be enabled? - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - The archive file path pattern that is used to detect when archiving occurs. - - - - - Invalidates appenders for all files that were archived. - - - - - Interface implemented by all factories capable of creating file appenders. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - Instance of which can be used to write to the file. - - - - Provides a multi process-safe atomic file appends while - keeping the files open. - - - On Unix you can get all the appends to be atomic, even when multiple - processes are trying to write to the same file, because setting the file - pointer to the end of the file and appending can be made one operation. - On Win32 we need to maintain some synchronization between processes - (global named mutex is used for this) - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Closes this instance. - - - - - Flushes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Appender used to discard data for the FileTarget. - Used mostly for testing entire stack except the actual writing to disk. - Throws away all data. - - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Multi-process and multi-host file appender which attempts - to get exclusive write access and retries if it's not available. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Optimized single-process file appender which keeps the file open for exclusive write. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - A layout that represents a filePath. - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid file names char array to avoid memory allocation every time Path.GetInvalidFileNameChars() is called. - - - - - not null when == false - - - - - non null is fixed, - - - - - is the cache-key, and when newly rendered filename matches the cache-key, - then it reuses the cleaned cache-value . - - - - - is the cache-value that is reused, when the newly rendered filename - matches the cache-key - - - - Initializes a new instance of the class. - - - - Render the raw filename from Layout - - The log event. - StringBuilder to minimize allocations [optional]. - String representation of a layout. - - - - Convert the raw filename to a correct filename - - The filename generated by Layout. - String representation of a correct filename. - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Convert object to string - - value - format for conversion. - - - If is null and isn't a already, then the will get a locked by - - - - - Format a log message - - - - - Format the message and return - - LogEvent with message to be formatted - formatted message - - - - Has the logevent properties? - - LogEvent with message to be formatted - False when logevent has no properties to be extracted - - - - Appends the logevent message to the provided StringBuilder - - LogEvent with message to be formatted - The to append the formatted message. - - - - Get the Raw, unformatted and unstrinyfied, value - - - - - Get the raw value - - - The value - RawValue supported? - - - - Interface implemented by layouts and layout renderers. - - - - - Renders the the value of layout or layout renderer in the context of the specified log event. - - The log event. - String representation of a layout. - - - - Supports mocking of SMTP Client code. - - - - - Specifies how outgoing email messages will be handled. - - - - - Gets or sets the name or IP address of the host used for SMTP transactions. - - - - - Gets or sets the port used for SMTP transactions. - - - - - Gets or sets a value that specifies the amount of time after which a synchronous Send call times out. - - - - - Gets or sets the credentials used to authenticate the sender. - - - - - Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted. - - - System.Net.Mail.MailMessage - MailMessage - A MailMessage that contains the message to send. - - - - Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. - - - - - Supports rendering as string value with limited or no allocations (preferred) - - - - - Renders the value of layout renderer in the context of the specified log event - - - null if not possible or unknown - - - - Supports object initialization and termination. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Allows components to request stack trace information to be provided in the . - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Render the event info as parse as short - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as int - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as bool - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Logger configuration. - - - - - Initializes a new instance of the class. - - The targets by level. - Use the old exception log handling of NLog 3.0? - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. - - - - Gets targets for the specified level. - - The level. - Chain of targets with attached filters. - - - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - New formatter - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - The MessageFormatter delegate - - - - - - - - Most-Recently-Used-Cache, that discards less frequently used items on overflow - - - - - Constructor - - Maximum number of items the cache will hold before discarding. - - - - Attempt to insert item into cache. - - Key of the item to be inserted in the cache. - Value of the item to be inserted in the cache. - true when the key does not already exist in the cache, false otherwise. - - - - Lookup existing item in cache. - - Key of the item to be searched in the cache. - Output value of the item found in the cache. - True when the key is found in the cache, false otherwise. - - - - Watches multiple files at the same time and raises an event whenever - a single change is detected in any of those files. - - - - - The types of changes to watch for. - - - - - Occurs when a change is detected in one of the monitored files. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Stops watching all files. - - - - - Stops watching the specified file. - - - - - - Watches the specified files for changes. - - The file names. - - - - Supports mocking of SMTP Client code. - - - Disabled Error CS0618 'SmtpClient' is obsolete: 'SmtpClient and its network of types are poorly designed, - we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead' - - - - - Network sender which uses HTTP or HTTPS POST. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Creates instances of objects for given URLs. - - - - - Creates a new instance of the network sender based on a network URL. - - URL that determines the network sender to be created. - The maximum queue size. - SSL protocols for TCP - KeepAliveTime for TCP - - A newly created network sender. - - - - - Interface for mocking socket calls. - - - - - A base class for all network senders. Supports one-way sending of messages - over various protocols. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Gets the address of the network endpoint. - - - - - Gets the last send time. - - - - - Initializes this network sender. - - - - - Closes the sender and releases any unmanaged resources. - - The continuation. - - - - Flushes any pending messages and invokes a continuation. - - The continuation. - - - - Send the given text over the specified protocol. - - Bytes to be sent. - Offset in buffer. - Number of bytes to send. - The asynchronous continuation. - - - - Closes the sender and releases any unmanaged resources. - - - - - Performs sender-specific initialization. - - - - - Performs sender-specific close operation. - - The continuation. - - - - Performs sender-specific flush. - - The continuation. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Parses the URI into an endpoint address. - - The URI to parse. - The address family. - Parsed endpoint. - - - - Default implementation of . - - - - - - - - A base class for network senders that can block or send out-of-order - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Performs sender-specific flush. - - The continuation. - - - - Socket proxy for mocking Socket code. - - - - - Initializes a new instance of the class. - - The address family. - Type of the socket. - Type of the protocol. - - - - Gets underlying socket instance. - - - - - Closes the wrapped socket. - - - - - Invokes ConnectAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendToAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Sends messages over a TCP network connection. - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - The address family. - - - - Creates the socket with given parameters. - - The host address. - The address family. - Type of the socket. - Type of the protocol. - Instance of which represents the socket. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Facilitates mocking of class. - - - - - Raises the Completed event. - - - - - Sends messages over the network as UDP datagrams. - - - - - Initializes a new instance of the class. - - URL. Must start with udp://. - The address family. - - - - Creates the socket. - - The address family. - Type of the socket. - Type of the protocol. - Implementation of to use. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Sends the specified text as a UDP datagram. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Scans (breadth-first) the object graph following all the edges whose are - instances have attached and returns - all objects implementing a specified interfaces. - - - - - Finds the objects which have attached which are reachable - from any of the given root objects when traversing the object graph over public properties. - - Type of the objects to return. - Also search the properties of the wanted objects. - The root objects. - Ordered list of objects implementing T. - - - ISet is not there in .net35, so using HashSet - - - - Helper for extracting propertyPath - - - - - Object Path to check - - - - - Try get value from , using , and set into - - - - - - - - Converts object into a List of property-names and -values using reflection - - - - - Scans properties for name (Skips string-compare and value-lookup until finding match) - - - - - Scans properties for name (Skips property value lookup until finding match) - - - - - Scans properties for name - - - - - Binder for retrieving value of - - - - - - - - Combine paths - - basepath, not null - optional dir - optional file - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Trims directory separators from the path - - path, could be null - never null - - - - Detects the platform the NLog is running on. - - - - - Gets the current runtime OS. - - - - - Gets a value indicating whether current OS is Win32-based (desktop or mobile). - - - - - Gets a value indicating whether current OS is Unix-based. - - - - - Gets a value indicating whether current runtime is Mono-based - - - - - Gets a value indicating whether current runtime supports use of mutex - - - - - Will creating a mutex succeed runtime? - "Cached" detection - - - - - Will creating a mutex succeed runtime? - - - - - Dictionary that combines the standard with the - MessageTemplate-properties extracted from the . - - The are returned as the first items - in the collection, and in positional order. - - - - - Value of the property - - - - - Is this a property of the message? - - - - - - - Value of the property - Is this a property of the message? - - - - The properties of the logEvent - - - - - The properties extracted from the message - - - - - Wraps the list of message-template-parameters into the IDictionary-interface - - Message-template-parameters - - - - Transforms the list of event-properties into IDictionary-interface - - Message-template-parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Check if the message-template-parameters can be used directly without allocating a dictionary - - Message-template-parameters - Are all parameter names unique (true / false) - - - - Attempt to insert the message-template-parameters into an empty dictionary - - Message-template-parameters - The initially empty dictionary - Message-template-parameters was inserted into dictionary without trouble (true/false) - - - - Attempt to override the existing dictionary values using the message-template-parameters - - Message-template-parameters - The already filled dictionary - List of unique message-template-parameters - - - - - - - - - - - - - - - - - - - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - - - - - - - - - - - - - - - - - Reflection helpers for accessing properties. - - - - - Set value parsed from string. - - object instance to set with property - name of the property on - The value to be parsed. - - - - - Get property info - - object which could have property - property name on - result when success. - success. - - - - Try parse of string to (Generic) list, comma separated. - - - If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape - - - - - Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase) - - - - - Try get the property - - - - - Reflection helpers. - - - - - Gets all usable exported types from the given assembly. - - Assembly to scan. - Usable types from the given assembly. - Types which cannot be loaded are skipped. - - - - Is this a static class? - - - - This is a work around, as Type doesn't have this property. - From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static - - - - - Optimized delegate for calling MethodInfo - - Object instance, use null for static methods. - Complete list of parameters that matches the method, including optional/default parameters. - - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) - - - - - Controls a single allocated char[]-buffer for reuse (only one active user) - - - - - Controls a single allocated StringBuilder for reuse (only one active user) - - - - - Controls a single allocated object for reuse (only one active user) - - - - Empty handle when is disabled - - - - Creates handle to the reusable char[]-buffer for active usage - - Handle to the reusable item, that can release it again - - - - Access the acquired reusable object - - - - - Controls a single allocated MemoryStream for reuse (only one active user) - - - - - Supported operating systems. - - - If you add anything here, make sure to add the appropriate detection - code to - - - - - Unknown operating system. - - - - - Unix/Linux operating systems. - - - - - Desktop versions of Windows (95,98,ME). - - - - - Windows NT, 2000, 2003 and future versions based on NT technology. - - - - - Macintosh Mac OSX - - - - - Simple character tokenizer. - - - - - Initializes a new instance of the class. - - The text to be tokenized. - - - - Current position in - - - - - Full text to be parsed - - - - - Check current char while not changing the position. - - - - - - Read the current char and change position - - - - - - Get the substring of the - - - - - - - - Implements a single-call guard around given continuation function. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - - - - Continuation function which implements the single-call guard. - - The exception. - - - - HashSet optimized for single item - - - - - - Insert single item on scope start, and remove on scope exit - - Item to insert in scope - Existing hashset to update - Force allocation of real hashset-container - HashSet EqualityComparer - - - - Add item to collection, if it not already exists - - Item to insert - - - - Clear hashset - - - - - Check if hashset contains item - - - Item exists in hashset (true/false) - - - - Remove item from hashset - - - Item removed from hashset (true/false) - - - - Copy items in hashset to array - - Destination array - Array offset - - - - Create hashset enumerator - - Enumerator - - - - Provides helpers to sort log events and associated continuations. - - - - - Key selector delegate. - - The type of the value. - The type of the key. - Value to extract key information from. - Key selected from log event. - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - The key comparer function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. - - - - - - - - - - - - - - - - Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. - Consider to use instead for better safety. - - Key value for lookup - Mapped value found - - - - Non-Allocating struct-enumerator - - - - - - - - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - - - - Will always throw, as dictionary is readonly - - - - Utilities for dealing with values. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - StackFrame from the calling method - Fully qualified class name - - - - Returns the assembly from the provided StackFrame (If not internal assembly) - - Valid assembly, or null if assembly was internal - - - - Returns the classname from the provided StackFrame (If not from internal assembly) - - - Valid class name, or empty string if assembly was internal - - - - Stream helpers - - - - - Copy to output stream and skip BOM if encoding is UTF8 - - - - - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - .net35 doesn't have a .copyto - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - first bytes to skip (optional) - - - - Helpers for , which is used in e.g. layout renderers. - - - - - Renders the specified log event context item and appends it to the specified . - - append to this - value to be appended - format string. If @, then serialize the value with the Default JsonConverter. - provider, for example culture - - - - Appends int without using culture, and most importantly without garbage - - - value to append - - - - Appends uint without using culture, and most importantly without garbage - - Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ - - - value to append - - - - Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 6801 date (Round-Trip-Time) - - - - - Clears the provider StringBuilder - - - - - - Copies the contents of the StringBuilder to the MemoryStream using the specified encoding (Without BOM/Preamble) - - StringBuilder source - MemoryStream destination - Encoding used for converter string into byte-stream - Helper char-buffer to minimize memory allocations - - - - Copies the contents of the StringBuilder to the destination StringBuilder - - StringBuilder source - StringBuilder destination - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle character to search for - - Index of the first occurrence (Else -1) - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle characters to search for - - Index of the first occurrence (Else -1) - - - - Compares the contents of two StringBuilders - - - Correct implementation of that also works when is not the same - - True when content is the same - - - - Compares the contents of a StringBuilder and a String - - True when content is the same - - - - Append a number and pad with 0 to 2 digits - - append to this - the number - - - - Append a number and pad with 0 to 4 digits - - append to this - the number - - - - Append a int type (byte, int) as string - - - - - Constructor - - Max number of items - Initial StringBuilder Size - Max StringBuilder Size - - - - Takes StringBuilder from pool - - Allow return to pool - - - - Releases StringBuilder back to pool at its right place - - - - - Keeps track of acquired pool item - - - - - Releases pool item back into pool - - - - - Helpers for . - - - - - IsNullOrWhiteSpace, including for .NET 3.5 - - - - - - - Split a string - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Represents target with a chain of filters which determine - whether logging should happen. - - - - - cached result as calculating is expensive. - - - - - Initializes a new instance of the class. - - The target. - The filter chain. - Default action if none of the filters match. - - - - Gets the target. - - The target. - - - - Gets the filter chain. - - The filter chain. - - - - Default action if none of the filters match. - - - - - Gets or sets the next item in the chain. - - The next item in the chain. - This is for example the 'target2' logger in writeTo='target1,target2' - - - - Gets the stack trace usage. - - A value that determines stack trace handling. - - - - Helper for dealing with thread-local storage. - - - - - Allocates the data slot for storing thread-local information. - - Allocated slot key. - - - - Gets the data for a slot in thread-local storage. - - Type of the data. - The slot to get data for. - Automatically create the object if it doesn't exist. - - Slot data (will create T if null). - - - - - Wraps with a timeout. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - The timeout. - - - - Continuation function which implements the timeout logic. - - The exception. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Transformation on a layout. Pre-calculated if the layout has a fixed value. - - - - - Create TransformedLayout. - - Layout - Transformation method - Optional renderer, otherwise is used - - - - - - - Create TransformedLayout. If is null, then the returns null - - Layout - Transformation method - Optional renderer, otherwise is used - null if is null - - - - - - - - - - URL Encoding helper. - - - - Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - - - Use RFC2396 standard (instead of RFC3986) - - - Should use lowercase when doing HEX escaping of special characters - - - Replace space ' ' with '+' instead of '%20' - - - Skip UTF8 encoding, and prefix special characters with '%u' - - - - Escape unicode string data for use in http-requests - - unicode string-data to be encoded - target for the encoded result - s for how to perform the encoding - - - - Convert the wide-char into utf8-bytes, and then escape - - - - - - - - - Is allowed? - - - - - - - - Is a-z / A-Z / 0-9 - - - - - - - Prevents the Xamarin linker from linking the target. - - - By applying this attribute all of the members of the target will be kept as if they had been referenced by the code. - - - - - Ensures that all members of this type are preserved - - - - - Flags the method as a method to preserve during linking if the container class is pulled in. - - - - - Helper class for XML - - - - - removes any unusual unicode characters that can't be encoded into XML - - - - - Cleans string of any invalid XML chars found - - unclean string - string with only valid XML chars - - - - Pretest, small text and not escape needed - - - - - - - - Converts object value to invariant format, and strips any invalid xml-characters - - Object value - Object value converted to string - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object value converted to string - - - - XML elements must follow these naming rules: - - Element names are case-sensitive - - Element names must start with a letter or underscore - - Element names can contain letters, digits, hyphens, underscores, and periods - - Element names cannot contain spaces - - - - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object TypeCode - Check and remove unusual unicode characters from the result string. - Object value converted to string - - - - Safe version of WriteAttributeString - - - - - - - - - - Safe version of WriteAttributeString - - - - - - - - Safe version of WriteElementSafeString - - - - - - - - - - Safe version of WriteCData - - - - - - - Interface for handling object transformation - - - - - Takes a dangerous (or massive) object and converts into a safe (or reduced) object - - - Null if unknown object, or object cannot be handled - - - - - Provides an interface to execute System.Actions without surfacing any exceptions raised for that action. - - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. - - The task for which to log an error if it does not run to completion. - A task that completes in the state when completes. - - - - Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Async action to execute. - A task that completes in the state when completes. - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Async function to run. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Async function to run. - Fallback value to return if the task does not end in the state. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. - - - - Render a message template property to a string - - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Log event context data. - - - - - Initializes a new instance of the class. - - - - - Gets or sets string that will be used to separate key/value pairs. - - - - - - Get or set if empty values should be included. - - A value is empty when null or in case of a string, null or empty string. - - - - - - Gets or sets the keys to exclude from the output. If omitted, none are excluded. - - - - - - Also render the caller information attributes? (, - , ). - - See https://msdn.microsoft.com/en-us/library/hh534540.aspx - - - - - - Gets or sets how key/value pairs will be formatted. - - - - - - Renders all log event's properties and appends them to the specified . - - The to append the rendered data to. - Logging event. - - - - The names of caller information attributes. - , , ). - https://msdn.microsoft.com/en-us/library/hh534540.aspx - TODO NLog ver. 5 - Remove these properties - - - - - Designates a property of the class as an ambient property. - - - non-ambient: ${uppercase:${level}} - ambient : ${level:uppercase} - - - - - Initializes a new instance of the class. - - Ambient property name. - - - - Used to render the application domain name. - - - - - Create a new renderer - - - - - Create a new renderer - - - - - Format string. Possible values: "Short", "Long" or custom like {0} {1}. Default "Long" - The first parameter is the , the second the second the - This string is used in - - - - - - - - - - - - - - - Renders the assembly version information for the entry assembly or a named assembly. - - - As this layout renderer uses reflection and version information is unlikely to change during application execution, - it is recommended to use it in conjunction with the . - - - The entry assembly can't be found in some cases e.g. ASP.NET, unit tests, etc. - - - - - Initializes a new instance of the class. - - - - - The (full) name of the assembly. If null, using the entry assembly. - - - - - - Gets or sets the type of assembly version to retrieve. - - - Some version type and platform combinations are not fully supported. - - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified. - - Silverlight: Value for is always returned. - - - - - - Gets or sets the custom format of the assembly version output. - - - Supported placeholders are 'major', 'minor', 'build' and 'revision'. - The default .NET template for version numbers is 'major.minor.build.revision'. See - https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks - for details. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders an assembly version and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Gets the assembly specified by , or entry assembly otherwise - - Found assembly - - - - Type of assembly version to retrieve. - - - - - Gets the assembly version. - - - - - Gets the file version. - - - - - Gets additional version information. - - - - - The current application domain's base directory. - - - - - cached - - - - - Use base dir of current process. Alternative one can just use ${processdir} - - - - - - Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the base directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. - - - - - - Renders the application base directory and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source file name. Full callsite - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - The call site (class name, method name and source information). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to render the class name. - - - - - - Gets or sets a value indicating whether to render the include the namespace with . - - - - - - Gets or sets a value indicating whether to render the method name. - - - - - - Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate. - - - - - - Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation - (everything after an await-statement inside of an async method). - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets a value indicating whether to render the source file name and line number. - - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source line number. Full callsite - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - A counter value (increases on each layout rendering). - - - - - Gets or sets the initial value of the counter. - - - - - - Gets or sets the value to be added to the counter after each layout rendering. - - - - - - Gets or sets the name of the sequence. Different named sequences can have individual values. - - - - - - - - - The current working directory of the application. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the current directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the current directory. - - - - - - - - - - - - Current date and time. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format). - - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - - - - - - - - - - DB null for a database - - - - - - - - - - - The OS dependent directory separator - - - - - - - - - - - The environment variable. - - - - - Gets or sets the name of the environment variable. - - - - - - Gets or sets the default value to be used when the environment variable is not set. - - - - - - - - - - - - Thread identity information (username). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether username should be included. - - - - - - Gets or sets a value indicating whether domain name should be included. - - - - - - Gets or sets the default value to be used when the User is not set. - - - - - - Gets or sets the default value to be used when the Domain is not set. - - - - - - - - - - - - Log event context data. - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the name of the item. - - - - - - Renders the specified log event context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. See . - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - - - - - - - - - - Exception information provided through - a call to one of the Logger.*Exception() methods. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the format of the output. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - - - Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - Gets or sets the separator used to concatenate parts specified in the Format. - - - - - - Gets or sets the separator used to concatenate exception data specified in the Format. - - - - - - Gets or sets the maximum number of inner exceptions to include in the output. - By default inner exceptions are not enabled for compatibility with NLog 1.0. - - - - - - Gets or sets the separator between inner exceptions. - - - - - - Gets or sets whether to render innermost Exception from - - - - - Gets or sets whether to collapse exception tree using - - - - - Gets the formats of the output of inner exceptions to be rendered in target. - - - - - - - Gets the formats of the output to be rendered in target. - - - - - - - - - - - - - Appends the Message of an Exception to the specified . - - The to append the rendered data to. - The exception containing the Message to append. - - - - Appends the method name from Exception's stack trace to the specified . - - The to append the rendered data to. - The Exception whose method name should be appended. - - - - Appends the stack trace from an Exception to the specified . - - The to append the rendered data to. - The Exception whose stack trace should be appended. - - - - Appends the result of calling ToString() on an Exception to the specified . - - The to append the rendered data to. - The Exception whose call to ToString() should be appended. - - - - Appends the type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose type should be appended. - - - - Appends the short type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose short type should be appended. - - - - Appends the application source of an Exception to the specified . - - The to append the rendered data to. - The Exception whose source should be appended. - - - - Appends the HResult of an Exception to the specified . - - The to append the rendered data to. - The Exception whose HResult should be appended. - - - - Appends the contents of an Exception's Data property to the specified . - - The to append the rendered data to. - The Exception whose Data property elements should be appended. - - - - Appends all the serialized properties of an Exception into the specified . - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Appends all the additional properties of an Exception like Data key-value-pairs - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Split the string and then compile into list of Rendering formats. - - - - - Renders contents of the specified file. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file. - - - - - - Gets or sets the encoding used in the file. - - The encoding. - - - - - Renders the contents of the specified file and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - Name used in config without ${}. E.g. "test" could be used as "${test}". - - - - - Method that renders the layout. - - This public property will be removed in NLog 5. - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render the value for this log event - - The event info. - The value. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - The information about the garbage collector. - - - - - Gets or sets the property to retrieve. - - - - - - - - - Gets or sets the property of System.GC to retrieve. - - - - - Total memory allocated. - - - - - Total memory allocated (perform full garbage collection first). - - - - - Gets the number of Gen0 collections. - - - - - Gets the number of Gen1 collections. - - - - - Gets the number of Gen2 collections. - - - - - Maximum generation number supported by GC. - - - - - Render a Global Diagnostics Context item. See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - - - - Globally-unique identifier (GUID). - - - - - Gets or sets the GUID format as accepted by Guid.ToString() method. - - - - - - Generate the Guid from the NLog LogEvent (Will be the same for all targets) - - - - - - - - - - - - - - - The host name that the process is running on. - - - - - - - - Gets the host name and falls back to computer name if not available - - - - - Tries the lookup value. - - The lookup function. - Type of the lookup. - - - - - - - - Thread identity information (name and authentication information). - - - - - Gets or sets the separator to be used when concatenating - parts of identity information. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated. - - - - - - - - - Retrieve network interfaces - - - - - Retrieve network interfaces - - - - - Installation parameter (passed to InstallNLogConfig). - - - - - Gets or sets the name of the parameter. - - - - - - Renders the specified installation parameter and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render environmental information related to logging events. - - - - - Gets the logging configuration this target is part of. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Renders the the value of layout renderer in the context of the specified log event. - - The log event. - String representation of a layout renderer. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Renders the value of layout renderer in the context of the specified log event. - - The log event. - The layout render output is appended to builder - - - - Renders the value of layout renderer in the context of the specified log event into . - - The to append the rendered data to. - Logging event. - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Get the for rendering the messages to a - - LogEvent with culture - Culture in on Layout level - - - - - Get the for rendering the messages to a , needed for date and number formats - - LogEvent with culture - Culture in on Layout level - - - is preferred - - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Renderer with callback func - - - - Marks class as a layout renderer and assigns a name to it. - - This attribute is not required when registering the layout in the API. - - - - Initializes a new instance of the class. - - Name of the layout renderer, without the `${ }` - - - - Format of the ${level} layout renderer output. - - - - - Render the LogLevel standard name. - - - - - Render the first character of the level. - - - - - Render the ordinal (aka number) for the level. - - - - - Render the LogLevel full name, expanding Warn / Info abbreviations - - - - - The log level. - - - - - Gets or sets a value indicating the output format of the level. - - - - - - - - - - - - - - - A string literal. - - - This is used to escape '${' sequence - as ;${literal:text=${}' - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The literal text value. - This is used by the layout compiler. - - - - Gets or sets the literal text. - - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The IP address from the network interface card (NIC) on the local machine - - - Skips loopback-adapters and tunnel-interfaces. Skips devices without any MAC-address - - - - - Get or set whether to prioritize IPv6 or IPv4 (default) - - - - - - - - - - - - - - - XML event description compatible with log4j, Chainsaw and NLogViewer. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes the layout renderer. - - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets a value indicating whether the XML should use spaces for indentation. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the XML logging event and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The logger name. - - - - - Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character). - - - - - - - - - - - - The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the date in the long format (yyyy-MM-dd HH:mm:ss.ffff) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The machine name that the process is running on. - - - - - - - - - - - Render a Mapped Diagnostic Context item, See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render a Mapped Diagnostic Logical Context item (based on CallContext). - See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - The formatted log message. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to log exception along with message. - - - - - - Gets or sets the string that separates message from the exception. - - - - - - Gets or sets whether it should render the raw message without formatting parameters - - - - - - - - - - - - Render a Nested Diagnostic Context item. - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested diagnostics context output. - - - - - - Renders the specified Nested Diagnostics Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render a Nested Diagnostic Logical Context item (Async scope) - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested logical context output. - - - - - - Renders the specified Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Timing Renderer (Async scope) - - - - - Gets or sets whether to only include the duration of the last scope created - - - - - - Gets or sets whether to just display the scope creation time, and not the duration - - - - - - Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format). - - - - - - Renders the timing details of the Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Retrieve network interfaces - - - - - Retrieve network interfaces - - - - - A newline literal. - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The directory where NLog.dll is located. - - - - - Initializes static members of the NLogDirLayoutRenderer class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The executable directory from the FileName, - using the current process - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the process directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the process directory. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - The identifier of the current process. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - The information about the running process. - - - - - Gets or sets the property to retrieve. - - - - - - Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum) - - - - - - - - - - - - - - - Property of System.Diagnostics.Process to retrieve. - - - - - Base Priority. - - - - - Exit Code. - - - - - Exit Time. - - - - - Process Handle. - - - - - Handle Count. - - - - - Whether process has exited. - - - - - Process ID. - - - - - Machine name. - - - - - Handle of the main window. - - - - - Title of the main window. - - - - - Maximum Working Set. - - - - - Minimum Working Set. - - - - - Non-paged System Memory Size. - - - - - Non-paged System Memory Size (64-bit). - - - - - Paged Memory Size. - - - - - Paged Memory Size (64-bit).. - - - - - Paged System Memory Size. - - - - - Paged System Memory Size (64-bit). - - - - - Peak Paged Memory Size. - - - - - Peak Paged Memory Size (64-bit). - - - - - Peak Virtual Memory Size. - - - - - Peak Virtual Memory Size (64-bit).. - - - - - Peak Working Set Size. - - - - - Peak Working Set Size (64-bit). - - - - - Whether priority boost is enabled. - - - - - Priority Class. - - - - - Private Memory Size. - - - - - Private Memory Size (64-bit). - - - - - Privileged Processor Time. - - - - - Process Name. - - - - - Whether process is responding. - - - - - Session ID. - - - - - Process Start Time. - - - - - Total Processor Time. - - - - - User Processor Time. - - - - - Virtual Memory Size. - - - - - Virtual Memory Size (64-bit). - - - - - Working Set Size. - - - - - Working Set Size (64-bit). - - - - - The name of the current process. - - - - - Gets or sets a value indicating whether to write the full path to the process executable. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Renders the current process name (optionally with a full path). - - The to append the rendered data to. - Logging event. - - - - The process time in format HH:mm:ss.mmm. - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Write timestamp to builder with format hh:mm:ss:fff - - - - - The sequence ID - - - - - - - - - - - The short date in a sortable format yyyy-MM-dd. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the current short date string (yyyy-MM-dd) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - System special folder path (includes My Documents, My Music, Program Files, Desktop, and more). - - - - - Gets or sets the system special folder to use. - - - Full list of options is available at MSDN. - The most common ones are: -
    -
  • ApplicationData - roaming application data for current user.
  • -
  • CommonApplicationData - application data for all users.
  • -
  • MyDocuments - My Documents
  • -
  • DesktopDirectory - Desktop directory
  • -
  • LocalApplicationData - non roaming application data
  • -
  • Personal - user profile directory
  • -
  • System - System directory
  • -
-
- -
- - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Format of the ${stacktrace} layout renderer output. - - - - - Raw format (multiline - as returned by StackFrame.ToString() method). - - - - - Flat format (class and method names displayed in a single line). - - - - - Detailed flat format (method signatures displayed in a single line). - - - - - Stack trace renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the output format of the stack trace. - - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets the stack frame separator string. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A temporary directory. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The identifier of the current thread. - - - - - - - - The name of the current thread. - - - - - - - - The Ticks value of current date and time. - - - - - - - - - - - The time in a 24-hour, sortable format HH:mm:ss.mmmm. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - A renderer that puts into log a System.Diagnostics trace correlation id. - - - - - - - - - - - Render a NLog variable (xml or config) - - - - - Gets or sets the name of the NLog variable. - - - - - - Gets or sets the default value to be used when the variable is not set. - - Not used if Name is null - - - - - Initializes the layout renderer. - - - - - Try get the - - - - - - - Renders the specified variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Applies caching to another layout output. - - - The value of the inner layout will be rendered only once and reused subsequently. - - - - - A value indicating when the cache is cleared. - - - - Never clear the cache. - - - Clear the cache whenever the is initialized. - - - Clear the cache whenever the is closed. - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether this is enabled. - - - - - - Gets or sets a value indicating when the cache is cleared. - - - - - - Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s - - - - - - Gets or sets a value indicating how many seconds the value should stay cached until it expires - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - - - - Filters characters not allowed in the file names by replacing them with safe character. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path - (illegal characters are replaced with '_'). - - - - - - - - - - - - Escapes output of another layout using JSON rules. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply JSON encoding. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - - - - - - - Left part of a text - - - - - Gets or sets the length in characters. - - - - - - Same as -property, so it can be used as ambient property. - - - ${message:truncate=80} - - - - - - - - - - - - Converts the result of another layout output to lower case. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Render the non-raw value of an object. - - For performance and/or full (formatted) control of the output. - - - - Gets or sets a value indicating whether to disable the IRawValue-interface - - A value of true if IRawValue-interface should be ignored; otherwise, false. - - - - - - - - - - - Render a single property of a object - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - Shortcut for - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - Only outputs the inner layout when exception has been defined for log message. - - - - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - ${onhasproperties:, Properties\: ${all-event-properties}} - - - - - - - - - - - Horizontal alignment for padding layout renderers. - - - - - When layout text is too long, align it to the left - (remove characters from the right). - - - - - When layout text is too long, align it to the right - (remove characters from the left). - - - - - Applies padding to another layout output. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of characters to pad the output to. - - - Positive padding values cause left padding, negative values - cause right padding to the desired width. - - - - - - Gets or sets the padding character. - - - - - - Gets or sets a value indicating whether to trim the - rendered text to the absolute value of the padding length. - - - - - - Gets or sets a value indicating whether a value that has - been truncated (when is true) - will be left-aligned (characters removed from the right) - or right-aligned (characters removed from the left). The - default is left alignment. - - RegistryLayoutRenderer - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Replaces a string in the output of another layout with another string. - - - ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}} - - - - - Gets or sets the text to search for. - - The text search for. - - - - - Gets or sets a value indicating whether regular expressions should be used. - - A value of true if regular expressions should be used otherwise, false. - - - - - Gets or sets the replacement string. - - The replacement string. - - - - - Gets or sets the group name to replace when using regular expressions. - Leave null or empty to replace without using group name. - - The group name. - - - - - Gets or sets a value indicating whether to ignore case. - - A value of true if case should be ignored when searching; otherwise, false. - - - - - Gets or sets a value indicating whether to search for whole words. - - A value of true if whole words should be searched for; otherwise, false. - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Initializes the layout renderer. - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass - - - - - A match evaluator for Regular Expression based replacing - - Input string. - Group name in the regex. - Replace value. - Match from regex. - Groups replaced with . - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating the string that should be used for separating lines. - - - - - - - - - - - - Right part of a text - - - - - Gets or sets the length in characters. - - - - - - - - - - - - Decodes text "encrypted" with ROT-13. - - - See https://en.wikipedia.org/wiki/ROT13. - - - - - Gets or sets the layout to be wrapped. - - The layout to be wrapped. - This variable is for backwards compatibility - - - - - Encodes/Decodes ROT-13-encoded string. - - The string to be encoded/decoded. - Encoded/Decoded text. - - - - - - - - - - Encodes/Decodes ROT-13-encoded string. - - - - - Substring the result - - - ${substring:${level}:start=2:length=2} - ${substring:${level}:start=-2:length=2} - ${substring:Inner=${level}:start=2:length=2} - - - - - Initializes a new instance of the class. - - - - - Gets or sets the start index. - - Index - - - - - Gets or sets the length in characters. If null, then the whole string - - Index - - - - - - - - - - - Calculate start position - - 0 or positive number - - - - Calculate needed length - - 0 or positive number - - - - Trims the whitespace from the result of another layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - - - - - - - Converts the result of another layout output to upper case. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - ${level:uppercase} // [AmbientProperty] - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether upper case conversion should be applied. - - A value of true if upper case conversion should be applied otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Encodes the result of another layout output for use with URLs. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether spaces should be translated to '+' or '%20'. - - A value of true if space should be translated to '+'; otherwise, false. - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - - - Gets or sets the layout to be rendered when original layout produced empty result. - - - - - - - - - - - - - - - Only outputs the inner layout when the specified condition has been met. - - - - - Gets or sets the condition that must be met for the layout to be printed. - - - - - - If is not met, print this layout. - - - - - - - - - - - - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the line length for wrapping. - - - Only positive values are allowed - - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - Base class for s which wrapping other s. - - This has the property (which is default) and can be used to wrap. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - - - - - Gets or sets the wrapped layout. - - [DefaultParameter] so Inner: is not required if it's the first - - - - - - - - - Renders the inner message, processes it and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Appends the rendered output from -layout and transforms the added output (when necessary) - - Logging event. - The to append the rendered data to. - Start position for any necessary transformation of . - - - - Transforms the output of another layout. - - Logging event. - Output to be transform. - Transformed text. - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - Base class for s which wrapping other s. - - This expects the transformation to work on a - - - - - - - - Transforms the output of another layout. - - - Output to be transform. - - - - Transforms the output of another layout. - - Output to be transform. - - - - Renders the inner layout contents. - - - for the result - - - - - - - - - - - - - - - - - - Converts the result of another layout output to be XML-compliant. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply XML encoding. - - Ensures always valid XML, but gives a performance hit - - - - - Gets or sets a value indicating whether to transform newlines (\r\n) into ( ) - - - - - - - - - - - - A layout containing one or more nested layouts. - - - - - Initializes a new instance of the class. - - - - - Gets the inner layouts. - - - - - - Initializes the layout. - - - - - Formats the log event relying on inner layouts. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event relying on inner layouts. - - The logging event. - for the result - - - - Closes the layout. - - - - - Generate description of Compound Layout - - Compound Layout String Description - - - - A column in the CSV. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column. - The layout of the column. - - - - Gets or sets the name of the column. - - - - - - Gets or sets the layout of the column. - - - - - - Gets or sets the override of Quoting mode - - - and are faster than the default - - - - - - Specifies allowed column delimiters. - - - - - Automatically detect from regional settings. - - - - - Comma (ASCII 44). - - - - - Semicolon (ASCII 59). - - - - - Tab character (ASCII 9). - - - - - Pipe character (ASCII 124). - - - - - Space character (ASCII 32). - - - - - Custom string, specified by the CustomDelimiter. - - - - - A specialized layout that renders CSV-formatted events. - - If is set, then the header generation with column names will be disabled. - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - Gets or sets a value indicating whether CVS should include header. - - A value of true if CVS should include header; otherwise, false. - - - - - Gets or sets the column delimiter. - - - - - - Gets or sets the quoting mode. - - - - - - Gets or sets the quote Character. - - - - - - Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom'). - - - - - - Initializes the layout. - - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event for write. - - The logging event. - for the result - - - - Get the headers with the column names. - - - - - - Header with column names for CSV layout. - - - - - Initializes a new instance of the class. - - The parent. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Generate description of CSV Layout - - CSV Layout String Description - - - - Specifies CSV quoting modes. - - - - - Quote all column (Fast) - - - - - Quote nothing (Very fast) - - - - - Quote only whose values contain the quote symbol or the separator (Slow) - - - - - JSON attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with json-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Json encoded. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A specialized layout that renders JSON-formatted events. - - - - - Initializes a new instance of the class. - - - - - Gets the array of attributes' configurations. - - - - - - Gets or sets the option to suppress the extra spaces in the output json - - - - - - Gets or sets the option to render the empty object value {} - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to exclude null/empty properties from the log event (as JSON) - - - - - - List of property names to exclude when is true - - - - - - How far should the JSON serializer follow object references before backing off - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Formats the log event as a JSON document for writing. - - The logging event. - for the result - - - - Formats the log event as a JSON document for writing. - - The log event to be formatted. - A JSON string representation of the log event. - - - - Generate description of JSON Layout - - JSON Layout String Description - - - - Abstract interface that layouts must implement. - - - - - Is this layout initialized? See - - - - - Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). - - - Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are - like that as well. - - Thread-agnostic layouts only use contents of for its output. - - - - - Gets the level of stack trace information required for rendering. - - - - - Gets the logging configuration this target is part of. - - - - - Converts a given text to a . - - Text to be converted. - object represented by the text. - - - - Implicitly converts the specified string to a . - - The layout string. - Instance of .' - - - - Implicitly converts the specified string to a . - - The layout string. - The NLog factories to use when resolving layout renderers. - Instance of . - - - - Implicitly converts the specified string to a . - - The layout string. - Whether should be thrown on parse errors (false = replace unrecognized tokens with a space). - Instance of . - - - - Create a from a lambda method. - - Method that renders the layout. - Tell if method is safe for concurrent threading. - Instance of . - - - - Precalculates the layout for the specified log event and stores the result - in per-log event cache. - - Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic]. - - The log event. - - Calling this method enables you to store the log event in a buffer - and/or potentially evaluate it in another thread even though the - layout may contain thread-dependent renderer. - - - - - Renders the event info in layout. - - The event info. - String representing log event. - - - - Optimized version of for internal Layouts. Works best - when override of is available. - - The event info. - Appends the string representing log event to target - Should rendering result be cached on LogEventInfo - - - - Valid default implementation of , when having implemented the optimized - - The logging event. - StringBuilder to help minimize allocations [optional]. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Optimized version of for internal Layouts, when - override of is available. - - - - - Try get value - - - rawValue if return result is true - false if we could not determine the rawValue - - - - Marks class as a layout renderer and assigns a format string to it. - - - - - Initializes a new instance of the class. - - Layout name. - - - - Parses layout strings. - - - - - Add to - - - - - - - Options available for - - - - - Default options - - - - - Layout renderer method can handle concurrent threads - - - - - Layout renderer method is agnostic to current thread context. This means it will render the same result indepdent of thread-context. - - - - - A specialized layout that supports header and footer. - - - - - Gets or sets the body layout (can be repeated multiple times). - - - - - - Gets or sets the header layout. - - - - - - Gets or sets the footer layout. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result. - - - - A specialized layout that renders Log4j-compatible XML events. - - - This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets the instance that renders log events. - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Represents a string with embedded placeholders that can render contextual information. - - - This layout is not meant to be used explicitly. Instead you can just use a string containing layout - renderers everywhere the layout is required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout string to parse. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - Whether should be thrown on parse errors. - - - - Original text before compile to Layout renderes - - - - - Gets or sets the layout text. - - - - - - Is the message fixed? (no Layout renderers used) - - - - - Get the fixed text. Only set when is true - - - - - Is the message a simple formatted string? (Can skip StringBuilder) - - - - - Gets a collection of objects that make up this layout. - - - - - Gets the level of stack trace information required for rendering. - - - - - Converts a text to a simple layout. - - Text to be converted. - A object. - - - - Escapes the passed text so that it can - be used literally in all places where - layout is normally expected without being - treated as layout. - - The text to be escaped. - The escaped text. - - Escaping is done by replacing all occurrences of - '${' with '${literal:text=${}' - - - - - Evaluates the specified text by expanding all layout renderers. - - The text to be evaluated. - Log event to be used for evaluation. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Evaluates the specified text by expanding all layout renderers - in new context. - - The text to be evaluated. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Returns a that represents the current object. - - - A that represents the current object. - - - - - - - - - - - - - - - - - - - - XML attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with xml-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A XML Element - - - - - - - - - - - Name of the element - - - - - - Value inside the element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - The name of the top XML node - The value of the top XML node - - - - Name of the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Value inside the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Auto indent and create new lines - - - - - - Gets the array of xml 'elements' configurations. - - - - - - Gets the array of 'attributes' configurations for the element - - - - - - Gets or sets whether a ElementValue with empty value should be included in the output - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - List of property names to exclude when is true - - - - - - XML element name to use when rendering properties - - - Support string-format where {0} means property-key-name - - Skips closing element tag when having configured - - - - - - XML attribute name to use when rendering property-key - - When null (or empty) then key-attribute is not included - - - Will replace newlines in attribute-value with - - - - - - XML attribute name to use when rendering property-value - - When null (or empty) then value-attribute is not included and - value is formatted as XML-element-value - - - Skips closing element tag when using attribute for value - - Will replace newlines in attribute-value with - - - - - - XML element name to use for rendering IList-collections items - - - - - - How far should the XML serializer follow object references before backing off - - - - - - Initializes the layout. - - - - - Formats the log event as a XML document for writing. - - The logging event. - for the result - - - - Formats the log event as a XML document for writing. - - The log event to be formatted. - A XML string representation of the log event. - - - - write attribute, only if is not empty - - - - - rendered - - - - Generate description of XML Layout - - XML Layout String Description - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - - - - - - - Name of the root XML element - - - - - - Value inside the root XML element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Represents the logging event. - - - - - Gets the date of the first log event created. - - - - - The formatted log message. - - - - - The log message including any parameter placeholders - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - Already parsed message template parameters. - - - - Initializes a new instance of the class. - - Log level. - Override default Logger name. Default is used when null - Log message. - List of event-properties - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - Exception information. - - - - Gets the unique identifier of log event which is automatically generated - and monotonously increasing. - - - - - Gets or sets the timestamp of the logging event. - - - - - Gets or sets the level of the logging event. - - - - - Gets a value indicating whether stack trace has been set for this event. - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Gets the entire stack trace. - - - - - Gets the callsite class name - - - - - Gets the callsite member function name - - - - - Gets the callsite source file path - - - - - Gets the callsite source file line number - - - - - Gets or sets the exception information. - - - - - Gets or sets the logger name. - - - - - Gets the logger short name. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the log message including any parameter placeholders. - - - - - Gets or sets the parameter values or null if no parameters have been specified. - - - - - Gets or sets the format provider that was provided while logging or - when no formatProvider was specified. - - - - - Gets or sets the message formatter for generating - Uses string.Format(...) when nothing else has been configured. - - - - - Gets the formatted message. - - - - - Checks if any per-event properties (Without allocation) - - - - - Gets the dictionary of per-event context properties. - - - - - Gets the dictionary of per-event context properties. - Internal helper for the PropertiesDictionary type. - - Create the event-properties dictionary, even if no initial template parameters - Provided when having parsed the message template and capture template parameters (else null) - - - - - Gets the named parameters extracted from parsing as MessageTemplate - - - - - Gets the dictionary of per-event context properties. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Creates the null event. - - Null log event. - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - The exception. - Instance of . - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates from this by attaching the specified asynchronous continuation. - - The asynchronous continuation. - Instance of with attached continuation. - - - - Returns a string representation of this log event. - - String representation of the log event. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace (Negative means NLog should skip stackframes from System-assemblies). - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Set the - - true = Always, false = Never, null = Auto Detect - - - - Specialized LogFactory that can return instances of custom logger types. - - Use this only when a custom Logger type is defined. - The type of the logger to be returned. Must inherit from . - - - - Gets the logger with type . - - The logger name. - An instance of . - - - - Gets a custom logger with the full name of the current class (so namespace and class name) and type . - - An instance of . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Overwrite possible file paths (including filename) for possible NLog config files. - When this property is null, the default file paths ( are used. - - - - - Occurs when logging changes. - - - - - Occurs when logging gets reloaded. - - - - - Initializes static members of the LogManager class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The config. - - - - Initializes a new instance of the class. - - The config loader - The custom AppEnvironmnet override - - - - Gets the current . - - - - - Gets or sets a value indicating whether exceptions should be thrown. See also . - - A value of true if exception should be thrown; otherwise, false. - By default exceptions are not thrown under any circumstances. - - - - Gets or sets a value indicating whether should be thrown. - - If null then is used. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. After setting this property all - existing loggers will be re-configured, so there is no need to call - manually. - - - - - Gets or sets the global log level threshold. Log events below this threshold are not logged. - - - - - Gets the default culture info to use as . - - - Specific culture info or null to use - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting - unmanaged resources. - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Creates a logger that discards all log messages. - - Null logger instance. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets the logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - The logger with type . - Type of the logger - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The type of the logger to create. The type must inherit from - The logger of type . - This is a slow-running method. Make sure you are not calling this method in a - loop. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - Name of the logger. - Type of the logger - The logger reference with type . Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The type of the logger to create. The type must inherit from . - The logger of type . Multiple calls to GetLogger with the - same argument aren't guaranteed to return the same logger reference. - - - - Loops through all loggers previously returned by GetLogger and recalculates their - target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time - will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flushes any pending log messages on all appenders. - - Config containing Targets to Flush - Flush completed notification (success / timeout) - Optional timeout that guarantees that completed notication is called. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Returns if logging is currently enabled. - - A value of if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Raises the event when the configuration is reloaded. - - Event arguments. - - - - Raises the event when the configuration is reloaded. - - Event arguments - - - - Currently this is disposing? - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; - false to release only unmanaged resources. - - - - Dispose all targets, and shutdown logging. - - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Logger cache key. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Determines if two objects are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Determines if two objects of the same type are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Logger cache. - - - - - Inserts or updates. - - - - - - - Internal for unit tests - - - - - Enables logging in implementation. - - - - - Initializes a new instance of the class. - - The factory. - - - - Enables logging. - - - - - Logging methods which only are executed when the DEBUG conditional compilation symbol is set. - - Remarks: - The DEBUG conditional compilation symbol is default enabled (only) in a debug build. - - If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods. - This could lead to better performance. - - See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx - - - Provides logging interface and utility functions. - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Initializes a new instance of the class. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Collection of context properties for the Logger. The logger will append it for all log events - - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Creates new logger that automatically appends the specified property to all log events (without changing current logger) - - Property Name - Property Value - New Logger object that automatically appends specified property - - - - Updates the specified context property for the current logger. The logger will append it for all log events. - - It could be rendered with ${event-properties:YOURNAME} - - With property, all properties could be changed. - - - Will affect all locations/contexts that makes use of the same named logger object. - - Property Name - Property Value - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. - - The task for which to log an error if it does not run to completion. - A task that completes in the state when completes. - - - - Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Async action to execute. - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Async function to run. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Async function to run. - Fallback value to return if the task does not end in the state. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. - - - - Raises the event when the logger is reconfigured. - - Event arguments - - - - Implementation of logging engine. - - - - - Gets the filter result. - - The filter chain. - The log event. - default result if there are no filters, or none of the filters decides. - The result of the filter. - - - - Defines available log levels. - - - - - Trace log level. - - - - - Debug log level. - - - - - Info log level. - - - - - Warn log level. - - - - - Error log level. - - - - - Fatal log level. - - - - - Off log level. - - - - - Gets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - - - - - Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) - i.e LogLevel.Off is excluded. - - - - - Initializes a new instance of . - - The log level name. - The log level ordinal number. - - - - Gets the name of the log level. - - - - - Gets the ordinal of the log level. - - - - - Compares two objects - and returns a value indicating whether - the first one is equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal == level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is not equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal != level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than the second one. - - The first level. - The second level. - The value of level1.Ordinal > level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal >= level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than the second one. - - The first level. - The second level. - The value of level1.Ordinal < level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal <= level2.Ordinal. - - - - Gets the that corresponds to the specified ordinal. - - The ordinal. - The instance. For 0 it returns , 1 gives and so on. - - - - Returns the that corresponds to the supplied . - - The textual representation of the log level. - The enumeration value. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Determines whether the specified instance is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Compares the level to the other object. - - - The object object. - - - A value less than zero when this logger's is - less than the other logger's ordinal, 0 when they are equal and - greater than zero when this ordinal is greater than the - other ordinal. - - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Delegate used to set/get the culture in use. - - This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the instance used in the . - - Could be used to pass the to other methods - - - - Occurs when logging changes. - - - - - Occurs when logging gets reloaded. - - - - - Gets or sets a value indicating whether NLog should throw exceptions. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether should be thrown. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. - - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Gets or sets the global log threshold. Log events below this threshold are not logged. - - - - - Gets or sets the default culture to use. - - This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Adds the given assembly which will be skipped - when NLog is trying to find the calling method on stack trace. - - The assembly to skip. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The logger class. This class must inherit from . - The logger of type . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates a logger that discards all log messages. - - Null logger which discards all log messages. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - - - - Gets the specified named custom logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The logger class. This class must inherit from . - The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - The generic way for this method is - - - - Loops through all loggers previously returned by GetLogger. - and recalculates their target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Checks if logging is currently enabled. - - if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Dispose all targets, and shutdown logging. - - - - - Generates a formatted message from the log event - - Log event. - Formatted message - - - - Returns a log message. Used to defer calculation of - the log message until it's actually needed. - - Log message. - - - - Mapped Diagnostics Context - a thread-local structure that keeps a dictionary - of strings and provides methods to output them in layouts. - - - - - Gets the thread-local dictionary - - Must be true for any subsequent dictionary modification operation - - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The to use when converting a value to a . - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Returns all item names - - A set of the names of all items in current thread-MDC. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified exists in current thread MDC. - - - - Removes the specified from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary - of strings and provides methods to output them in layouts. Allows for maintaining state across - asynchronous tasks and call contexts. - - - Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original - NLog library so that state can be maintained for multiple threads in asynchronous situations. - - - - - Simulate ImmutableDictionary behavior (which is not yet part of all .NET frameworks). - In future the real ImmutableDictionary could be used here to minimize memory usage and copying time. - - Must be true for any subsequent dictionary modification operation - Prepare dictionary for additional inserts - - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The to use when converting a value to a string. - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Updates the current logical context with multiple items in single operation - - . - >An that can be used to remove the item from the current logical context (null if no items). - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Returns all item names - - A collection of the names of all items in current logical context. - - - - Checks whether the specified exists in current logical context. - - Item name. - A boolean indicating whether the specified exists in current logical context. - - - - Removes the specified from current logical context. - - Item name. - - - - Clears the content of current logical context. - - - - - Clears the content of current logical context. - - Free the full slot. - - - - Mapped Diagnostics Context - - This class marked as obsolete before NLog 2.0 and it may be removed in a future release. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified item exists in current thread MDC. - - - - Removes the specified item from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mark a parameter of a method for message templating - - - - - Specifies which parameter of an annotated method should be treated as message-template-string - - - - - The name of the parameter that should be as treated as message-template-string - - - - - The type of the captured hole - - - - - Not decided - - - - - normal {x} - - - - - Serialize operator {@x} (aka destructure) - - - - - stringification operator {$x} - - - - - A hole that will be replaced with a value - - - - - Constructor - - - - Parameter name sent to structured loggers. - This is everything between "{" and the first of ",:}". - Including surrounding spaces and names that are numbers. - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - Type - - - - When the template is positional, this is the parsed name of this parameter. - For named templates, the value of Index is undefined. - - - Alignment to render the parameter, by default 0. - This is the parsed value between "," and the first of ":}" - - - - A fixed value - - - - Number of characters from the original template to copy at the current position. - This can be 0 when the template starts with a hole or when there are multiple consecutive holes. - - - Number of characters to skip in the original template at the current position. - 0 is a special value that mean: 1 escaped char, no hole. It can also happen last when the template ends with a literal. - - - - Combines Literal and Hole - - - - Literal - - - Hole - Uninitialized when = 0. - - - - Description of a single parameter extracted from a MessageTemplate - - - - - Parameter Name extracted from - This is everything between "{" and the first of ",:}". - - - - - Parameter Value extracted from the -array - - - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - - Parameter method that should be used to render the parameter - See also - - - - - Returns index for , when - - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - Parameter CaptureType - - - - Parameters extracted from parsing as MessageTemplate - - - - - - - - - - - Gets the parameters at the given index - - - - - Number of parameters - - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Indicates whether the template was parsed successful, and there are no unmatched parameters - - - - - Constructor for parsing the message template with parameters - - including any parameter placeholders - All - - - - Constructor for named parameters that already has been parsed - - - - - Create MessageTemplateParameter from - - - - - A message template - - - - The original template string. - This is the key passed to structured targets. - - - The list of literal parts, useful for string rendering. - It indicates the number of characters from the original string to print, - then there's a hole with how many chars to skip. - - "Hello {firstName} {lastName}!" - ------------------------------------- - ║P |S ║P|S ║P|S║ - ║6 |11 ║1|10 ║1|0║ - ║Hello |{firstName}║ |{lastName}║!║ - - "{x} * 2 = {2x}" - -------------------- - ║P|S ║P |S ║ - ║0|3 ║7 |4 ║ - ║{x}║ * 2 = |{2x}║ - - The tricky part is escaped braces. They are represented by a skip = 0, - which is interpreted as "move one char forward, no hole". - - "Escaped }} is fun." - ---------------------- - ║P |S║P |S║ - ║9 |0║8 |0║ - ║Escaped }|}║ is fun.|║ - - - - This list of holes. It's used both to fill the string rendering - and to send values along the template to structured targets. - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Create a template, which is already parsed - - - - - - - - - Create a template, which is already parsed - - - - - - - - This is for testing only: recreates from the parsed data. - - - - This is for testing only: rebuilds the hole - - Add to this string builder - ref for performance - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Gets the current literal/hole in the template - - - - - Clears the enumerator - - - - - Restarts the enumerator of the template - - - - - Moves to the next literal/hole in the template - - Found new element [true/false] - - - - Parse format after hole name/index. Handle the escaped { and } in the format. Don't read the last } - - - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Error when parsing a template. - - - - - Current index when the error occurred. - - - - - The template we were parsing - - - - - New exception - - The message to be shown. - Current index when the error occurred. - - - - - Render templates - - - - - Render a template to a string. - - The template. - Culture. - Parameters for the holes. - Do not fallback to StringBuilder.Format for positional templates. - The String Builder destination. - Parameters for the holes. - - - - Render a template to a string. - - The template. - The String Builder destination. - Culture. - Parameters for the holes. - Rendered template, never null. - - - - Convert Render or serialize a value, with optionally backwards-compatible with - - - - Singleton - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Format an object to a readable string, or if it's an object, serialize - - The value to convert - - - - - - - - Try serializing a scalar (string, int, NULL) or simple type (IFormattable) - - - - - Serialize Dictionary as JSON like structure, without { and } - - - "FirstOrder"=true, "Previous login"=20-12-2017 14:55:32, "number of tries"=1 - - - formatstring of an item - - - - - - - - - Convert a value to a string with format and append to . - - The value to convert. - Format sting for the value. - Format provider for the value. - Append to this - - - - Nested Diagnostics Context - - This class marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top object off the NDC stack. The object is removed from the stack. - - The top object from the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all objects on the NDC stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Nested Diagnostics Context - a thread-local structure that keeps a stack - of strings and provides methods to output them in layouts - - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object at the top of the NDC stack if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified object on current thread NDC. - - The object to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top message from the NDC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top object off the NDC stack. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Peeks the first object on the NDC stack - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. - - Array of objects on the stack. - - - - Resets the stack to the original count during . - - - - - Initializes a new instance of the class. - - The stack. - The previous count. - - - - Reverts the stack to original item count. - - - - - Async version of - a logical context structure that keeps a stack - Allows for maintaining scope across asynchronous tasks and call contexts. - - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDLC stack. - - The top message which is no longer on the stack. - this methods returns a object instead of string, this because of backwards-compatibility - - - - Pops the top message from the NDLC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top message off the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the top object on the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the current scope, and returns its start time - - Scope Creation Time - - - - Peeks the first scope, and returns its start time - - Scope Creation Time - - - - Clears current stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Exception thrown during NLog configuration. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The inner exception. - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Exception thrown during log event processing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - TraceListener which routes all messages through NLog. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the log factory to use when outputting messages (null - use LogManager). - - - - - Gets or sets the default log level. - - - - - Gets or sets the log which should be always used regardless of source level. - - - - - Gets or sets a value indicating whether flush calls from trace sources should be ignored. - - - - - Gets a value indicating whether the trace listener is thread safe. - - - true if the trace listener is thread safe; otherwise, false. The default is false. - - - - Gets or sets a value indicating whether to use auto logger name detected from the stack trace. - - - - - When overridden in a derived class, writes the specified message to the listener you create in the derived class. - - A message to write. - - - - When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator. - - A message to write. - - - - When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output. - - - - - Emits an error message. - - A message to emit. - - - - Emits an error message and a detailed error message. - - A message to emit. - A detailed message to emit. - - - - Flushes the output (if is not true) buffer with the default timeout of 15 seconds. - - - - - Writes trace information, a data object and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - The trace data to emit. - - - - Writes trace information, an array of data objects and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - An array of objects to emit as data. - - - - Writes trace and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - - - - Writes trace information, a formatted array of objects and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - A format string that contains zero or more format items, which correspond to objects in the array. - An object array containing zero or more objects to format. - - - - Writes trace information, a message, and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - One of the values specifying the type of event that has caused the trace. - A numeric identifier for the event. - A message to write. - - - - Writes trace information, a message, a related activity identity and event information to the listener specific output. - - A object that contains the current process ID, thread ID, and stack trace information. - A name used to identify the output, typically the name of the application that generated the trace event. - A numeric identifier for the event. - A message to write. - A object identifying a related activity. - - - - Gets the custom attributes supported by the trace listener. - - - A string array naming the custom attributes supported by the trace listener, or null if there are no custom attributes. - - - - - Translates the event type to level from . - - Type of the event. - Translated log level. - - - - Process the log event - The log level. - The name of the logger. - The log message. - The log parameters. - The event id. - The event type. - The related activity id. - - - - - It works as a normal but it discards all messages which an application requests - to be logged. - - It effectively implements the "Null Object" pattern for objects. - - - - - Initializes a new instance of . - - The factory class to be used for the creation of this logger. - - - - Extension methods to setup LogFactory options - - - - - Gets the logger with the full name of the current class, so namespace and class name. - - - - - Gets the specified named logger. - - - - - Configures loading of NLog extensions for Targets and LayoutRenderers - - - - - Configures the output of NLog for diagnostics / troubleshooting - - - - - Configures serialization and transformation of LogEvents - - - - - Loads NLog config created by the method - - - - - Loads NLog config provided in - - - - - Loads NLog config from filename if provided, else fallback to scanning for NLog.config - - - - - Loads NLog config from XML in - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Enable/disables autoloading of NLog extensions by scanning and loading available assemblies - - - Enabled by default, and gives a huge performance hit during startup. Recommended to disable this when running in the cloud. - - - - - Registers NLog extensions from the assembly. - - - - - Registers NLog extensions from the assembly type name - - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - MethodInfo extracted by reflection - typeof(MyClass).GetMethod("MyFunc", BindingFlags.Static). - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Extension methods to setup NLog options - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Overrides the active with a new custom implementation - - - - - Overrides the active with a new custom implementation - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Specifies the way archive numbering is performed. - - - - - Sequence style numbering. The most recent archive has the highest number. - - - - - Rolling style numbering (the most recent is always #0 then #1, ..., #N. - - - - - Date style numbering. Archives will be stamped with the prior period - (Year, Month, Day, Hour, Minute) datetime. - - - - - Date and sequence style numbering. - Archives will be stamped with the prior period (Year, Month, Day) datetime. - The most recent archive has the highest number (in combination with the date). - - - - - Abstract Target with async Task support - - - - - How many milliseconds to delay the actual write operation to optimize for batching - - - - - How many seconds a Task is allowed to run before it is cancelled. - - - - - How many attempts to retry the same Task, before it is aborted - - - - - How many milliseconds to wait before next retry (will double with each retry) - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Task Scheduler used for processing async Tasks - - - - - Constructor - - - - - Initializes the internal queue for pending logevents - - - - - Override this to create the actual logging task - - Example of how to override this method, and call custom async method - - protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) - { - return CustomWriteAsync(logEvent, token); - } - - private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) - { - await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); - } - - - The log event. - The cancellation token - - - - - Override this to create the actual logging task for handling batch of logevents - - A batch of logevents. - The cancellation token - - - - - Handle cleanup after failed write operation - - Exception from previous failed Task - The cancellation token - Number of retries remaining - Time to sleep before retrying - Should attempt retry - - - - Schedules the LogEventInfo for async writing - - The log event. - - - - Write to queue without locking - - - - - - Schedules notification of when all messages has been written - - - - - - Closes Target by updating CancellationToken - - - - - Releases any managed resources - - - - - - Checks the internal queue for the next to create a new task for - - Used for race-condition validation between task-completion and timeout - Signals whether previousTask completed an almost full BatchSize - - - - Generates recursive task-chain to perform retry of writing logevents with increasing retry-delay - - - - - Creates new task to handle the writing of the input - - LogEvents to write - New Task created [true / false] - - - - Handles that scheduled task has completed (successfully or failed), and starts the next pending task - - Task just completed - AsyncContinuation to notify of success or failure - - - - Timer method, that is fired when pending task fails to complete within timeout - - - - - - Sends log messages to the remote instance of Chainsaw application from log4j. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a name. - - Name of the target. - - - - Color formatting for using ANSI Color Codes - - - - - Not using bold to get light colors, as it has to be cleared - - - - - Not using bold to get light colors, as it has to be cleared (And because it only works for text, and not background) - - - - - Resets both foreground and background color. - - - - - ANSI have 8 color-codes (30-37) by default. The "bright" (or "intense") color-codes (90-97) are extended values not supported by all terminals - - - - - Color formatting for using - and - - - - - Writes log messages to the console with customizable coloring. - - Documentation on NLog Wiki - - - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default.In multithreaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether the error stream (stderr) should be used instead of the output stream (stdout). - - - - - - Gets or sets a value indicating whether to use default row highlighting rules. - - - The default rules are: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ConditionForeground ColorBackground Color
level == LogLevel.FatalRedNoChange
level == LogLevel.ErrorYellowNoChange
level == LogLevel.WarnMagentaNoChange
level == LogLevel.InfoWhiteNoChange
level == LogLevel.DebugGrayNoChange
level == LogLevel.TraceDarkGrayNoChange
-
- -
- - - The encoding for writing messages to the . - - Has side effect - - - - - Gets or sets a value indicating whether to auto-check if the console is available. - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-check if the console has been redirected to file - - Disables coloring logic when System.Console.IsOutputRedirected = true - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Enables output using ANSI Color Codes - - - - - - Gets the row highlighting rules. - - - - - - Gets the word highlighting rules. - - - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified log event to the console highlighting entries - and words based on a set of defined rules. - - Log event. - - - - Colored console output color. - - - Note that this enumeration is defined to be binary compatible with - .NET 2.0 System.ConsoleColor + some additions - - - - - Black Color (#000000). - - - - - Dark blue Color (#000080). - - - - - Dark green Color (#008000). - - - - - Dark Cyan Color (#008080). - - - - - Dark Red Color (#800000). - - - - - Dark Magenta Color (#800080). - - - - - Dark Yellow Color (#808000). - - - - - Gray Color (#C0C0C0). - - - - - Dark Gray Color (#808080). - - - - - Blue Color (#0000FF). - - - - - Green Color (#00FF00). - - - - - Cyan Color (#00FFFF). - - - - - Red Color (#FF0000). - - - - - Magenta Color (#FF00FF). - - - - - Yellow Color (#FFFF00). - - - - - White Color (#FFFFFF). - - - - - Don't change the color. - - - - - The row-highlighting condition. - - - - - Initializes static members of the ConsoleRowHighlightingRule class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The condition. - Color of the foreground. - Color of the background. - - - - Gets the default highlighting rule. Doesn't change the color. - - - - - Gets or sets the condition that must be met in order to set the specified foreground and background color. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Checks whether the specified log event matches the condition (if any). - - - Log event. - - - A value of if the condition is not defined or - if it matches, otherwise. - - - - - Writes log messages to the console. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default. In multi threaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. - - - - - - The encoding for writing messages to the . - - Has side effect - - - - - Gets or sets a value indicating whether to auto-check if the console is available - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Gets or sets whether to enable batch writing using char[]-buffers, instead of using - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified logging event to the Console.Out or - Console.Error depending on the value of the Error flag. - - The logging event. - - Note that the Error option is not supported on .NET Compact Framework. - - - - - - - - Write to output - - - - - Highlighting rule for Win32 colorful console. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The text to be matched.. - Color of the foreground. - Color of the background. - - - - Gets or sets the regular expression to be matched. You must specify either text or regex. - - - - - - Gets or sets the condition that must be met before scanning the row for highlight of words - - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets the text to be matched. You must specify either text or regex. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Gets the compiled regular expression that matches either Text or Regex property. Only used when is true. - - - - - Information about database command + parameters. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the type of the command. - - The type of the command. - - - - - Gets or sets the connection string to run the command against. If not provided, connection string from the target is used. - - - - - - Gets or sets the command text. - - - - - - Gets or sets a value indicating whether to ignore failures. - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a database named or positional parameter. - - - - - - Information about object-property for the database-connection-object - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name for the object-property - - - - - - Gets or sets the value to assign on the object-property - - - - - - Gets or sets the type of the object-property - - - - - - Gets or sets convert format of the property value - - - - - - Gets or sets the culture used for parsing property string-value for type-conversion - - - - - - Represents a parameter to a Database target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the parameter. - The parameter layout. - - - - Gets or sets the database parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets the database parameter DbType. - - - - - - Gets or sets the database parameter size. - - - - - - Gets or sets the database parameter precision. - - - - - - Gets or sets the database parameter scale. - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets convert format of the database parameter value. - - - - - - Gets or sets the culture used for parsing parameter string-value for type-conversion - - - - - - Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values. - - - - - - Writes log messages to the database using an ADO.NET provider. - - - - NETSTANDARD cannot load connectionstrings from .config - - Documentation on NLog Wiki - - - The configuration is dependent on the database type, because - there are different methods of specifying connection string, SQL - command and command parameters. - - MS SQL Server using System.Data.SqlClient: - - Oracle using System.Data.OracleClient: - - Oracle using System.Data.OleDBClient: - - To set up the log target programmatically use code like this (an equivalent of MSSQL configuration): - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets the name of the database provider. - - - - The parameter name should be a provider invariant name as registered in machine.config or app.config. Common values are: - -
    -
  • System.Data.SqlClient - SQL Sever Client
  • -
  • System.Data.SqlServerCe.3.5 - SQL Sever Compact 3.5
  • -
  • System.Data.OracleClient - Oracle Client from Microsoft (deprecated in .NET Framework 4)
  • -
  • Oracle.DataAccess.Client - ODP.NET provider from Oracle
  • -
  • System.Data.SQLite - System.Data.SQLite driver for SQLite
  • -
  • Npgsql - Npgsql driver for PostgreSQL
  • -
  • MySql.Data.MySqlClient - MySQL Connector/Net
  • -
- (Note that provider invariant names are not supported on .NET Compact Framework). - - Alternatively the parameter value can be be a fully qualified name of the provider - connection type (class implementing ) or one of the following tokens: - -
    -
  • sqlserver, mssql, microsoft or msde - SQL Server Data Provider
  • -
  • oledb - OLEDB Data Provider
  • -
  • odbc - ODBC Data Provider
  • -
-
- -
- - - Gets or sets the connection string. When provided, it overrides the values - specified in DBHost, DBUserName, DBPassword, DBDatabase. - - - - - - Gets or sets the connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used. - - - - - - Gets the installation DDL commands. - - - - - - Gets the uninstallation DDL commands. - - - - - - Gets or sets a value indicating whether to keep the - database connection open between the log events. - - - - - - Obsolete - value will be ignored! The logging code always runs outside of transaction. - - Gets or sets a value indicating whether to use database transactions. - Some data providers require this. - - - - This option was removed in NLog 4.0 because the logging code always runs outside of transaction. - This ensures that the log gets written to the database if you rollback the main transaction because of an error and want to log the error. - - - - - Gets or sets the database host name. If the ConnectionString is not provided - this value will be used to construct the "Server=" part of the - connection string. - - - - - - Gets or sets the database user name. If the ConnectionString is not provided - this value will be used to construct the "User ID=" part of the - connection string. - - - - - - Gets or sets the database password. If the ConnectionString is not provided - this value will be used to construct the "Password=" part of the - connection string. - - - - - - Gets or sets the database name. If the ConnectionString is not provided - this value will be used to construct the "Database=" part of the - connection string. - - - - - - Gets or sets the text of the SQL command to be run on each log level. - - - Typically this is a SQL INSERT statement or a stored procedure call. - It should use the database-specific parameters (marked as @parameter - for SQL server or :parameter for Oracle, other data providers - have their own notation) and not the layout renderers, - because the latter is prone to SQL injection attacks. - The layout renderers should be specified as <parameter /> elements instead. - - - - - - Gets or sets the type of the SQL command to be run on each log level. - - - This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure". - When using the value StoredProcedure, the commandText-property would - normally be the name of the stored procedure. TableDirect method is not supported in this context. - - - - - - Gets the collection of parameters. Each item contains a mapping - between NLog layout and a database named or positional parameter. - - - - - - Gets the collection of properties. Each item contains a mapping - between NLog layout and a property on the DbConnection instance - - - - - - Gets the collection of properties. Each item contains a mapping - between NLog layout and a property on the DbCommand instance - - - - - - Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance. - - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Set the to use it for opening connections to the database. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the database. It creates - a new database command, prepares parameters for it by calculating - layouts and executes the command. - - The logging event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Write logEvent to database - - - - - Build the connectionstring from the properties. - - - Using at first, and falls back to the properties , - , and - - Event to render the layout inside the properties. - - - - - Escape quotes and semicolons. - See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722656(v=vs.85)#setting-values-that-use-reserved-characters - - - - - Create database parameter - - Current command. - Parameter configuration info. - - - - Extract parameter value from the logevent - - Current logevent. - Parameter configuration info. - - - - Create Default Value of Type - - - - - A descriptor for an archive created with the DateAndSequence numbering mode. - - - - - The full name of the archive file. - - - - - The parsed date contained in the file name. - - - - - The parsed sequence number contained in the file name. - - - - - Determines whether produces the same string as the current instance's date once formatted with the current instance's date format. - - The date to compare the current object's date to. - True if the formatted dates are equal, otherwise False. - - - - Initializes a new instance of the class. - - - - - Writes log messages to the attached managed debugger. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the attached debugger. - - The logging event. - - - - Mock target - useful for testing. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the number of times this target has been called. - - - - - - Gets the last message rendered by this target. - - - - - - Increases the number of messages. - - The logging event. - - - - Default class for serialization of values to JSON format. - - - - - Singleton instance of the serializer. - - - - - Private. Use - - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - Serialized value. - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - serialisation options - Serialized value. - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - The objects in path (Avoid cyclic reference loop). - The current depth (level) of recursion. - Object serialized successfully (true/false). - - - - No quotes needed for this type? - - - - - Checks the object if it is numeric - - TypeCode for the object - Accept fractional types as numeric type. - - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - all options - JSON escaped string - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - Should non-ascii characters be encoded - - JSON escaped string - - - - Check if cleanup should be performed on initialize new file - - Skip cleanup when initializing new file, just after having performed archive operation - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Characters determining the start of the . - - - - - Characters determining the end of the . - - - - - File name which is used as template for matching and replacements. - It is expected to contain a pattern to match. - - - - - The begging position of the - within the . -1 is returned - when no pattern can be found. - - - - - The ending position of the - within the . -1 is returned - when no pattern can be found. - - - - - Replace the pattern with the specified String. - - - - - - - Archives the log-files using a date style numbering. Archives will be stamped with the - prior period (Year, Month, Day, Hour, Minute) datetime. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Archives the log-files using a date and sequence style numbering. Archives will be stamped - with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in - combination with the date). - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Parse filename with date and sequence pattern - - - dateformat for archive - - the found pattern. When failed, then default - the found pattern. When failed, then default - - - - - Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes - duplicate archive filenames, then sequence-style is automatically enforced. - - Example: - Base Filename trace.log - Next Filename trace.0.log - - The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern. - Before called the original IFileArchiveMode, that has been wrapped by this - - - - - Determines if the file name as contains a numeric pattern i.e. {#} in it. - - Example: - trace{#}.log Contains the numeric pattern. - trace{###}.log Contains the numeric pattern. - trace{#X#}.log Contains the numeric pattern (See remarks). - trace.log Does not contain the pattern. - - Occasionally, this method can identify the existence of the {#} pattern incorrectly. - File name to be checked. - when the pattern is found; otherwise. - - - - Archives the log-files using a rolling style numbering (the most recent is always #0 then - #1, ..., #N. - - When the number of archive files exceed the obsolete archives - are deleted. - - - - - Replaces the numeric pattern i.e. {#} in a file name with the parameter value. - - File name which contains the numeric pattern. - Value which will replace the numeric pattern. - File name with the value of in the position of the numeric pattern. - - - - Archives the log-files using a sequence style numbering. The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Modes of archiving files based on time. - - - - - Don't archive based on time. - - - - - AddToArchive every year. - - - - - AddToArchive every month. - - - - - AddToArchive daily. - - - - - AddToArchive every hour. - - - - - AddToArchive every minute. - - - - - AddToArchive every Sunday. - - - - - AddToArchive every Monday. - - - - - AddToArchive every Tuesday. - - - - - AddToArchive every Wednesday. - - - - - AddToArchive every Thursday. - - - - - AddToArchive every Friday. - - - - - AddToArchive every Saturday. - - - - - Type of filepath - - - - - Detect of relative or absolute - - - - - Relative path - - - - - Absolute path - - Best for performance - - - - Writes log messages to one or more files. - - Documentation on NLog Wiki - - - - Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list. - - Clean up period is defined in days. - - - - The maximum number of initialized files before clean up procedures are initiated, - to keep the number of initialized files to a minimum. Chose 25 to cater for monthly rolling of log-files. - - - - - This value disables file archiving based on the size. - - - - - Holds the initialized files each given time by the instance. Against each file, the last write time is stored. - - Last write time is store in local time (no UTC). - - - - List of the associated file appenders with the instance. - - - - - The number of initialized files at any one time. - - - - - The maximum number of archive files that should be kept. - - - - - The maximum days of archive files that should be kept. - - - - - The filename as target - - - - - The archive file name as target - - - - - The date of the previous log event. - - - - - The file name of the previous log event. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the name of the file to write to. - - - This FileName string is a layout which may include instances of layout renderers. - This lets you use a single target to write to multiple files. - - - The following value makes NLog write logging events to files based on the log level in the directory where - the application runs. - ${basedir}/${level}.log - All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on. - You can combine as many of the layout renderers as you want to produce an arbitrary log file name. - - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. - If set to false, nothing gets written when the filename is wrong. - - - - - - Is the an absolute or relative path? - - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - - Gets or sets a value indicating whether to delete old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - - - - - - Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end. - - - - - - Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event. - - - Setting this property to True helps improve performance. - - - - - - Gets or sets the maximum number of log file names that should be stored as existing. - - - The bigger this number is the longer it will take to write each log record. The smaller the number is - the higher the chance that the clean function will be run when no new files have been opened. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - - Gets or sets the file attributes (Windows only). - - - - - - Gets or sets the line ending mode. - - - - - - Gets or sets a value indicating whether to automatically flush the file buffers after each log message. - - - - - - Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance - in a situation where a single File target is writing to many files - (such as splitting by level or by logger). - - - The files are managed on a LRU (least recently used) basis, which flushes - the files that have not been used for the longest period of time should the - cache become full. As a rule of thumb, you shouldn't set this parameter to - a very high value. A number like 10-15 shouldn't be exceeded, because you'd - be keeping a large number of files open which consumes system resources. - - - - - - Gets or sets the maximum number of seconds that files are kept open. If this number is negative the files are - not automatically closed after a period of inactivity. - - - - - - Gets or sets the maximum number of seconds before open files are flushed. If this number is negative or zero - the files are not flushed by timer. - - - - - - Gets or sets the log file buffer size in bytes. - - - - - - Gets or sets the file encoding. - - - - - - Gets or sets whether or not this target should just discard all data that its asked to write. - Mostly used for when testing NLog Stack except final write - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts. - - - This effectively prevents files from being kept open. - - - - - - Gets or sets a value indicating whether to write BOM (byte order mark) in created files - - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - The actual delay is a random value between 0 and the value specified - in this parameter. On each failed attempt the delay base is doubled - up to times. - - - Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:

- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...

- and so on. - - - - -

- Gets or sets a value indicating whether to archive old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - After archiving the old file, the current log file will be empty. - - -
- - - Gets or sets a value of the file size threshold to archive old log file on startup. - - - This option won't work if is set to false - Default value is 0 which means that the file is archived as soon as archival on - startup is enabled. - - - - - - Gets or sets a value specifying the date format to use when archiving files. - - - This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence. - - - - - - Gets or sets the size in bytes above which log files will be automatically archived. - - Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. - Choose: - - - Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. - - - - - - Gets or sets a value indicating whether to automatically archive log files every time the specified time passes. - - - Files are moved to the archive as part of the write operation if the current period of time changes. For example - if the current hour changes from 10 to 11, the first write that will occur - on or after 11:00 will trigger the archiving. -

- Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. -

-
- -
- - - Is the an absolute or relative path? - - - - - - Gets or sets the name of the file to be used for an archive. - - - It may contain a special placeholder {#####} - that will be replaced with a sequence of numbers depending on - the archiving strategy. The number of hash characters used determines - the number of numerical digits to be used for numbering files. - - - - - - Gets or sets the maximum number of archive files that should be kept. - - - - - - Gets or sets the maximum days of archive files that should be kept. - - - - - - Gets or sets the way file archives are numbered. - - - - - - Used to compress log files during archiving. - This may be used to provide your own implementation of a zip file compressor, - on platforms other than .Net4.5. - Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise. - - - - - - Gets or sets a value indicating whether to compress archive files into the zip archive format. - - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - - Gets or sets a value indicating whether file creation calls should be synchronized by a system global mutex. - - - - - - Gets or sets a value indicating whether the footer should be written only when the file is archived. - - - - - - Gets the characters that are appended after each line. - - - - - Refresh the ArchiveFilePatternToWatch option of the . - The log file must be watched for archiving when multiple processes are writing to the same - open file. - - - - - Removes records of initialized files that have not been - accessed in the last two days. - - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Removes records of initialized files that have not been - accessed after the specified date. - - The cleanup threshold. - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Flushes all pending file operations. - - The asynchronous continuation. - - The timeout parameter is ignored, because file APIs don't provide - the needed functionality. - - - - - Returns the suitable appender factory ( ) to be used to generate the file - appenders associated with the instance. - - The type of the file appender factory returned depends on the values of various properties. - - suitable for this instance. - - - - Initializes file logging by creating data structures that - enable efficient multi-file logging. - - - - - Closes the file(s) opened for writing. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Writes the specified logging event to a file specified in the FileName - parameter. - - The logging event. - - - - Get full filename (=absolute) and cleaned if needed. - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes the specified array of logging events to a file specified in the FileName - parameter. - - An array of objects. - - This function makes use of the fact that the events are batched by sorting - the requests by filename. This optimizes the number of open/close calls - and can help improve performance. - - - - - Returns estimated size for memory stream, based on events count and first event size in bytes. - - Count of events - Bytes count of first event - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Gets the bytes to be written to the file. - - Log event. - Array of bytes that are ready to be written. - - - - Modifies the specified byte array before it gets sent to a file. - - The byte array. - The modified byte array. The function can do the modification in-place. - - - - Gets the bytes to be written to the file. - - The log event to be formatted. - to help format log event. - Optional temporary char-array to help format log event. - Destination for the encoded result. - - - - Formats the log event for write. - - The log event to be formatted. - for the result. - - - - Modifies the specified byte array before it gets sent to a file. - - The LogEvent being written - The byte array. - - - - Archives fileName to archiveFileName. - - File name to be archived. - Name of the archive file. - - - - Gets the correct formatting to be used based on the value of for converting values which will be inserting into file - names during archiving. - - This value will be computed only when a empty value or is passed into - - Date format to used irrespectively of value. - Formatting for dates. - - - - Calculate the DateTime of the requested day of the week. - - The DateTime of the previous log event. - The next occuring day of the week to return a DateTime for. - The DateTime of the next occuring dayOfWeek. - For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return - Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. - - - - Invokes the archiving process after determining when and which type of archiving is required. - - File name to be checked and archived. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - - - - Gets the pattern that archive files will match - - Filename of the log file - Log event that the instance is currently processing. - A string with a pattern that will match the archive file names - - - - Archives the file if it should be archived. - - The file name to check for. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - True when archive operation of the file was completed (by this target or a concurrent target) - - - - Closes any active file-appenders that matches the input filenames. - File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive - - - - - Indicates if the automatic archiving process should be executed. - - File name to be written. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Returns the correct filename to archive - - - - - Gets the file name for archiving, or null if archiving should not occur based on file size. - - File name to be written. - The size in bytes of the next chunk of data to be written in the file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists - - - - - Returns the file name for archiving, or null if archiving should not occur based on date/time. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - - High resolution Time - Time Resolution Level - Truncated Low Resolution Time - - - - Evaluates which parts of a file should be written (header, content, footer) based on various properties of - instance and writes them. - - File name to be written. - Raw sequence of to be written into the content part of the file. - File has just been opened. - - - - Initialise a file to be used by the instance. Based on the number of initialized - files and the values of various instance properties clean up and/or archiving processes can be invoked. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file (DateTime.MinValue if just initialized). - - - - Writes the file footer and finalizes the file in instance internal structures. - - File name to close. - Indicates if the file is being finalized for archiving. - - - - Writes the footer information to a file. - - The file path to write to. - - - - Decision logic whether to archive logfile on startup. - and properties. - - File name to be written. - Decision whether to archive or not. - - - - Invokes the archiving and clean up of older archive file based on the values of - and - properties respectively. - - File name to be written. - Log event that the instance is currently processing. - - - - Creates the file specified in and writes the file content in each entirety i.e. - Header, Content and Footer. - - The name of the file to be written. - Sequence of to be written in the content section of the file. - First attempt to write? - This method is used when the content of the log file is re-written on every write. - - - - Writes the header information and byte order mark to a file. - - File appender associated with the file. - - - - The sequence of to be written in a file after applying any formatting and any - transformations required from the . - - The layout used to render output message. - Sequence of to be written. - Usually it is used to render the header and hooter of the files. - - - - Controls the text and color formatting for - - - - - Creates a TextWriter for the console to start building a colored text message - - Active console stream - Optional StringBuilder to optimize performance - TextWriter for the console - - - - Releases the TextWriter for the console after having built a colored text message (Restores console colors) - - Colored TextWriter - Active console stream - Original foreground color for console (If changed) - Original background color for console (If changed) - Flush TextWriter - - - - Changes foreground color for the Colored TextWriter - - Colored TextWriter - New foreground color for the console - Old previous backgroundColor color for the console - Old foreground color for the console - - - - Changes backgroundColor color for the Colored TextWriter - - Colored TextWriter - New backgroundColor color for the console - Old previous backgroundColor color for the console - Old backgroundColor color for the console - - - - Restores console colors back to their original state - - Colored TextWriter - Original foregroundColor color for the console - Original backgroundColor color for the console - - - - Writes multiple characters to console in one operation (faster) - - Colored TextWriter - Output Text - Start Index - End Index - - - - Writes single character to console - - Colored TextWriter - Output Text - - - - Writes whole string and completes with newline - - Colored TextWriter - Output Text - - - - Default row highlight rules for the console printer - - - - - Check if cleanup should be performed on initialize new file - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Create a wildcard file-mask that allows one to find all files belonging to the same archive. - - Base archive file pattern - Wildcard file-mask - - - - Search directory for all existing files that are part of the same archive. - - Base archive file pattern - - - - - Generate the next archive filename for the archive. - - Base archive file pattern - File date of archive - Existing files in the same archive - - - - - Return all files that should be removed from the provided archive. - - Base archive file pattern - Existing files in the same archive - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - - - - may be configured to compress archived files in a custom way - by setting before logging your first event. - - - - - Create archiveFileName by compressing fileName. - - Absolute path to the log file to compress. - Absolute path to the compressed archive file to create. - - - - Interface for serialization of values, maybe even objects to JSON format. - Useful for wrappers for existing serializers. - - - - - Returns a serialization of an object - into JSON format. - - The object to serialize to JSON. - Serialized value (null = Serialize failed). - - - - Options for JSON serialisation - - - - - Add quotes around object keys? - - - - - Format provider for value - - - - - Format string for value - - - - - Should non-ascii characters be encoded - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - - - Serialize enum as string value - - - - - Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_). - - Any other characters will be converted to underscore character (_) - - - - - How far down the rabbit hole should the Json Serializer go with object-reflection before stopping - - - - Initializes a new instance of the class. - - - - Line ending mode. - - - - - Insert platform-dependent end-of-line sequence after each line. - - - - - Insert CR LF sequence (ASCII 13, ASCII 10) after each line. - - - - - Insert CR character (ASCII 13) after each line. - - - - - Insert LF character (ASCII 10) after each line. - - - - - Insert null terminator (ASCII 0) after each line. - - - - - Do not insert any line ending. - - - - - Gets the name of the LineEndingMode instance. - - - - - Gets the new line characters (value) of the LineEndingMode instance. - - - - - Initializes a new instance of . - - The mode name. - The new line characters to be used. - - - - Returns the that corresponds to the supplied . - - - The textual representation of the line ending mode, such as CRLF, LF, Default etc. - Name is not case sensitive. - - The value, that corresponds to the . - There is no line ending mode with the specified name. - - - - Compares two objects and returns a - value indicating whether the first one is equal to the second one. - - The first level. - The second level. - The value of mode1.NewLineCharacters == mode2.NewLineCharacters. - - - - Compares two objects and returns a - value indicating whether the first one is not equal to the second one. - - The first mode - The second mode - The value of mode1.NewLineCharacters != mode2.NewLineCharacters. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms - and data structures like a hash table. - - - - - Determines whether the specified is - equal to this instance. - - The to compare with - this instance. - - Value of true if the specified - is equal to this instance; otherwise, false. - - - The parameter is null. - - - - Indicates whether the current object is equal to another object of the same type. - true if the current object is equal to the parameter; otherwise, false. - An object to compare with this object. - - - - Provides a type converter to convert objects to and from other representations. - - - - - Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context. - - - true if this converter can perform the conversion; otherwise, false. - - An that provides a format context. A that represents the type you want to convert from. - - - - Converts the given object to the type of this converter, using the specified context and culture information. - - - An that represents the converted value. - - An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed. - - - - Sends log messages by email using SMTP protocol. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- Mail target works best when used with BufferingWrapper target - which lets you send multiple log messages in single mail -

-

- To set up the buffered mail target in the configuration file, - use the following syntax: -

- -

- To set up the buffered mail target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets sender's email address (e.g. joe@domain.com). - - - - - - Gets or sets recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets a value indicating whether to add new lines between log entries. - - A value of true if new lines should be added; otherwise, false. - - - - - Gets or sets the mail subject. - - - - - - Gets or sets mail message body (repeated for each log message send in one mail). - - Alias for the Layout property. - - - - - Gets or sets encoding to be used for sending e-mail. - - - - - - Gets or sets a value indicating whether to send message as HTML instead of plain text. - - - - - - Gets or sets SMTP Server to be used for sending. - - - - - - Gets or sets SMTP Authentication mode. - - - - - - Gets or sets the username used to connect to SMTP server (used when SmtpAuthentication is set to "basic"). - - - - - - Gets or sets the password used to authenticate against SMTP server (used when SmtpAuthentication is set to "basic"). - - - - - - Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server. - - . - - - - Gets or sets the port number that SMTP Server is listening on. - - - - - - Gets or sets a value indicating whether the default Settings from System.Net.MailSettings should be used. - - - - - - Specifies how outgoing email messages will be handled. - - - - - - Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. - - - - - - Gets or sets the priority used for sending mails. - - - - - - Gets or sets a value indicating whether NewLine characters in the body should be replaced with
tags. -
- Only happens when is set to true. - -
- - - Gets or sets a value indicating the SMTP client timeout. - - Warning: zero is not infinite waiting - - - - - Writes async log event to the mail target. - - The logging event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes log events to the mail target. - - Array of logging events. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Create mail and send with SMTP - - event printed in the body of the event - - - - Create buffer for body - - all events - first event for header - last event for footer - - - - - Set properties of - - last event for username/password - client to set properties on - Configure not at , as the properties could have layout renderers. - - - - Handle if it is a virtual directory. - - - - - - - Create key for grouping. Needed for multiple events in one mail message - - event for rendering layouts - string to group on - - - - Append rendered to - - append to this - event for rendering - append if not null - - - - Create the mail message with the addresses, properties and body. - - - - - Render and add the addresses to - - Addresses appended to this list - layout with addresses, ; separated - event for rendering the - added a address? - - - - Writes log messages to in memory for programmatic retrieval. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the list of logs gathered in the . - - - - - Gets or sets the max number of items to have in memory - - - - - - Renders the logging event message and adds to - - The logging event. - - - - A parameter to MethodCall. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout to use for parameter value. - - - - Initializes a new instance of the class. - - Name of the parameter. - The layout. - - - - Initializes a new instance of the class. - - The name of the parameter. - The layout. - The type of the parameter. - - - - Gets or sets the name of the parameter. - - - - - - Gets or sets the type of the parameter. Obsolete alias for - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Calls the specified static method on each log message and passes contextual parameters to it. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets the class name. - - - - - - Gets or sets the method name. The method must be public and static. - - Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx - e.g. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - Name of the target. - Method to call on logevent. - - - - Initializes the target. - - - - - Calls the specified Method. - - Method parameters. - The logging event. - - - - Calls the specified Method. - - Method parameters. - - - - The base class for all targets which call methods (local or remote). - Manages parameters and type coercion. - - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - - - - Prepares an array of parameters to be passed based on the logging event and calls DoInvoke(). - - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Sends log messages over the network. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- To print the results, use any application that's able to receive messages over - TCP or UDP. NetCat is - a simple but very powerful command-line tool that can be used for that. This image - demonstrates the NetCat tool receiving log messages from Network target. -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will be very slow. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-

- There are two specialized versions of the Network target: Chainsaw - and NLogViewer which write to instances of Chainsaw log4j viewer - or NLogViewer application respectively. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the network address. - - - The network address can be: -
    -
  • tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
  • -
  • tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
  • -
  • tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
  • -
  • udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • http://host:port/pageName - HTTP using POST verb
  • -
  • https://host:port/pageName - HTTPS using POST verb
  • -
- For SOAP-based webservice support over HTTP use WebService target. -
- -
- - - Gets or sets a value indicating whether to keep connection open whenever possible. - - - - - - Gets or sets a value indicating whether to append newline at the end of log message. - - - - - - Gets or sets the end of line value if a newline is appended at the end of log message . - - - - - - Gets or sets the maximum message size in bytes. - - - - - - Gets or sets the size of the connection cache (number of connections which are kept alive). - - - - - - Gets or sets the maximum current connections. 0 = no maximum. - - - - - - Gets or sets the action that should be taken if the will be more connections than . - - - - - - Gets or sets the maximum queue size. - - - - - - Gets or sets the action that should be taken if the message is larger than - maxMessageSize. - - - - - - Gets or sets the encoding to be used. - - - - - - Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. - - - - - - The number of seconds a connection will remain idle before the first keep-alive probe is sent - - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Sends the - rendered logging event over the network optionally concatenating it with a newline character. - - The logging event. - - - - Try to remove. - - - - - removed something? - - - - Gets the bytes to be written. - - Log event. - Byte array. - - - - The action to be taken when there are more connections then the max. - - - - - Just allow it. - - - - - Discard the connection item. - - - - - Block until there's more room in the queue. - - - - - Action that should be taken if the message overflows. - - - - - Report an error. - - - - - Split the message into smaller pieces. - - - - - Discard the entire message. - - - - - Represents a parameter to a NLogViewer target. - - - - - Initializes a new instance of the class. - - - - - Gets or sets viewer parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - Sends log messages to the remote instance of NLog Viewer. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include stack contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the renderer for log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets the layout renderer which produces Log4j-compatible XML events. - - - - - Gets or sets the instance of that is used to format log messages. - - - - - - Discards log messages. Used mainly for debugging and benchmarking. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets a value indicating whether to perform layout calculation. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Does nothing. Optionally it calculates the layout text but - discards the results. - - The logging event. - - - - Outputs log messages through the OutputDebugString() Win32 API. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - - - - SMTP authentication modes. - - - - - No authentication. - - - - - Basic - username and password. - - - - - NTLM Authentication. - - - - - Represents logging target. - - - - Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts - - - - The Max StackTraceUsage of all the in this Target - - - - - Gets or sets the name of the target. - - - - - - Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers - Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - - - - Can be used if has been enabled. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - This method won't prerender if all layouts in this target are thread-agnostic. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Writes async log event to the log target. - - Async Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Log event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - NOTE! Obsolete, instead override WriteAsyncThreadSafe(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target, in a thread safe manner. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Renders the event info in layout. - - The layout. - The event info. - String representing log event. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Should the exception be rethrown? - - - Upgrade to private protected when using C# 7.2 - - - - Marks class as a logging target and assigns a name to it. - - This attribute is not required when registering the target in the API. - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page). - - - - - Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page). - - - - - Attribute details for - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Gets or sets when an empty value should cause the property to be included - - - - - Gets or sets the type of the property. - - - - - Represents target that supports context capture using MDLC, MDC, NDLC and NDC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets or sets a value indicating whether to include contents of the dictionary - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the - - - - - - Gets the array of custom attributes to be passed into the logevent context - - - - - - Constructor - - - - - - - - Check if logevent has properties (or context properties) - - - True if properties should be included - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Dictionary with any context properties for the logEvent (Null if none found) - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Optional prefilled dictionary - Dictionary with any context properties for the logEvent (Null if none found) - - - - Creates combined dictionary of all configured properties for logEvent - - - Dictionary with all collected properties for logEvent - - - - Creates combined dictionary of all configured properties for logEvent - - - Optional prefilled dictionary - Dictionary with all collected properties for logEvent - - - - Generates a new unique name, when duplicate names are detected - - LogEvent that triggered the duplicate name - Duplicate item name - Item Value - Dictionary of context values - New (unique) value (or null to skip value). If the same value is used then the item will be overwritten - - - - Returns the captured snapshot of for the - - - Dictionary with MDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with MDLC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with GDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDC key - MDC value - Snapshot of MDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDLC key - MDLC value - Snapshot of MDLC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDC value - Snapshot of NDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDLC value - Snapshot of NDLC value - Include object value in snapshot - - - - Take snapshot of a single object value - - Log event - Key Name (null when NDC / NDLC) - Object Value - Snapshot of value - Include object value in snapshot - - - Internal Layout that allows capture of MDC context - - - Internal Layout that allows capture of NDC context - - - Internal Layout that allows capture of MDLC context - - - Internal Layout that allows capture of NDLC context - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the layout used to format log messages. - - - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the text to be rendered. - - - - - - Gets or sets the footer. - - - - - - Gets or sets the header. - - - - - - Gets or sets the layout with header and footer. - - The layout with header and footer. - - - - Sends log messages through System.Diagnostics.Trace. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Always use independent of - - - - - - Forward to (Instead of ) - - - Trace.Fail can have special side-effects, and give fatal exceptions, message dialogs or Environment.FailFast - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Writes the specified logging event to the facility. - - Redirects the log message depending on and . - When is false: - - writes to - - writes to - - writes to - - writes to - - writes to - - writes to - - The logging event. - - - - Web service protocol. - - - - - Use SOAP 1.1 Protocol. - - - - - Use SOAP 1.2 Protocol. - - - - - Use HTTP POST Protocol. - - - - - Use HTTP GET Protocol. - - - - - Do an HTTP POST of a JSON document. - - - - - Do an HTTP POST of an XML document. - - - - - Web Service Proxy Configuration Type - - - - - Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy) - - - Example of how to configure default proxy using app.config - - <system.net> - <defaultProxy enabled = "true" useDefaultCredentials = "true" > - <proxy usesystemdefault = "True" /> - </defaultProxy> - </system.net> - - - - - - Automatic use of proxy with authentication (cached) - - - - - Disables use of proxy (fast) - - - - - Custom proxy address (cached) - - - - - Calls the specified web service on each log message. - - Documentation on NLog Wiki - - The web service must implement a method that accepts a number of string parameters. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

The example web service that works with this example is shown below

- -
-
- - - dictionary that maps a concrete implementation - to a specific -value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target - - - - Gets or sets the web service URL. - - - - - - Gets or sets the value of the User-agent HTTP header. - - - - - - Gets or sets the Web service method name. Only used with Soap. - - - - - - Gets or sets the Web service namespace. Only used with Soap. - - - - - - Gets or sets the protocol to be used when calling web service. - - - - - - Gets or sets the proxy configuration when calling web service - - - - - - Gets or sets the custom proxy address, include port separated by a colon - - - - - - Should we include the BOM (Byte-order-mark) for UTF? Influences the property. - - This will only work for UTF-8. - - - - - - Gets or sets the encoding. - - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Gets or sets the name of the root XML element, - if POST of XML document chosen. - If so, this property must not be null. - (see and ). - - - - - - Gets or sets the (optional) root namespace of the XML document, - if POST of XML document chosen. - (see and ). - - - - - - Gets the array of parameters to be passed. - - - - - - Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters) - - - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Invokes the web service method. - - Parameters to be passed. - The logging event. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. - - - - - - - Write from input to output. Fix the UTF-8 bom - - - - - - - - - base class for POST formatters, that - implement former PrepareRequest() method, - that creates the content for - the requested kind of HTTP request - - - - - Win32 file attributes. - - - For more information see https://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp. - - - - - Read-only file. - - - - - Hidden file. - - - - - System file. - - - - - File should be archived. - - - - - Device file. - - - - - Normal file. - - - - - File is temporary (should be kept in cache and not - written to disk if possible). - - - - - Sparse file. - - - - - Reparse point. - - - - - Compress file contents. - - - - - File should not be indexed by the content indexing service. - - - - - Encrypted file. - - - - - The system writes through any intermediate cache and goes directly to disk. - - - - - The system opens a file with no system caching. - - - - - Delete file after it is closed. - - - - - A file is accessed according to POSIX rules. - - - - - Asynchronous request queue. - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Gets or sets the request limit. - - - - - Gets or sets the action to be taken when there's no more room in - the queue and another request is enqueued. - - - - - Notifies about log event that was dropped when set to - - - - - Notifies when queue size is growing over - - - - - Raise event when queued element was dropped because of queue overflow - - Dropped queue item - - - - Raise event when RequestCount overflow - - current requests count - - - - Provides asynchronous, buffered execution of target writes. - - Documentation on NLog Wiki - -

- Asynchronous target wrapper allows the logger code to execute more quickly, by queueing - messages and processing them in a separate thread. You should wrap targets - that spend a non-trivial amount of time in their Write() method with asynchronous - target to speed up logging. -

-

- Because asynchronous logging is quite a common scenario, NLog supports a - shorthand notation for wrapping all targets with AsyncWrapper. Just add async="true" to - the <targets/> element in the configuration file. -

- - - ... your targets go here ... - - ]]> -
- -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of requests in the queue. - The action to be taken when the queue overflows. - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity) - - - - - - Raise event when Target cannot store LogEvent. - Event arg contains lost LogEvents - - - - - Raises when event queue grow. - Queue can grow when was set to - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the limit of full s to write before yielding into - Performance is better when writing many small batches, than writing a single large batch - - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - - Gets the queue of lazy writer thread requests. - - - - - Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target by starting the lazy writer timer. - - - - - Shuts down the lazy writer timer. - - - - - Starts the lazy writer thread which periodically writes - queued log messages. - - - - - Attempts to start an instant timer-worker-thread which can write - queued log messages. - - Returns true when scheduled a timer-worker-thread - - - - Stops the lazy writer thread. - - - - - Adds the log event to asynchronous queue to be processed by - the lazy writer thread. - - The log event. - - The is called - to ensure that the log event can be processed in another thread. - - - - - Write to queue without locking - - - - - - The action to be taken when the queue overflows. - - - - - Grow the queue. - - - - - Discard the overflowing item. - - - - - Block until there's more room in the queue. - - - - - Causes a flush on a wrapped target if LogEvent satisfies the . - If condition isn't set, flushes on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Gets or sets the condition expression. Log events who meet this condition will cause - a flush on the wrapped target. - - - - - - Delay the flush until the LogEvent has been confirmed as written - - If not explicitly set, then disabled by default for and AsyncTaskTarget - - - - - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - The wrapped target. - Name of the target - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes the target. - - - - - Forwards the call to the .Write() - and calls on it if LogEvent satisfies - the flush condition or condition is null. - - Logging event to be written out. - - - - Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - A target that buffers log events and sends them in batches to the wrapped target. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - The action to take when the buffer overflows. - - - - Gets or sets the number of log events to be buffered. - - - - - - Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed - if there's no write in the specified period of time. Use -1 to disable timed flushes. - - - - - - Gets or sets a value indicating whether to use sliding timeout. - - - This value determines how the inactivity period is determined. If sliding timeout is enabled, - the inactivity timer is reset after each write, if it is disabled - inactivity timer will - count from the first event written to the buffer. - - - - - - Gets or sets the action to take if the buffer overflows. - - - Setting to will replace the - oldest event with new events without sending events down to the wrapped target, and - setting to will flush the - entire buffer to the wrapped target. - - - - - - Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target. - - - - - Closes the target by flushing pending events in the buffer (if any). - - - - - Adds the specified log event to the buffer and flushes - the buffer in case the buffer gets full. - - The log event. - - - - The action to be taken when the buffer overflows. - - - - - Flush the content of the buffer. - - - - - Discard the oldest item. - - - - - A base class for targets which wrap other (multiple) targets - and provide various forms of target routing. - - - - - Initializes a new instance of the class. - - The targets. - - - - Gets the collection of targets managed by this compound target. - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Writes logging event to the log target. - - Logging event to be written out. - - - - Flush any pending log messages for all wrapped targets. - - The asynchronous continuation. - - - - Concurrent Asynchronous request queue based on - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - Only for debugging purposes - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Provides fallback-on-error. - - Documentation on NLog Wiki - -

This example causes the messages to be written to server1, - and if it fails, messages go to server2.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Gets or sets a value indicating whether to return to the first target after any successful write. - - - - - - - - - - - - Forwards the log event to the sub-targets until one of them succeeds. - - The log event. - - The method remembers the last-known-successful target - and starts the iteration from it. - If is set, the method - resets the target to the first target - stored in . - - - - - Filtering rule for . - - - - - Initializes a new instance of the FilteringRule class. - - - - - Initializes a new instance of the FilteringRule class. - - Condition to be tested against all events. - Filter to apply to all log events when the first condition matches any of them. - - - - Gets or sets the condition to be tested. - - - - - - Gets or sets the resulting filter to be applied when the condition matches. - - - - - - Filters log entries based on a condition. - - Documentation on NLog Wiki - -

This example causes the messages not contains the string '1' to be ignored.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The condition. - - - - Initializes a new instance of the class. - - The wrapped target. - The condition. - - - - Gets or sets the condition expression. Log events who meet this condition will be forwarded - to the wrapped target. - - - - - - Gets or sets the filter. Log events who evaluates to will be discarded - - - - - - - - - Checks the condition against the passed log event. - If the condition is met, the log event is forwarded to - the wrapped target. - - Log event. - - - - - - - Limits the number of messages written per timespan to the wrapped target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of messages written per interval. - Interval in which the maximum number of messages can be written. - - - - Gets or sets the maximum allowed number of messages written per . - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets or sets the interval in which messages will be written up to the number of messages. - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets the DateTime when the current will be reset. - - - - - - Gets the number of written in the current . - - - - - - Initializes the target and resets the current Interval and . - - - - - Writes log event to the wrapped target if the current is lower than . - If the is already reached, no log event will be written to the wrapped target. - resets when the current is expired. - - Log event to be written out. - - - - Arguments for events. - - - - - - - - Instance of that was dropped by - - - - - Raises by when - queue is full - and set to - By default queue doubles it size. - - - - - Contains items count and new queue size. - - Required queue size - Current queue size - - - - New queue size - - - - - Current requests count - - - - - Filters buffered log entries based on a set of conditions that are evaluated on a group of events. - - Documentation on NLog Wiki - - PostFilteringWrapper must be used with some type of buffering target or wrapper, such as - AsyncTargetWrapper, BufferingWrapper or ASPNetBufferingWrapper. - - -

- This example works like this. If there are no Warn,Error or Fatal messages in the buffer - only Info messages are written to the file, but if there are any warnings or errors, - the output includes detailed trace (levels >= Debug). You can plug in a different type - of buffering wrapper (such as ASPNetBufferingWrapper) to achieve different - functionality. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Gets or sets the default filter to be applied when no specific rule matches. - - - - - - Gets the collection of filtering rules. The rules are processed top-down - and the first rule that matches determines the filtering condition to - be applied to log events. - - - - - - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Evaluates all filtering rules to find the first one that matches. - The matching rule determines the filtering condition to be applied - to all items in a buffer. If no condition matches, default filter - is applied to the array of log events. - - Array of log events to be post-filtered. - - - - Evaluate all the rules to get the filtering condition - - - - - - - Sends log messages to a randomly selected target. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt - chosen randomly on a per-message basis. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the log event to one of the sub-targets. - The sub-target is randomly chosen. - - The log event. - - - - Repeats each log event the specified number of times. - - Documentation on NLog Wiki - -

This example causes each log message to be repeated 3 times.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The repeat count. - - - - Initializes a new instance of the class. - - The wrapped target. - The repeat count. - - - - Gets or sets the number of times to repeat each log message. - - - - - - Forwards the log message to the by calling the method times. - - The log event. - - - - Retries in case of write error. - - Documentation on NLog Wiki - -

This example causes each write attempt to be repeated 3 times, - sleeping 1 second between attempts if first one fails.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Initializes a new instance of the class. - - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure. - - - - - - Gets or sets the time to wait between retries in milliseconds. - - - - - - Special SyncObject to allow closing down Target while busy retrying - - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Writes the specified log event to the wrapped target in a thread-safe manner. - - The log event. - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Distributes log events to targets in a round-robin fashion. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt. - Each odd message is written to file2.txt, each even message goes to file1.txt. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Ensures forwarding happens without holding lock - - - - - - Forwards the write to one of the targets from - the collection. - - The log event. - - The writes are routed in a round-robin fashion. - The first log event goes to the first target, the second - one goes to the second target and so on looping to the - first target when there are no more targets available. - In general request N goes to Targets[N % Targets.Count]. - - - - - Writes log events to all targets. - - Documentation on NLog Wiki - -

This example causes the messages to be written to both file1.txt or file2.txt -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the specified log event to all sub-targets. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Base class for targets wrap other (single) targets. - - - - - Gets or sets the target that is wrapped by this target. - - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Builtin IFileCompressor implementation utilizing the .Net4.5 specific - and is used as the default value for on .Net4.5. - So log files created via can be zipped when archived - w/o 3rd party zip library when run on .Net4.5 or higher. - - - - - Implements using the .Net4.5 specific - - - - - Current local time retrieved directly from DateTime.Now. - - - - - Gets current local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Current UTC time retrieved directly from DateTime.UtcNow. - - - - - Gets current UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Fast time source that updates current time only once per tick (15.6 milliseconds). - - - - - Gets raw uncached time from derived time source. - - - - - Gets current time cached for one system tick (15.6 milliseconds). - - - - - Fast local time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Fast UTC time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Defines source of current time. - - - - - Gets current time. - - - - - Gets or sets current global time source used in all log events. - - - Default time source is . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to the same form - as time values originated from this source. - - - - There are situations when NLog have to compare the time originated from TimeSource - to the time originated externally in the system. - To be able to provide meaningful result of such comparisons the system time must be expressed in - the same form as TimeSource time. - - - Examples: - - If the TimeSource provides time values of local time, it should also convert the provided - to the local time. - - If the TimeSource shifts or skews its time values, it should also apply - the same transform to the given . - - - - - - Marks class as a time source and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the time source. - -
-
diff --git a/app/packages/NLog.4.7.15/lib/sl4/NLog.dll b/app/packages/NLog.4.7.15/lib/sl4/NLog.dll deleted file mode 100644 index 3f49d75..0000000 Binary files a/app/packages/NLog.4.7.15/lib/sl4/NLog.dll and /dev/null differ diff --git a/app/packages/NLog.4.7.15/lib/sl4/NLog.xml b/app/packages/NLog.4.7.15/lib/sl4/NLog.xml deleted file mode 100644 index e5e6e3b..0000000 --- a/app/packages/NLog.4.7.15/lib/sl4/NLog.xml +++ /dev/null @@ -1,21973 +0,0 @@ - - - - NLog - - - - - Indicates that the value of the marked element could be null sometimes, - so the check for null is necessary before its usage. - - - [CanBeNull] object Test() => null; - - void UseTest() { - var p = Test(); - var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' - } - - - - - Indicates that the value of the marked element could never be null. - - - [NotNull] object Foo() { - return null; // Warning: Possible 'null' assignment - } - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can never be null. - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can be null. - - - - - Indicates that the marked method builds string by format pattern and (optional) arguments. - Parameter, which contains format string, should be given in constructor. The format string - should be in -like form. - - - [StringFormatMethod("message")] - void ShowError(string message, params object[] args) { /* do something */ } - - void Foo() { - ShowError("Failed: {0}"); // Warning: Non-existing argument in format string - } - - - - - Specifies which parameter of an annotated method should be treated as format-string - - - - - For a parameter that is expected to be one of the limited set of values. - Specify fields of which type should be used as values for this parameter. - - - - - Indicates that the function argument should be string literal and match one - of the parameters of the caller function. For example, ReSharper annotates - the parameter of . - - - void Foo(string param) { - if (param == null) - throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol - } - - - - - Indicates that the method is contained in a type that implements - System.ComponentModel.INotifyPropertyChanged interface and this method - is used to notify that some property value changed. - - - The method should be non-static and conform to one of the supported signatures: - - NotifyChanged(string) - NotifyChanged(params string[]) - NotifyChanged{T}(Expression{Func{T}}) - NotifyChanged{T,U}(Expression{Func{T,U}}) - SetProperty{T}(ref T, T, string) - - - - public class Foo : INotifyPropertyChanged { - public event PropertyChangedEventHandler PropertyChanged; - - [NotifyPropertyChangedInvocator] - protected virtual void NotifyChanged(string propertyName) { ... } - - string _name; - - public string Name { - get { return _name; } - set { _name = value; NotifyChanged("LastName"); /* Warning */ } - } - } - - Examples of generated notifications: - - NotifyChanged("Property") - NotifyChanged(() => Property) - NotifyChanged((VM x) => x.Property) - SetProperty(ref myField, value, "Property") - - - - - - Describes dependency between method input and output. - - -

Function Definition Table syntax:

- - FDT ::= FDTRow [;FDTRow]* - FDTRow ::= Input => Output | Output <= Input - Input ::= ParameterName: Value [, Input]* - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} - Value ::= true | false | null | notnull | canbenull - - If method has single input parameter, it's name could be omitted.
- Using halt (or void/nothing, which is the same) for method output - means that the methods doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute - with rows separated by semicolon. There is no notion of order rows, all rows are checked - for applicability and applied per each program state tracked by R# analysis.
-
- - - [ContractAnnotation("=> halt")] - public void TerminationMethod() - - - [ContractAnnotation("halt <= condition: false")] - public void Assert(bool condition, string text) // regular assertion method - - - [ContractAnnotation("s:null => true")] - public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() - - - // A method that returns null if the parameter is null, - // and not null if the parameter is not null - [ContractAnnotation("null => null; notnull => notnull")] - public object Transform(object data) - - - [ContractAnnotation("=> true, result: notnull; => false, result: null")] - public bool TryParse(string s, out Person result) - - -
- - - Indicates that marked element should be localized or not. - - - [LocalizationRequiredAttribute(true)] - class Foo { - string str = "my string"; // Warning: Localizable string - } - - - - - Indicates that the value of the marked type (or its derivatives) - cannot be compared using '==' or '!=' operators and Equals() - should be used instead. However, using '==' or '!=' for comparison - with null is always permitted. - - - [CannotApplyEqualityOperator] - class NoEquality { } - - class UsesNoEquality { - void Test() { - var ca1 = new NoEquality(); - var ca2 = new NoEquality(); - if (ca1 != null) { // OK - bool condition = ca1 == ca2; // Warning - } - } - } - - - - - When applied to a target attribute, specifies a requirement for any type marked - with the target attribute to implement or inherit specific type or types. - - - [BaseTypeRequired(typeof(IComponent)] // Specify requirement - class ComponentAttribute : Attribute { } - - [Component] // ComponentAttribute requires implementing IComponent interface - class MyComponent : IComponent { } - - - - - Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), - so this symbol will not be marked as unused (as well as by other usage inspections). - - - - - Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes - as unused (as well as by other usage inspections) - - - - Only entity marked with attribute considered used. - - - Indicates implicit assignment to a member. - - - - Indicates implicit instantiation of a type with fixed constructor signature. - That means any unused constructor parameters won't be reported as such. - - - - Indicates implicit instantiation of a type. - - - - Specify what is considered used implicitly when marked - with or . - - - - Members of entity marked with attribute are considered used. - - - Entity marked with attribute and all its members considered used. - - - - This attribute is intended to mark publicly available API - which should not be removed and so is treated as used. - - - - - Tells code analysis engine if the parameter is completely handled when the invoked method is on stack. - If the parameter is a delegate, indicates that delegate is executed while the method is executed. - If the parameter is an enumerable, indicates that it is enumerated while the method is executed. - - - - - Indicates that a method does not make any observable state changes. - The same as System.Diagnostics.Contracts.PureAttribute. - - - [Pure] int Multiply(int x, int y) => x * y; - - void M() { - Multiply(123, 42); // Waring: Return value of pure method is not used - } - - - - - Indicates that the return value of method invocation must be used. - - - - - Indicates the type member or parameter of some type, that should be used instead of all other ways - to get the value that type. This annotation is useful when you have some "context" value evaluated - and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one. - - - class Foo { - [ProvidesContext] IBarService _barService = ...; - - void ProcessNode(INode node) { - DoSomething(node, node.GetGlobalServices().Bar); - // ^ Warning: use value of '_barService' field - } - } - - - - - Indicates that a parameter is a path to a file or a folder within a web project. - Path can be relative or absolute, starting from web root (~). - - - - - An extension method marked with this attribute is processed by ReSharper code completion - as a 'Source Template'. When extension method is completed over some expression, it's source code - is automatically expanded like a template at call site. - - - Template method body can contain valid source code and/or special comments starting with '$'. - Text inside these comments is added as source code when the template is applied. Template parameters - can be used either as additional method parameters or as identifiers wrapped in two '$' signs. - Use the attribute to specify macros for parameters. - - - In this example, the 'forEach' method is a source template available over all values - of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block: - - [SourceTemplate] - public static void forEach<T>(this IEnumerable<T> xs) { - foreach (var x in xs) { - //$ $END$ - } - } - - - - - - Allows specifying a macro for a parameter of a source template. - - - You can apply the attribute on the whole method or on any of its additional parameters. The macro expression - is defined in the property. When applied on a method, the target - template parameter is defined in the property. To apply the macro silently - for the parameter, set the property value = -1. - - - Applying the attribute on a source template method: - - [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] - public static void forEach<T>(this IEnumerable<T> collection) { - foreach (var item in collection) { - //$ $END$ - } - } - - Applying the attribute on a template method parameter: - - [SourceTemplate] - public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { - /*$ var $x$Id = "$newguid$" + x.ToString(); - x.DoSomething($x$Id); */ - } - - - - - - Allows specifying a macro that will be executed for a source template - parameter when the template is expanded. - - - - - Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. - - - If the target parameter is used several times in the template, only one occurrence becomes editable; - other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, - use values >= 0. To make the parameter non-editable when the template is expanded, use -1. - > - - - - Identifies the target parameter of a source template if the - is applied on a template method. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC action. If applied to a method, the MVC action name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC area. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is - an MVC controller. If applied to a method, the MVC controller name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC - partial view. If applied to a method, the MVC partial view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC template. - Use this attribute for custom wrappers similar to - System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component. If applied to a method, the MVC view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Controller.View(Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component name. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component view. If applied to a method, the MVC view component view name is default. - - - - - ASP.NET MVC attribute. When applied to a parameter of an attribute, - indicates that this parameter is an MVC action name. - - - [ActionName("Foo")] - public ActionResult Login(string returnUrl) { - ViewBag.ReturnUrl = Url.Action("Foo"); // OK - return RedirectToAction("Bar"); // Error: Cannot resolve action - } - - - - - Razor attribute. Indicates that a parameter or a method is a Razor section. - Use this attribute for custom wrappers similar to - System.Web.WebPages.WebPageBase.RenderSection(String). - - - - - Indicates how method, constructor invocation or property access - over collection type affects content of the collection. - - - - Method does not use or modify content of the collection. - - - Method only reads content of the collection but does not modify it. - - - Method can change content of the collection but does not add new elements. - - - Method can add new elements to the collection. - - - - Indicates that the marked method is assertion method, i.e. it halts control flow if - one of the conditions is satisfied. To set the condition, mark one of the parameters with - attribute. - - - - - Indicates the condition parameter of the assertion method. The method itself should be - marked by attribute. The mandatory argument of - the attribute is the assertion type. - - - - - Specifies assertion type. If the assertion method argument satisfies the condition, - then the execution continues. Otherwise, execution is assumed to be halted. - - - - Marked parameter should be evaluated to true. - - - Marked parameter should be evaluated to false. - - - Marked parameter should be evaluated to null value. - - - Marked parameter should be evaluated to not null value. - - - - Indicates that the marked method unconditionally terminates control flow execution. - For example, it could unconditionally throw exception. - - - - - Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select, - .Where). This annotation allows inference of [InstantHandle] annotation for parameters - of delegate type by analyzing LINQ method chains. - - - - - Indicates that IEnumerable, passed as parameter, is not enumerated. - - - - - Indicates that parameter is regular expression pattern. - - - - - Prevents the Member Reordering feature from tossing members of the marked class. - - - The attribute must be mentioned in your member reordering patterns - - - - - XAML attribute. Indicates the type that has ItemsSource property and should be treated - as ItemsControl-derived type, to enable inner items DataContext type resolve. - - - - - XAML attribute. Indicates the property of some BindingBase-derived type, that - is used to bind some item of ItemsControl-derived type. This annotation will - enable the DataContext type resolve for XAML bindings for such properties. - - - Property should have the tree ancestor of the ItemsControl type or - marked with the attribute. - - - - - Support implementation of - - - - - - - - - - - - - - - - - Asynchronous continuation delegate - function invoked at the end of asynchronous - processing. - - Exception during asynchronous processing or null if no exception - was thrown. - - - - Helpers for asynchronous operations. - - - - - Iterates over all items in the given collection and runs the specified action - in sequence (each action executes only after the preceding one has completed without an error). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end. - - The repeat count. - The asynchronous continuation to invoke at the end. - The action to invoke. - - - - Modifies the continuation by pre-pending given action to execute just before it. - - The async continuation. - The action to pre-pend. - Continuation which will execute the given action before forwarding to the actual continuation. - - - - Attaches a timeout to a continuation which will invoke the continuation when the specified - timeout has elapsed. - - The asynchronous continuation. - The timeout. - Wrapped continuation. - - - - Iterates over all items in the given collection and runs the specified action - in parallel (each action executes on a thread from thread pool). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Runs the specified asynchronous action synchronously (blocks until the continuation has - been invoked). - - The action. - - Using this method is not recommended because it will block the calling thread. - - - - - Wraps the continuation with a guard which will only make sure that the continuation function - is invoked only once. - - The asynchronous continuation. - Wrapped asynchronous continuation. - - - - Gets the combined exception from all exceptions in the list. - - The exceptions. - Combined exception or null if no exception was thrown. - - - - Disposes the Timer, and waits for it to leave the Timer-callback-method - - The Timer object to dispose - Timeout to wait (TimeSpan.Zero means dispose without waiting) - Timer disposed within timeout (true/false) - - - - Asynchronous action. - - Continuation to be invoked at the end of action. - - - - Asynchronous action with one argument. - - Type of the argument. - Argument to the action. - Continuation to be invoked at the end of action. - - - - Represents the logging event with asynchronous continuation. - - - - - Initializes a new instance of the struct. - - The log event. - The continuation. - - - - Gets the log event. - - - - - Gets the continuation. - - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - A value of true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - String Conversion Helpers - - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - Output value - Default value - Returns false if the input value could not be parsed - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - The type of the enum - Output value. Null if parse failed - - - - Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded. - - The enumeration type to which to convert value. - The string representation of the enumeration name or underlying value to convert. - true to ignore case; false to consider case. - When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized. - true if the value parameter was converted successfully; otherwise, false. - Wrapper because Enum.TryParse is not present in .net 3.5 - - - - Enum.TryParse implementation for .net 3.5 - - - - Don't uses reflection - - - - Enables to extract extra context details for - - - - - Name of context - - - - - The current LogFactory next to LogManager - - - - - NLog internal logger. - - Writes to file, console or custom text writer (see ) - - - Don't use as that can lead to recursive calls - stackoverflow - - - - - Gets a value indicating whether internal log includes Trace messages. - - - - - Gets a value indicating whether internal log includes Debug messages. - - - - - Gets a value indicating whether internal log includes Info messages. - - - - - Gets a value indicating whether internal log includes Warn messages. - - - - - Gets a value indicating whether internal log includes Error messages. - - - - - Gets a value indicating whether internal log includes Fatal messages. - - - - - Logs the specified message without an at the Trace level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - Log message. - - - - Logs the specified message without an at the Trace level. - will be only called when logging is enabled for level Trace. - - Function that returns the log message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Trace level. - will be only called when logging is enabled for level Trace. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Debug level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Debug level. - - Log message. - - - - Logs the specified message without an at the Debug level. - will be only called when logging is enabled for level Debug. - - Function that returns the log message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Debug level. - will be only called when logging is enabled for level Debug. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Info level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Info level. - - Log message. - - - - Logs the specified message without an at the Info level. - will be only called when logging is enabled for level Info. - - Function that returns the log message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Info level. - will be only called when logging is enabled for level Info. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Warn level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Warn level. - - Log message. - - - - Logs the specified message without an at the Warn level. - will be only called when logging is enabled for level Warn. - - Function that returns the log message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Warn level. - will be only called when logging is enabled for level Warn. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Error level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Error level. - - Log message. - - - - Logs the specified message without an at the Error level. - will be only called when logging is enabled for level Error. - - Function that returns the log message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Error level. - will be only called when logging is enabled for level Error. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Fatal level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Fatal level. - - Log message. - - - - Logs the specified message without an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Function that returns the log message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Exception to be logged. - Function that returns the log message. - - - - Initializes static members of the InternalLogger class. - - - - - Set the config of the InternalLogger with defaults and config. - - - - - Gets or sets the minimal internal log level. - - If set to , then messages of the levels , and will be written. - - - - Gets or sets a value indicating whether internal messages should be written to the console output stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the console error stream. - - Your application must be a console application. - - - - Gets or sets the file path of the internal log file. - - A value of value disables internal logging to a file. - - - - Gets or sets the text writer that will receive internal logs. - - - - - Event written to the internal log. - Please note that the event is not triggered when then event hasn't the minimal log level set by - - - - - Gets or sets a value indicating whether timestamp should be included in internal log output. - - - - - Is there an thrown when writing the message? - - - - - Logs the specified message without an at the specified level. - - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the specified level. - - Log level. - Log message. - - - - Logs the specified message without an at the specified level. - will be only called when logging is enabled for level . - - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - will be only called when logging is enabled for level . - - Exception to be logged. - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Log message. - - - - Write to internallogger. - - optional exception to be logged. - level - message - optional args for - - - - Create log line with timestamp, exception message etc (if configured) - - - - - Determine if logging should be avoided because of exception type. - - The exception to check. - true if logging should be avoided; otherwise, false. - - - - Determine if logging is enabled for given LogLevel - - The for the log event. - true if logging is enabled; otherwise, false. - - - - Determine if logging is enabled. - - true if logging is enabled; otherwise, false. - - - - Write internal messages to the log file defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged only when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged when the property is true, otherwise the - method has no effect. - - - - - Logs the assembly version and file version of the given Assembly. - - The assembly to log. - - - - A message has been written to the internal logger - - - - - The rendered message - - - - - The log level - - - - - The exception. Could be null. - - - - - The type that triggered this internal log event, for example the FileTarget. - This property is not always populated. - - - - - The context name that triggered this internal log event, for example the name of the Target. - This property is not always populated. - - - - - - - - A cyclic buffer of object. - - - - - Initializes a new instance of the class. - - Buffer size. - Whether buffer should grow as it becomes full. - The maximum number of items that the buffer can grow to. - - - - Gets the capacity of the buffer - - - - - Gets the number of items in the buffer - - - - - Adds the specified log event to the buffer. - - Log event. - The number of items in the buffer. - - - - Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation. - - Events in the buffer. - - - - Condition and expression. - - - - - Initializes a new instance of the class. - - Left hand side of the AND expression. - Right hand side of the AND expression. - - - - Gets the left hand side of the AND expression. - - - - - Gets the right hand side of the AND expression. - - - - - Returns a string representation of this expression. - - A concatenated '(Left) and (Right)' string. - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the conjunction operator. - - - - Exception during evaluation of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Base class for representing nodes in condition expression trees. - - - - - Converts condition text to a condition expression tree. - - Condition text to be converted. - Condition expression tree. - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition layout expression (represented by a string literal - with embedded ${}). - - - - - Initializes a new instance of the class. - - The layout. - - - - Gets the layout. - - The layout. - - - - Returns a string representation of this expression. - - String literal in single quotes. - - - - Evaluates the expression by calculating the value - of the layout in the specified evaluation context. - - Evaluation context. - The value of the layout. - - - - Condition level expression (represented by the level keyword). - - - - - Returns a string representation of the expression. - - The 'level' string. - - - - Evaluates to the current log level. - - Evaluation context. Ignored. - The object representing current log level. - - - - Condition literal expression (numeric, LogLevel.XXX, true or false). - - - - - Initializes a new instance of the class. - - Literal value. - ToString value. - - - - Gets the literal value. - - The literal value. - - - - Returns a string representation of the expression. - - The literal value. - - - - Evaluates the expression. - - Evaluation context. - The literal value as passed in the constructor. - - - - Condition logger name expression (represented by the logger keyword). - - - - - Returns a string representation of this expression. - - A logger string. - - - - Evaluates to the logger name. - - Evaluation context. - The logger name. - - - - Condition message expression (represented by the message keyword). - - - - - Returns a string representation of this expression. - - The 'message' string. - - - - Evaluates to the logger message. - - Evaluation context. - The logger message. - - - - Marks class as a log event Condition and assigns a name to it. - - - - - Initializes a new instance of the class. - - Condition method name. - - - - Condition method invocation expression (represented by method(p1,p2,p3) syntax). - - - - - Initializes a new instance of the class. - - Name of the condition method. - of the condition method. - Precompiled delegate of the condition method. - The method parameters. - - - - Gets the method info. - - - - - Gets the method parameters - - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - A bunch of utility methods (mostly predicates) which can be used in - condition expressions. Partially inspired by XPath 1.0. - - - - - Compares two values for equality. - - The first value. - The second value. - true when two objects are equal, false otherwise. - - - - Compares two strings for equality. - - The first string. - The second string. - Optional. If true, case is ignored; if false (default), case is significant. - true when two strings are equal, false otherwise. - - - - Gets or sets a value indicating whether the second string is a substring of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a substring of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a prefix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a suffix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Returns the length of a string. - - A string whose lengths is to be evaluated. - The length of the string. - - - - Indicates whether the specified regular expression finds a match in the specified input string. - - The string to search for a match. - The regular expression pattern to match. - A string consisting of the desired options for the test. The possible values are those of the separated by commas. - true if the regular expression finds a match; otherwise, false. - - - - - - - - - - - Marks the class as containing condition methods. - - - - - Condition not expression. - - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression to be negated. - - The expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition or expression. - - - - - Initializes a new instance of the class. - - Left hand side of the OR expression. - Right hand side of the OR expression. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the alternative operator. - - - - Exception during parsing of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Condition parser. Turns a string representation of condition expression - into an expression tree. - - - - - Initializes a new instance of the class. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - Instance of used to resolve references to condition methods and layout renderers. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - - Try stringed keyword to - - - - success? - - - - Parse number - - negative number? minus should be parsed first. - - - - - Condition relational (==, !=, <, <=, - > or >=) expression. - - - - - Initializes a new instance of the class. - - The left expression. - The right expression. - The relational operator. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Gets the relational operator. - - The operator. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Compares the specified values using specified relational operator. - - The first value. - The second value. - The relational operator. - Result of the given relational operator. - - - - Promote values to the type needed for the comparision, e.g. parse a string to int. - - - - - - - Promotes to type - - - - success? - - - - Try to promote both values. First try to promote to , - when failed, try to . - - - - - - Get the order for the type for comparision. - - - index, 0 to max int. Lower is first - - - - Dictionary from type to index. Lower index should be tested first. - - - - - Build the dictionary needed for the order of the types. - - - - - - Get the string representing the current - - - - - - Relational operators used in conditions. - - - - - Equality (==). - - - - - Inequality (!=). - - - - - Less than (<). - - - - - Greater than (>). - - - - - Less than or equal (<=). - - - - - Greater than or equal (>=). - - - - - Hand-written tokenizer for conditions. - - - - - Initializes a new instance of the class. - - The string reader. - - - - Gets the type of the token. - - The type of the token. - - - - Gets the token value. - - The token value. - - - - Gets the value of a string token. - - The string token value. - - - - Asserts current token type and advances to the next token. - - Expected token type. - If token type doesn't match, an exception is thrown. - - - - Asserts that current token is a keyword and returns its value and advances to the next token. - - Keyword value. - - - - Gets or sets a value indicating whether current keyword is equal to the specified value. - - The keyword. - - A value of true if current keyword is equal to the specified value; otherwise, false. - - - - - Gets or sets a value indicating whether the tokenizer has reached the end of the token stream. - - - A value of true if the tokenizer has reached the end of the token stream; otherwise, false. - - - - - Gets or sets a value indicating whether current token is a number. - - - A value of true if current token is a number; otherwise, false. - - - - - Gets or sets a value indicating whether the specified token is of specified type. - - The token type. - - A value of true if current token is of specified type; otherwise, false. - - - - - Gets the next token and sets and properties. - - - - - Try the comparison tokens (greater, smaller, greater-equals, smaller-equals) - - current char - is match - - - - Try the logical tokens (and, or, not, equals) - - current char - is match - - - - Mapping between characters and token types for punctuations. - - - - - Initializes a new instance of the CharToTokenType struct. - - The character. - Type of the token. - - - - Token types for condition expressions. - - - - - Marks the class or a member as advanced. Advanced classes and members are hidden by - default in generated documentation. - - - - - Initializes a new instance of the class. - - - - - Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain. - - - A layout(renderer) could be converted to a literal when: - - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput] - - Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout. - - - - - Used to mark configurable parameters which are arrays. - Specifies the mapping between XML elements and .NET types. - - - - - Initializes a new instance of the class. - - The type of the array item. - The XML element name that represents the item. - - - - Gets the .NET type of the array item. - - - - - Gets the XML element name. - - - - - An assembly is trying to load. - - - - - New event args - - - - - - The assembly that is trying to load. - - - - - Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. - - Type of the item. - Created object of the specified type. - - - - Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. - - Everything of an assembly could be loaded by - - - - - Called before the assembly will be loaded. - - - - - Initializes a new instance of the class. - - The assemblies to scan for named items. - - - - Gets or sets default singleton instance of . - - - This property implements lazy instantiation so that the is not built before - the internal logger is configured. - - - - - Gets or sets the creator delegate used to instantiate configuration objects. - - - By overriding this property, one can enable dependency injection or interception for created objects. - - - - - Gets the factory. - - The target factory. - - - - Gets the factory. - - The filter factory. - - - - gets the factory - - not using due to backwards-compatibility. - - - - - Gets the factory. - - The layout renderer factory. - - - - Gets the factory. - - The layout factory. - - - - Gets the ambient property factory. - - The ambient property factory. - - - - Legacy interface, no longer used by the NLog engine - - - - - Gets or sets the JSON serializer to use with or - - - - - Gets or sets the string serializer to use with - - - - - Gets or sets the custom object-type transformation for use in , or - - - - - Gets or sets the parameter converter to use with , or - - - - - Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect) - - - - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering. - - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with ) - - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging) - - - - - Gets the time source factory. - - The time source factory. - - - - Gets the condition method factory. - - The condition method factory. - - - - Gets the condition method factory (precompiled) - - The condition method factory. - - - - Registers named items from the assembly. - - The assembly. - - - - Registers named items from the assembly. - - The assembly. - Item name prefix. - - - - Call Preload for NLogPackageLoader - - - Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) - This method will be called just before registering all items in the assembly. - - - - - - Call the Preload method for . The Preload method must be static. - - - - - - Clears the contents of all factories. - - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Builds the default configuration item factory. - - Default factory. - - - - Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. - - - - - Attribute used to mark the default parameters for layout renderers. - - - - - Initializes a new instance of the class. - - - - - Dynamic filtering with a positive list of enabled levels - - - - - Dynamic filtering with a minlevel and maxlevel range - - - - - Format of the exception output to the specific target. - - - - - Appends the Message of an Exception to the specified target. - - - - - Appends the type of an Exception to the specified target. - - - - - Appends the short type of an Exception to the specified target. - - - - - Appends the result of calling ToString() on an Exception to the specified target. - - - - - Appends the method name from Exception's stack trace to the specified target. - - - - - Appends the stack trace from an Exception to the specified target. - - - - - Appends the contents of an Exception's Data property to the specified target. - - - - - Destructure the exception (usually into JSON) - - - - - Appends the from the application or the object that caused the error. - - - - - Appends the from the application or the object that caused the error. - - - - - Appends any additional properties that specific type of Exception might have. - - - - - Factory for class-based items. - - The base type of each item. - The type of the attribute used to annotate items. - - - - Scans the assembly. - - The types to scan. - The prefix. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Registers the item based on a type name. - - Name of the item. - Name of the type. - - - - Clears the contents of the factory. - - - - - Registers a single type definition. - - The item name. - The type of the item. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Creates an item instance. - - The name of the item. - Created item. - - - - Factory specialized for s. - - - - - Clear all func layouts - - - - - Register a layout renderer with a callback function. - - Name of the layoutrenderer, without ${}. - the renderer that renders the value. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.). - - - - - Implemented by objects which support installation and uninstallation. - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Interface for accessing configuration details - - - - - Name of the config section - - - - - Configuration Key/Value Pairs - - - - - Child config sections - - - - - Interface for loading NLog - - - - - Finds and loads the NLog configuration - - LogFactory that owns the NLog configuration - Name of NLog.config file (optional) - NLog configuration (or null if none found) - - - - Notifies when LoggingConfiguration has been successfully applied - - LogFactory that owns the NLog configuration - NLog Config - - - - Get file paths (including filename) for the possible NLog config files. - - Name of NLog.config file (optional) - The file paths to the possible config file - - - - Level enabled flags for each LogLevel ordinal - - - - - Converts the filter into a simple - - - - - Represents a factory of named items (such as targets, layouts, layout renderers, etc.). - - Base type for each item instance. - Item definition type (typically or ). - - - - Registers new item definition. - - Name of the item. - Item definition. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Creates item instance. - - Name of the item. - Newly created item instance. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides context for install/uninstall operations. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log output. - - - - Gets or sets the installation log level. - - - - - Gets or sets a value indicating whether to ignore failures during installation. - - - - - Whether installation exceptions should be rethrown. If IgnoreFailures is set to true, - this property has no effect (there are no exceptions to rethrow). - - - - - Gets the installation parameters. - - - - - Gets or sets the log output. - - - - - Logs the specified trace message. - - The message. - The arguments. - - - - Logs the specified debug message. - - The message. - The arguments. - - - - Logs the specified informational message. - - The message. - The arguments. - - - - Logs the specified warning message. - - The message. - The arguments. - - - - Logs the specified error message. - - The message. - The arguments. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Creates the log event which can be used to render layouts during installation/uninstallations. - - Log event info object. - - - - Convert object-value into specified type - - - - - Parses the input value and converts into the wanted type - - Input Value - Wanted Type - Format to use when parsing - Culture to use when parsing - Output value with wanted type - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for extension loading - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for enabling NLog - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - LoggingConfiguration being built - - - - - Interface for fluent setup of LogFactory options for logevent serialization - - - - - LogFactory under configuration - - - - - Encapsulates and the logic to match the actual logger name - All subclasses defines immutable objects. - Concrete subclasses defines various matching rules through - - - - - Creates a concrete based on . - - - Rules used to select the concrete implementation returned: - - if is null => returns (never matches) - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals) - if == '*' => returns (always matches) - if doesn't contain '?' - - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns - - - returns - - - - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - A concrete - - - - Returns the argument passed to - - - - - Checks whether given name matches the logger name pattern. - - String to be matched. - A value of when the name matches, otherwise. - - - - Defines a that never matches. - Used when pattern is null - - - - - Defines a that always matches. - Used when pattern is '*' - - - - - Defines a that matches with a case-sensitive Equals - Used when pattern is a string without wildcards '?' '*' - - - - - Defines a that matches with a case-sensitive StartsWith - Used when pattern is a string like "*foobar" - - - - - Defines a that matches with a case-sensitive EndsWith - Used when pattern is a string like "foobar*" - - - - - Defines a that matches with a case-sensitive Contains - Used when pattern is a string like "*foobar*" - - - - - Defines a that matches with a complex wildcards combinations: - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - used when pattern is a string containing any number of '?' or '*' in any position - i.e. "*Server[*].Connection[?]" - - - - - Keeps logging configuration and provides simple API to modify it. - - This class is thread-safe..ToList() is used for that purpose. - - - - Variables defined in xml or in API. name is case case insensitive. - - - - - Gets the factory that will be configured - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. - - - - Gets the variables defined in the configuration. - - - - - Gets a collection of named targets specified in the configuration. - - - A list of named targets. - - - Unnamed targets (such as those wrapped by other targets) are not returned. - - - - - Gets the collection of file names which should be watched for changes by NLog. - - - - - Gets the collection of logging rules. - - - - - Gets or sets the default culture info to use as . - - - Specific culture info or null to use - - - - - Gets all targets. - - - - - Compare objects based on their name. - - This property is use to cache the comparer object. - - - - Defines methods to support the comparison of objects for equality based on their name. - - - - - Registers the specified target object. The name of the target is read from . - - - The target object with a non - - when is - - - - Registers the specified target object under a given name. - - Name of the target. - The target object. - when is - when is - - - - Finds the target with the specified name. - - - The name of the target to be found. - - - Found target or when the target is not found. - - - - - Finds the target with the specified name and specified type. - - - The name of the target to be found. - - Type of the target - - Found target or when the target is not found of not of type - - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for all loglevels. - - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Finds the logging rule with the specified name. - - The name of the logging rule to be found. - Found logging rule or when not found. - - - - Removes the specified named logging rule. - - The name of the logging rule to be removed. - Found one or more logging rule to remove, or when not found. - - - - Called by LogManager when one of the log configuration files changes. - - - A new instance of that represents the updated configuration. - - - - - Removes the specified named target. - - Name of the target. - - - - Installs target-specific objects on current system. - - The installation context. - - Installation typically runs with administrative permissions. - - - - - Uninstalls target-specific objects from current system. - - The installation context. - - Uninstallation typically runs with administrative permissions. - - - - - Closes all targets and releases any unmanaged resources. - - - - - Log to the internal (NLog) logger the information about the and associated with this instance. - - - The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is - recorded. - - - - - Validates the configuration. - - - - - Copies all variables from provided dictionary into current configuration variables. - - Master variables dictionary - - - - Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage. - - - - - - - Checks whether unused targets exist. If found any, just write an internal log at Warn level. - If initializing not started or failed, then checking process will be canceled - - - - - - - - Arguments for events. - - - - - Initializes a new instance of the class. - - The new configuration. - The old configuration. - - - - Gets the old configuration. - - The old configuration. - - - - Gets the new configuration. - - The new configuration. - - - - Gets the new configuration - - The new configuration. - - - - Gets the old configuration - - The old configuration. - - - - Gets the optional boolean attribute value. - - - Name of the attribute. - Default value to return if the attribute is not found or if there is a parse error - Boolean attribute value or default. - - - - Remove the namespace (before :) - - - x:a, will be a - - - - - - - Enables loading of NLog configuration from a file - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Loads NLog configuration from - - - - - Constructor - - - - - - Loads NLog configuration from provided config section - - - - - - - Builds list with unique keys, using last value of duplicates. High priority keys placed first. - - - - - - - Parse loglevel, but don't throw if exception throwing is disabled - - Name of attribute for logging. - Value of parse. - Used if there is an exception - - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Parse {Rules} xml element - - - Rules are added to this parameter. - - - - Parse {Logger} xml element - - - - - - Parse boolean - - Name of the property for logging. - value to parse - Default value to return if the parse failed - Boolean attribute value or default. - - - - Represents a logging rule. An equivalent of <logger /> configuration element. - - - - - Create an empty . - - - - - Create an empty . - - - - - Create a new with a and which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a new with a which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a (disabled) . You should call or to enable logging. - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Target to be written to when the rule matches. - - - - Rule identifier to allow rule lookup - - - - - Gets a collection of targets that should be written to when this rule matches. - - - - - Gets a collection of child rules to be evaluated when this rule matches. - - - - - Gets a collection of filters to be checked before writing to targets. - - - - - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - - Gets or sets logger name pattern. - - - Logger name pattern used by to check if a logger name matches this rule. - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - - - - Gets the collection of log levels enabled by this rule. - - - - - Default action if none of the filters match - - - - - Enables logging for a particular level. - - Level to be enabled. - - - - Enables logging for a particular levels between (included) and . - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Disables logging for a particular level. - - Level to be disabled. - - - - Disables logging for particular levels between (included) and . - - Minimum log level to be disables. - Maximum log level to de disabled. - - - - Enables logging the levels between (included) and . All the other levels will be disabled. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Returns a string representation of . Used for debugging. - - - A that represents the current . - - - - - Checks whether te particular log level is enabled for this rule. - - Level to be checked. - A value of when the log level is enabled, otherwise. - - - - Checks whether given name matches the . - - String to be matched. - A value of when the name matches, otherwise. - - - - Default filtering with static level config - - - - - Factory for locating methods. - - - - - Initializes a new instance of the class. - - Helper method to extract relevant methods from type - - - - Scans the assembly for classes marked with expected class - and methods marked with expected and adds them - to the factory. - - The types to scan. - The prefix to use for names. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Scans a type for relevant methods with their symbolic names - - Include types that are marked with this attribute - Include methods that are marked with this attribute - Class Type to scan - Collection of methods with their symbolic names - - - - Clears contents of the factory. - - - - - Registers the definition of a single method. - - The method name. - The method info. - - - - Registers the definition of a single method. - - The method name. - The method info. - The precompiled method delegate. - - - - Tries to retrieve method by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Tries to retrieve method-delegate by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Retrieves method by name. - - Method name. - MethodInfo object. - - - - Retrieves method by name. - - Method name. - Method delegate object. - - - - Tries to get method definition. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Marks the layout or layout renderer depends on mutable objects from the LogEvent - - This can be or - - - - - Attaches a simple name to an item (such as , - , , etc.). - - - - - Initializes a new instance of the class. - - The name of the item. - - - - Gets the name of the item. - - The name of the item. - - - - Indicates NLog should not scan this property during configuration. - - - - - Initializes a new instance of the class. - - - - - Marks the object as configuration item for NLog. - - - - - Initializes a new instance of the class. - - - - - Represents simple XML element with case-insensitive attribute semantics. - - - - - Initializes a new instance of the class. - - The reader to initialize element from. - - - - Prevents a default instance of the class from being created. - - - - - Gets the element name. - - - - - Gets the dictionary of attribute values. - - - - - Gets the collection of child elements. - - - - - Gets the value of the element. - - - - - Last error occured during configuration read - - - - - Returns children elements with the specified element name. - - Name of the element. - Children elements with the specified element name. - - - - Asserts that the name of the element is among specified element names. - - The allowed names. - - - - Returns all parsing errors from current and all child elements. - - - - - Special attribute we could ignore - - - - - Default implementation of - - - - - - - - Attribute used to mark the required parameters for targets, - layout targets and filters. - - - - - Provides simple programmatic configuration API used for trivial logging cases. - - Warning, these methods will overwrite the current config. - - - - - Configures NLog for console logging so that all messages above and including - the level are output to the console. - - - - - Configures NLog for console logging so that all messages above and including - the specified level are output to the console. - - The minimal logging level. - - - - Configures NLog for to log to the specified target so that all messages - above and including the level are output. - - The target to log all messages to. - - - - Configures NLog for to log to the specified target so that all messages - above and including the specified level are output. - - The target to log all messages to. - The minimal logging level. - - - - Configures NLog for file logging so that all messages above and including - the level are written to the specified file. - - Log file name. - - - - Configures NLog for file logging so that all messages above and including - the specified level are written to the specified file. - - Log file name. - The minimal logging level. - - - - Value indicating how stack trace should be captured when processing the log event. - - - - - Stack trace should not be captured. - - - - - Stack trace should be captured without source-level information. - - - - - Capture maximum amount of the stack trace information supported on the platform. - - - - - Marks the layout or layout renderer as thread independent - it producing correct results - regardless of the thread it's running on. - - Without this attribute everything is rendered on the main thread. - - - If this attribute is set on a layout, it could be rendered on the another thread. - This could be more efficient as it's skipped when not needed. - - If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - - See the AsyncTargetWrapper and BufferTargetWrapper with the , using - - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - - - - - Marks the layout or layout renderer as thread safe - it producing correct results - regardless of the number of threads it's running on. - - Without this attribute then the target concurrency will be reduced - - - - - A class for configuring NLog through an XML configuration file - (App.config style or App.nlog style). - - Parsing of the XML file is also implemented in this class. - - - - This class is thread-safe..ToList() is used for that purpose. - - Update TemplateXSD.xml for changes outside targets - - - - - Initializes a new instance of the class. - - Configuration file to be read. - - - - Initializes a new instance of the class. - - Configuration file to be read. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - XML reader to read from. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - The XML contents. - Name of the XML file. - The to which to apply any applicable configuration values. - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - NLog LogFactory - - - - Did the Succeeded? true= success, false= error, null = initialize not started yet. - - - - - Gets or sets a value indicating whether all of the configuration files - should be watched for changes and reloaded automatically when changed. - - - - - Gets the collection of file names which should be watched for changes by NLog. - This is the list of configuration files processed. - If the autoReload attribute is not set it returns empty collection. - - - - - Re-reads the original configuration file and returns the new object. - - The new object. - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Create XML reader for (xml config) file. - - filepath - reader or null if filename is empty. - - - - Initializes the configuration. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Checks whether any error during XML configuration parsing has occured. - If there are any and ThrowConfigExceptions or ThrowExceptions - setting is enabled - throws NLogConfigurationException, otherwise - just write an internal log at Warn level. - - Root NLog configuration xml element - - - - Add a file with configuration. Check if not already included. - - - - - - - Parse the root - - - path to config file. - The default value for the autoReload option. - - - - Parse {configuration} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parse {NLog} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Include (multiple) files by filemask, e.g. *.nlog - - base directory in case if is relative - relative or absolute fileMask - - - - - - - - Matches when the specified condition is met. - - - Conditions are expressed using a simple language - described here. - - - - - Gets or sets the condition expression. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - An abstract filter class. Provides a way to eliminate log messages - based on properties other than logger name and log level. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the action to be taken when filter matches. - - - - - - Gets the result of evaluating filter against given log event. - - The log event. - Filter result. - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Marks class as a layout renderer and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the filter. - - - - Filter result. - - - - - The filter doesn't want to decide whether to log or discard the message. - - - - - The message should be logged. - - - - - The message should not be logged. - - - - - The message should be logged and processing should be finished. - - - - - The message should not be logged and processing should be finished. - - - - - A base class for filters that are based on comparing a value to a layout. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the layout to be used to filter log messages. - - The layout. - - - - - Matches when the calculated layout contains the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets the substring to be matched. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets a string to compare the layout to. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches the provided filter-method - - - - - Initializes a new instance of the class. - - - - - - - - Matches when the calculated layout does NOT contain the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets the substring to be matched. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is NOT equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a string to compare the layout to. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the result of the calculated layout has been repeated a moment ago - - - - - How long before a filter expires, and logging is accepted again - - - - - - Max length of filter values, will truncate if above limit - - - - - - Applies the configured action to the initial logevent that starts the timeout period. - Used to configure that it should ignore all events until timeout. - - - - - - Max number of unique filter values to expect simultaneously - - - - - - Default number of unique filter values to expect, will automatically increase if needed - - - - - - Insert FilterCount value into when an event is no longer filtered - - - - - - Append FilterCount to the when an event is no longer filtered - - - - - - Reuse internal buffers, and doesn't have to constantly allocate new buffers - - - - - - Default buffer size for the internal buffers - - - - - - Can be used if has been enabled. - - - - - Initializes a new instance of the class. - - - - - Checks whether log event should be logged or not. In case the LogEvent has just been repeated. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Uses object pooling, and prunes stale filter items when the pool runs dry - - - - - Remove stale filter-value from the cache, and fill them into the pool for reuse - - - - - Renders the Log Event into a filter value, that is used for checking if just repeated - - - - - Repeated LogEvent detected. Checks if it should activate filter-action - - - - - Filter Value State (mutable) - - - - - Filter Lookup Key (immutable) - - - - - A fluent class to build log events for NLog. - - - - - Initializes a new instance of the class. - - The to send the log event. - - - - Initializes a new instance of the class. - - The to send the log event. - The for the log event. - - - - Gets the created by the builder. - - - - - Sets the information of the logging event. - - The exception information of the logging event. - current for chaining calls. - - - - Sets the level of the logging event. - - The level of the logging event. - current for chaining calls. - - - - Sets the logger name of the logging event. - - The logger name of the logging event. - current for chaining calls. - - - - Sets the log message on the logging event. - - The log message for the logging event. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - The fourth object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - An object that supplies culture-specific formatting information. - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets a per-event context property on the logging event. - - The name of the context property. - The value of the context property. - current for chaining calls. - - - - Sets multiple per-event context properties on the logging event. - - The properties to set. - current for chaining calls. - - - - Sets the timestamp of the logging event. - - The timestamp of the logging event. - current for chaining calls. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - current for chaining calls. - - - - Writes the log event to the underlying logger. - - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Extension methods for NLog . - - - - - Starts building a log event with the specified . - - The logger to write the log event to. - The log level. - current for chaining calls. - - - - Starts building a log event at the Trace level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Debug level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Info level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Warn level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Error level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Fatal level. - - The logger to write the log event to. - current for chaining calls. - - - - Global Diagnostics Context - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Global Diagnostics Context - a dictionary structure to hold per-application-instance values. - - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The item value, if defined; otherwise null. - - - - Returns all item names - - A collection of the names of all items in the Global Diagnostics Context. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Include context properties - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Interface for serialization of object values into JSON format - - - - - Serialization of an object into JSON format. - - The object to serialize to JSON. - Output destination. - Serialize succeeded (true/false) - - - - Provides logging interface and utility functions. - - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Logger with only generic methods (passing 'LogLevel' to methods) and core properties. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Extensions for NLog . - - - - - Writes the diagnostic message and exception at the specified level. - - A logger implementation that will handle the message. - The log level. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Allocates new builder and appends to the provided target builder on dispose - - - - - Access the new builder allocated - - - - - Helpers for . - - - - - Load from url - - file or path, including .dll - basepath, optional - - - - - Load from url - - name without .dll - - - - - Forward declare of system delegate type for use by other classes - - - - - Keeps track of pending operation count, and can notify when pending operation count reaches zero - - - - - Mark operation has started - - - - - Mark operation has completed - - Exception coming from the completed operation [optional] - - - - Registers an AsyncContinuation to be called when all pending operations have completed - - Invoked on completion - AsyncContinuation operation - - - - Clear o - - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Legacy attempt to skip async MoveNext, but caused source file line number to be lost - - - - - Gets the entire stack trace. - - - - - Finds first user stack frame in a stack trace - - The stack trace of the logging method invocation - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - Index of the first user stack frame or 0 if all stack frames are non-user - - - - This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame - - The stack trace of the logging method invocation - Starting point for skipping async MoveNext-frames - - - - Assembly to skip? - - Find assembly via this frame. - true, we should skip. - - - - Is this the type of the logger? - - get type of this logger in this frame. - Type of the logger. - - - - - Memory optimized filtering - - Passing state too avoid delegate capture and memory-allocations. - - - - Provides untyped IDictionary interface on top of generic IDictionary. - - The type of the key. - The type of the value. - - - - Initializes a new instance of the DictionaryAdapter class. - - The implementation. - - - - Gets an object containing the values in the object. - - - - An object containing the values in the object. - - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - - Gets an object that can be used to synchronize access to the . - - - - An object that can be used to synchronize access to the . - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - - Gets an object containing the keys of the object. - - - - An object containing the keys of the object. - - - - - Gets or sets the with the specified key. - - Dictionary key. - Value corresponding to key or null if not found - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - - - Removes all elements from the object. - - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - True if the contains an element with the key; otherwise, false. - - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Wrapper IDictionaryEnumerator. - - - - - Initializes a new instance of the class. - - The wrapped. - - - - Gets both the key and the value of the current dictionary entry. - - - - A containing both the key and the value of the current dictionary entry. - - - - - Gets the key of the current dictionary entry. - - - - The key of the current element of the enumeration. - - - - - Gets the value of the current dictionary entry. - - - - The value of the current element of the enumeration. - - - - - Gets the current element in the collection. - - - - The current element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - - - Ensures that IDictionary.GetEnumerator returns DictionaryEntry values - - - - - UTF-8 BOM 239, 187, 191 - - - - - Safe way to get environment variables. - - - - - Helper class for dealing with exceptions. - - - - - Mark this exception as logged to the . - - - - - - - Is this exception logged to the ? - - - trueif the has been logged to the . - - - - Determines whether the exception must be rethrown and logs the error to the if is false. - - Advised to log first the error to the before calling this method. - - The exception to check. - Target context of the exception. - trueif the must be rethrown, false otherwise. - - - - Determines whether the exception must be rethrown immediately, without logging the error to the . - - Only used this method in special cases. - - The exception to check. - trueif the must be rethrown, false otherwise. - - - - Object construction helper. - - - - - Adapter for to - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Creates an AppDomainWrapper for the current - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - - - - - - - - - - - - - - - - - - - - - - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Abstract calls for the application environment - - - - - Abstract calls to FileSystem - - - - Determines whether the specified file exists. - The file to check. - - - Returns the content of the specified file - The file to load. - - - - Base class for optimized file appenders. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the path of the file, including file extension. - - The name of the file. - - - - Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated - Universal Time [UTC] standard. - - The creation time of the file. - - - - Gets or sets the creation time for a file associated with the appender. Synchronized by - The time format is based on - - - - - Gets the last time the file associated with the appender is opened. The time returned is in Coordinated - Universal Time [UTC] standard. - - The time the file was last opened. - - - - Gets the file creation parameters. - - The file creation parameters. - - - - Writes the specified bytes. - - The bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates the file stream. - - If set to true sets the file stream to allow shared writing. - If larger than 0 then it will be used instead of the default BufferSize for the FileStream. - A object which can be used to write to the file. - - - - Base class for optimized file appenders which require the usage of a mutex. - - It is possible to use this class as replacement of BaseFileAppender and the mutex functionality - is not enforced to the implementing subclasses. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Implementation of which caches - file information. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Closes this instance of the appender. - - - - - Flushes this current appender. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Writes the specified bytes to a file. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Factory class which creates objects. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Maintains a collection of file appenders usually associated with file targets. - - - - - An "empty" instance of the class with zero size and empty list of appenders. - - - - - Initializes a new "empty" instance of the class with zero size and empty - list of appenders. - - - - - Initializes a new instance of the class. - - - The size of the list should be positive. No validations are performed during initialization as it is an - internal class. - - Total number of appenders allowed in list. - Factory used to create each appender. - Parameters used for creating a file. - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface that provides parameters for create file function. - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - Gets or sets the log file buffer size in bytes. - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Should archive mutex be created? - - - - - Should manual simple detection of file deletion be enabled? - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface implemented by all factories capable of creating file appenders. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - Instance of which can be used to write to the file. - - - - Appender used to discard data for the FileTarget. - Used mostly for testing entire stack except the actual writing to disk. - Throws away all data. - - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Multi-process and multi-host file appender which attempts - to get exclusive write access and retries if it's not available. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Optimized single-process file appender which keeps the file open for exclusive write. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - A layout that represents a filePath. - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - not null when == false - - - - - non null is fixed, - - - - - is the cache-key, and when newly rendered filename matches the cache-key, - then it reuses the cleaned cache-value . - - - - - is the cache-value that is reused, when the newly rendered filename - matches the cache-key - - - - Initializes a new instance of the class. - - - - Render the raw filename from Layout - - The log event. - StringBuilder to minimize allocations [optional]. - String representation of a layout. - - - - Convert the raw filename to a correct filename - - The filename generated by Layout. - String representation of a correct filename. - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Convert object to string - - value - format for conversion. - - - If is null and isn't a already, then the will get a locked by - - - - - Format a log message - - - - - Format the message and return - - LogEvent with message to be formatted - formatted message - - - - Has the logevent properties? - - LogEvent with message to be formatted - False when logevent has no properties to be extracted - - - - Appends the logevent message to the provided StringBuilder - - LogEvent with message to be formatted - The to append the formatted message. - - - - Get the Raw, unformatted and unstrinyfied, value - - - - - Get the raw value - - - The value - RawValue supported? - - - - Interface implemented by layouts and layout renderers. - - - - - Renders the the value of layout or layout renderer in the context of the specified log event. - - The log event. - String representation of a layout. - - - - Supports rendering as string value with limited or no allocations (preferred) - - - - - Renders the value of layout renderer in the context of the specified log event - - - null if not possible or unknown - - - - Supports object initialization and termination. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Allows components to request stack trace information to be provided in the . - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Render the event info as parse as short - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as int - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as bool - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Logger configuration. - - - - - Initializes a new instance of the class. - - The targets by level. - Use the old exception log handling of NLog 3.0? - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. - - - - Gets targets for the specified level. - - The level. - Chain of targets with attached filters. - - - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - New formatter - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - The MessageFormatter delegate - - - - - - - - Most-Recently-Used-Cache, that discards less frequently used items on overflow - - - - - Constructor - - Maximum number of items the cache will hold before discarding. - - - - Attempt to insert item into cache. - - Key of the item to be inserted in the cache. - Value of the item to be inserted in the cache. - true when the key does not already exist in the cache, false otherwise. - - - - Lookup existing item in cache. - - Key of the item to be searched in the cache. - Output value of the item found in the cache. - True when the key is found in the cache, false otherwise. - - - - Network sender which uses HTTP or HTTPS POST. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Creates instances of objects for given URLs. - - - - - Creates a new instance of the network sender based on a network URL. - - URL that determines the network sender to be created. - The maximum queue size. - - A newly created network sender. - - - - - Interface for mocking socket calls. - - - - - A base class for all network senders. Supports one-way sending of messages - over various protocols. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Gets the address of the network endpoint. - - - - - Gets the last send time. - - - - - Initializes this network sender. - - - - - Closes the sender and releases any unmanaged resources. - - The continuation. - - - - Flushes any pending messages and invokes a continuation. - - The continuation. - - - - Send the given text over the specified protocol. - - Bytes to be sent. - Offset in buffer. - Number of bytes to send. - The asynchronous continuation. - - - - Closes the sender and releases any unmanaged resources. - - - - - Performs sender-specific initialization. - - - - - Performs sender-specific close operation. - - The continuation. - - - - Performs sender-specific flush. - - The continuation. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Parses the URI into an endpoint address. - - The URI to parse. - The address family. - Parsed endpoint. - - - - Default implementation of . - - - - - - - - A base class for network senders that can block or send out-of-order - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Performs sender-specific flush. - - The continuation. - - - - Socket proxy for mocking Socket code. - - - - - Initializes a new instance of the class. - - The address family. - Type of the socket. - Type of the protocol. - - - - Gets underlying socket instance. - - - - - Closes the wrapped socket. - - - - - Invokes ConnectAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Sends messages over a TCP network connection. - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - The address family. - - - - Creates the socket with given parameters. - - The host address. - The address family. - Type of the socket. - Type of the protocol. - Instance of which represents the socket. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Facilitates mocking of class. - - - - - Raises the Completed event. - - - - - Scans (breadth-first) the object graph following all the edges whose are - instances have attached and returns - all objects implementing a specified interfaces. - - - - - Finds the objects which have attached which are reachable - from any of the given root objects when traversing the object graph over public properties. - - Type of the objects to return. - Also search the properties of the wanted objects. - The root objects. - Ordered list of objects implementing T. - - - ISet is not there in .net35, so using HashSet - - - - Helper for extracting propertyPath - - - - - Object Path to check - - - - - Try get value from , using , and set into - - - - - - - - Converts object into a List of property-names and -values using reflection - - - - - Scans properties for name (Skips string-compare and value-lookup until finding match) - - - - - Scans properties for name (Skips property value lookup until finding match) - - - - - Scans properties for name - - - - - Combine paths - - basepath, not null - optional dir - optional file - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Trims directory separators from the path - - path, could be null - never null - - - - Detects the platform the NLog is running on. - - - - - Gets the current runtime OS. - - - - - Gets a value indicating whether current OS is Win32-based (desktop or mobile). - - - - - Gets a value indicating whether current OS is Unix-based. - - - - - Gets a value indicating whether current runtime is Mono-based - - - - - Gets a value indicating whether current runtime supports use of mutex - - - - - Will creating a mutex succeed runtime? - "Cached" detection - - - - - Will creating a mutex succeed runtime? - - - - - Dictionary that combines the standard with the - MessageTemplate-properties extracted from the . - - The are returned as the first items - in the collection, and in positional order. - - - - - Value of the property - - - - - Is this a property of the message? - - - - - - - Value of the property - Is this a property of the message? - - - - The properties of the logEvent - - - - - The properties extracted from the message - - - - - Wraps the list of message-template-parameters into the IDictionary-interface - - Message-template-parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Check if the message-template-parameters can be used directly without allocating a dictionary - - Message-template-parameters - Are all parameter names unique (true / false) - - - - Attempt to insert the message-template-parameters into an empty dictionary - - Message-template-parameters - The initially empty dictionary - Message-template-parameters was inserted into dictionary without trouble (true/false) - - - - Attempt to override the existing dictionary values using the message-template-parameters - - Message-template-parameters - The already filled dictionary - List of unique message-template-parameters - - - - - - - - - - - - - - - - - - - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - - - - - - - - - - - - - - - - - Reflection helpers for accessing properties. - - - - - Set value parsed from string. - - object instance to set with property - name of the property on - The value to be parsed. - - - - - Get property info - - object which could have property - property name on - result when success. - success. - - - - Try parse of string to (Generic) list, comma separated. - - - If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape - - - - - Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase) - - - - - Try get the property - - - - - Reflection helpers. - - - - - Gets all usable exported types from the given assembly. - - Assembly to scan. - Usable types from the given assembly. - Types which cannot be loaded are skipped. - - - - Is this a static class? - - - - This is a work around, as Type doesn't have this property. - From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static - - - - - Optimized delegate for calling MethodInfo - - Object instance, use null for static methods. - Complete list of parameters that matches the method, including optional/default parameters. - - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) - - - - - Controls a single allocated char[]-buffer for reuse (only one active user) - - - - - Controls a single allocated StringBuilder for reuse (only one active user) - - - - - Controls a single allocated object for reuse (only one active user) - - - - Empty handle when is disabled - - - - Creates handle to the reusable char[]-buffer for active usage - - Handle to the reusable item, that can release it again - - - - Access the acquired reusable object - - - - - Controls a single allocated MemoryStream for reuse (only one active user) - - - - - Supported operating systems. - - - If you add anything here, make sure to add the appropriate detection - code to - - - - - Unknown operating system. - - - - - Unix/Linux operating systems. - - - - - Desktop versions of Windows (95,98,ME). - - - - - Windows NT, 2000, 2003 and future versions based on NT technology. - - - - - Macintosh Mac OSX - - - - - Simple character tokenizer. - - - - - Initializes a new instance of the class. - - The text to be tokenized. - - - - Current position in - - - - - Full text to be parsed - - - - - Check current char while not changing the position. - - - - - - Read the current char and change position - - - - - - Get the substring of the - - - - - - - - Implements a single-call guard around given continuation function. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - - - - Continuation function which implements the single-call guard. - - The exception. - - - - HashSet optimized for single item - - - - - - Insert single item on scope start, and remove on scope exit - - Item to insert in scope - Existing hashset to update - Force allocation of real hashset-container - HashSet EqualityComparer - - - - Add item to collection, if it not already exists - - Item to insert - - - - Clear hashset - - - - - Check if hashset contains item - - - Item exists in hashset (true/false) - - - - Remove item from hashset - - - Item removed from hashset (true/false) - - - - Copy items in hashset to array - - Destination array - Array offset - - - - Create hashset enumerator - - Enumerator - - - - Provides helpers to sort log events and associated continuations. - - - - - Key selector delegate. - - The type of the value. - The type of the key. - Value to extract key information from. - Key selected from log event. - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - The key comparer function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. - - - - - - - - - - - - - - - - Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. - Consider to use instead for better safety. - - Key value for lookup - Mapped value found - - - - Non-Allocating struct-enumerator - - - - - - - - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - - - - Will always throw, as dictionary is readonly - - - - Utilities for dealing with values. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - StackFrame from the calling method - Fully qualified class name - - - - Returns the assembly from the provided StackFrame (If not internal assembly) - - Valid assembly, or null if assembly was internal - - - - Returns the classname from the provided StackFrame (If not from internal assembly) - - - Valid class name, or empty string if assembly was internal - - - - Stream helpers - - - - - Copy to output stream and skip BOM if encoding is UTF8 - - - - - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - .net35 doesn't have a .copyto - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - first bytes to skip (optional) - - - - Helpers for , which is used in e.g. layout renderers. - - - - - Renders the specified log event context item and appends it to the specified . - - append to this - value to be appended - format string. If @, then serialize the value with the Default JsonConverter. - provider, for example culture - - - - Appends int without using culture, and most importantly without garbage - - - value to append - - - - Appends uint without using culture, and most importantly without garbage - - Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ - - - value to append - - - - Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 6801 date (Round-Trip-Time) - - - - - Clears the provider StringBuilder - - - - - - Copies the contents of the StringBuilder to the MemoryStream using the specified encoding (Without BOM/Preamble) - - StringBuilder source - MemoryStream destination - Encoding used for converter string into byte-stream - Helper char-buffer to minimize memory allocations - - - - Copies the contents of the StringBuilder to the destination StringBuilder - - StringBuilder source - StringBuilder destination - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle character to search for - - Index of the first occurrence (Else -1) - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle characters to search for - - Index of the first occurrence (Else -1) - - - - Compares the contents of two StringBuilders - - - Correct implementation of that also works when is not the same - - True when content is the same - - - - Compares the contents of a StringBuilder and a String - - True when content is the same - - - - Append a number and pad with 0 to 2 digits - - append to this - the number - - - - Append a number and pad with 0 to 4 digits - - append to this - the number - - - - Append a int type (byte, int) as string - - - - - Constructor - - Max number of items - Initial StringBuilder Size - Max StringBuilder Size - - - - Takes StringBuilder from pool - - Allow return to pool - - - - Releases StringBuilder back to pool at its right place - - - - - Keeps track of acquired pool item - - - - - Releases pool item back into pool - - - - - Helpers for . - - - - - IsNullOrWhiteSpace, including for .NET 3.5 - - - - - - - Split a string - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Represents target with a chain of filters which determine - whether logging should happen. - - - - - cached result as calculating is expensive. - - - - - Initializes a new instance of the class. - - The target. - The filter chain. - Default action if none of the filters match. - - - - Gets the target. - - The target. - - - - Gets the filter chain. - - The filter chain. - - - - Default action if none of the filters match. - - - - - Gets or sets the next item in the chain. - - The next item in the chain. - This is for example the 'target2' logger in writeTo='target1,target2' - - - - Gets the stack trace usage. - - A value that determines stack trace handling. - - - - Helper for dealing with thread-local storage. - - - - - Allocates the data slot for storing thread-local information. - - Allocated slot key. - - - - Gets the data for a slot in thread-local storage. - - Type of the data. - The slot to get data for. - Automatically create the object if it doesn't exist. - - Slot data (will create T if null). - - - - - Wraps with a timeout. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - The timeout. - - - - Continuation function which implements the timeout logic. - - The exception. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Transformation on a layout. Pre-calculated if the layout has a fixed value. - - - - - Create TransformedLayout. - - Layout - Transformation method - Optional renderer, otherwise is used - - - - - - - Create TransformedLayout. If is null, then the returns null - - Layout - Transformation method - Optional renderer, otherwise is used - null if is null - - - - - - - - - - URL Encoding helper. - - - - Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - - - Use RFC2396 standard (instead of RFC3986) - - - Should use lowercase when doing HEX escaping of special characters - - - Replace space ' ' with '+' instead of '%20' - - - Skip UTF8 encoding, and prefix special characters with '%u' - - - - Escape unicode string data for use in http-requests - - unicode string-data to be encoded - target for the encoded result - s for how to perform the encoding - - - - Convert the wide-char into utf8-bytes, and then escape - - - - - - - - - Is allowed? - - - - - - - - Is a-z / A-Z / 0-9 - - - - - - - Prevents the Xamarin linker from linking the target. - - - By applying this attribute all of the members of the target will be kept as if they had been referenced by the code. - - - - - Ensures that all members of this type are preserved - - - - - Flags the method as a method to preserve during linking if the container class is pulled in. - - - - - Helper class for XML - - - - - removes any unusual unicode characters that can't be encoded into XML - - - - - Cleans string of any invalid XML chars found - - unclean string - string with only valid XML chars - - - - Pretest, small text and not escape needed - - - - - - - - Converts object value to invariant format, and strips any invalid xml-characters - - Object value - Object value converted to string - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object value converted to string - - - - XML elements must follow these naming rules: - - Element names are case-sensitive - - Element names must start with a letter or underscore - - Element names can contain letters, digits, hyphens, underscores, and periods - - Element names cannot contain spaces - - - - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object TypeCode - Check and remove unusual unicode characters from the result string. - Object value converted to string - - - - Safe version of WriteAttributeString - - - - - - - - - - Safe version of WriteAttributeString - - - - - - - - Safe version of WriteElementSafeString - - - - - - - - - - Safe version of WriteCData - - - - - - - Interface for handling object transformation - - - - - Takes a dangerous (or massive) object and converts into a safe (or reduced) object - - - Null if unknown object, or object cannot be handled - - - - - Provides an interface to execute System.Actions without surfacing any exceptions raised for that action. - - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Render a message template property to a string - - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Log event context data. - - - - - Initializes a new instance of the class. - - - - - Gets or sets string that will be used to separate key/value pairs. - - - - - - Get or set if empty values should be included. - - A value is empty when null or in case of a string, null or empty string. - - - - - - Gets or sets the keys to exclude from the output. If omitted, none are excluded. - - - - - - Gets or sets how key/value pairs will be formatted. - - - - - - Renders all log event's properties and appends them to the specified . - - The to append the rendered data to. - Logging event. - - - - Designates a property of the class as an ambient property. - - - non-ambient: ${uppercase:${level}} - ambient : ${level:uppercase} - - - - - Initializes a new instance of the class. - - Ambient property name. - - - - Renders the assembly version information for the entry assembly or a named assembly. - - - As this layout renderer uses reflection and version information is unlikely to change during application execution, - it is recommended to use it in conjunction with the . - - - The entry assembly can't be found in some cases e.g. ASP.NET, unit tests, etc. - - - - - Initializes a new instance of the class. - - - - - The (full) name of the assembly. If null, using the entry assembly. - - - - - - Gets or sets the type of assembly version to retrieve. - - - Some version type and platform combinations are not fully supported. - - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified. - - Silverlight: Value for is always returned. - - - - - - Gets or sets the custom format of the assembly version output. - - - Supported placeholders are 'major', 'minor', 'build' and 'revision'. - The default .NET template for version numbers is 'major.minor.build.revision'. See - https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks - for details. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders an assembly version and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Type of assembly version to retrieve. - - - - - Gets the assembly version. - - - - - Gets the file version. - - - - - Gets additional version information. - - - - - The current application domain's base directory. - - - - - Use base dir of current process. Alternative one can just use ${processdir} - - - - - - Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the base directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. - - - - - - Renders the application base directory and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site (class name, method name and source information). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to render the class name. - - - - - - Gets or sets a value indicating whether to render the include the namespace with . - - - - - - Gets or sets a value indicating whether to render the method name. - - - - - - Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate. - - - - - - Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation - (everything after an await-statement inside of an async method). - - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A counter value (increases on each layout rendering). - - - - - Gets or sets the initial value of the counter. - - - - - - Gets or sets the value to be added to the counter after each layout rendering. - - - - - - Gets or sets the name of the sequence. Different named sequences can have individual values. - - - - - - - - - The current working directory of the application. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the current directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the current directory. - - - - - - - - - - - - Current date and time. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format). - - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - - - - - - - - - - DB null for a database - - - - - - - - - - - The OS dependent directory separator - - - - - - - - - - - URI of the HTML page which hosts the current Silverlight application. - - - - - Renders the specified environmental information and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the name of the item. - - - - - - Renders the specified log event context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. See . - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - - - - - - - - - - Exception information provided through - a call to one of the Logger.*Exception() methods. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the format of the output. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - - - Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - Gets or sets the separator used to concatenate parts specified in the Format. - - - - - - Gets or sets the separator used to concatenate exception data specified in the Format. - - - - - - Gets or sets the maximum number of inner exceptions to include in the output. - By default inner exceptions are not enabled for compatibility with NLog 1.0. - - - - - - Gets or sets the separator between inner exceptions. - - - - - - Gets or sets whether to render innermost Exception from - - - - - Gets or sets whether to collapse exception tree using AggregateException.Flatten() - - - - - Gets the formats of the output of inner exceptions to be rendered in target. - - - - - - - Gets the formats of the output to be rendered in target. - - - - - - - - - - - - - Appends the Message of an Exception to the specified . - - The to append the rendered data to. - The exception containing the Message to append. - - - - Appends the method name from Exception's stack trace to the specified . - - The to append the rendered data to. - The Exception whose method name should be appended. - - - - Appends the stack trace from an Exception to the specified . - - The to append the rendered data to. - The Exception whose stack trace should be appended. - - - - Appends the result of calling ToString() on an Exception to the specified . - - The to append the rendered data to. - The Exception whose call to ToString() should be appended. - - - - Appends the type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose type should be appended. - - - - Appends the short type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose short type should be appended. - - - - Appends the application source of an Exception to the specified . - - The to append the rendered data to. - The Exception whose source should be appended. - - - - Appends the HResult of an Exception to the specified . - - The to append the rendered data to. - The Exception whose HResult should be appended. - - - - Appends the contents of an Exception's Data property to the specified . - - The to append the rendered data to. - The Exception whose Data property elements should be appended. - - - - Appends all the serialized properties of an Exception into the specified . - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Appends all the additional properties of an Exception like Data key-value-pairs - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Split the string and then compile into list of Rendering formats. - - - - - Find name of method on stracktrace. - - Full stracktrace - - - - - Renders contents of the specified file. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file. - - - - - - Gets or sets the encoding used in the file. - - The encoding. - - - - - Renders the contents of the specified file and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - Name used in config without ${}. E.g. "test" could be used as "${test}". - - - - - Method that renders the layout. - - This public property will be removed in NLog 5. - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render the value for this log event - - The event info. - The value. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - The information about the garbage collector. - - - - - Gets or sets the property to retrieve. - - - - - - - - - Gets or sets the property of System.GC to retrieve. - - - - - Total memory allocated. - - - - - Total memory allocated (perform full garbage collection first). - - - - - Gets the number of Gen0 collections. - - - - - Gets the number of Gen1 collections. - - - - - Gets the number of Gen2 collections. - - - - - Maximum generation number supported by GC. - - - - - Render a Global Diagnostics Context item. See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - - - - Globally-unique identifier (GUID). - - - - - Gets or sets the GUID format as accepted by Guid.ToString() method. - - - - - - Generate the Guid from the NLog LogEvent (Will be the same for all targets) - - - - - - - - - - - - - - - Installation parameter (passed to InstallNLogConfig). - - - - - Gets or sets the name of the parameter. - - - - - - Renders the specified installation parameter and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render environmental information related to logging events. - - - - - Gets the logging configuration this target is part of. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Renders the the value of layout renderer in the context of the specified log event. - - The log event. - String representation of a layout renderer. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Renders the value of layout renderer in the context of the specified log event. - - The log event. - The layout render output is appended to builder - - - - Renders the value of layout renderer in the context of the specified log event into . - - The to append the rendered data to. - Logging event. - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Get the for rendering the messages to a - - LogEvent with culture - Culture in on Layout level - - - - - Get the for rendering the messages to a , needed for date and number formats - - LogEvent with culture - Culture in on Layout level - - - is preferred - - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Renderer with callback func - - - - Marks class as a layout renderer and assigns a name to it. - - This attribute is not required when registering the layout in the API. - - - - Initializes a new instance of the class. - - Name of the layout renderer, without the `${ }` - - - - Format of the ${level} layout renderer output. - - - - - Render the LogLevel standard name. - - - - - Render the first character of the level. - - - - - Render the ordinal (aka number) for the level. - - - - - Render the LogLevel full name, expanding Warn / Info abbreviations - - - - - The log level. - - - - - Gets or sets a value indicating the output format of the level. - - - - - - - - - - - - - - - A string literal. - - - This is used to escape '${' sequence - as ;${literal:text=${}' - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The literal text value. - This is used by the layout compiler. - - - - Gets or sets the literal text. - - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - XML event description compatible with log4j, Chainsaw and NLogViewer. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes the layout renderer. - - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets a value indicating whether the XML should use spaces for indentation. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the XML logging event and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The logger name. - - - - - Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character). - - - - - - - - - - - - The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the date in the long format (yyyy-MM-dd HH:mm:ss.ffff) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render a Mapped Diagnostic Context item, See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - The formatted log message. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to log exception along with message. - - - - - - Gets or sets the string that separates message from the exception. - - - - - - Gets or sets whether it should render the raw message without formatting parameters - - - - - - - - - - - - Render a Nested Diagnostic Context item. - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested diagnostics context output. - - - - - - Renders the specified Nested Diagnostics Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A newline literal. - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The process time in format HH:mm:ss.mmm. - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Write timestamp to builder with format hh:mm:ss:fff - - - - - The sequence ID - - - - - - - - - - - The short date in a sortable format yyyy-MM-dd. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the current short date string (yyyy-MM-dd) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Information about Silverlight application. - - - - - Initializes a new instance of the class. - - - - - Gets or sets specific information to display. - - - - - - Renders the specified environmental information and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Specifies application information to display in ${sl-appinfo} renderer. - - - - - URI of the current application XAP file. - - - - - Whether application is running out-of-browser. - - - - - Installed state of an application. - - - - - Whether application is running with elevated permissions. - - - - - System special folder path (includes My Documents, My Music, Program Files, Desktop, and more). - - - - - Gets or sets the system special folder to use. - - - Full list of options is available at MSDN. - The most common ones are: -
    -
  • ApplicationData - roaming application data for current user.
  • -
  • CommonApplicationData - application data for all users.
  • -
  • MyDocuments - My Documents
  • -
  • DesktopDirectory - Desktop directory
  • -
  • LocalApplicationData - non roaming application data
  • -
  • Personal - user profile directory
  • -
  • System - System directory
  • -
-
- -
- - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Format of the ${stacktrace} layout renderer output. - - - - - Raw format (multiline - as returned by StackFrame.ToString() method). - - - - - Flat format (class and method names displayed in a single line). - - - - - Detailed flat format (method signatures displayed in a single line). - - - - - Stack trace renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the output format of the stack trace. - - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets the stack frame separator string. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A temporary directory. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The identifier of the current thread. - - - - - - - - The name of the current thread. - - - - - - - - The Ticks value of current date and time. - - - - - - - - - - - The time in a 24-hour, sortable format HH:mm:ss.mmmm. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Render a NLog variable (xml or config) - - - - - Gets or sets the name of the NLog variable. - - - - - - Gets or sets the default value to be used when the variable is not set. - - Not used if Name is null - - - - - Initializes the layout renderer. - - - - - Try get the - - - - - - - Renders the specified variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Applies caching to another layout output. - - - The value of the inner layout will be rendered only once and reused subsequently. - - - - - A value indicating when the cache is cleared. - - - - Never clear the cache. - - - Clear the cache whenever the is initialized. - - - Clear the cache whenever the is closed. - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether this is enabled. - - - - - - Gets or sets a value indicating when the cache is cleared. - - - - - - Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s - - - - - - Gets or sets a value indicating how many seconds the value should stay cached until it expires - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - - - - Filters characters not allowed in the file names by replacing them with safe character. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path - (illegal characters are replaced with '_'). - - - - - - - - - - - - Escapes output of another layout using JSON rules. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply JSON encoding. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - - - - - - - Left part of a text - - - - - Gets or sets the length in characters. - - - - - - Same as -property, so it can be used as ambient property. - - - ${message:truncate=80} - - - - - - - - - - - - Converts the result of another layout output to lower case. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Render the non-raw value of an object. - - For performance and/or full (formatted) control of the output. - - - - Gets or sets a value indicating whether to disable the IRawValue-interface - - A value of true if IRawValue-interface should be ignored; otherwise, false. - - - - - - - - - - - Render a single property of a object - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - Shortcut for - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - Only outputs the inner layout when exception has been defined for log message. - - - - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - ${onhasproperties:, Properties\: ${all-event-properties}} - - - - - - - - - - - Horizontal alignment for padding layout renderers. - - - - - When layout text is too long, align it to the left - (remove characters from the right). - - - - - When layout text is too long, align it to the right - (remove characters from the left). - - - - - Applies padding to another layout output. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of characters to pad the output to. - - - Positive padding values cause left padding, negative values - cause right padding to the desired width. - - - - - - Gets or sets the padding character. - - - - - - Gets or sets a value indicating whether to trim the - rendered text to the absolute value of the padding length. - - - - - - Gets or sets a value indicating whether a value that has - been truncated (when is true) - will be left-aligned (characters removed from the right) - or right-aligned (characters removed from the left). The - default is left alignment. - - RegistryLayoutRenderer - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Replaces a string in the output of another layout with another string. - - - ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}} - - - - - Gets or sets the text to search for. - - The text search for. - - - - - Gets or sets a value indicating whether regular expressions should be used. - - A value of true if regular expressions should be used otherwise, false. - - - - - Gets or sets the replacement string. - - The replacement string. - - - - - Gets or sets the group name to replace when using regular expressions. - Leave null or empty to replace without using group name. - - The group name. - - - - - Gets or sets a value indicating whether to ignore case. - - A value of true if case should be ignored when searching; otherwise, false. - - - - - Gets or sets a value indicating whether to search for whole words. - - A value of true if whole words should be searched for; otherwise, false. - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Initializes the layout renderer. - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass - - - - - A match evaluator for Regular Expression based replacing - - Input string. - Group name in the regex. - Replace value. - Match from regex. - Groups replaced with . - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating the string that should be used for separating lines. - - - - - - - - - - - - Right part of a text - - - - - Gets or sets the length in characters. - - - - - - - - - - - - Decodes text "encrypted" with ROT-13. - - - See https://en.wikipedia.org/wiki/ROT13. - - - - - Gets or sets the layout to be wrapped. - - The layout to be wrapped. - This variable is for backwards compatibility - - - - - Encodes/Decodes ROT-13-encoded string. - - The string to be encoded/decoded. - Encoded/Decoded text. - - - - - - - - - - Encodes/Decodes ROT-13-encoded string. - - - - - Substring the result - - - ${substring:${level}:start=2:length=2} - ${substring:${level}:start=-2:length=2} - ${substring:Inner=${level}:start=2:length=2} - - - - - Initializes a new instance of the class. - - - - - Gets or sets the start index. - - Index - - - - - Gets or sets the length in characters. If null, then the whole string - - Index - - - - - - - - - - - Calculate start position - - 0 or positive number - - - - Calculate needed length - - 0 or positive number - - - - Trims the whitespace from the result of another layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - - - - - - - Converts the result of another layout output to upper case. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - ${level:uppercase} // [AmbientProperty] - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether upper case conversion should be applied. - - A value of true if upper case conversion should be applied otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Encodes the result of another layout output for use with URLs. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether spaces should be translated to '+' or '%20'. - - A value of true if space should be translated to '+'; otherwise, false. - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - - - Gets or sets the layout to be rendered when original layout produced empty result. - - - - - - - - - - - - - - - Only outputs the inner layout when the specified condition has been met. - - - - - Gets or sets the condition that must be met for the layout to be printed. - - - - - - If is not met, print this layout. - - - - - - - - - - - - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the line length for wrapping. - - - Only positive values are allowed - - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - Base class for s which wrapping other s. - - This has the property (which is default) and can be used to wrap. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - - - - - Gets or sets the wrapped layout. - - [DefaultParameter] so Inner: is not required if it's the first - - - - - - - - - Renders the inner message, processes it and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Appends the rendered output from -layout and transforms the added output (when necessary) - - Logging event. - The to append the rendered data to. - Start position for any necessary transformation of . - - - - Transforms the output of another layout. - - Logging event. - Output to be transform. - Transformed text. - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - Base class for s which wrapping other s. - - This expects the transformation to work on a - - - - - - - - Transforms the output of another layout. - - - Output to be transform. - - - - Transforms the output of another layout. - - Output to be transform. - - - - Renders the inner layout contents. - - - for the result - - - - - - - - - - - - - - - - - - Converts the result of another layout output to be XML-compliant. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply XML encoding. - - Ensures always valid XML, but gives a performance hit - - - - - Gets or sets a value indicating whether to transform newlines (\r\n) into ( ) - - - - - - - - - - - - A layout containing one or more nested layouts. - - - - - Initializes a new instance of the class. - - - - - Gets the inner layouts. - - - - - - Initializes the layout. - - - - - Formats the log event relying on inner layouts. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event relying on inner layouts. - - The logging event. - for the result - - - - Closes the layout. - - - - - Generate description of Compound Layout - - Compound Layout String Description - - - - A column in the CSV. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column. - The layout of the column. - - - - Gets or sets the name of the column. - - - - - - Gets or sets the layout of the column. - - - - - - Gets or sets the override of Quoting mode - - - and are faster than the default - - - - - - Specifies allowed column delimiters. - - - - - Automatically detect from regional settings. - - - - - Comma (ASCII 44). - - - - - Semicolon (ASCII 59). - - - - - Tab character (ASCII 9). - - - - - Pipe character (ASCII 124). - - - - - Space character (ASCII 32). - - - - - Custom string, specified by the CustomDelimiter. - - - - - A specialized layout that renders CSV-formatted events. - - If is set, then the header generation with column names will be disabled. - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - Gets or sets a value indicating whether CVS should include header. - - A value of true if CVS should include header; otherwise, false. - - - - - Gets or sets the column delimiter. - - - - - - Gets or sets the quoting mode. - - - - - - Gets or sets the quote Character. - - - - - - Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom'). - - - - - - Initializes the layout. - - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event for write. - - The logging event. - for the result - - - - Get the headers with the column names. - - - - - - Header with column names for CSV layout. - - - - - Initializes a new instance of the class. - - The parent. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Generate description of CSV Layout - - CSV Layout String Description - - - - Specifies CSV quoting modes. - - - - - Quote all column (Fast) - - - - - Quote nothing (Very fast) - - - - - Quote only whose values contain the quote symbol or the separator (Slow) - - - - - JSON attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with json-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Json encoded. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A specialized layout that renders JSON-formatted events. - - - - - Initializes a new instance of the class. - - - - - Gets the array of attributes' configurations. - - - - - - Gets or sets the option to suppress the extra spaces in the output json - - - - - - Gets or sets the option to render the empty object value {} - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to exclude null/empty properties from the log event (as JSON) - - - - - - List of property names to exclude when is true - - - - - - How far should the JSON serializer follow object references before backing off - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Formats the log event as a JSON document for writing. - - The logging event. - for the result - - - - Formats the log event as a JSON document for writing. - - The log event to be formatted. - A JSON string representation of the log event. - - - - Generate description of JSON Layout - - JSON Layout String Description - - - - Abstract interface that layouts must implement. - - - - - Is this layout initialized? See - - - - - Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). - - - Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are - like that as well. - - Thread-agnostic layouts only use contents of for its output. - - - - - Gets the level of stack trace information required for rendering. - - - - - Gets the logging configuration this target is part of. - - - - - Converts a given text to a . - - Text to be converted. - object represented by the text. - - - - Implicitly converts the specified string to a . - - The layout string. - Instance of .' - - - - Implicitly converts the specified string to a . - - The layout string. - The NLog factories to use when resolving layout renderers. - Instance of . - - - - Implicitly converts the specified string to a . - - The layout string. - Whether should be thrown on parse errors (false = replace unrecognized tokens with a space). - Instance of . - - - - Create a from a lambda method. - - Method that renders the layout. - Tell if method is safe for concurrent threading. - Instance of . - - - - Precalculates the layout for the specified log event and stores the result - in per-log event cache. - - Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic]. - - The log event. - - Calling this method enables you to store the log event in a buffer - and/or potentially evaluate it in another thread even though the - layout may contain thread-dependent renderer. - - - - - Renders the event info in layout. - - The event info. - String representing log event. - - - - Optimized version of for internal Layouts. Works best - when override of is available. - - The event info. - Appends the string representing log event to target - Should rendering result be cached on LogEventInfo - - - - Valid default implementation of , when having implemented the optimized - - The logging event. - StringBuilder to help minimize allocations [optional]. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Optimized version of for internal Layouts, when - override of is available. - - - - - Try get value - - - rawValue if return result is true - false if we could not determine the rawValue - - - - Marks class as a layout renderer and assigns a format string to it. - - - - - Initializes a new instance of the class. - - Layout name. - - - - Parses layout strings. - - - - - Add to - - - - - - - Options available for - - - - - Default options - - - - - Layout renderer method can handle concurrent threads - - - - - Layout renderer method is agnostic to current thread context. This means it will render the same result indepdent of thread-context. - - - - - A specialized layout that supports header and footer. - - - - - Gets or sets the body layout (can be repeated multiple times). - - - - - - Gets or sets the header layout. - - - - - - Gets or sets the footer layout. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result. - - - - A specialized layout that renders Log4j-compatible XML events. - - - This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets the instance that renders log events. - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Represents a string with embedded placeholders that can render contextual information. - - - This layout is not meant to be used explicitly. Instead you can just use a string containing layout - renderers everywhere the layout is required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout string to parse. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - Whether should be thrown on parse errors. - - - - Original text before compile to Layout renderes - - - - - Gets or sets the layout text. - - - - - - Is the message fixed? (no Layout renderers used) - - - - - Get the fixed text. Only set when is true - - - - - Is the message a simple formatted string? (Can skip StringBuilder) - - - - - Gets a collection of objects that make up this layout. - - - - - Gets the level of stack trace information required for rendering. - - - - - Converts a text to a simple layout. - - Text to be converted. - A object. - - - - Escapes the passed text so that it can - be used literally in all places where - layout is normally expected without being - treated as layout. - - The text to be escaped. - The escaped text. - - Escaping is done by replacing all occurrences of - '${' with '${literal:text=${}' - - - - - Evaluates the specified text by expanding all layout renderers. - - The text to be evaluated. - Log event to be used for evaluation. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Evaluates the specified text by expanding all layout renderers - in new context. - - The text to be evaluated. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Returns a that represents the current object. - - - A that represents the current object. - - - - - - - - - - - - - - - - - - - - XML attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with xml-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A XML Element - - - - - - - - - - - Name of the element - - - - - - Value inside the element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - The name of the top XML node - The value of the top XML node - - - - Name of the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Value inside the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Auto indent and create new lines - - - - - - Gets the array of xml 'elements' configurations. - - - - - - Gets the array of 'attributes' configurations for the element - - - - - - Gets or sets whether a ElementValue with empty value should be included in the output - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - List of property names to exclude when is true - - - - - - XML element name to use when rendering properties - - - Support string-format where {0} means property-key-name - - Skips closing element tag when having configured - - - - - - XML attribute name to use when rendering property-key - - When null (or empty) then key-attribute is not included - - - Will replace newlines in attribute-value with - - - - - - XML attribute name to use when rendering property-value - - When null (or empty) then value-attribute is not included and - value is formatted as XML-element-value - - - Skips closing element tag when using attribute for value - - Will replace newlines in attribute-value with - - - - - - XML element name to use for rendering IList-collections items - - - - - - How far should the XML serializer follow object references before backing off - - - - - - Initializes the layout. - - - - - Formats the log event as a XML document for writing. - - The logging event. - for the result - - - - Formats the log event as a XML document for writing. - - The log event to be formatted. - A XML string representation of the log event. - - - - write attribute, only if is not empty - - - - - rendered - - - - Generate description of XML Layout - - XML Layout String Description - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - - - - - - - Name of the root XML element - - - - - - Value inside the root XML element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Represents the logging event. - - - - - Gets the date of the first log event created. - - - - - The formatted log message. - - - - - The log message including any parameter placeholders - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - Already parsed message template parameters. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - Exception information. - - - - Gets the unique identifier of log event which is automatically generated - and monotonously increasing. - - - - - Gets or sets the timestamp of the logging event. - - - - - Gets or sets the level of the logging event. - - - - - Gets a value indicating whether stack trace has been set for this event. - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Gets the entire stack trace. - - - - - Gets the callsite class name - - - - - Gets the callsite member function name - - - - - Gets the callsite source file path - - - - - Gets the callsite source file line number - - - - - Gets or sets the exception information. - - - - - Gets or sets the logger name. - - - - - Gets the logger short name. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the log message including any parameter placeholders. - - - - - Gets or sets the parameter values or null if no parameters have been specified. - - - - - Gets or sets the format provider that was provided while logging or - when no formatProvider was specified. - - - - - Gets or sets the message formatter for generating - Uses string.Format(...) when nothing else has been configured. - - - - - Gets the formatted message. - - - - - Checks if any per-event properties (Without allocation) - - - - - Gets the dictionary of per-event context properties. - - - - - Gets the dictionary of per-event context properties. - Internal helper for the PropertiesDictionary type. - - Create the event-properties dictionary, even if no initial template parameters - Provided when having parsed the message template and capture template parameters (else null) - - - - - Gets the named parameters extracted from parsing as MessageTemplate - - - - - Gets the dictionary of per-event context properties. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Creates the null event. - - Null log event. - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - The exception. - Instance of . - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates from this by attaching the specified asynchronous continuation. - - The asynchronous continuation. - Instance of with attached continuation. - - - - Returns a string representation of this log event. - - String representation of the log event. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace (Negative means NLog should skip stackframes from System-assemblies). - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Set the - - true = Always, false = Never, null = Auto Detect - - - - Specialized LogFactory that can return instances of custom logger types. - - Use this only when a custom Logger type is defined. - The type of the logger to be returned. Must inherit from . - - - - Gets the logger with type . - - The logger name. - An instance of . - - - - Gets a custom logger with the full name of the current class (so namespace and class name) and type . - - An instance of . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Overwrite possible file paths (including filename) for possible NLog config files. - When this property is null, the default file paths ( are used. - - - - - Occurs when logging changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The config. - - - - Initializes a new instance of the class. - - The config loader - The custom AppEnvironmnet override - - - - Gets the current . - - - - - Gets or sets a value indicating whether exceptions should be thrown. See also . - - A value of true if exception should be thrown; otherwise, false. - By default exceptions are not thrown under any circumstances. - - - - Gets or sets a value indicating whether should be thrown. - - If null then is used. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. After setting this property all - existing loggers will be re-configured, so there is no need to call - manually. - - - - - Gets or sets the global log level threshold. Log events below this threshold are not logged. - - - - - Gets the default culture info to use as . - - - Specific culture info or null to use - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting - unmanaged resources. - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Creates a logger that discards all log messages. - - Null logger instance. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets the logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - The logger with type . - Type of the logger - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The type of the logger to create. The type must inherit from - The logger of type . - This is a slow-running method. Make sure you are not calling this method in a - loop. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - Name of the logger. - Type of the logger - The logger reference with type . Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The type of the logger to create. The type must inherit from . - The logger of type . Multiple calls to GetLogger with the - same argument aren't guaranteed to return the same logger reference. - - - - Loops through all loggers previously returned by GetLogger and recalculates their - target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time - will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flushes any pending log messages on all appenders. - - Config containing Targets to Flush - Flush completed notification (success / timeout) - Optional timeout that guarantees that completed notication is called. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Returns if logging is currently enabled. - - A value of if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Raises the event when the configuration is reloaded. - - Event arguments. - - - - Currently this is disposing? - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; - false to release only unmanaged resources. - - - - Dispose all targets, and shutdown logging. - - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Logger cache key. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Determines if two objects are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Determines if two objects of the same type are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Logger cache. - - - - - Inserts or updates. - - - - - - - Internal for unit tests - - - - - Enables logging in implementation. - - - - - Initializes a new instance of the class. - - The factory. - - - - Enables logging. - - - - - Logging methods which only are executed when the DEBUG conditional compilation symbol is set. - - Remarks: - The DEBUG conditional compilation symbol is default enabled (only) in a debug build. - - If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods. - This could lead to better performance. - - See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx - - - Provides logging interface and utility functions. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Initializes a new instance of the class. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Collection of context properties for the Logger. The logger will append it for all log events - - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Creates new logger that automatically appends the specified property to all log events (without changing current logger) - - Property Name - Property Value - New Logger object that automatically appends specified property - - - - Updates the specified context property for the current logger. The logger will append it for all log events. - - It could be rendered with ${event-properties:YOURNAME} - - With property, all properties could be changed. - - - Will affect all locations/contexts that makes use of the same named logger object. - - Property Name - Property Value - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Raises the event when the logger is reconfigured. - - Event arguments - - - - Implementation of logging engine. - - - - - Gets the filter result. - - The filter chain. - The log event. - default result if there are no filters, or none of the filters decides. - The result of the filter. - - - - Defines available log levels. - - - - - Trace log level. - - - - - Debug log level. - - - - - Info log level. - - - - - Warn log level. - - - - - Error log level. - - - - - Fatal log level. - - - - - Off log level. - - - - - Gets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - - - - - Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) - i.e LogLevel.Off is excluded. - - - - - Initializes a new instance of . - - The log level name. - The log level ordinal number. - - - - Gets the name of the log level. - - - - - Gets the ordinal of the log level. - - - - - Compares two objects - and returns a value indicating whether - the first one is equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal == level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is not equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal != level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than the second one. - - The first level. - The second level. - The value of level1.Ordinal > level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal >= level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than the second one. - - The first level. - The second level. - The value of level1.Ordinal < level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal <= level2.Ordinal. - - - - Gets the that corresponds to the specified ordinal. - - The ordinal. - The instance. For 0 it returns , 1 gives and so on. - - - - Returns the that corresponds to the supplied . - - The textual representation of the log level. - The enumeration value. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Determines whether the specified instance is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Compares the level to the other object. - - - The object object. - - - A value less than zero when this logger's is - less than the other logger's ordinal, 0 when they are equal and - greater than zero when this ordinal is greater than the - other ordinal. - - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Delegate used to set/get the culture in use. - - This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the instance used in the . - - Could be used to pass the to other methods - - - - Occurs when logging changes. - - - - - Gets or sets a value indicating whether NLog should throw exceptions. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether should be thrown. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. - - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Gets or sets the global log threshold. Log events below this threshold are not logged. - - - - - Gets or sets the default culture to use. - - This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Adds the given assembly which will be skipped - when NLog is trying to find the calling method on stack trace. - - The assembly to skip. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The logger class. This class must inherit from . - The logger of type . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates a logger that discards all log messages. - - Null logger which discards all log messages. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - - - - Gets the specified named custom logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The logger class. This class must inherit from . - The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - The generic way for this method is - - - - Loops through all loggers previously returned by GetLogger. - and recalculates their target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Checks if logging is currently enabled. - - if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Dispose all targets, and shutdown logging. - - - - - Generates a formatted message from the log event - - Log event. - Formatted message - - - - Returns a log message. Used to defer calculation of - the log message until it's actually needed. - - Log message. - - - - Service contract for Log Receiver client. - - This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Client of ILogReceiverServer - - - - - Occurs when the log message processing has completed. - - - - - Occurs when Open operation has completed. - - - - - Occurs when Close operation has completed. - - - - - Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication. - - - - - Gets the underlying implementation. - - - - - Gets the target endpoint for the service to which the WCF client can connect. - - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Closes the client asynchronously. - - User-specific state. - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Gets or sets the cookie container. - - The cookie container. - - - - Internal configuration of Log Receiver Service contracts. - - - - - Wire format for NLog Event. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the client-generated identifier of the event. - - - - - Gets or sets the ordinal of the log level. - - - - - Gets or sets the logger ordinal (index into . - - The logger ordinal. - - - - Gets or sets the time delta (in ticks) between the time of the event and base time. - - - - - Gets or sets the message string index. - - - - - Gets or sets the collection of layout values. - - - - - Gets the collection of indexes into array for each layout value. - - - - - Converts the to . - - The object this is part of.. - The logger name prefix to prepend in front of the logger name. - Converted . - - - - Wire format for NLog event package. - - - - - Gets or sets the name of the client. - - The name of the client. - - - - Gets or sets the base time (UTC ticks) for all events in the package. - - The base time UTC. - - - - Gets or sets the collection of layout names which are shared among all events. - - The layout names. - - - - Gets or sets the collection of logger names. - - The logger names. - - - - Gets or sets the list of events. - - The events. - - - - Converts the events to sequence of objects suitable for routing through NLog. - - The logger name prefix to prepend in front of each logger name. - - Sequence of objects. - - - - - Converts the events to sequence of objects suitable for routing through NLog. - - - Sequence of objects. - - - - - List of strings annotated for more terse serialization. - - - - - Initializes a new instance of the class. - - - - - Log Receiver Client using WCF. - - - This class marked as obsolete before NLog 4.3.11 and it will be removed in a future release. - - It provides an implementation of the legacy interface and it will be completely obsolete when the - ILogReceiverClient is removed. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Returns a new channel from the client to the service. - - - A channel of type that identifies the type - of service contract encapsulated by this client object (proxy). - - - - - Log Receiver Client facade. It allows the use either of the one way or two way - service contract using WCF through its unified interface. - - - Delegating methods are generated with Resharper. - 1. change ProxiedClient to private field (instead of public property) - 2. delegate members - 3. change ProxiedClient back to public property. - - - - - - The client getting proxied - - - - - Do we use one-way or two-way messaging? - - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - The binding. - The remote address. - - - - Causes a communication object to transition immediately from its current state into the closed state. - - - - - Begins an asynchronous operation to close a communication object. - - - The that references the asynchronous close operation. - - The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The default timeout elapsed before the was able to close gracefully. - - - - Begins an asynchronous operation to close a communication object with a specified timeout. - - - The that references the asynchronous close operation. - - The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The specified timeout elapsed before the was able to close gracefully. - - - - Begins an asynchronous operation to open a communication object. - - - The that references the asynchronous open operation. - - The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. - - - - Begins an asynchronous operation to open a communication object within a specified interval of time. - - - The that references the asynchronous open operation. - - The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication. - - - - - Causes a communication object to transition from its current state into the closed state. - - The that specifies how long the send operation has to complete before timing out. was called on an object in the state.The timeout elapsed before the was able to close gracefully. - - - - Causes a communication object to transition from its current state into the closed state. - - was called on an object in the state.The default close timeout elapsed before the was able to close gracefully. - - - - Closes the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Occurs when Close operation has completed. - - - - - Occurs when the communication object completes its transition from the closing state into the closed state. - - - - - Occurs when the communication object first enters the closing state. - - - - - Gets or sets the cookie container. - - The cookie container. - - - - Completes an asynchronous operation to close a communication object. - - The that is returned by a call to the method. was called on an object in the state.The timeout elapsed before the was able to close gracefully. - - - - Completes an asynchronous operation to open a communication object. - - The that is returned by a call to the method.The was unable to be opened and has entered the state.The timeout elapsed before the was able to enter the state and has entered the state. - - - - Gets the target endpoint for the service to which the WCF client can connect. - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Occurs when the communication object first enters the faulted state. - - - - - Gets the underlying implementation. - - - - - Causes a communication object to transition from the created state into the opened state. - - The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. - - - - Causes a communication object to transition from the created state into the opened state within a specified interval of time. - - The that specifies how long the send operation has to complete before timing out.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Occurs when Open operation has completed. - - - - - Occurs when the communication object completes its transition from the opening state into the opened state. - - - - - Occurs when the communication object first enters the opening state. - - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Occurs when the log message processing has completed. - - - - - Gets the current state of the communication-oriented object. - - - The value of the of the object. - - - - - Causes a communication object to transition from its current state into the closed state. - - - - - Abstract base class for the WcfLogReceiverXXXWay classes. It can only be - used internally (see internal constructor). It passes off any Channel usage - to the inheriting class. - - Type of the WCF service. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Occurs when the log message processing has completed. - - - - - Occurs when Open operation has completed. - - - - - Occurs when Close operation has completed. - - - - - Gets or sets the cookie container. - - The cookie container. - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Closes the client asynchronously. - - User-specific state. - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Log Receiver Client using WCF. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Returns a new channel from the client to the service. - - - A channel of type that identifies the type - of service contract encapsulated by this client object (proxy). - - - - - Log Receiver Client using WCF. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Returns a new channel from the client to the service. - - - A channel of type that identifies the type - of service contract encapsulated by this client object (proxy). - - - - - Mapped Diagnostics Context - a thread-local structure that keeps a dictionary - of strings and provides methods to output them in layouts. - - - - - Gets the thread-local dictionary - - Must be true for any subsequent dictionary modification operation - - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The to use when converting a value to a . - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Returns all item names - - A set of the names of all items in current thread-MDC. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified exists in current thread MDC. - - - - Removes the specified from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mapped Diagnostics Context - - This class marked as obsolete before NLog 2.0 and it may be removed in a future release. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified item exists in current thread MDC. - - - - Removes the specified item from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mark a parameter of a method for message templating - - - - - Specifies which parameter of an annotated method should be treated as message-template-string - - - - - The name of the parameter that should be as treated as message-template-string - - - - - The type of the captured hole - - - - - Not decided - - - - - normal {x} - - - - - Serialize operator {@x} (aka destructure) - - - - - stringification operator {$x} - - - - - A hole that will be replaced with a value - - - - - Constructor - - - - Parameter name sent to structured loggers. - This is everything between "{" and the first of ",:}". - Including surrounding spaces and names that are numbers. - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - Type - - - - When the template is positional, this is the parsed name of this parameter. - For named templates, the value of Index is undefined. - - - Alignment to render the parameter, by default 0. - This is the parsed value between "," and the first of ":}" - - - - A fixed value - - - - Number of characters from the original template to copy at the current position. - This can be 0 when the template starts with a hole or when there are multiple consecutive holes. - - - Number of characters to skip in the original template at the current position. - 0 is a special value that mean: 1 escaped char, no hole. It can also happen last when the template ends with a literal. - - - - Combines Literal and Hole - - - - Literal - - - Hole - Uninitialized when = 0. - - - - Description of a single parameter extracted from a MessageTemplate - - - - - Parameter Name extracted from - This is everything between "{" and the first of ",:}". - - - - - Parameter Value extracted from the -array - - - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - - Parameter method that should be used to render the parameter - See also - - - - - Returns index for , when - - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - Parameter CaptureType - - - - Parameters extracted from parsing as MessageTemplate - - - - - - - - - - - Gets the parameters at the given index - - - - - Number of parameters - - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Indicates whether the template was parsed successful, and there are no unmatched parameters - - - - - Constructor for parsing the message template with parameters - - including any parameter placeholders - All - - - - Constructor for named parameters that already has been parsed - - - - - Create MessageTemplateParameter from - - - - - A message template - - - - The original template string. - This is the key passed to structured targets. - - - The list of literal parts, useful for string rendering. - It indicates the number of characters from the original string to print, - then there's a hole with how many chars to skip. - - "Hello {firstName} {lastName}!" - ------------------------------------- - ║P |S ║P|S ║P|S║ - ║6 |11 ║1|10 ║1|0║ - ║Hello |{firstName}║ |{lastName}║!║ - - "{x} * 2 = {2x}" - -------------------- - ║P|S ║P |S ║ - ║0|3 ║7 |4 ║ - ║{x}║ * 2 = |{2x}║ - - The tricky part is escaped braces. They are represented by a skip = 0, - which is interpreted as "move one char forward, no hole". - - "Escaped }} is fun." - ---------------------- - ║P |S║P |S║ - ║9 |0║8 |0║ - ║Escaped }|}║ is fun.|║ - - - - This list of holes. It's used both to fill the string rendering - and to send values along the template to structured targets. - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Create a template, which is already parsed - - - - - - - - - Create a template, which is already parsed - - - - - - - - This is for testing only: recreates from the parsed data. - - - - This is for testing only: rebuilds the hole - - Add to this string builder - ref for performance - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Gets the current literal/hole in the template - - - - - Clears the enumerator - - - - - Restarts the enumerator of the template - - - - - Moves to the next literal/hole in the template - - Found new element [true/false] - - - - Parse format after hole name/index. Handle the escaped { and } in the format. Don't read the last } - - - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Error when parsing a template. - - - - - Current index when the error occurred. - - - - - The template we were parsing - - - - - New exception - - The message to be shown. - Current index when the error occurred. - - - - - Render templates - - - - - Render a template to a string. - - The template. - Culture. - Parameters for the holes. - Do not fallback to StringBuilder.Format for positional templates. - The String Builder destination. - Parameters for the holes. - - - - Render a template to a string. - - The template. - The String Builder destination. - Culture. - Parameters for the holes. - Rendered template, never null. - - - - Convert Render or serialize a value, with optionally backwards-compatible with - - - - Singleton - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Format an object to a readable string, or if it's an object, serialize - - The value to convert - - - - - - - - Try serializing a scalar (string, int, NULL) or simple type (IFormattable) - - - - - Serialize Dictionary as JSON like structure, without { and } - - - "FirstOrder"=true, "Previous login"=20-12-2017 14:55:32, "number of tries"=1 - - - formatstring of an item - - - - - - - - - Convert a value to a string with format and append to . - - The value to convert. - Format sting for the value. - Format provider for the value. - Append to this - - - - Nested Diagnostics Context - - This class marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top object off the NDC stack. The object is removed from the stack. - - The top object from the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all objects on the NDC stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Nested Diagnostics Context - a thread-local structure that keeps a stack - of strings and provides methods to output them in layouts - - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object at the top of the NDC stack if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified object on current thread NDC. - - The object to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top message from the NDC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top object off the NDC stack. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Peeks the first object on the NDC stack - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. - - Array of objects on the stack. - - - - Resets the stack to the original count during . - - - - - Initializes a new instance of the class. - - The stack. - The previous count. - - - - Reverts the stack to original item count. - - - - - Exception thrown during NLog configuration. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The inner exception. - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Exception thrown during log event processing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - It works as a normal but it discards all messages which an application requests - to be logged. - - It effectively implements the "Null Object" pattern for objects. - - - - - Initializes a new instance of . - - The factory class to be used for the creation of this logger. - - - - Extension methods to setup LogFactory options - - - - - Gets the logger with the full name of the current class, so namespace and class name. - - - - - Gets the specified named logger. - - - - - Configures loading of NLog extensions for Targets and LayoutRenderers - - - - - Configures the output of NLog for diagnostics / troubleshooting - - - - - Configures serialization and transformation of LogEvents - - - - - Loads NLog config created by the method - - - - - Loads NLog config provided in - - - - - Loads NLog config from filename if provided, else fallback to scanning for NLog.config - - - - - Loads NLog config from XML in - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Enable/disables autoloading of NLog extensions by scanning and loading available assemblies - - - Enabled by default, and gives a huge performance hit during startup. Recommended to disable this when running in the cloud. - - - - - Registers NLog extensions from the assembly. - - - - - Registers NLog extensions from the assembly type name - - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - MethodInfo extracted by reflection - typeof(MyClass).GetMethod("MyFunc", BindingFlags.Static). - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Extension methods to setup NLog options - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Overrides the active with a new custom implementation - - - - - Overrides the active with a new custom implementation - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Specifies the way archive numbering is performed. - - - - - Sequence style numbering. The most recent archive has the highest number. - - - - - Rolling style numbering (the most recent is always #0 then #1, ..., #N. - - - - - Date style numbering. Archives will be stamped with the prior period - (Year, Month, Day, Hour, Minute) datetime. - - - - - Date and sequence style numbering. - Archives will be stamped with the prior period (Year, Month, Day) datetime. - The most recent archive has the highest number (in combination with the date). - - - - - Sends log messages to the remote instance of Chainsaw application from log4j. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a name. - - Name of the target. - - - - Writes log messages to the console. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default. In multi threaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. - - - - - - Gets or sets a value indicating whether to auto-check if the console is available - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Gets or sets whether to enable batch writing using char[]-buffers, instead of using - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified logging event to the Console.Out or - Console.Error depending on the value of the Error flag. - - The logging event. - - Note that the Error option is not supported on .NET Compact Framework. - - - - - - - - Write to output - - - - - A descriptor for an archive created with the DateAndSequence numbering mode. - - - - - The full name of the archive file. - - - - - The parsed date contained in the file name. - - - - - The parsed sequence number contained in the file name. - - - - - Determines whether produces the same string as the current instance's date once formatted with the current instance's date format. - - The date to compare the current object's date to. - True if the formatted dates are equal, otherwise False. - - - - Initializes a new instance of the class. - - - - - Writes log messages to the attached managed debugger. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the attached debugger. - - The logging event. - - - - Mock target - useful for testing. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the number of times this target has been called. - - - - - - Gets the last message rendered by this target. - - - - - - Increases the number of messages. - - The logging event. - - - - Default class for serialization of values to JSON format. - - - - - Singleton instance of the serializer. - - - - - Private. Use - - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - Serialized value. - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - serialisation options - Serialized value. - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - The objects in path (Avoid cyclic reference loop). - The current depth (level) of recursion. - Object serialized successfully (true/false). - - - - No quotes needed for this type? - - - - - Checks the object if it is numeric - - TypeCode for the object - Accept fractional types as numeric type. - - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - all options - JSON escaped string - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - Should non-ascii characters be encoded - - JSON escaped string - - - - Check if cleanup should be performed on initialize new file - - Skip cleanup when initializing new file, just after having performed archive operation - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Characters determining the start of the . - - - - - Characters determining the end of the . - - - - - File name which is used as template for matching and replacements. - It is expected to contain a pattern to match. - - - - - The begging position of the - within the . -1 is returned - when no pattern can be found. - - - - - The ending position of the - within the . -1 is returned - when no pattern can be found. - - - - - Replace the pattern with the specified String. - - - - - - - Archives the log-files using a date style numbering. Archives will be stamped with the - prior period (Year, Month, Day, Hour, Minute) datetime. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Archives the log-files using a date and sequence style numbering. Archives will be stamped - with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in - combination with the date). - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Parse filename with date and sequence pattern - - - dateformat for archive - - the found pattern. When failed, then default - the found pattern. When failed, then default - - - - - Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes - duplicate archive filenames, then sequence-style is automatically enforced. - - Example: - Base Filename trace.log - Next Filename trace.0.log - - The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern. - Before called the original IFileArchiveMode, that has been wrapped by this - - - - - Determines if the file name as contains a numeric pattern i.e. {#} in it. - - Example: - trace{#}.log Contains the numeric pattern. - trace{###}.log Contains the numeric pattern. - trace{#X#}.log Contains the numeric pattern (See remarks). - trace.log Does not contain the pattern. - - Occasionally, this method can identify the existence of the {#} pattern incorrectly. - File name to be checked. - when the pattern is found; otherwise. - - - - Archives the log-files using a rolling style numbering (the most recent is always #0 then - #1, ..., #N. - - When the number of archive files exceed the obsolete archives - are deleted. - - - - - Replaces the numeric pattern i.e. {#} in a file name with the parameter value. - - File name which contains the numeric pattern. - Value which will replace the numeric pattern. - File name with the value of in the position of the numeric pattern. - - - - Archives the log-files using a sequence style numbering. The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Modes of archiving files based on time. - - - - - Don't archive based on time. - - - - - AddToArchive every year. - - - - - AddToArchive every month. - - - - - AddToArchive daily. - - - - - AddToArchive every hour. - - - - - AddToArchive every minute. - - - - - AddToArchive every Sunday. - - - - - AddToArchive every Monday. - - - - - AddToArchive every Tuesday. - - - - - AddToArchive every Wednesday. - - - - - AddToArchive every Thursday. - - - - - AddToArchive every Friday. - - - - - AddToArchive every Saturday. - - - - - Type of filepath - - - - - Detect of relative or absolute - - - - - Relative path - - - - - Absolute path - - Best for performance - - - - Writes log messages to one or more files. - - Documentation on NLog Wiki - - - - Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list. - - Clean up period is defined in days. - - - - The maximum number of initialized files before clean up procedures are initiated, - to keep the number of initialized files to a minimum. Chose 25 to cater for monthly rolling of log-files. - - - - - This value disables file archiving based on the size. - - - - - Holds the initialized files each given time by the instance. Against each file, the last write time is stored. - - Last write time is store in local time (no UTC). - - - - List of the associated file appenders with the instance. - - - - - The number of initialized files at any one time. - - - - - The maximum number of archive files that should be kept. - - - - - The maximum days of archive files that should be kept. - - - - - The filename as target - - - - - The archive file name as target - - - - - The date of the previous log event. - - - - - The file name of the previous log event. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the name of the file to write to. - - - This FileName string is a layout which may include instances of layout renderers. - This lets you use a single target to write to multiple files. - - - The following value makes NLog write logging events to files based on the log level in the directory where - the application runs. - ${basedir}/${level}.log - All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on. - You can combine as many of the layout renderers as you want to produce an arbitrary log file name. - - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. - If set to false, nothing gets written when the filename is wrong. - - - - - - Is the an absolute or relative path? - - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - - Gets or sets a value indicating whether to delete old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - - - - - - Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end. - - - - - - Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event. - - - Setting this property to True helps improve performance. - - - - - - Gets or sets the maximum number of log file names that should be stored as existing. - - - The bigger this number is the longer it will take to write each log record. The smaller the number is - the higher the chance that the clean function will be run when no new files have been opened. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - - Gets or sets the line ending mode. - - - - - - Gets or sets a value indicating whether to automatically flush the file buffers after each log message. - - - - - - Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance - in a situation where a single File target is writing to many files - (such as splitting by level or by logger). - - - The files are managed on a LRU (least recently used) basis, which flushes - the files that have not been used for the longest period of time should the - cache become full. As a rule of thumb, you shouldn't set this parameter to - a very high value. A number like 10-15 shouldn't be exceeded, because you'd - be keeping a large number of files open which consumes system resources. - - - - - - Gets or sets the maximum number of seconds that files are kept open. If this number is negative the files are - not automatically closed after a period of inactivity. - - - - - - Gets or sets the maximum number of seconds before open files are flushed. If this number is negative or zero - the files are not flushed by timer. - - - - - - Gets or sets the log file buffer size in bytes. - - - - - - Gets or sets the file encoding. - - - - - - Gets or sets whether or not this target should just discard all data that its asked to write. - Mostly used for when testing NLog Stack except final write - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts. - - - This effectively prevents files from being kept open. - - - - - - Gets or sets a value indicating whether to write BOM (byte order mark) in created files - - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - The actual delay is a random value between 0 and the value specified - in this parameter. On each failed attempt the delay base is doubled - up to times. - - - Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:

- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...

- and so on. - - - - -

- Gets or sets a value indicating whether to archive old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - After archiving the old file, the current log file will be empty. - - -
- - - Gets or sets a value of the file size threshold to archive old log file on startup. - - - This option won't work if is set to false - Default value is 0 which means that the file is archived as soon as archival on - startup is enabled. - - - - - - Gets or sets a value specifying the date format to use when archiving files. - - - This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence. - - - - - - Gets or sets the size in bytes above which log files will be automatically archived. - - Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. - Choose: - - - Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. - - - - - - Gets or sets a value indicating whether to automatically archive log files every time the specified time passes. - - - Files are moved to the archive as part of the write operation if the current period of time changes. For example - if the current hour changes from 10 to 11, the first write that will occur - on or after 11:00 will trigger the archiving. -

- Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. -

-
- -
- - - Is the an absolute or relative path? - - - - - - Gets or sets the name of the file to be used for an archive. - - - It may contain a special placeholder {#####} - that will be replaced with a sequence of numbers depending on - the archiving strategy. The number of hash characters used determines - the number of numerical digits to be used for numbering files. - - - - - - Gets or sets the maximum number of archive files that should be kept. - - - - - - Gets or sets the maximum days of archive files that should be kept. - - - - - - Gets or sets the way file archives are numbered. - - - - - - Used to compress log files during archiving. - This may be used to provide your own implementation of a zip file compressor, - on platforms other than .Net4.5. - Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise. - - - - - - Gets or sets a value indicating whether to compress archive files into the zip archive format. - - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - - Gets or sets a value indicating whether the footer should be written only when the file is archived. - - - - - - Gets the characters that are appended after each line. - - - - - Refresh the ArchiveFilePatternToWatch option of the . - The log file must be watched for archiving when multiple processes are writing to the same - open file. - - - - - Removes records of initialized files that have not been - accessed in the last two days. - - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Removes records of initialized files that have not been - accessed after the specified date. - - The cleanup threshold. - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Flushes all pending file operations. - - The asynchronous continuation. - - The timeout parameter is ignored, because file APIs don't provide - the needed functionality. - - - - - Returns the suitable appender factory ( ) to be used to generate the file - appenders associated with the instance. - - The type of the file appender factory returned depends on the values of various properties. - - suitable for this instance. - - - - Initializes file logging by creating data structures that - enable efficient multi-file logging. - - - - - Closes the file(s) opened for writing. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Writes the specified logging event to a file specified in the FileName - parameter. - - The logging event. - - - - Get full filename (=absolute) and cleaned if needed. - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes the specified array of logging events to a file specified in the FileName - parameter. - - An array of objects. - - This function makes use of the fact that the events are batched by sorting - the requests by filename. This optimizes the number of open/close calls - and can help improve performance. - - - - - Returns estimated size for memory stream, based on events count and first event size in bytes. - - Count of events - Bytes count of first event - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Gets the bytes to be written to the file. - - Log event. - Array of bytes that are ready to be written. - - - - Modifies the specified byte array before it gets sent to a file. - - The byte array. - The modified byte array. The function can do the modification in-place. - - - - Gets the bytes to be written to the file. - - The log event to be formatted. - to help format log event. - Optional temporary char-array to help format log event. - Destination for the encoded result. - - - - Formats the log event for write. - - The log event to be formatted. - for the result. - - - - Modifies the specified byte array before it gets sent to a file. - - The LogEvent being written - The byte array. - - - - Archives fileName to archiveFileName. - - File name to be archived. - Name of the archive file. - - - - Gets the correct formatting to be used based on the value of for converting values which will be inserting into file - names during archiving. - - This value will be computed only when a empty value or is passed into - - Date format to used irrespectively of value. - Formatting for dates. - - - - Calculate the DateTime of the requested day of the week. - - The DateTime of the previous log event. - The next occuring day of the week to return a DateTime for. - The DateTime of the next occuring dayOfWeek. - For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return - Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. - - - - Invokes the archiving process after determining when and which type of archiving is required. - - File name to be checked and archived. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - - - - Gets the pattern that archive files will match - - Filename of the log file - Log event that the instance is currently processing. - A string with a pattern that will match the archive file names - - - - Archives the file if it should be archived. - - The file name to check for. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - True when archive operation of the file was completed (by this target or a concurrent target) - - - - Closes any active file-appenders that matches the input filenames. - File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive - - - - - Indicates if the automatic archiving process should be executed. - - File name to be written. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Returns the correct filename to archive - - - - - Gets the file name for archiving, or null if archiving should not occur based on file size. - - File name to be written. - The size in bytes of the next chunk of data to be written in the file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists - - - - - Returns the file name for archiving, or null if archiving should not occur based on date/time. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - - High resolution Time - Time Resolution Level - Truncated Low Resolution Time - - - - Evaluates which parts of a file should be written (header, content, footer) based on various properties of - instance and writes them. - - File name to be written. - Raw sequence of to be written into the content part of the file. - File has just been opened. - - - - Initialise a file to be used by the instance. Based on the number of initialized - files and the values of various instance properties clean up and/or archiving processes can be invoked. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file (DateTime.MinValue if just initialized). - - - - Writes the file footer and finalizes the file in instance internal structures. - - File name to close. - Indicates if the file is being finalized for archiving. - - - - Writes the footer information to a file. - - The file path to write to. - - - - Decision logic whether to archive logfile on startup. - and properties. - - File name to be written. - Decision whether to archive or not. - - - - Invokes the archiving and clean up of older archive file based on the values of - and - properties respectively. - - File name to be written. - Log event that the instance is currently processing. - - - - Creates the file specified in and writes the file content in each entirety i.e. - Header, Content and Footer. - - The name of the file to be written. - Sequence of to be written in the content section of the file. - First attempt to write? - This method is used when the content of the log file is re-written on every write. - - - - Writes the header information and byte order mark to a file. - - File appender associated with the file. - - - - The sequence of to be written in a file after applying any formatting and any - transformations required from the . - - The layout used to render output message. - Sequence of to be written. - Usually it is used to render the header and hooter of the files. - - - - Check if cleanup should be performed on initialize new file - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Create a wildcard file-mask that allows one to find all files belonging to the same archive. - - Base archive file pattern - Wildcard file-mask - - - - Search directory for all existing files that are part of the same archive. - - Base archive file pattern - - - - - Generate the next archive filename for the archive. - - Base archive file pattern - File date of archive - Existing files in the same archive - - - - - Return all files that should be removed from the provided archive. - - Base archive file pattern - Existing files in the same archive - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - - - - may be configured to compress archived files in a custom way - by setting before logging your first event. - - - - - Create archiveFileName by compressing fileName. - - Absolute path to the log file to compress. - Absolute path to the compressed archive file to create. - - - - Interface for serialization of values, maybe even objects to JSON format. - Useful for wrappers for existing serializers. - - - - - Returns a serialization of an object - into JSON format. - - The object to serialize to JSON. - Serialized value (null = Serialize failed). - - - - Options for JSON serialisation - - - - - Add quotes around object keys? - - - - - Format provider for value - - - - - Format string for value - - - - - Should non-ascii characters be encoded - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - - - Serialize enum as string value - - - - - Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_). - - Any other characters will be converted to underscore character (_) - - - - - How far down the rabbit hole should the Json Serializer go with object-reflection before stopping - - - - Initializes a new instance of the class. - - - - Line ending mode. - - - - - Insert platform-dependent end-of-line sequence after each line. - - - - - Insert CR LF sequence (ASCII 13, ASCII 10) after each line. - - - - - Insert CR character (ASCII 13) after each line. - - - - - Insert LF character (ASCII 10) after each line. - - - - - Insert null terminator (ASCII 0) after each line. - - - - - Do not insert any line ending. - - - - - Gets the name of the LineEndingMode instance. - - - - - Gets the new line characters (value) of the LineEndingMode instance. - - - - - Initializes a new instance of . - - The mode name. - The new line characters to be used. - - - - Returns the that corresponds to the supplied . - - - The textual representation of the line ending mode, such as CRLF, LF, Default etc. - Name is not case sensitive. - - The value, that corresponds to the . - There is no line ending mode with the specified name. - - - - Compares two objects and returns a - value indicating whether the first one is equal to the second one. - - The first level. - The second level. - The value of mode1.NewLineCharacters == mode2.NewLineCharacters. - - - - Compares two objects and returns a - value indicating whether the first one is not equal to the second one. - - The first mode - The second mode - The value of mode1.NewLineCharacters != mode2.NewLineCharacters. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms - and data structures like a hash table. - - - - - Determines whether the specified is - equal to this instance. - - The to compare with - this instance. - - Value of true if the specified - is equal to this instance; otherwise, false. - - - The parameter is null. - - - - Indicates whether the current object is equal to another object of the same type. - true if the current object is equal to the parameter; otherwise, false. - An object to compare with this object. - - - - Provides a type converter to convert objects to and from other representations. - - - - - Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context. - - - true if this converter can perform the conversion; otherwise, false. - - An that provides a format context. A that represents the type you want to convert from. - - - - Converts the given object to the type of this converter, using the specified context and culture information. - - - An that represents the converted value. - - An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed. - - - - Sends log messages to a NLog Receiver Service (using WCF or Web Services). - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets the endpoint address. - - The endpoint address. - - - - - Gets or sets the name of the endpoint configuration in WCF configuration file. - - The name of the endpoint configuration. - - - - - Gets or sets a value indicating whether to use binary message encoding. - - - - - - Gets or sets a value indicating whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply) - - - - - - Gets or sets the client ID. - - The client ID. - - - - - Gets the list of parameters. - - The parameters. - - - - - Gets or sets a value indicating whether to include per-event properties in the payload sent to the server. - - - - - - Called when log events are being sent (test hook). - - The events. - The async continuations. - True if events should be sent, false to stop processing them. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Append" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Add value to the , returns ordinal in - - - lookup so only unique items will be added to - value to add - - - - - Creating a new instance of WcfLogReceiverClient - - Inheritors can override this method and provide their own - service configuration - binding and endpoint address - - This method marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creating a new instance of IWcfLogReceiverClient - - Inheritors can override this method and provide their own - service configuration - binding and endpoint address - - - virtual is used by end users - - - - Writes log messages to in memory for programmatic retrieval. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the list of logs gathered in the . - - - - - Gets or sets the max number of items to have in memory - - - - - - Renders the logging event message and adds to - - The logging event. - - - - A parameter to MethodCall. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout to use for parameter value. - - - - Initializes a new instance of the class. - - Name of the parameter. - The layout. - - - - Initializes a new instance of the class. - - The name of the parameter. - The layout. - The type of the parameter. - - - - Gets or sets the name of the parameter. - - - - - - Gets or sets the type of the parameter. Obsolete alias for - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Calls the specified static method on each log message and passes contextual parameters to it. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets the class name. - - - - - - Gets or sets the method name. The method must be public and static. - - Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx - e.g. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - Name of the target. - Method to call on logevent. - - - - Initializes the target. - - - - - Calls the specified Method. - - Method parameters. - The logging event. - - - - Calls the specified Method. - - Method parameters. - - - - The base class for all targets which call methods (local or remote). - Manages parameters and type coercion. - - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - - - - Prepares an array of parameters to be passed based on the logging event and calls DoInvoke(). - - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Sends log messages over the network. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- To print the results, use any application that's able to receive messages over - TCP or UDP. NetCat is - a simple but very powerful command-line tool that can be used for that. This image - demonstrates the NetCat tool receiving log messages from Network target. -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will be very slow. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-

- There are two specialized versions of the Network target: Chainsaw - and NLogViewer which write to instances of Chainsaw log4j viewer - or NLogViewer application respectively. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the network address. - - - The network address can be: -
    -
  • tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
  • -
  • tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
  • -
  • tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
  • -
  • udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • http://host:port/pageName - HTTP using POST verb
  • -
  • https://host:port/pageName - HTTPS using POST verb
  • -
- For SOAP-based webservice support over HTTP use WebService target. -
- -
- - - Gets or sets a value indicating whether to keep connection open whenever possible. - - - - - - Gets or sets a value indicating whether to append newline at the end of log message. - - - - - - Gets or sets the end of line value if a newline is appended at the end of log message . - - - - - - Gets or sets the maximum message size in bytes. - - - - - - Gets or sets the size of the connection cache (number of connections which are kept alive). - - - - - - Gets or sets the maximum current connections. 0 = no maximum. - - - - - - Gets or sets the action that should be taken if the will be more connections than . - - - - - - Gets or sets the maximum queue size. - - - - - - Gets or sets the action that should be taken if the message is larger than - maxMessageSize. - - - - - - Gets or sets the encoding to be used. - - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Sends the - rendered logging event over the network optionally concatenating it with a newline character. - - The logging event. - - - - Try to remove. - - - - - removed something? - - - - Gets the bytes to be written. - - Log event. - Byte array. - - - - The action to be taken when there are more connections then the max. - - - - - Just allow it. - - - - - Discard the connection item. - - - - - Block until there's more room in the queue. - - - - - Action that should be taken if the message overflows. - - - - - Report an error. - - - - - Split the message into smaller pieces. - - - - - Discard the entire message. - - - - - Represents a parameter to a NLogViewer target. - - - - - Initializes a new instance of the class. - - - - - Gets or sets viewer parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - Sends log messages to the remote instance of NLog Viewer. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include stack contents. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the renderer for log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets the layout renderer which produces Log4j-compatible XML events. - - - - - Gets or sets the instance of that is used to format log messages. - - - - - - Discards log messages. Used mainly for debugging and benchmarking. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets a value indicating whether to perform layout calculation. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Does nothing. Optionally it calculates the layout text but - discards the results. - - The logging event. - - - - Outputs log messages through the OutputDebugString() Win32 API. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - - - - Represents logging target. - - - - Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts - - - - The Max StackTraceUsage of all the in this Target - - - - - Gets or sets the name of the target. - - - - - - Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers - Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - - - - Can be used if has been enabled. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - This method won't prerender if all layouts in this target are thread-agnostic. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Writes async log event to the log target. - - Async Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Log event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - NOTE! Obsolete, instead override WriteAsyncThreadSafe(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target, in a thread safe manner. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Renders the event info in layout. - - The layout. - The event info. - String representing log event. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Should the exception be rethrown? - - - Upgrade to private protected when using C# 7.2 - - - - Marks class as a logging target and assigns a name to it. - - This attribute is not required when registering the target in the API. - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page). - - - - - Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page). - - - - - Attribute details for - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Gets or sets when an empty value should cause the property to be included - - - - - Gets or sets the type of the property. - - - - - Represents target that supports context capture using MDLC, MDC, NDLC and NDC - - - - - - - - - - - - - - - - - - - - - - - Gets or sets a value indicating whether to include contents of the dictionary - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the - - - - - - Gets the array of custom attributes to be passed into the logevent context - - - - - - Constructor - - - - - - - - Check if logevent has properties (or context properties) - - - True if properties should be included - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Dictionary with any context properties for the logEvent (Null if none found) - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Optional prefilled dictionary - Dictionary with any context properties for the logEvent (Null if none found) - - - - Creates combined dictionary of all configured properties for logEvent - - - Dictionary with all collected properties for logEvent - - - - Creates combined dictionary of all configured properties for logEvent - - - Optional prefilled dictionary - Dictionary with all collected properties for logEvent - - - - Generates a new unique name, when duplicate names are detected - - LogEvent that triggered the duplicate name - Duplicate item name - Item Value - Dictionary of context values - New (unique) value (or null to skip value). If the same value is used then the item will be overwritten - - - - Returns the captured snapshot of for the - - - Dictionary with MDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with GDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDC key - MDC value - Snapshot of MDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDC value - Snapshot of NDC value - Include object value in snapshot - - - - Take snapshot of a single object value - - Log event - Key Name (null when NDC / NDLC) - Object Value - Snapshot of value - Include object value in snapshot - - - Internal Layout that allows capture of MDC context - - - Internal Layout that allows capture of NDC context - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the layout used to format log messages. - - - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the text to be rendered. - - - - - - Gets or sets the footer. - - - - - - Gets or sets the header. - - - - - - Gets or sets the layout with header and footer. - - The layout with header and footer. - - - - Web service protocol. - - - - - Use SOAP 1.1 Protocol. - - - - - Use SOAP 1.2 Protocol. - - - - - Use HTTP POST Protocol. - - - - - Use HTTP GET Protocol. - - - - - Do an HTTP POST of a JSON document. - - - - - Do an HTTP POST of an XML document. - - - - - Web Service Proxy Configuration Type - - - - - Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy) - - - Example of how to configure default proxy using app.config - - <system.net> - <defaultProxy enabled = "true" useDefaultCredentials = "true" > - <proxy usesystemdefault = "True" /> - </defaultProxy> - </system.net> - - - - - - Automatic use of proxy with authentication (cached) - - - - - Disables use of proxy (fast) - - - - - Custom proxy address (cached) - - - - - Calls the specified web service on each log message. - - Documentation on NLog Wiki - - The web service must implement a method that accepts a number of string parameters. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

The example web service that works with this example is shown below

- -
-
- - - dictionary that maps a concrete implementation - to a specific -value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target - - - - Gets or sets the web service URL. - - - - - - Gets or sets the value of the User-agent HTTP header. - - - - - - Gets or sets the Web service method name. Only used with Soap. - - - - - - Gets or sets the Web service namespace. Only used with Soap. - - - - - - Gets or sets the protocol to be used when calling web service. - - - - - - Gets or sets the custom proxy address, include port separated by a colon - - - - - - Should we include the BOM (Byte-order-mark) for UTF? Influences the property. - - This will only work for UTF-8. - - - - - - Gets or sets the encoding. - - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Gets or sets the name of the root XML element, - if POST of XML document chosen. - If so, this property must not be null. - (see and ). - - - - - - Gets or sets the (optional) root namespace of the XML document, - if POST of XML document chosen. - (see and ). - - - - - - Gets the array of parameters to be passed. - - - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Invokes the web service method. - - Parameters to be passed. - The logging event. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. - - - - - - - Write from input to output. Fix the UTF-8 bom - - - - - - - - - base class for POST formatters, that - implement former PrepareRequest() method, - that creates the content for - the requested kind of HTTP request - - - - - Asynchronous request queue. - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Gets or sets the request limit. - - - - - Gets or sets the action to be taken when there's no more room in - the queue and another request is enqueued. - - - - - Notifies about log event that was dropped when set to - - - - - Notifies when queue size is growing over - - - - - Raise event when queued element was dropped because of queue overflow - - Dropped queue item - - - - Raise event when RequestCount overflow - - current requests count - - - - Provides asynchronous, buffered execution of target writes. - - Documentation on NLog Wiki - -

- Asynchronous target wrapper allows the logger code to execute more quickly, by queueing - messages and processing them in a separate thread. You should wrap targets - that spend a non-trivial amount of time in their Write() method with asynchronous - target to speed up logging. -

-

- Because asynchronous logging is quite a common scenario, NLog supports a - shorthand notation for wrapping all targets with AsyncWrapper. Just add async="true" to - the <targets/> element in the configuration file. -

- - - ... your targets go here ... - - ]]> -
- -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of requests in the queue. - The action to be taken when the queue overflows. - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity) - - - - - - Raise event when Target cannot store LogEvent. - Event arg contains lost LogEvents - - - - - Raises when event queue grow. - Queue can grow when was set to - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the limit of full s to write before yielding into - Performance is better when writing many small batches, than writing a single large batch - - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - - Gets the queue of lazy writer thread requests. - - - - - Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target by starting the lazy writer timer. - - - - - Shuts down the lazy writer timer. - - - - - Starts the lazy writer thread which periodically writes - queued log messages. - - - - - Attempts to start an instant timer-worker-thread which can write - queued log messages. - - Returns true when scheduled a timer-worker-thread - - - - Stops the lazy writer thread. - - - - - Adds the log event to asynchronous queue to be processed by - the lazy writer thread. - - The log event. - - The is called - to ensure that the log event can be processed in another thread. - - - - - Write to queue without locking - - - - - - The action to be taken when the queue overflows. - - - - - Grow the queue. - - - - - Discard the overflowing item. - - - - - Block until there's more room in the queue. - - - - - Causes a flush on a wrapped target if LogEvent satisfies the . - If condition isn't set, flushes on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Gets or sets the condition expression. Log events who meet this condition will cause - a flush on the wrapped target. - - - - - - Delay the flush until the LogEvent has been confirmed as written - - If not explicitly set, then disabled by default for and AsyncTaskTarget - - - - - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - The wrapped target. - Name of the target - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes the target. - - - - - Forwards the call to the .Write() - and calls on it if LogEvent satisfies - the flush condition or condition is null. - - Logging event to be written out. - - - - Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - A target that buffers log events and sends them in batches to the wrapped target. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - The action to take when the buffer overflows. - - - - Gets or sets the number of log events to be buffered. - - - - - - Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed - if there's no write in the specified period of time. Use -1 to disable timed flushes. - - - - - - Gets or sets a value indicating whether to use sliding timeout. - - - This value determines how the inactivity period is determined. If sliding timeout is enabled, - the inactivity timer is reset after each write, if it is disabled - inactivity timer will - count from the first event written to the buffer. - - - - - - Gets or sets the action to take if the buffer overflows. - - - Setting to will replace the - oldest event with new events without sending events down to the wrapped target, and - setting to will flush the - entire buffer to the wrapped target. - - - - - - Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target. - - - - - Closes the target by flushing pending events in the buffer (if any). - - - - - Adds the specified log event to the buffer and flushes - the buffer in case the buffer gets full. - - The log event. - - - - The action to be taken when the buffer overflows. - - - - - Flush the content of the buffer. - - - - - Discard the oldest item. - - - - - A base class for targets which wrap other (multiple) targets - and provide various forms of target routing. - - - - - Initializes a new instance of the class. - - The targets. - - - - Gets the collection of targets managed by this compound target. - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Writes logging event to the log target. - - Logging event to be written out. - - - - Flush any pending log messages for all wrapped targets. - - The asynchronous continuation. - - - - Provides fallback-on-error. - - Documentation on NLog Wiki - -

This example causes the messages to be written to server1, - and if it fails, messages go to server2.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Gets or sets a value indicating whether to return to the first target after any successful write. - - - - - - - - - - - - Forwards the log event to the sub-targets until one of them succeeds. - - The log event. - - The method remembers the last-known-successful target - and starts the iteration from it. - If is set, the method - resets the target to the first target - stored in . - - - - - Filtering rule for . - - - - - Initializes a new instance of the FilteringRule class. - - - - - Initializes a new instance of the FilteringRule class. - - Condition to be tested against all events. - Filter to apply to all log events when the first condition matches any of them. - - - - Gets or sets the condition to be tested. - - - - - - Gets or sets the resulting filter to be applied when the condition matches. - - - - - - Filters log entries based on a condition. - - Documentation on NLog Wiki - -

This example causes the messages not contains the string '1' to be ignored.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The condition. - - - - Initializes a new instance of the class. - - The wrapped target. - The condition. - - - - Gets or sets the condition expression. Log events who meet this condition will be forwarded - to the wrapped target. - - - - - - Gets or sets the filter. Log events who evaluates to will be discarded - - - - - - - - - Checks the condition against the passed log event. - If the condition is met, the log event is forwarded to - the wrapped target. - - Log event. - - - - - - - Limits the number of messages written per timespan to the wrapped target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of messages written per interval. - Interval in which the maximum number of messages can be written. - - - - Gets or sets the maximum allowed number of messages written per . - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets or sets the interval in which messages will be written up to the number of messages. - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets the DateTime when the current will be reset. - - - - - - Gets the number of written in the current . - - - - - - Initializes the target and resets the current Interval and . - - - - - Writes log event to the wrapped target if the current is lower than . - If the is already reached, no log event will be written to the wrapped target. - resets when the current is expired. - - Log event to be written out. - - - - Arguments for events. - - - - - - - - Instance of that was dropped by - - - - - Raises by when - queue is full - and set to - By default queue doubles it size. - - - - - Contains items count and new queue size. - - Required queue size - Current queue size - - - - New queue size - - - - - Current requests count - - - - - Filters buffered log entries based on a set of conditions that are evaluated on a group of events. - - Documentation on NLog Wiki - - PostFilteringWrapper must be used with some type of buffering target or wrapper, such as - AsyncTargetWrapper, BufferingWrapper or ASPNetBufferingWrapper. - - -

- This example works like this. If there are no Warn,Error or Fatal messages in the buffer - only Info messages are written to the file, but if there are any warnings or errors, - the output includes detailed trace (levels >= Debug). You can plug in a different type - of buffering wrapper (such as ASPNetBufferingWrapper) to achieve different - functionality. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Gets or sets the default filter to be applied when no specific rule matches. - - - - - - Gets the collection of filtering rules. The rules are processed top-down - and the first rule that matches determines the filtering condition to - be applied to log events. - - - - - - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Evaluates all filtering rules to find the first one that matches. - The matching rule determines the filtering condition to be applied - to all items in a buffer. If no condition matches, default filter - is applied to the array of log events. - - Array of log events to be post-filtered. - - - - Evaluate all the rules to get the filtering condition - - - - - - - Sends log messages to a randomly selected target. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt - chosen randomly on a per-message basis. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the log event to one of the sub-targets. - The sub-target is randomly chosen. - - The log event. - - - - Repeats each log event the specified number of times. - - Documentation on NLog Wiki - -

This example causes each log message to be repeated 3 times.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The repeat count. - - - - Initializes a new instance of the class. - - The wrapped target. - The repeat count. - - - - Gets or sets the number of times to repeat each log message. - - - - - - Forwards the log message to the by calling the method times. - - The log event. - - - - Retries in case of write error. - - Documentation on NLog Wiki - -

This example causes each write attempt to be repeated 3 times, - sleeping 1 second between attempts if first one fails.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Initializes a new instance of the class. - - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure. - - - - - - Gets or sets the time to wait between retries in milliseconds. - - - - - - Special SyncObject to allow closing down Target while busy retrying - - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Writes the specified log event to the wrapped target in a thread-safe manner. - - The log event. - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Distributes log events to targets in a round-robin fashion. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt. - Each odd message is written to file2.txt, each even message goes to file1.txt. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Ensures forwarding happens without holding lock - - - - - - Forwards the write to one of the targets from - the collection. - - The log event. - - The writes are routed in a round-robin fashion. - The first log event goes to the first target, the second - one goes to the second target and so on looping to the - first target when there are no more targets available. - In general request N goes to Targets[N % Targets.Count]. - - - - - Writes log events to all targets. - - Documentation on NLog Wiki - -

This example causes the messages to be written to both file1.txt or file2.txt -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the specified log event to all sub-targets. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Base class for targets wrap other (single) targets. - - - - - Gets or sets the target that is wrapped by this target. - - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Current local time retrieved directly from DateTime.Now. - - - - - Gets current local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Current UTC time retrieved directly from DateTime.UtcNow. - - - - - Gets current UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Fast time source that updates current time only once per tick (15.6 milliseconds). - - - - - Gets raw uncached time from derived time source. - - - - - Gets current time cached for one system tick (15.6 milliseconds). - - - - - Fast local time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Fast UTC time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Defines source of current time. - - - - - Gets current time. - - - - - Gets or sets current global time source used in all log events. - - - Default time source is . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to the same form - as time values originated from this source. - - - - There are situations when NLog have to compare the time originated from TimeSource - to the time originated externally in the system. - To be able to provide meaningful result of such comparisons the system time must be expressed in - the same form as TimeSource time. - - - Examples: - - If the TimeSource provides time values of local time, it should also convert the provided - to the local time. - - If the TimeSource shifts or skews its time values, it should also apply - the same transform to the given . - - - - - - Marks class as a time source and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the time source. - - - - Define Localizable attribute for platforms that don't have it. - - - - - Initializes a new instance of the class. - - Determines whether the target is localizable. - - - - Gets or sets a value indicating whether the target is localizable. - - -
-
diff --git a/app/packages/NLog.4.7.15/lib/sl5/NLog.dll b/app/packages/NLog.4.7.15/lib/sl5/NLog.dll deleted file mode 100644 index 8964191..0000000 Binary files a/app/packages/NLog.4.7.15/lib/sl5/NLog.dll and /dev/null differ diff --git a/app/packages/NLog.4.7.15/lib/sl5/NLog.xml b/app/packages/NLog.4.7.15/lib/sl5/NLog.xml deleted file mode 100644 index f38cc5f..0000000 --- a/app/packages/NLog.4.7.15/lib/sl5/NLog.xml +++ /dev/null @@ -1,22139 +0,0 @@ - - - - NLog - - - - - Indicates that the value of the marked element could be null sometimes, - so the check for null is necessary before its usage. - - - [CanBeNull] object Test() => null; - - void UseTest() { - var p = Test(); - var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' - } - - - - - Indicates that the value of the marked element could never be null. - - - [NotNull] object Foo() { - return null; // Warning: Possible 'null' assignment - } - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can never be null. - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can be null. - - - - - Indicates that the marked method builds string by format pattern and (optional) arguments. - Parameter, which contains format string, should be given in constructor. The format string - should be in -like form. - - - [StringFormatMethod("message")] - void ShowError(string message, params object[] args) { /* do something */ } - - void Foo() { - ShowError("Failed: {0}"); // Warning: Non-existing argument in format string - } - - - - - Specifies which parameter of an annotated method should be treated as format-string - - - - - For a parameter that is expected to be one of the limited set of values. - Specify fields of which type should be used as values for this parameter. - - - - - Indicates that the function argument should be string literal and match one - of the parameters of the caller function. For example, ReSharper annotates - the parameter of . - - - void Foo(string param) { - if (param == null) - throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol - } - - - - - Indicates that the method is contained in a type that implements - System.ComponentModel.INotifyPropertyChanged interface and this method - is used to notify that some property value changed. - - - The method should be non-static and conform to one of the supported signatures: - - NotifyChanged(string) - NotifyChanged(params string[]) - NotifyChanged{T}(Expression{Func{T}}) - NotifyChanged{T,U}(Expression{Func{T,U}}) - SetProperty{T}(ref T, T, string) - - - - public class Foo : INotifyPropertyChanged { - public event PropertyChangedEventHandler PropertyChanged; - - [NotifyPropertyChangedInvocator] - protected virtual void NotifyChanged(string propertyName) { ... } - - string _name; - - public string Name { - get { return _name; } - set { _name = value; NotifyChanged("LastName"); /* Warning */ } - } - } - - Examples of generated notifications: - - NotifyChanged("Property") - NotifyChanged(() => Property) - NotifyChanged((VM x) => x.Property) - SetProperty(ref myField, value, "Property") - - - - - - Describes dependency between method input and output. - - -

Function Definition Table syntax:

- - FDT ::= FDTRow [;FDTRow]* - FDTRow ::= Input => Output | Output <= Input - Input ::= ParameterName: Value [, Input]* - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} - Value ::= true | false | null | notnull | canbenull - - If method has single input parameter, it's name could be omitted.
- Using halt (or void/nothing, which is the same) for method output - means that the methods doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute - with rows separated by semicolon. There is no notion of order rows, all rows are checked - for applicability and applied per each program state tracked by R# analysis.
-
- - - [ContractAnnotation("=> halt")] - public void TerminationMethod() - - - [ContractAnnotation("halt <= condition: false")] - public void Assert(bool condition, string text) // regular assertion method - - - [ContractAnnotation("s:null => true")] - public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() - - - // A method that returns null if the parameter is null, - // and not null if the parameter is not null - [ContractAnnotation("null => null; notnull => notnull")] - public object Transform(object data) - - - [ContractAnnotation("=> true, result: notnull; => false, result: null")] - public bool TryParse(string s, out Person result) - - -
- - - Indicates that marked element should be localized or not. - - - [LocalizationRequiredAttribute(true)] - class Foo { - string str = "my string"; // Warning: Localizable string - } - - - - - Indicates that the value of the marked type (or its derivatives) - cannot be compared using '==' or '!=' operators and Equals() - should be used instead. However, using '==' or '!=' for comparison - with null is always permitted. - - - [CannotApplyEqualityOperator] - class NoEquality { } - - class UsesNoEquality { - void Test() { - var ca1 = new NoEquality(); - var ca2 = new NoEquality(); - if (ca1 != null) { // OK - bool condition = ca1 == ca2; // Warning - } - } - } - - - - - When applied to a target attribute, specifies a requirement for any type marked - with the target attribute to implement or inherit specific type or types. - - - [BaseTypeRequired(typeof(IComponent)] // Specify requirement - class ComponentAttribute : Attribute { } - - [Component] // ComponentAttribute requires implementing IComponent interface - class MyComponent : IComponent { } - - - - - Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), - so this symbol will not be marked as unused (as well as by other usage inspections). - - - - - Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes - as unused (as well as by other usage inspections) - - - - Only entity marked with attribute considered used. - - - Indicates implicit assignment to a member. - - - - Indicates implicit instantiation of a type with fixed constructor signature. - That means any unused constructor parameters won't be reported as such. - - - - Indicates implicit instantiation of a type. - - - - Specify what is considered used implicitly when marked - with or . - - - - Members of entity marked with attribute are considered used. - - - Entity marked with attribute and all its members considered used. - - - - This attribute is intended to mark publicly available API - which should not be removed and so is treated as used. - - - - - Tells code analysis engine if the parameter is completely handled when the invoked method is on stack. - If the parameter is a delegate, indicates that delegate is executed while the method is executed. - If the parameter is an enumerable, indicates that it is enumerated while the method is executed. - - - - - Indicates that a method does not make any observable state changes. - The same as System.Diagnostics.Contracts.PureAttribute. - - - [Pure] int Multiply(int x, int y) => x * y; - - void M() { - Multiply(123, 42); // Waring: Return value of pure method is not used - } - - - - - Indicates that the return value of method invocation must be used. - - - - - Indicates the type member or parameter of some type, that should be used instead of all other ways - to get the value that type. This annotation is useful when you have some "context" value evaluated - and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one. - - - class Foo { - [ProvidesContext] IBarService _barService = ...; - - void ProcessNode(INode node) { - DoSomething(node, node.GetGlobalServices().Bar); - // ^ Warning: use value of '_barService' field - } - } - - - - - Indicates that a parameter is a path to a file or a folder within a web project. - Path can be relative or absolute, starting from web root (~). - - - - - An extension method marked with this attribute is processed by ReSharper code completion - as a 'Source Template'. When extension method is completed over some expression, it's source code - is automatically expanded like a template at call site. - - - Template method body can contain valid source code and/or special comments starting with '$'. - Text inside these comments is added as source code when the template is applied. Template parameters - can be used either as additional method parameters or as identifiers wrapped in two '$' signs. - Use the attribute to specify macros for parameters. - - - In this example, the 'forEach' method is a source template available over all values - of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block: - - [SourceTemplate] - public static void forEach<T>(this IEnumerable<T> xs) { - foreach (var x in xs) { - //$ $END$ - } - } - - - - - - Allows specifying a macro for a parameter of a source template. - - - You can apply the attribute on the whole method or on any of its additional parameters. The macro expression - is defined in the property. When applied on a method, the target - template parameter is defined in the property. To apply the macro silently - for the parameter, set the property value = -1. - - - Applying the attribute on a source template method: - - [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] - public static void forEach<T>(this IEnumerable<T> collection) { - foreach (var item in collection) { - //$ $END$ - } - } - - Applying the attribute on a template method parameter: - - [SourceTemplate] - public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { - /*$ var $x$Id = "$newguid$" + x.ToString(); - x.DoSomething($x$Id); */ - } - - - - - - Allows specifying a macro that will be executed for a source template - parameter when the template is expanded. - - - - - Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. - - - If the target parameter is used several times in the template, only one occurrence becomes editable; - other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, - use values >= 0. To make the parameter non-editable when the template is expanded, use -1. - > - - - - Identifies the target parameter of a source template if the - is applied on a template method. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC action. If applied to a method, the MVC action name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC area. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is - an MVC controller. If applied to a method, the MVC controller name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC - partial view. If applied to a method, the MVC partial view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC template. - Use this attribute for custom wrappers similar to - System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component. If applied to a method, the MVC view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Controller.View(Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component name. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component view. If applied to a method, the MVC view component view name is default. - - - - - ASP.NET MVC attribute. When applied to a parameter of an attribute, - indicates that this parameter is an MVC action name. - - - [ActionName("Foo")] - public ActionResult Login(string returnUrl) { - ViewBag.ReturnUrl = Url.Action("Foo"); // OK - return RedirectToAction("Bar"); // Error: Cannot resolve action - } - - - - - Razor attribute. Indicates that a parameter or a method is a Razor section. - Use this attribute for custom wrappers similar to - System.Web.WebPages.WebPageBase.RenderSection(String). - - - - - Indicates how method, constructor invocation or property access - over collection type affects content of the collection. - - - - Method does not use or modify content of the collection. - - - Method only reads content of the collection but does not modify it. - - - Method can change content of the collection but does not add new elements. - - - Method can add new elements to the collection. - - - - Indicates that the marked method is assertion method, i.e. it halts control flow if - one of the conditions is satisfied. To set the condition, mark one of the parameters with - attribute. - - - - - Indicates the condition parameter of the assertion method. The method itself should be - marked by attribute. The mandatory argument of - the attribute is the assertion type. - - - - - Specifies assertion type. If the assertion method argument satisfies the condition, - then the execution continues. Otherwise, execution is assumed to be halted. - - - - Marked parameter should be evaluated to true. - - - Marked parameter should be evaluated to false. - - - Marked parameter should be evaluated to null value. - - - Marked parameter should be evaluated to not null value. - - - - Indicates that the marked method unconditionally terminates control flow execution. - For example, it could unconditionally throw exception. - - - - - Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select, - .Where). This annotation allows inference of [InstantHandle] annotation for parameters - of delegate type by analyzing LINQ method chains. - - - - - Indicates that IEnumerable, passed as parameter, is not enumerated. - - - - - Indicates that parameter is regular expression pattern. - - - - - Prevents the Member Reordering feature from tossing members of the marked class. - - - The attribute must be mentioned in your member reordering patterns - - - - - XAML attribute. Indicates the type that has ItemsSource property and should be treated - as ItemsControl-derived type, to enable inner items DataContext type resolve. - - - - - XAML attribute. Indicates the property of some BindingBase-derived type, that - is used to bind some item of ItemsControl-derived type. This annotation will - enable the DataContext type resolve for XAML bindings for such properties. - - - Property should have the tree ancestor of the ItemsControl type or - marked with the attribute. - - - - - Support implementation of - - - - - - - - - - - - - - - - - Asynchronous continuation delegate - function invoked at the end of asynchronous - processing. - - Exception during asynchronous processing or null if no exception - was thrown. - - - - Helpers for asynchronous operations. - - - - - Iterates over all items in the given collection and runs the specified action - in sequence (each action executes only after the preceding one has completed without an error). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end. - - The repeat count. - The asynchronous continuation to invoke at the end. - The action to invoke. - - - - Modifies the continuation by pre-pending given action to execute just before it. - - The async continuation. - The action to pre-pend. - Continuation which will execute the given action before forwarding to the actual continuation. - - - - Attaches a timeout to a continuation which will invoke the continuation when the specified - timeout has elapsed. - - The asynchronous continuation. - The timeout. - Wrapped continuation. - - - - Iterates over all items in the given collection and runs the specified action - in parallel (each action executes on a thread from thread pool). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Runs the specified asynchronous action synchronously (blocks until the continuation has - been invoked). - - The action. - - Using this method is not recommended because it will block the calling thread. - - - - - Wraps the continuation with a guard which will only make sure that the continuation function - is invoked only once. - - The asynchronous continuation. - Wrapped asynchronous continuation. - - - - Gets the combined exception from all exceptions in the list. - - The exceptions. - Combined exception or null if no exception was thrown. - - - - Disposes the Timer, and waits for it to leave the Timer-callback-method - - The Timer object to dispose - Timeout to wait (TimeSpan.Zero means dispose without waiting) - Timer disposed within timeout (true/false) - - - - Asynchronous action. - - Continuation to be invoked at the end of action. - - - - Asynchronous action with one argument. - - Type of the argument. - Argument to the action. - Continuation to be invoked at the end of action. - - - - Represents the logging event with asynchronous continuation. - - - - - Initializes a new instance of the struct. - - The log event. - The continuation. - - - - Gets the log event. - - - - - Gets the continuation. - - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - A value of true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - String Conversion Helpers - - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - Output value - Default value - Returns false if the input value could not be parsed - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - The type of the enum - Output value. Null if parse failed - - - - Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded. - - The enumeration type to which to convert value. - The string representation of the enumeration name or underlying value to convert. - true to ignore case; false to consider case. - When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized. - true if the value parameter was converted successfully; otherwise, false. - Wrapper because Enum.TryParse is not present in .net 3.5 - - - - Enum.TryParse implementation for .net 3.5 - - - - Don't uses reflection - - - - Enables to extract extra context details for - - - - - Name of context - - - - - The current LogFactory next to LogManager - - - - - NLog internal logger. - - Writes to file, console or custom text writer (see ) - - - Don't use as that can lead to recursive calls - stackoverflow - - - - - Gets a value indicating whether internal log includes Trace messages. - - - - - Gets a value indicating whether internal log includes Debug messages. - - - - - Gets a value indicating whether internal log includes Info messages. - - - - - Gets a value indicating whether internal log includes Warn messages. - - - - - Gets a value indicating whether internal log includes Error messages. - - - - - Gets a value indicating whether internal log includes Fatal messages. - - - - - Logs the specified message without an at the Trace level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - Log message. - - - - Logs the specified message without an at the Trace level. - will be only called when logging is enabled for level Trace. - - Function that returns the log message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Trace level. - will be only called when logging is enabled for level Trace. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Debug level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Debug level. - - Log message. - - - - Logs the specified message without an at the Debug level. - will be only called when logging is enabled for level Debug. - - Function that returns the log message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Debug level. - will be only called when logging is enabled for level Debug. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Info level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Info level. - - Log message. - - - - Logs the specified message without an at the Info level. - will be only called when logging is enabled for level Info. - - Function that returns the log message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Info level. - will be only called when logging is enabled for level Info. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Warn level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Warn level. - - Log message. - - - - Logs the specified message without an at the Warn level. - will be only called when logging is enabled for level Warn. - - Function that returns the log message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Warn level. - will be only called when logging is enabled for level Warn. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Error level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Error level. - - Log message. - - - - Logs the specified message without an at the Error level. - will be only called when logging is enabled for level Error. - - Function that returns the log message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Error level. - will be only called when logging is enabled for level Error. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Fatal level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Fatal level. - - Log message. - - - - Logs the specified message without an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Function that returns the log message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Exception to be logged. - Function that returns the log message. - - - - Initializes static members of the InternalLogger class. - - - - - Set the config of the InternalLogger with defaults and config. - - - - - Gets or sets the minimal internal log level. - - If set to , then messages of the levels , and will be written. - - - - Gets or sets a value indicating whether internal messages should be written to the console output stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the console error stream. - - Your application must be a console application. - - - - Gets or sets the file path of the internal log file. - - A value of value disables internal logging to a file. - - - - Gets or sets the text writer that will receive internal logs. - - - - - Event written to the internal log. - Please note that the event is not triggered when then event hasn't the minimal log level set by - - - - - Gets or sets a value indicating whether timestamp should be included in internal log output. - - - - - Is there an thrown when writing the message? - - - - - Logs the specified message without an at the specified level. - - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the specified level. - - Log level. - Log message. - - - - Logs the specified message without an at the specified level. - will be only called when logging is enabled for level . - - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - will be only called when logging is enabled for level . - - Exception to be logged. - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Log message. - - - - Write to internallogger. - - optional exception to be logged. - level - message - optional args for - - - - Create log line with timestamp, exception message etc (if configured) - - - - - Determine if logging should be avoided because of exception type. - - The exception to check. - true if logging should be avoided; otherwise, false. - - - - Determine if logging is enabled for given LogLevel - - The for the log event. - true if logging is enabled; otherwise, false. - - - - Determine if logging is enabled. - - true if logging is enabled; otherwise, false. - - - - Write internal messages to the log file defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged only when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged when the property is true, otherwise the - method has no effect. - - - - - Logs the assembly version and file version of the given Assembly. - - The assembly to log. - - - - A message has been written to the internal logger - - - - - The rendered message - - - - - The log level - - - - - The exception. Could be null. - - - - - The type that triggered this internal log event, for example the FileTarget. - This property is not always populated. - - - - - The context name that triggered this internal log event, for example the name of the Target. - This property is not always populated. - - - - - - - - A cyclic buffer of object. - - - - - Initializes a new instance of the class. - - Buffer size. - Whether buffer should grow as it becomes full. - The maximum number of items that the buffer can grow to. - - - - Gets the capacity of the buffer - - - - - Gets the number of items in the buffer - - - - - Adds the specified log event to the buffer. - - Log event. - The number of items in the buffer. - - - - Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation. - - Events in the buffer. - - - - Condition and expression. - - - - - Initializes a new instance of the class. - - Left hand side of the AND expression. - Right hand side of the AND expression. - - - - Gets the left hand side of the AND expression. - - - - - Gets the right hand side of the AND expression. - - - - - Returns a string representation of this expression. - - A concatenated '(Left) and (Right)' string. - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the conjunction operator. - - - - Exception during evaluation of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Base class for representing nodes in condition expression trees. - - - - - Converts condition text to a condition expression tree. - - Condition text to be converted. - Condition expression tree. - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition layout expression (represented by a string literal - with embedded ${}). - - - - - Initializes a new instance of the class. - - The layout. - - - - Gets the layout. - - The layout. - - - - Returns a string representation of this expression. - - String literal in single quotes. - - - - Evaluates the expression by calculating the value - of the layout in the specified evaluation context. - - Evaluation context. - The value of the layout. - - - - Condition level expression (represented by the level keyword). - - - - - Returns a string representation of the expression. - - The 'level' string. - - - - Evaluates to the current log level. - - Evaluation context. Ignored. - The object representing current log level. - - - - Condition literal expression (numeric, LogLevel.XXX, true or false). - - - - - Initializes a new instance of the class. - - Literal value. - ToString value. - - - - Gets the literal value. - - The literal value. - - - - Returns a string representation of the expression. - - The literal value. - - - - Evaluates the expression. - - Evaluation context. - The literal value as passed in the constructor. - - - - Condition logger name expression (represented by the logger keyword). - - - - - Returns a string representation of this expression. - - A logger string. - - - - Evaluates to the logger name. - - Evaluation context. - The logger name. - - - - Condition message expression (represented by the message keyword). - - - - - Returns a string representation of this expression. - - The 'message' string. - - - - Evaluates to the logger message. - - Evaluation context. - The logger message. - - - - Marks class as a log event Condition and assigns a name to it. - - - - - Initializes a new instance of the class. - - Condition method name. - - - - Condition method invocation expression (represented by method(p1,p2,p3) syntax). - - - - - Initializes a new instance of the class. - - Name of the condition method. - of the condition method. - Precompiled delegate of the condition method. - The method parameters. - - - - Gets the method info. - - - - - Gets the method parameters - - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - A bunch of utility methods (mostly predicates) which can be used in - condition expressions. Partially inspired by XPath 1.0. - - - - - Compares two values for equality. - - The first value. - The second value. - true when two objects are equal, false otherwise. - - - - Compares two strings for equality. - - The first string. - The second string. - Optional. If true, case is ignored; if false (default), case is significant. - true when two strings are equal, false otherwise. - - - - Gets or sets a value indicating whether the second string is a substring of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a substring of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a prefix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a suffix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Returns the length of a string. - - A string whose lengths is to be evaluated. - The length of the string. - - - - Indicates whether the specified regular expression finds a match in the specified input string. - - The string to search for a match. - The regular expression pattern to match. - A string consisting of the desired options for the test. The possible values are those of the separated by commas. - true if the regular expression finds a match; otherwise, false. - - - - - - - - - - - Marks the class as containing condition methods. - - - - - Condition not expression. - - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression to be negated. - - The expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition or expression. - - - - - Initializes a new instance of the class. - - Left hand side of the OR expression. - Right hand side of the OR expression. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the alternative operator. - - - - Exception during parsing of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Condition parser. Turns a string representation of condition expression - into an expression tree. - - - - - Initializes a new instance of the class. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - Instance of used to resolve references to condition methods and layout renderers. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - - Try stringed keyword to - - - - success? - - - - Parse number - - negative number? minus should be parsed first. - - - - - Condition relational (==, !=, <, <=, - > or >=) expression. - - - - - Initializes a new instance of the class. - - The left expression. - The right expression. - The relational operator. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Gets the relational operator. - - The operator. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Compares the specified values using specified relational operator. - - The first value. - The second value. - The relational operator. - Result of the given relational operator. - - - - Promote values to the type needed for the comparision, e.g. parse a string to int. - - - - - - - Promotes to type - - - - success? - - - - Try to promote both values. First try to promote to , - when failed, try to . - - - - - - Get the order for the type for comparision. - - - index, 0 to max int. Lower is first - - - - Dictionary from type to index. Lower index should be tested first. - - - - - Build the dictionary needed for the order of the types. - - - - - - Get the string representing the current - - - - - - Relational operators used in conditions. - - - - - Equality (==). - - - - - Inequality (!=). - - - - - Less than (<). - - - - - Greater than (>). - - - - - Less than or equal (<=). - - - - - Greater than or equal (>=). - - - - - Hand-written tokenizer for conditions. - - - - - Initializes a new instance of the class. - - The string reader. - - - - Gets the type of the token. - - The type of the token. - - - - Gets the token value. - - The token value. - - - - Gets the value of a string token. - - The string token value. - - - - Asserts current token type and advances to the next token. - - Expected token type. - If token type doesn't match, an exception is thrown. - - - - Asserts that current token is a keyword and returns its value and advances to the next token. - - Keyword value. - - - - Gets or sets a value indicating whether current keyword is equal to the specified value. - - The keyword. - - A value of true if current keyword is equal to the specified value; otherwise, false. - - - - - Gets or sets a value indicating whether the tokenizer has reached the end of the token stream. - - - A value of true if the tokenizer has reached the end of the token stream; otherwise, false. - - - - - Gets or sets a value indicating whether current token is a number. - - - A value of true if current token is a number; otherwise, false. - - - - - Gets or sets a value indicating whether the specified token is of specified type. - - The token type. - - A value of true if current token is of specified type; otherwise, false. - - - - - Gets the next token and sets and properties. - - - - - Try the comparison tokens (greater, smaller, greater-equals, smaller-equals) - - current char - is match - - - - Try the logical tokens (and, or, not, equals) - - current char - is match - - - - Mapping between characters and token types for punctuations. - - - - - Initializes a new instance of the CharToTokenType struct. - - The character. - Type of the token. - - - - Token types for condition expressions. - - - - - Marks the class or a member as advanced. Advanced classes and members are hidden by - default in generated documentation. - - - - - Initializes a new instance of the class. - - - - - Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain. - - - A layout(renderer) could be converted to a literal when: - - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput] - - Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout. - - - - - Used to mark configurable parameters which are arrays. - Specifies the mapping between XML elements and .NET types. - - - - - Initializes a new instance of the class. - - The type of the array item. - The XML element name that represents the item. - - - - Gets the .NET type of the array item. - - - - - Gets the XML element name. - - - - - An assembly is trying to load. - - - - - New event args - - - - - - The assembly that is trying to load. - - - - - Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. - - Type of the item. - Created object of the specified type. - - - - Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. - - Everything of an assembly could be loaded by - - - - - Called before the assembly will be loaded. - - - - - Initializes a new instance of the class. - - The assemblies to scan for named items. - - - - Gets or sets default singleton instance of . - - - This property implements lazy instantiation so that the is not built before - the internal logger is configured. - - - - - Gets or sets the creator delegate used to instantiate configuration objects. - - - By overriding this property, one can enable dependency injection or interception for created objects. - - - - - Gets the factory. - - The target factory. - - - - Gets the factory. - - The filter factory. - - - - gets the factory - - not using due to backwards-compatibility. - - - - - Gets the factory. - - The layout renderer factory. - - - - Gets the factory. - - The layout factory. - - - - Gets the ambient property factory. - - The ambient property factory. - - - - Legacy interface, no longer used by the NLog engine - - - - - Gets or sets the JSON serializer to use with or - - - - - Gets or sets the string serializer to use with - - - - - Gets or sets the custom object-type transformation for use in , or - - - - - Gets or sets the parameter converter to use with , or - - - - - Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect) - - - - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering. - - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with ) - - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging) - - - - - Gets the time source factory. - - The time source factory. - - - - Gets the condition method factory. - - The condition method factory. - - - - Gets the condition method factory (precompiled) - - The condition method factory. - - - - Registers named items from the assembly. - - The assembly. - - - - Registers named items from the assembly. - - The assembly. - Item name prefix. - - - - Call Preload for NLogPackageLoader - - - Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) - This method will be called just before registering all items in the assembly. - - - - - - Call the Preload method for . The Preload method must be static. - - - - - - Clears the contents of all factories. - - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Builds the default configuration item factory. - - Default factory. - - - - Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. - - - - - Attribute used to mark the default parameters for layout renderers. - - - - - Initializes a new instance of the class. - - - - - Dynamic filtering with a positive list of enabled levels - - - - - Dynamic filtering with a minlevel and maxlevel range - - - - - Format of the exception output to the specific target. - - - - - Appends the Message of an Exception to the specified target. - - - - - Appends the type of an Exception to the specified target. - - - - - Appends the short type of an Exception to the specified target. - - - - - Appends the result of calling ToString() on an Exception to the specified target. - - - - - Appends the method name from Exception's stack trace to the specified target. - - - - - Appends the stack trace from an Exception to the specified target. - - - - - Appends the contents of an Exception's Data property to the specified target. - - - - - Destructure the exception (usually into JSON) - - - - - Appends the from the application or the object that caused the error. - - - - - Appends the from the application or the object that caused the error. - - - - - Appends any additional properties that specific type of Exception might have. - - - - - Factory for class-based items. - - The base type of each item. - The type of the attribute used to annotate items. - - - - Scans the assembly. - - The types to scan. - The prefix. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Registers the item based on a type name. - - Name of the item. - Name of the type. - - - - Clears the contents of the factory. - - - - - Registers a single type definition. - - The item name. - The type of the item. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Creates an item instance. - - The name of the item. - Created item. - - - - Factory specialized for s. - - - - - Clear all func layouts - - - - - Register a layout renderer with a callback function. - - Name of the layoutrenderer, without ${}. - the renderer that renders the value. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.). - - - - - Implemented by objects which support installation and uninstallation. - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Interface for accessing configuration details - - - - - Name of the config section - - - - - Configuration Key/Value Pairs - - - - - Child config sections - - - - - Interface for loading NLog - - - - - Finds and loads the NLog configuration - - LogFactory that owns the NLog configuration - Name of NLog.config file (optional) - NLog configuration (or null if none found) - - - - Notifies when LoggingConfiguration has been successfully applied - - LogFactory that owns the NLog configuration - NLog Config - - - - Get file paths (including filename) for the possible NLog config files. - - Name of NLog.config file (optional) - The file paths to the possible config file - - - - Level enabled flags for each LogLevel ordinal - - - - - Converts the filter into a simple - - - - - Represents a factory of named items (such as targets, layouts, layout renderers, etc.). - - Base type for each item instance. - Item definition type (typically or ). - - - - Registers new item definition. - - Name of the item. - Item definition. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Creates item instance. - - Name of the item. - Newly created item instance. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides context for install/uninstall operations. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log output. - - - - Gets or sets the installation log level. - - - - - Gets or sets a value indicating whether to ignore failures during installation. - - - - - Whether installation exceptions should be rethrown. If IgnoreFailures is set to true, - this property has no effect (there are no exceptions to rethrow). - - - - - Gets the installation parameters. - - - - - Gets or sets the log output. - - - - - Logs the specified trace message. - - The message. - The arguments. - - - - Logs the specified debug message. - - The message. - The arguments. - - - - Logs the specified informational message. - - The message. - The arguments. - - - - Logs the specified warning message. - - The message. - The arguments. - - - - Logs the specified error message. - - The message. - The arguments. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Creates the log event which can be used to render layouts during installation/uninstallations. - - Log event info object. - - - - Convert object-value into specified type - - - - - Parses the input value and converts into the wanted type - - Input Value - Wanted Type - Format to use when parsing - Culture to use when parsing - Output value with wanted type - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for extension loading - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for enabling NLog - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - LoggingConfiguration being built - - - - - Interface for fluent setup of LogFactory options for logevent serialization - - - - - LogFactory under configuration - - - - - Encapsulates and the logic to match the actual logger name - All subclasses defines immutable objects. - Concrete subclasses defines various matching rules through - - - - - Creates a concrete based on . - - - Rules used to select the concrete implementation returned: - - if is null => returns (never matches) - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals) - if == '*' => returns (always matches) - if doesn't contain '?' - - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns - - - returns - - - - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - A concrete - - - - Returns the argument passed to - - - - - Checks whether given name matches the logger name pattern. - - String to be matched. - A value of when the name matches, otherwise. - - - - Defines a that never matches. - Used when pattern is null - - - - - Defines a that always matches. - Used when pattern is '*' - - - - - Defines a that matches with a case-sensitive Equals - Used when pattern is a string without wildcards '?' '*' - - - - - Defines a that matches with a case-sensitive StartsWith - Used when pattern is a string like "*foobar" - - - - - Defines a that matches with a case-sensitive EndsWith - Used when pattern is a string like "foobar*" - - - - - Defines a that matches with a case-sensitive Contains - Used when pattern is a string like "*foobar*" - - - - - Defines a that matches with a complex wildcards combinations: - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - used when pattern is a string containing any number of '?' or '*' in any position - i.e. "*Server[*].Connection[?]" - - - - - Keeps logging configuration and provides simple API to modify it. - - This class is thread-safe..ToList() is used for that purpose. - - - - Variables defined in xml or in API. name is case case insensitive. - - - - - Gets the factory that will be configured - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. - - - - Gets the variables defined in the configuration. - - - - - Gets a collection of named targets specified in the configuration. - - - A list of named targets. - - - Unnamed targets (such as those wrapped by other targets) are not returned. - - - - - Gets the collection of file names which should be watched for changes by NLog. - - - - - Gets the collection of logging rules. - - - - - Gets or sets the default culture info to use as . - - - Specific culture info or null to use - - - - - Gets all targets. - - - - - Compare objects based on their name. - - This property is use to cache the comparer object. - - - - Defines methods to support the comparison of objects for equality based on their name. - - - - - Registers the specified target object. The name of the target is read from . - - - The target object with a non - - when is - - - - Registers the specified target object under a given name. - - Name of the target. - The target object. - when is - when is - - - - Finds the target with the specified name. - - - The name of the target to be found. - - - Found target or when the target is not found. - - - - - Finds the target with the specified name and specified type. - - - The name of the target to be found. - - Type of the target - - Found target or when the target is not found of not of type - - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for all loglevels. - - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Finds the logging rule with the specified name. - - The name of the logging rule to be found. - Found logging rule or when not found. - - - - Removes the specified named logging rule. - - The name of the logging rule to be removed. - Found one or more logging rule to remove, or when not found. - - - - Called by LogManager when one of the log configuration files changes. - - - A new instance of that represents the updated configuration. - - - - - Removes the specified named target. - - Name of the target. - - - - Installs target-specific objects on current system. - - The installation context. - - Installation typically runs with administrative permissions. - - - - - Uninstalls target-specific objects from current system. - - The installation context. - - Uninstallation typically runs with administrative permissions. - - - - - Closes all targets and releases any unmanaged resources. - - - - - Log to the internal (NLog) logger the information about the and associated with this instance. - - - The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is - recorded. - - - - - Validates the configuration. - - - - - Copies all variables from provided dictionary into current configuration variables. - - Master variables dictionary - - - - Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage. - - - - - - - Checks whether unused targets exist. If found any, just write an internal log at Warn level. - If initializing not started or failed, then checking process will be canceled - - - - - - - - Arguments for events. - - - - - Initializes a new instance of the class. - - The new configuration. - The old configuration. - - - - Gets the old configuration. - - The old configuration. - - - - Gets the new configuration. - - The new configuration. - - - - Gets the new configuration - - The new configuration. - - - - Gets the old configuration - - The old configuration. - - - - Gets the optional boolean attribute value. - - - Name of the attribute. - Default value to return if the attribute is not found or if there is a parse error - Boolean attribute value or default. - - - - Remove the namespace (before :) - - - x:a, will be a - - - - - - - Enables loading of NLog configuration from a file - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Loads NLog configuration from - - - - - Constructor - - - - - - Loads NLog configuration from provided config section - - - - - - - Builds list with unique keys, using last value of duplicates. High priority keys placed first. - - - - - - - Parse loglevel, but don't throw if exception throwing is disabled - - Name of attribute for logging. - Value of parse. - Used if there is an exception - - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Parse {Rules} xml element - - - Rules are added to this parameter. - - - - Parse {Logger} xml element - - - - - - Parse boolean - - Name of the property for logging. - value to parse - Default value to return if the parse failed - Boolean attribute value or default. - - - - Represents a logging rule. An equivalent of <logger /> configuration element. - - - - - Create an empty . - - - - - Create an empty . - - - - - Create a new with a and which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a new with a which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a (disabled) . You should call or to enable logging. - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Target to be written to when the rule matches. - - - - Rule identifier to allow rule lookup - - - - - Gets a collection of targets that should be written to when this rule matches. - - - - - Gets a collection of child rules to be evaluated when this rule matches. - - - - - Gets a collection of filters to be checked before writing to targets. - - - - - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - - Gets or sets logger name pattern. - - - Logger name pattern used by to check if a logger name matches this rule. - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - - - - Gets the collection of log levels enabled by this rule. - - - - - Default action if none of the filters match - - - - - Enables logging for a particular level. - - Level to be enabled. - - - - Enables logging for a particular levels between (included) and . - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Disables logging for a particular level. - - Level to be disabled. - - - - Disables logging for particular levels between (included) and . - - Minimum log level to be disables. - Maximum log level to de disabled. - - - - Enables logging the levels between (included) and . All the other levels will be disabled. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Returns a string representation of . Used for debugging. - - - A that represents the current . - - - - - Checks whether te particular log level is enabled for this rule. - - Level to be checked. - A value of when the log level is enabled, otherwise. - - - - Checks whether given name matches the . - - String to be matched. - A value of when the name matches, otherwise. - - - - Default filtering with static level config - - - - - Factory for locating methods. - - - - - Initializes a new instance of the class. - - Helper method to extract relevant methods from type - - - - Scans the assembly for classes marked with expected class - and methods marked with expected and adds them - to the factory. - - The types to scan. - The prefix to use for names. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Scans a type for relevant methods with their symbolic names - - Include types that are marked with this attribute - Include methods that are marked with this attribute - Class Type to scan - Collection of methods with their symbolic names - - - - Clears contents of the factory. - - - - - Registers the definition of a single method. - - The method name. - The method info. - - - - Registers the definition of a single method. - - The method name. - The method info. - The precompiled method delegate. - - - - Tries to retrieve method by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Tries to retrieve method-delegate by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Retrieves method by name. - - Method name. - MethodInfo object. - - - - Retrieves method by name. - - Method name. - Method delegate object. - - - - Tries to get method definition. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Marks the layout or layout renderer depends on mutable objects from the LogEvent - - This can be or - - - - - Attaches a simple name to an item (such as , - , , etc.). - - - - - Initializes a new instance of the class. - - The name of the item. - - - - Gets the name of the item. - - The name of the item. - - - - Indicates NLog should not scan this property during configuration. - - - - - Initializes a new instance of the class. - - - - - Marks the object as configuration item for NLog. - - - - - Initializes a new instance of the class. - - - - - Represents simple XML element with case-insensitive attribute semantics. - - - - - Initializes a new instance of the class. - - The reader to initialize element from. - - - - Prevents a default instance of the class from being created. - - - - - Gets the element name. - - - - - Gets the dictionary of attribute values. - - - - - Gets the collection of child elements. - - - - - Gets the value of the element. - - - - - Last error occured during configuration read - - - - - Returns children elements with the specified element name. - - Name of the element. - Children elements with the specified element name. - - - - Asserts that the name of the element is among specified element names. - - The allowed names. - - - - Returns all parsing errors from current and all child elements. - - - - - Special attribute we could ignore - - - - - Default implementation of - - - - - - - - Attribute used to mark the required parameters for targets, - layout targets and filters. - - - - - Provides simple programmatic configuration API used for trivial logging cases. - - Warning, these methods will overwrite the current config. - - - - - Configures NLog for console logging so that all messages above and including - the level are output to the console. - - - - - Configures NLog for console logging so that all messages above and including - the specified level are output to the console. - - The minimal logging level. - - - - Configures NLog for to log to the specified target so that all messages - above and including the level are output. - - The target to log all messages to. - - - - Configures NLog for to log to the specified target so that all messages - above and including the specified level are output. - - The target to log all messages to. - The minimal logging level. - - - - Configures NLog for file logging so that all messages above and including - the level are written to the specified file. - - Log file name. - - - - Configures NLog for file logging so that all messages above and including - the specified level are written to the specified file. - - Log file name. - The minimal logging level. - - - - Value indicating how stack trace should be captured when processing the log event. - - - - - Stack trace should not be captured. - - - - - Stack trace should be captured without source-level information. - - - - - Capture maximum amount of the stack trace information supported on the platform. - - - - - Marks the layout or layout renderer as thread independent - it producing correct results - regardless of the thread it's running on. - - Without this attribute everything is rendered on the main thread. - - - If this attribute is set on a layout, it could be rendered on the another thread. - This could be more efficient as it's skipped when not needed. - - If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - - See the AsyncTargetWrapper and BufferTargetWrapper with the , using - - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - - - - - Marks the layout or layout renderer as thread safe - it producing correct results - regardless of the number of threads it's running on. - - Without this attribute then the target concurrency will be reduced - - - - - A class for configuring NLog through an XML configuration file - (App.config style or App.nlog style). - - Parsing of the XML file is also implemented in this class. - - - - This class is thread-safe..ToList() is used for that purpose. - - Update TemplateXSD.xml for changes outside targets - - - - - Initializes a new instance of the class. - - Configuration file to be read. - - - - Initializes a new instance of the class. - - Configuration file to be read. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - XML reader to read from. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - The XML contents. - Name of the XML file. - The to which to apply any applicable configuration values. - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - NLog LogFactory - - - - Did the Succeeded? true= success, false= error, null = initialize not started yet. - - - - - Gets or sets a value indicating whether all of the configuration files - should be watched for changes and reloaded automatically when changed. - - - - - Gets the collection of file names which should be watched for changes by NLog. - This is the list of configuration files processed. - If the autoReload attribute is not set it returns empty collection. - - - - - Re-reads the original configuration file and returns the new object. - - The new object. - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Create XML reader for (xml config) file. - - filepath - reader or null if filename is empty. - - - - Initializes the configuration. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Checks whether any error during XML configuration parsing has occured. - If there are any and ThrowConfigExceptions or ThrowExceptions - setting is enabled - throws NLogConfigurationException, otherwise - just write an internal log at Warn level. - - Root NLog configuration xml element - - - - Add a file with configuration. Check if not already included. - - - - - - - Parse the root - - - path to config file. - The default value for the autoReload option. - - - - Parse {configuration} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parse {NLog} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Include (multiple) files by filemask, e.g. *.nlog - - base directory in case if is relative - relative or absolute fileMask - - - - - - - - Matches when the specified condition is met. - - - Conditions are expressed using a simple language - described here. - - - - - Gets or sets the condition expression. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - An abstract filter class. Provides a way to eliminate log messages - based on properties other than logger name and log level. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the action to be taken when filter matches. - - - - - - Gets the result of evaluating filter against given log event. - - The log event. - Filter result. - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Marks class as a layout renderer and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the filter. - - - - Filter result. - - - - - The filter doesn't want to decide whether to log or discard the message. - - - - - The message should be logged. - - - - - The message should not be logged. - - - - - The message should be logged and processing should be finished. - - - - - The message should not be logged and processing should be finished. - - - - - A base class for filters that are based on comparing a value to a layout. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the layout to be used to filter log messages. - - The layout. - - - - - Matches when the calculated layout contains the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets the substring to be matched. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets a string to compare the layout to. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches the provided filter-method - - - - - Initializes a new instance of the class. - - - - - - - - Matches when the calculated layout does NOT contain the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets the substring to be matched. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is NOT equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a string to compare the layout to. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the result of the calculated layout has been repeated a moment ago - - - - - How long before a filter expires, and logging is accepted again - - - - - - Max length of filter values, will truncate if above limit - - - - - - Applies the configured action to the initial logevent that starts the timeout period. - Used to configure that it should ignore all events until timeout. - - - - - - Max number of unique filter values to expect simultaneously - - - - - - Default number of unique filter values to expect, will automatically increase if needed - - - - - - Insert FilterCount value into when an event is no longer filtered - - - - - - Append FilterCount to the when an event is no longer filtered - - - - - - Reuse internal buffers, and doesn't have to constantly allocate new buffers - - - - - - Default buffer size for the internal buffers - - - - - - Can be used if has been enabled. - - - - - Initializes a new instance of the class. - - - - - Checks whether log event should be logged or not. In case the LogEvent has just been repeated. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Uses object pooling, and prunes stale filter items when the pool runs dry - - - - - Remove stale filter-value from the cache, and fill them into the pool for reuse - - - - - Renders the Log Event into a filter value, that is used for checking if just repeated - - - - - Repeated LogEvent detected. Checks if it should activate filter-action - - - - - Filter Value State (mutable) - - - - - Filter Lookup Key (immutable) - - - - - A fluent class to build log events for NLog. - - - - - Initializes a new instance of the class. - - The to send the log event. - - - - Initializes a new instance of the class. - - The to send the log event. - The for the log event. - - - - Gets the created by the builder. - - - - - Sets the information of the logging event. - - The exception information of the logging event. - current for chaining calls. - - - - Sets the level of the logging event. - - The level of the logging event. - current for chaining calls. - - - - Sets the logger name of the logging event. - - The logger name of the logging event. - current for chaining calls. - - - - Sets the log message on the logging event. - - The log message for the logging event. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - The fourth object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - An object that supplies culture-specific formatting information. - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets a per-event context property on the logging event. - - The name of the context property. - The value of the context property. - current for chaining calls. - - - - Sets multiple per-event context properties on the logging event. - - The properties to set. - current for chaining calls. - - - - Sets the timestamp of the logging event. - - The timestamp of the logging event. - current for chaining calls. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - current for chaining calls. - - - - Writes the log event to the underlying logger. - - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Extension methods for NLog . - - - - - Starts building a log event with the specified . - - The logger to write the log event to. - The log level. - current for chaining calls. - - - - Starts building a log event at the Trace level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Debug level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Info level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Warn level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Error level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Fatal level. - - The logger to write the log event to. - current for chaining calls. - - - - Global Diagnostics Context - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Global Diagnostics Context - a dictionary structure to hold per-application-instance values. - - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The item value, if defined; otherwise null. - - - - Returns all item names - - A collection of the names of all items in the Global Diagnostics Context. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Include context properties - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Interface for serialization of object values into JSON format - - - - - Serialization of an object into JSON format. - - The object to serialize to JSON. - Output destination. - Serialize succeeded (true/false) - - - - Provides logging interface and utility functions. - - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Logger with only generic methods (passing 'LogLevel' to methods) and core properties. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Extensions for NLog . - - - - - Writes the diagnostic message and exception at the specified level. - - A logger implementation that will handle the message. - The log level. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Allocates new builder and appends to the provided target builder on dispose - - - - - Access the new builder allocated - - - - - Helpers for . - - - - - Load from url - - file or path, including .dll - basepath, optional - - - - - Load from url - - name without .dll - - - - - Forward declare of system delegate type for use by other classes - - - - - Keeps track of pending operation count, and can notify when pending operation count reaches zero - - - - - Mark operation has started - - - - - Mark operation has completed - - Exception coming from the completed operation [optional] - - - - Registers an AsyncContinuation to be called when all pending operations have completed - - Invoked on completion - AsyncContinuation operation - - - - Clear o - - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Legacy attempt to skip async MoveNext, but caused source file line number to be lost - - - - - Gets the entire stack trace. - - - - - Finds first user stack frame in a stack trace - - The stack trace of the logging method invocation - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - Index of the first user stack frame or 0 if all stack frames are non-user - - - - This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame - - The stack trace of the logging method invocation - Starting point for skipping async MoveNext-frames - - - - Assembly to skip? - - Find assembly via this frame. - true, we should skip. - - - - Is this the type of the logger? - - get type of this logger in this frame. - Type of the logger. - - - - - Memory optimized filtering - - Passing state too avoid delegate capture and memory-allocations. - - - - Provides untyped IDictionary interface on top of generic IDictionary. - - The type of the key. - The type of the value. - - - - Initializes a new instance of the DictionaryAdapter class. - - The implementation. - - - - Gets an object containing the values in the object. - - - - An object containing the values in the object. - - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - - Gets an object that can be used to synchronize access to the . - - - - An object that can be used to synchronize access to the . - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - - Gets an object containing the keys of the object. - - - - An object containing the keys of the object. - - - - - Gets or sets the with the specified key. - - Dictionary key. - Value corresponding to key or null if not found - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - - - Removes all elements from the object. - - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - True if the contains an element with the key; otherwise, false. - - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Wrapper IDictionaryEnumerator. - - - - - Initializes a new instance of the class. - - The wrapped. - - - - Gets both the key and the value of the current dictionary entry. - - - - A containing both the key and the value of the current dictionary entry. - - - - - Gets the key of the current dictionary entry. - - - - The key of the current element of the enumeration. - - - - - Gets the value of the current dictionary entry. - - - - The value of the current element of the enumeration. - - - - - Gets the current element in the collection. - - - - The current element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - - - Ensures that IDictionary.GetEnumerator returns DictionaryEntry values - - - - - UTF-8 BOM 239, 187, 191 - - - - - Safe way to get environment variables. - - - - - Helper class for dealing with exceptions. - - - - - Mark this exception as logged to the . - - - - - - - Is this exception logged to the ? - - - trueif the has been logged to the . - - - - Determines whether the exception must be rethrown and logs the error to the if is false. - - Advised to log first the error to the before calling this method. - - The exception to check. - Target context of the exception. - trueif the must be rethrown, false otherwise. - - - - Determines whether the exception must be rethrown immediately, without logging the error to the . - - Only used this method in special cases. - - The exception to check. - trueif the must be rethrown, false otherwise. - - - - Object construction helper. - - - - - Adapter for to - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Creates an AppDomainWrapper for the current - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - - - - - - - - - - - - - - - - - - - - - - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Abstract calls for the application environment - - - - - Abstract calls to FileSystem - - - - Determines whether the specified file exists. - The file to check. - - - Returns the content of the specified file - The file to load. - - - - Base class for optimized file appenders. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the path of the file, including file extension. - - The name of the file. - - - - Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated - Universal Time [UTC] standard. - - The creation time of the file. - - - - Gets or sets the creation time for a file associated with the appender. Synchronized by - The time format is based on - - - - - Gets the last time the file associated with the appender is opened. The time returned is in Coordinated - Universal Time [UTC] standard. - - The time the file was last opened. - - - - Gets the file creation parameters. - - The file creation parameters. - - - - Writes the specified bytes. - - The bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates the file stream. - - If set to true sets the file stream to allow shared writing. - If larger than 0 then it will be used instead of the default BufferSize for the FileStream. - A object which can be used to write to the file. - - - - Base class for optimized file appenders which require the usage of a mutex. - - It is possible to use this class as replacement of BaseFileAppender and the mutex functionality - is not enforced to the implementing subclasses. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Implementation of which caches - file information. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Closes this instance of the appender. - - - - - Flushes this current appender. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Writes the specified bytes to a file. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Factory class which creates objects. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Maintains a collection of file appenders usually associated with file targets. - - - - - An "empty" instance of the class with zero size and empty list of appenders. - - - - - Initializes a new "empty" instance of the class with zero size and empty - list of appenders. - - - - - Initializes a new instance of the class. - - - The size of the list should be positive. No validations are performed during initialization as it is an - internal class. - - Total number of appenders allowed in list. - Factory used to create each appender. - Parameters used for creating a file. - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface that provides parameters for create file function. - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - Gets or sets the log file buffer size in bytes. - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Should archive mutex be created? - - - - - Should manual simple detection of file deletion be enabled? - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface implemented by all factories capable of creating file appenders. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - Instance of which can be used to write to the file. - - - - Appender used to discard data for the FileTarget. - Used mostly for testing entire stack except the actual writing to disk. - Throws away all data. - - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Multi-process and multi-host file appender which attempts - to get exclusive write access and retries if it's not available. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Optimized single-process file appender which keeps the file open for exclusive write. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - A layout that represents a filePath. - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - not null when == false - - - - - non null is fixed, - - - - - is the cache-key, and when newly rendered filename matches the cache-key, - then it reuses the cleaned cache-value . - - - - - is the cache-value that is reused, when the newly rendered filename - matches the cache-key - - - - Initializes a new instance of the class. - - - - Render the raw filename from Layout - - The log event. - StringBuilder to minimize allocations [optional]. - String representation of a layout. - - - - Convert the raw filename to a correct filename - - The filename generated by Layout. - String representation of a correct filename. - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Convert object to string - - value - format for conversion. - - - If is null and isn't a already, then the will get a locked by - - - - - Format a log message - - - - - Format the message and return - - LogEvent with message to be formatted - formatted message - - - - Has the logevent properties? - - LogEvent with message to be formatted - False when logevent has no properties to be extracted - - - - Appends the logevent message to the provided StringBuilder - - LogEvent with message to be formatted - The to append the formatted message. - - - - Get the Raw, unformatted and unstrinyfied, value - - - - - Get the raw value - - - The value - RawValue supported? - - - - Interface implemented by layouts and layout renderers. - - - - - Renders the the value of layout or layout renderer in the context of the specified log event. - - The log event. - String representation of a layout. - - - - Supports rendering as string value with limited or no allocations (preferred) - - - - - Renders the value of layout renderer in the context of the specified log event - - - null if not possible or unknown - - - - Supports object initialization and termination. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Allows components to request stack trace information to be provided in the . - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Render the event info as parse as short - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as int - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as bool - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Logger configuration. - - - - - Initializes a new instance of the class. - - The targets by level. - Use the old exception log handling of NLog 3.0? - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. - - - - Gets targets for the specified level. - - The level. - Chain of targets with attached filters. - - - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - New formatter - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - The MessageFormatter delegate - - - - - - - - Most-Recently-Used-Cache, that discards less frequently used items on overflow - - - - - Constructor - - Maximum number of items the cache will hold before discarding. - - - - Attempt to insert item into cache. - - Key of the item to be inserted in the cache. - Value of the item to be inserted in the cache. - true when the key does not already exist in the cache, false otherwise. - - - - Lookup existing item in cache. - - Key of the item to be searched in the cache. - Output value of the item found in the cache. - True when the key is found in the cache, false otherwise. - - - - Network sender which uses HTTP or HTTPS POST. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Creates instances of objects for given URLs. - - - - - Creates a new instance of the network sender based on a network URL. - - URL that determines the network sender to be created. - The maximum queue size. - - A newly created network sender. - - - - - Interface for mocking socket calls. - - - - - A base class for all network senders. Supports one-way sending of messages - over various protocols. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Gets the address of the network endpoint. - - - - - Gets the last send time. - - - - - Initializes this network sender. - - - - - Closes the sender and releases any unmanaged resources. - - The continuation. - - - - Flushes any pending messages and invokes a continuation. - - The continuation. - - - - Send the given text over the specified protocol. - - Bytes to be sent. - Offset in buffer. - Number of bytes to send. - The asynchronous continuation. - - - - Closes the sender and releases any unmanaged resources. - - - - - Performs sender-specific initialization. - - - - - Performs sender-specific close operation. - - The continuation. - - - - Performs sender-specific flush. - - The continuation. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Parses the URI into an endpoint address. - - The URI to parse. - The address family. - Parsed endpoint. - - - - Default implementation of . - - - - - - - - A base class for network senders that can block or send out-of-order - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Performs sender-specific flush. - - The continuation. - - - - Socket proxy for mocking Socket code. - - - - - Initializes a new instance of the class. - - The address family. - Type of the socket. - Type of the protocol. - - - - Gets underlying socket instance. - - - - - Closes the wrapped socket. - - - - - Invokes ConnectAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Sends messages over a TCP network connection. - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - The address family. - - - - Creates the socket with given parameters. - - The host address. - The address family. - Type of the socket. - Type of the protocol. - Instance of which represents the socket. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Facilitates mocking of class. - - - - - Raises the Completed event. - - - - - Scans (breadth-first) the object graph following all the edges whose are - instances have attached and returns - all objects implementing a specified interfaces. - - - - - Finds the objects which have attached which are reachable - from any of the given root objects when traversing the object graph over public properties. - - Type of the objects to return. - Also search the properties of the wanted objects. - The root objects. - Ordered list of objects implementing T. - - - ISet is not there in .net35, so using HashSet - - - - Helper for extracting propertyPath - - - - - Object Path to check - - - - - Try get value from , using , and set into - - - - - - - - Converts object into a List of property-names and -values using reflection - - - - - Scans properties for name (Skips string-compare and value-lookup until finding match) - - - - - Scans properties for name (Skips property value lookup until finding match) - - - - - Scans properties for name - - - - - Combine paths - - basepath, not null - optional dir - optional file - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Trims directory separators from the path - - path, could be null - never null - - - - Detects the platform the NLog is running on. - - - - - Gets the current runtime OS. - - - - - Gets a value indicating whether current OS is Win32-based (desktop or mobile). - - - - - Gets a value indicating whether current OS is Unix-based. - - - - - Gets a value indicating whether current runtime is Mono-based - - - - - Gets a value indicating whether current runtime supports use of mutex - - - - - Will creating a mutex succeed runtime? - "Cached" detection - - - - - Will creating a mutex succeed runtime? - - - - - Dictionary that combines the standard with the - MessageTemplate-properties extracted from the . - - The are returned as the first items - in the collection, and in positional order. - - - - - Value of the property - - - - - Is this a property of the message? - - - - - - - Value of the property - Is this a property of the message? - - - - The properties of the logEvent - - - - - The properties extracted from the message - - - - - Wraps the list of message-template-parameters into the IDictionary-interface - - Message-template-parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Check if the message-template-parameters can be used directly without allocating a dictionary - - Message-template-parameters - Are all parameter names unique (true / false) - - - - Attempt to insert the message-template-parameters into an empty dictionary - - Message-template-parameters - The initially empty dictionary - Message-template-parameters was inserted into dictionary without trouble (true/false) - - - - Attempt to override the existing dictionary values using the message-template-parameters - - Message-template-parameters - The already filled dictionary - List of unique message-template-parameters - - - - - - - - - - - - - - - - - - - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - - - - - - - - - - - - - - - - - Reflection helpers for accessing properties. - - - - - Set value parsed from string. - - object instance to set with property - name of the property on - The value to be parsed. - - - - - Get property info - - object which could have property - property name on - result when success. - success. - - - - Try parse of string to (Generic) list, comma separated. - - - If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape - - - - - Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase) - - - - - Try get the property - - - - - Reflection helpers. - - - - - Gets all usable exported types from the given assembly. - - Assembly to scan. - Usable types from the given assembly. - Types which cannot be loaded are skipped. - - - - Is this a static class? - - - - This is a work around, as Type doesn't have this property. - From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static - - - - - Optimized delegate for calling MethodInfo - - Object instance, use null for static methods. - Complete list of parameters that matches the method, including optional/default parameters. - - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) - - - - - Controls a single allocated char[]-buffer for reuse (only one active user) - - - - - Controls a single allocated StringBuilder for reuse (only one active user) - - - - - Controls a single allocated object for reuse (only one active user) - - - - Empty handle when is disabled - - - - Creates handle to the reusable char[]-buffer for active usage - - Handle to the reusable item, that can release it again - - - - Access the acquired reusable object - - - - - Controls a single allocated MemoryStream for reuse (only one active user) - - - - - Supported operating systems. - - - If you add anything here, make sure to add the appropriate detection - code to - - - - - Unknown operating system. - - - - - Unix/Linux operating systems. - - - - - Desktop versions of Windows (95,98,ME). - - - - - Windows NT, 2000, 2003 and future versions based on NT technology. - - - - - Macintosh Mac OSX - - - - - Simple character tokenizer. - - - - - Initializes a new instance of the class. - - The text to be tokenized. - - - - Current position in - - - - - Full text to be parsed - - - - - Check current char while not changing the position. - - - - - - Read the current char and change position - - - - - - Get the substring of the - - - - - - - - Implements a single-call guard around given continuation function. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - - - - Continuation function which implements the single-call guard. - - The exception. - - - - HashSet optimized for single item - - - - - - Insert single item on scope start, and remove on scope exit - - Item to insert in scope - Existing hashset to update - Force allocation of real hashset-container - HashSet EqualityComparer - - - - Add item to collection, if it not already exists - - Item to insert - - - - Clear hashset - - - - - Check if hashset contains item - - - Item exists in hashset (true/false) - - - - Remove item from hashset - - - Item removed from hashset (true/false) - - - - Copy items in hashset to array - - Destination array - Array offset - - - - Create hashset enumerator - - Enumerator - - - - Provides helpers to sort log events and associated continuations. - - - - - Key selector delegate. - - The type of the value. - The type of the key. - Value to extract key information from. - Key selected from log event. - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - The key comparer function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. - - - - - - - - - - - - - - - - Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. - Consider to use instead for better safety. - - Key value for lookup - Mapped value found - - - - Non-Allocating struct-enumerator - - - - - - - - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - - - - Will always throw, as dictionary is readonly - - - - Utilities for dealing with values. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - StackFrame from the calling method - Fully qualified class name - - - - Returns the assembly from the provided StackFrame (If not internal assembly) - - Valid assembly, or null if assembly was internal - - - - Returns the classname from the provided StackFrame (If not from internal assembly) - - - Valid class name, or empty string if assembly was internal - - - - Stream helpers - - - - - Copy to output stream and skip BOM if encoding is UTF8 - - - - - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - .net35 doesn't have a .copyto - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - first bytes to skip (optional) - - - - Helpers for , which is used in e.g. layout renderers. - - - - - Renders the specified log event context item and appends it to the specified . - - append to this - value to be appended - format string. If @, then serialize the value with the Default JsonConverter. - provider, for example culture - - - - Appends int without using culture, and most importantly without garbage - - - value to append - - - - Appends uint without using culture, and most importantly without garbage - - Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ - - - value to append - - - - Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 6801 date (Round-Trip-Time) - - - - - Clears the provider StringBuilder - - - - - - Copies the contents of the StringBuilder to the MemoryStream using the specified encoding (Without BOM/Preamble) - - StringBuilder source - MemoryStream destination - Encoding used for converter string into byte-stream - Helper char-buffer to minimize memory allocations - - - - Copies the contents of the StringBuilder to the destination StringBuilder - - StringBuilder source - StringBuilder destination - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle character to search for - - Index of the first occurrence (Else -1) - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle characters to search for - - Index of the first occurrence (Else -1) - - - - Compares the contents of two StringBuilders - - - Correct implementation of that also works when is not the same - - True when content is the same - - - - Compares the contents of a StringBuilder and a String - - True when content is the same - - - - Append a number and pad with 0 to 2 digits - - append to this - the number - - - - Append a number and pad with 0 to 4 digits - - append to this - the number - - - - Append a int type (byte, int) as string - - - - - Constructor - - Max number of items - Initial StringBuilder Size - Max StringBuilder Size - - - - Takes StringBuilder from pool - - Allow return to pool - - - - Releases StringBuilder back to pool at its right place - - - - - Keeps track of acquired pool item - - - - - Releases pool item back into pool - - - - - Helpers for . - - - - - IsNullOrWhiteSpace, including for .NET 3.5 - - - - - - - Split a string - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Represents target with a chain of filters which determine - whether logging should happen. - - - - - cached result as calculating is expensive. - - - - - Initializes a new instance of the class. - - The target. - The filter chain. - Default action if none of the filters match. - - - - Gets the target. - - The target. - - - - Gets the filter chain. - - The filter chain. - - - - Default action if none of the filters match. - - - - - Gets or sets the next item in the chain. - - The next item in the chain. - This is for example the 'target2' logger in writeTo='target1,target2' - - - - Gets the stack trace usage. - - A value that determines stack trace handling. - - - - Helper for dealing with thread-local storage. - - - - - Allocates the data slot for storing thread-local information. - - Allocated slot key. - - - - Gets the data for a slot in thread-local storage. - - Type of the data. - The slot to get data for. - Automatically create the object if it doesn't exist. - - Slot data (will create T if null). - - - - - Wraps with a timeout. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - The timeout. - - - - Continuation function which implements the timeout logic. - - The exception. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Transformation on a layout. Pre-calculated if the layout has a fixed value. - - - - - Create TransformedLayout. - - Layout - Transformation method - Optional renderer, otherwise is used - - - - - - - Create TransformedLayout. If is null, then the returns null - - Layout - Transformation method - Optional renderer, otherwise is used - null if is null - - - - - - - - - - URL Encoding helper. - - - - Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - - - Use RFC2396 standard (instead of RFC3986) - - - Should use lowercase when doing HEX escaping of special characters - - - Replace space ' ' with '+' instead of '%20' - - - Skip UTF8 encoding, and prefix special characters with '%u' - - - - Escape unicode string data for use in http-requests - - unicode string-data to be encoded - target for the encoded result - s for how to perform the encoding - - - - Convert the wide-char into utf8-bytes, and then escape - - - - - - - - - Is allowed? - - - - - - - - Is a-z / A-Z / 0-9 - - - - - - - Prevents the Xamarin linker from linking the target. - - - By applying this attribute all of the members of the target will be kept as if they had been referenced by the code. - - - - - Ensures that all members of this type are preserved - - - - - Flags the method as a method to preserve during linking if the container class is pulled in. - - - - - Helper class for XML - - - - - removes any unusual unicode characters that can't be encoded into XML - - - - - Cleans string of any invalid XML chars found - - unclean string - string with only valid XML chars - - - - Pretest, small text and not escape needed - - - - - - - - Converts object value to invariant format, and strips any invalid xml-characters - - Object value - Object value converted to string - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object value converted to string - - - - XML elements must follow these naming rules: - - Element names are case-sensitive - - Element names must start with a letter or underscore - - Element names can contain letters, digits, hyphens, underscores, and periods - - Element names cannot contain spaces - - - - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object TypeCode - Check and remove unusual unicode characters from the result string. - Object value converted to string - - - - Safe version of WriteAttributeString - - - - - - - - - - Safe version of WriteAttributeString - - - - - - - - Safe version of WriteElementSafeString - - - - - - - - - - Safe version of WriteCData - - - - - - - Interface for handling object transformation - - - - - Takes a dangerous (or massive) object and converts into a safe (or reduced) object - - - Null if unknown object, or object cannot be handled - - - - - Provides an interface to execute System.Actions without surfacing any exceptions raised for that action. - - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Render a message template property to a string - - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Log event context data. - - - - - Initializes a new instance of the class. - - - - - Gets or sets string that will be used to separate key/value pairs. - - - - - - Get or set if empty values should be included. - - A value is empty when null or in case of a string, null or empty string. - - - - - - Gets or sets the keys to exclude from the output. If omitted, none are excluded. - - - - - - Gets or sets how key/value pairs will be formatted. - - - - - - Renders all log event's properties and appends them to the specified . - - The to append the rendered data to. - Logging event. - - - - Designates a property of the class as an ambient property. - - - non-ambient: ${uppercase:${level}} - ambient : ${level:uppercase} - - - - - Initializes a new instance of the class. - - Ambient property name. - - - - Renders the assembly version information for the entry assembly or a named assembly. - - - As this layout renderer uses reflection and version information is unlikely to change during application execution, - it is recommended to use it in conjunction with the . - - - The entry assembly can't be found in some cases e.g. ASP.NET, unit tests, etc. - - - - - Initializes a new instance of the class. - - - - - The (full) name of the assembly. If null, using the entry assembly. - - - - - - Gets or sets the type of assembly version to retrieve. - - - Some version type and platform combinations are not fully supported. - - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified. - - Silverlight: Value for is always returned. - - - - - - Gets or sets the custom format of the assembly version output. - - - Supported placeholders are 'major', 'minor', 'build' and 'revision'. - The default .NET template for version numbers is 'major.minor.build.revision'. See - https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks - for details. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders an assembly version and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Type of assembly version to retrieve. - - - - - Gets the assembly version. - - - - - Gets the file version. - - - - - Gets additional version information. - - - - - The current application domain's base directory. - - - - - Use base dir of current process. Alternative one can just use ${processdir} - - - - - - Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the base directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. - - - - - - Renders the application base directory and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site (class name, method name and source information). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to render the class name. - - - - - - Gets or sets a value indicating whether to render the include the namespace with . - - - - - - Gets or sets a value indicating whether to render the method name. - - - - - - Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate. - - - - - - Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation - (everything after an await-statement inside of an async method). - - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A counter value (increases on each layout rendering). - - - - - Gets or sets the initial value of the counter. - - - - - - Gets or sets the value to be added to the counter after each layout rendering. - - - - - - Gets or sets the name of the sequence. Different named sequences can have individual values. - - - - - - - - - The current working directory of the application. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the current directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the current directory. - - - - - - - - - - - - Current date and time. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format). - - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - - - - - - - - - - DB null for a database - - - - - - - - - - - The OS dependent directory separator - - - - - - - - - - - URI of the HTML page which hosts the current Silverlight application. - - - - - Renders the specified environmental information and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the name of the item. - - - - - - Renders the specified log event context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. See . - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - - - - - - - - - - Exception information provided through - a call to one of the Logger.*Exception() methods. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the format of the output. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - - - Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - Gets or sets the separator used to concatenate parts specified in the Format. - - - - - - Gets or sets the separator used to concatenate exception data specified in the Format. - - - - - - Gets or sets the maximum number of inner exceptions to include in the output. - By default inner exceptions are not enabled for compatibility with NLog 1.0. - - - - - - Gets or sets the separator between inner exceptions. - - - - - - Gets or sets whether to render innermost Exception from - - - - - Gets or sets whether to collapse exception tree using - - - - - Gets the formats of the output of inner exceptions to be rendered in target. - - - - - - - Gets the formats of the output to be rendered in target. - - - - - - - - - - - - - Appends the Message of an Exception to the specified . - - The to append the rendered data to. - The exception containing the Message to append. - - - - Appends the method name from Exception's stack trace to the specified . - - The to append the rendered data to. - The Exception whose method name should be appended. - - - - Appends the stack trace from an Exception to the specified . - - The to append the rendered data to. - The Exception whose stack trace should be appended. - - - - Appends the result of calling ToString() on an Exception to the specified . - - The to append the rendered data to. - The Exception whose call to ToString() should be appended. - - - - Appends the type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose type should be appended. - - - - Appends the short type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose short type should be appended. - - - - Appends the application source of an Exception to the specified . - - The to append the rendered data to. - The Exception whose source should be appended. - - - - Appends the HResult of an Exception to the specified . - - The to append the rendered data to. - The Exception whose HResult should be appended. - - - - Appends the contents of an Exception's Data property to the specified . - - The to append the rendered data to. - The Exception whose Data property elements should be appended. - - - - Appends all the serialized properties of an Exception into the specified . - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Appends all the additional properties of an Exception like Data key-value-pairs - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Split the string and then compile into list of Rendering formats. - - - - - Find name of method on stracktrace. - - Full stracktrace - - - - - Renders contents of the specified file. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file. - - - - - - Gets or sets the encoding used in the file. - - The encoding. - - - - - Renders the contents of the specified file and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - Name used in config without ${}. E.g. "test" could be used as "${test}". - - - - - Method that renders the layout. - - This public property will be removed in NLog 5. - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render the value for this log event - - The event info. - The value. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - The information about the garbage collector. - - - - - Gets or sets the property to retrieve. - - - - - - - - - Gets or sets the property of System.GC to retrieve. - - - - - Total memory allocated. - - - - - Total memory allocated (perform full garbage collection first). - - - - - Gets the number of Gen0 collections. - - - - - Gets the number of Gen1 collections. - - - - - Gets the number of Gen2 collections. - - - - - Maximum generation number supported by GC. - - - - - Render a Global Diagnostics Context item. See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - - - - Globally-unique identifier (GUID). - - - - - Gets or sets the GUID format as accepted by Guid.ToString() method. - - - - - - Generate the Guid from the NLog LogEvent (Will be the same for all targets) - - - - - - - - - - - - - - - Installation parameter (passed to InstallNLogConfig). - - - - - Gets or sets the name of the parameter. - - - - - - Renders the specified installation parameter and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render environmental information related to logging events. - - - - - Gets the logging configuration this target is part of. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Renders the the value of layout renderer in the context of the specified log event. - - The log event. - String representation of a layout renderer. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Renders the value of layout renderer in the context of the specified log event. - - The log event. - The layout render output is appended to builder - - - - Renders the value of layout renderer in the context of the specified log event into . - - The to append the rendered data to. - Logging event. - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Get the for rendering the messages to a - - LogEvent with culture - Culture in on Layout level - - - - - Get the for rendering the messages to a , needed for date and number formats - - LogEvent with culture - Culture in on Layout level - - - is preferred - - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Renderer with callback func - - - - Marks class as a layout renderer and assigns a name to it. - - This attribute is not required when registering the layout in the API. - - - - Initializes a new instance of the class. - - Name of the layout renderer, without the `${ }` - - - - Format of the ${level} layout renderer output. - - - - - Render the LogLevel standard name. - - - - - Render the first character of the level. - - - - - Render the ordinal (aka number) for the level. - - - - - Render the LogLevel full name, expanding Warn / Info abbreviations - - - - - The log level. - - - - - Gets or sets a value indicating the output format of the level. - - - - - - - - - - - - - - - A string literal. - - - This is used to escape '${' sequence - as ;${literal:text=${}' - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The literal text value. - This is used by the layout compiler. - - - - Gets or sets the literal text. - - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - XML event description compatible with log4j, Chainsaw and NLogViewer. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes the layout renderer. - - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets a value indicating whether the XML should use spaces for indentation. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the XML logging event and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The logger name. - - - - - Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character). - - - - - - - - - - - - The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the date in the long format (yyyy-MM-dd HH:mm:ss.ffff) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render a Mapped Diagnostic Context item, See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - The formatted log message. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to log exception along with message. - - - - - - Gets or sets the string that separates message from the exception. - - - - - - Gets or sets whether it should render the raw message without formatting parameters - - - - - - - - - - - - Render a Nested Diagnostic Context item. - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested diagnostics context output. - - - - - - Renders the specified Nested Diagnostics Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A newline literal. - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The process time in format HH:mm:ss.mmm. - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Write timestamp to builder with format hh:mm:ss:fff - - - - - The sequence ID - - - - - - - - - - - The short date in a sortable format yyyy-MM-dd. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the current short date string (yyyy-MM-dd) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Information about Silverlight application. - - - - - Initializes a new instance of the class. - - - - - Gets or sets specific information to display. - - - - - - Renders the specified environmental information and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Specifies application information to display in ${sl-appinfo} renderer. - - - - - URI of the current application XAP file. - - - - - Whether application is running out-of-browser. - - - - - Installed state of an application. - - - - - Whether application is running with elevated permissions. - - - - - System special folder path (includes My Documents, My Music, Program Files, Desktop, and more). - - - - - Gets or sets the system special folder to use. - - - Full list of options is available at MSDN. - The most common ones are: -
    -
  • ApplicationData - roaming application data for current user.
  • -
  • CommonApplicationData - application data for all users.
  • -
  • MyDocuments - My Documents
  • -
  • DesktopDirectory - Desktop directory
  • -
  • LocalApplicationData - non roaming application data
  • -
  • Personal - user profile directory
  • -
  • System - System directory
  • -
-
- -
- - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Format of the ${stacktrace} layout renderer output. - - - - - Raw format (multiline - as returned by StackFrame.ToString() method). - - - - - Flat format (class and method names displayed in a single line). - - - - - Detailed flat format (method signatures displayed in a single line). - - - - - Stack trace renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the output format of the stack trace. - - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets the stack frame separator string. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A temporary directory. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The identifier of the current thread. - - - - - - - - The name of the current thread. - - - - - - - - The Ticks value of current date and time. - - - - - - - - - - - The time in a 24-hour, sortable format HH:mm:ss.mmmm. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Render a NLog variable (xml or config) - - - - - Gets or sets the name of the NLog variable. - - - - - - Gets or sets the default value to be used when the variable is not set. - - Not used if Name is null - - - - - Initializes the layout renderer. - - - - - Try get the - - - - - - - Renders the specified variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Applies caching to another layout output. - - - The value of the inner layout will be rendered only once and reused subsequently. - - - - - A value indicating when the cache is cleared. - - - - Never clear the cache. - - - Clear the cache whenever the is initialized. - - - Clear the cache whenever the is closed. - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether this is enabled. - - - - - - Gets or sets a value indicating when the cache is cleared. - - - - - - Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s - - - - - - Gets or sets a value indicating how many seconds the value should stay cached until it expires - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - - - - Filters characters not allowed in the file names by replacing them with safe character. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path - (illegal characters are replaced with '_'). - - - - - - - - - - - - Escapes output of another layout using JSON rules. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply JSON encoding. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - - - - - - - Left part of a text - - - - - Gets or sets the length in characters. - - - - - - Same as -property, so it can be used as ambient property. - - - ${message:truncate=80} - - - - - - - - - - - - Converts the result of another layout output to lower case. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Render the non-raw value of an object. - - For performance and/or full (formatted) control of the output. - - - - Gets or sets a value indicating whether to disable the IRawValue-interface - - A value of true if IRawValue-interface should be ignored; otherwise, false. - - - - - - - - - - - Render a single property of a object - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - Shortcut for - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - Only outputs the inner layout when exception has been defined for log message. - - - - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - ${onhasproperties:, Properties\: ${all-event-properties}} - - - - - - - - - - - Horizontal alignment for padding layout renderers. - - - - - When layout text is too long, align it to the left - (remove characters from the right). - - - - - When layout text is too long, align it to the right - (remove characters from the left). - - - - - Applies padding to another layout output. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of characters to pad the output to. - - - Positive padding values cause left padding, negative values - cause right padding to the desired width. - - - - - - Gets or sets the padding character. - - - - - - Gets or sets a value indicating whether to trim the - rendered text to the absolute value of the padding length. - - - - - - Gets or sets a value indicating whether a value that has - been truncated (when is true) - will be left-aligned (characters removed from the right) - or right-aligned (characters removed from the left). The - default is left alignment. - - RegistryLayoutRenderer - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Replaces a string in the output of another layout with another string. - - - ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}} - - - - - Gets or sets the text to search for. - - The text search for. - - - - - Gets or sets a value indicating whether regular expressions should be used. - - A value of true if regular expressions should be used otherwise, false. - - - - - Gets or sets the replacement string. - - The replacement string. - - - - - Gets or sets the group name to replace when using regular expressions. - Leave null or empty to replace without using group name. - - The group name. - - - - - Gets or sets a value indicating whether to ignore case. - - A value of true if case should be ignored when searching; otherwise, false. - - - - - Gets or sets a value indicating whether to search for whole words. - - A value of true if whole words should be searched for; otherwise, false. - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Initializes the layout renderer. - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass - - - - - A match evaluator for Regular Expression based replacing - - Input string. - Group name in the regex. - Replace value. - Match from regex. - Groups replaced with . - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating the string that should be used for separating lines. - - - - - - - - - - - - Right part of a text - - - - - Gets or sets the length in characters. - - - - - - - - - - - - Decodes text "encrypted" with ROT-13. - - - See https://en.wikipedia.org/wiki/ROT13. - - - - - Gets or sets the layout to be wrapped. - - The layout to be wrapped. - This variable is for backwards compatibility - - - - - Encodes/Decodes ROT-13-encoded string. - - The string to be encoded/decoded. - Encoded/Decoded text. - - - - - - - - - - Encodes/Decodes ROT-13-encoded string. - - - - - Substring the result - - - ${substring:${level}:start=2:length=2} - ${substring:${level}:start=-2:length=2} - ${substring:Inner=${level}:start=2:length=2} - - - - - Initializes a new instance of the class. - - - - - Gets or sets the start index. - - Index - - - - - Gets or sets the length in characters. If null, then the whole string - - Index - - - - - - - - - - - Calculate start position - - 0 or positive number - - - - Calculate needed length - - 0 or positive number - - - - Trims the whitespace from the result of another layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - - - - - - - Converts the result of another layout output to upper case. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - ${level:uppercase} // [AmbientProperty] - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether upper case conversion should be applied. - - A value of true if upper case conversion should be applied otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Encodes the result of another layout output for use with URLs. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether spaces should be translated to '+' or '%20'. - - A value of true if space should be translated to '+'; otherwise, false. - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - - - Gets or sets the layout to be rendered when original layout produced empty result. - - - - - - - - - - - - - - - Only outputs the inner layout when the specified condition has been met. - - - - - Gets or sets the condition that must be met for the layout to be printed. - - - - - - If is not met, print this layout. - - - - - - - - - - - - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the line length for wrapping. - - - Only positive values are allowed - - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - Base class for s which wrapping other s. - - This has the property (which is default) and can be used to wrap. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - - - - - Gets or sets the wrapped layout. - - [DefaultParameter] so Inner: is not required if it's the first - - - - - - - - - Renders the inner message, processes it and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Appends the rendered output from -layout and transforms the added output (when necessary) - - Logging event. - The to append the rendered data to. - Start position for any necessary transformation of . - - - - Transforms the output of another layout. - - Logging event. - Output to be transform. - Transformed text. - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - Base class for s which wrapping other s. - - This expects the transformation to work on a - - - - - - - - Transforms the output of another layout. - - - Output to be transform. - - - - Transforms the output of another layout. - - Output to be transform. - - - - Renders the inner layout contents. - - - for the result - - - - - - - - - - - - - - - - - - Converts the result of another layout output to be XML-compliant. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply XML encoding. - - Ensures always valid XML, but gives a performance hit - - - - - Gets or sets a value indicating whether to transform newlines (\r\n) into ( ) - - - - - - - - - - - - A layout containing one or more nested layouts. - - - - - Initializes a new instance of the class. - - - - - Gets the inner layouts. - - - - - - Initializes the layout. - - - - - Formats the log event relying on inner layouts. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event relying on inner layouts. - - The logging event. - for the result - - - - Closes the layout. - - - - - Generate description of Compound Layout - - Compound Layout String Description - - - - A column in the CSV. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column. - The layout of the column. - - - - Gets or sets the name of the column. - - - - - - Gets or sets the layout of the column. - - - - - - Gets or sets the override of Quoting mode - - - and are faster than the default - - - - - - Specifies allowed column delimiters. - - - - - Automatically detect from regional settings. - - - - - Comma (ASCII 44). - - - - - Semicolon (ASCII 59). - - - - - Tab character (ASCII 9). - - - - - Pipe character (ASCII 124). - - - - - Space character (ASCII 32). - - - - - Custom string, specified by the CustomDelimiter. - - - - - A specialized layout that renders CSV-formatted events. - - If is set, then the header generation with column names will be disabled. - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - Gets or sets a value indicating whether CVS should include header. - - A value of true if CVS should include header; otherwise, false. - - - - - Gets or sets the column delimiter. - - - - - - Gets or sets the quoting mode. - - - - - - Gets or sets the quote Character. - - - - - - Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom'). - - - - - - Initializes the layout. - - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event for write. - - The logging event. - for the result - - - - Get the headers with the column names. - - - - - - Header with column names for CSV layout. - - - - - Initializes a new instance of the class. - - The parent. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Generate description of CSV Layout - - CSV Layout String Description - - - - Specifies CSV quoting modes. - - - - - Quote all column (Fast) - - - - - Quote nothing (Very fast) - - - - - Quote only whose values contain the quote symbol or the separator (Slow) - - - - - JSON attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with json-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Json encoded. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A specialized layout that renders JSON-formatted events. - - - - - Initializes a new instance of the class. - - - - - Gets the array of attributes' configurations. - - - - - - Gets or sets the option to suppress the extra spaces in the output json - - - - - - Gets or sets the option to render the empty object value {} - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to exclude null/empty properties from the log event (as JSON) - - - - - - List of property names to exclude when is true - - - - - - How far should the JSON serializer follow object references before backing off - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Formats the log event as a JSON document for writing. - - The logging event. - for the result - - - - Formats the log event as a JSON document for writing. - - The log event to be formatted. - A JSON string representation of the log event. - - - - Generate description of JSON Layout - - JSON Layout String Description - - - - Abstract interface that layouts must implement. - - - - - Is this layout initialized? See - - - - - Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). - - - Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are - like that as well. - - Thread-agnostic layouts only use contents of for its output. - - - - - Gets the level of stack trace information required for rendering. - - - - - Gets the logging configuration this target is part of. - - - - - Converts a given text to a . - - Text to be converted. - object represented by the text. - - - - Implicitly converts the specified string to a . - - The layout string. - Instance of .' - - - - Implicitly converts the specified string to a . - - The layout string. - The NLog factories to use when resolving layout renderers. - Instance of . - - - - Implicitly converts the specified string to a . - - The layout string. - Whether should be thrown on parse errors (false = replace unrecognized tokens with a space). - Instance of . - - - - Create a from a lambda method. - - Method that renders the layout. - Tell if method is safe for concurrent threading. - Instance of . - - - - Precalculates the layout for the specified log event and stores the result - in per-log event cache. - - Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic]. - - The log event. - - Calling this method enables you to store the log event in a buffer - and/or potentially evaluate it in another thread even though the - layout may contain thread-dependent renderer. - - - - - Renders the event info in layout. - - The event info. - String representing log event. - - - - Optimized version of for internal Layouts. Works best - when override of is available. - - The event info. - Appends the string representing log event to target - Should rendering result be cached on LogEventInfo - - - - Valid default implementation of , when having implemented the optimized - - The logging event. - StringBuilder to help minimize allocations [optional]. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Optimized version of for internal Layouts, when - override of is available. - - - - - Try get value - - - rawValue if return result is true - false if we could not determine the rawValue - - - - Marks class as a layout renderer and assigns a format string to it. - - - - - Initializes a new instance of the class. - - Layout name. - - - - Parses layout strings. - - - - - Add to - - - - - - - Options available for - - - - - Default options - - - - - Layout renderer method can handle concurrent threads - - - - - Layout renderer method is agnostic to current thread context. This means it will render the same result indepdent of thread-context. - - - - - A specialized layout that supports header and footer. - - - - - Gets or sets the body layout (can be repeated multiple times). - - - - - - Gets or sets the header layout. - - - - - - Gets or sets the footer layout. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result. - - - - A specialized layout that renders Log4j-compatible XML events. - - - This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets the instance that renders log events. - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Represents a string with embedded placeholders that can render contextual information. - - - This layout is not meant to be used explicitly. Instead you can just use a string containing layout - renderers everywhere the layout is required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout string to parse. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - Whether should be thrown on parse errors. - - - - Original text before compile to Layout renderes - - - - - Gets or sets the layout text. - - - - - - Is the message fixed? (no Layout renderers used) - - - - - Get the fixed text. Only set when is true - - - - - Is the message a simple formatted string? (Can skip StringBuilder) - - - - - Gets a collection of objects that make up this layout. - - - - - Gets the level of stack trace information required for rendering. - - - - - Converts a text to a simple layout. - - Text to be converted. - A object. - - - - Escapes the passed text so that it can - be used literally in all places where - layout is normally expected without being - treated as layout. - - The text to be escaped. - The escaped text. - - Escaping is done by replacing all occurrences of - '${' with '${literal:text=${}' - - - - - Evaluates the specified text by expanding all layout renderers. - - The text to be evaluated. - Log event to be used for evaluation. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Evaluates the specified text by expanding all layout renderers - in new context. - - The text to be evaluated. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Returns a that represents the current object. - - - A that represents the current object. - - - - - - - - - - - - - - - - - - - - XML attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with xml-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A XML Element - - - - - - - - - - - Name of the element - - - - - - Value inside the element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - The name of the top XML node - The value of the top XML node - - - - Name of the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Value inside the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Auto indent and create new lines - - - - - - Gets the array of xml 'elements' configurations. - - - - - - Gets the array of 'attributes' configurations for the element - - - - - - Gets or sets whether a ElementValue with empty value should be included in the output - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - List of property names to exclude when is true - - - - - - XML element name to use when rendering properties - - - Support string-format where {0} means property-key-name - - Skips closing element tag when having configured - - - - - - XML attribute name to use when rendering property-key - - When null (or empty) then key-attribute is not included - - - Will replace newlines in attribute-value with - - - - - - XML attribute name to use when rendering property-value - - When null (or empty) then value-attribute is not included and - value is formatted as XML-element-value - - - Skips closing element tag when using attribute for value - - Will replace newlines in attribute-value with - - - - - - XML element name to use for rendering IList-collections items - - - - - - How far should the XML serializer follow object references before backing off - - - - - - Initializes the layout. - - - - - Formats the log event as a XML document for writing. - - The logging event. - for the result - - - - Formats the log event as a XML document for writing. - - The log event to be formatted. - A XML string representation of the log event. - - - - write attribute, only if is not empty - - - - - rendered - - - - Generate description of XML Layout - - XML Layout String Description - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - - - - - - - Name of the root XML element - - - - - - Value inside the root XML element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Represents the logging event. - - - - - Gets the date of the first log event created. - - - - - The formatted log message. - - - - - The log message including any parameter placeholders - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - Already parsed message template parameters. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - Exception information. - - - - Gets the unique identifier of log event which is automatically generated - and monotonously increasing. - - - - - Gets or sets the timestamp of the logging event. - - - - - Gets or sets the level of the logging event. - - - - - Gets a value indicating whether stack trace has been set for this event. - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Gets the entire stack trace. - - - - - Gets the callsite class name - - - - - Gets the callsite member function name - - - - - Gets the callsite source file path - - - - - Gets the callsite source file line number - - - - - Gets or sets the exception information. - - - - - Gets or sets the logger name. - - - - - Gets the logger short name. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the log message including any parameter placeholders. - - - - - Gets or sets the parameter values or null if no parameters have been specified. - - - - - Gets or sets the format provider that was provided while logging or - when no formatProvider was specified. - - - - - Gets or sets the message formatter for generating - Uses string.Format(...) when nothing else has been configured. - - - - - Gets the formatted message. - - - - - Checks if any per-event properties (Without allocation) - - - - - Gets the dictionary of per-event context properties. - - - - - Gets the dictionary of per-event context properties. - Internal helper for the PropertiesDictionary type. - - Create the event-properties dictionary, even if no initial template parameters - Provided when having parsed the message template and capture template parameters (else null) - - - - - Gets the named parameters extracted from parsing as MessageTemplate - - - - - Gets the dictionary of per-event context properties. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Creates the null event. - - Null log event. - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - The exception. - Instance of . - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates from this by attaching the specified asynchronous continuation. - - The asynchronous continuation. - Instance of with attached continuation. - - - - Returns a string representation of this log event. - - String representation of the log event. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace (Negative means NLog should skip stackframes from System-assemblies). - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Set the - - true = Always, false = Never, null = Auto Detect - - - - Specialized LogFactory that can return instances of custom logger types. - - Use this only when a custom Logger type is defined. - The type of the logger to be returned. Must inherit from . - - - - Gets the logger with type . - - The logger name. - An instance of . - - - - Gets a custom logger with the full name of the current class (so namespace and class name) and type . - - An instance of . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Overwrite possible file paths (including filename) for possible NLog config files. - When this property is null, the default file paths ( are used. - - - - - Occurs when logging changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The config. - - - - Initializes a new instance of the class. - - The config loader - The custom AppEnvironmnet override - - - - Gets the current . - - - - - Gets or sets a value indicating whether exceptions should be thrown. See also . - - A value of true if exception should be thrown; otherwise, false. - By default exceptions are not thrown under any circumstances. - - - - Gets or sets a value indicating whether should be thrown. - - If null then is used. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. After setting this property all - existing loggers will be re-configured, so there is no need to call - manually. - - - - - Gets or sets the global log level threshold. Log events below this threshold are not logged. - - - - - Gets the default culture info to use as . - - - Specific culture info or null to use - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting - unmanaged resources. - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Creates a logger that discards all log messages. - - Null logger instance. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets the logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - The logger with type . - Type of the logger - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The type of the logger to create. The type must inherit from - The logger of type . - This is a slow-running method. Make sure you are not calling this method in a - loop. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - Name of the logger. - Type of the logger - The logger reference with type . Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The type of the logger to create. The type must inherit from . - The logger of type . Multiple calls to GetLogger with the - same argument aren't guaranteed to return the same logger reference. - - - - Loops through all loggers previously returned by GetLogger and recalculates their - target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time - will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flushes any pending log messages on all appenders. - - Config containing Targets to Flush - Flush completed notification (success / timeout) - Optional timeout that guarantees that completed notication is called. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Returns if logging is currently enabled. - - A value of if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Raises the event when the configuration is reloaded. - - Event arguments. - - - - Currently this is disposing? - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; - false to release only unmanaged resources. - - - - Dispose all targets, and shutdown logging. - - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Logger cache key. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Determines if two objects are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Determines if two objects of the same type are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Logger cache. - - - - - Inserts or updates. - - - - - - - Internal for unit tests - - - - - Enables logging in implementation. - - - - - Initializes a new instance of the class. - - The factory. - - - - Enables logging. - - - - - Logging methods which only are executed when the DEBUG conditional compilation symbol is set. - - Remarks: - The DEBUG conditional compilation symbol is default enabled (only) in a debug build. - - If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods. - This could lead to better performance. - - See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx - - - Provides logging interface and utility functions. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Initializes a new instance of the class. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Collection of context properties for the Logger. The logger will append it for all log events - - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Creates new logger that automatically appends the specified property to all log events (without changing current logger) - - Property Name - Property Value - New Logger object that automatically appends specified property - - - - Updates the specified context property for the current logger. The logger will append it for all log events. - - It could be rendered with ${event-properties:YOURNAME} - - With property, all properties could be changed. - - - Will affect all locations/contexts that makes use of the same named logger object. - - Property Name - Property Value - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Raises the event when the logger is reconfigured. - - Event arguments - - - - Implementation of logging engine. - - - - - Gets the filter result. - - The filter chain. - The log event. - default result if there are no filters, or none of the filters decides. - The result of the filter. - - - - Defines available log levels. - - - - - Trace log level. - - - - - Debug log level. - - - - - Info log level. - - - - - Warn log level. - - - - - Error log level. - - - - - Fatal log level. - - - - - Off log level. - - - - - Gets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - - - - - Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) - i.e LogLevel.Off is excluded. - - - - - Initializes a new instance of . - - The log level name. - The log level ordinal number. - - - - Gets the name of the log level. - - - - - Gets the ordinal of the log level. - - - - - Compares two objects - and returns a value indicating whether - the first one is equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal == level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is not equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal != level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than the second one. - - The first level. - The second level. - The value of level1.Ordinal > level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal >= level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than the second one. - - The first level. - The second level. - The value of level1.Ordinal < level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal <= level2.Ordinal. - - - - Gets the that corresponds to the specified ordinal. - - The ordinal. - The instance. For 0 it returns , 1 gives and so on. - - - - Returns the that corresponds to the supplied . - - The textual representation of the log level. - The enumeration value. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Determines whether the specified instance is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Compares the level to the other object. - - - The object object. - - - A value less than zero when this logger's is - less than the other logger's ordinal, 0 when they are equal and - greater than zero when this ordinal is greater than the - other ordinal. - - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Delegate used to set/get the culture in use. - - This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the instance used in the . - - Could be used to pass the to other methods - - - - Occurs when logging changes. - - - - - Gets or sets a value indicating whether NLog should throw exceptions. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether should be thrown. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. - - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Gets or sets the global log threshold. Log events below this threshold are not logged. - - - - - Gets or sets the default culture to use. - - This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Adds the given assembly which will be skipped - when NLog is trying to find the calling method on stack trace. - - The assembly to skip. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The logger class. This class must inherit from . - The logger of type . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates a logger that discards all log messages. - - Null logger which discards all log messages. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - - - - Gets the specified named custom logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The logger class. This class must inherit from . - The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - The generic way for this method is - - - - Loops through all loggers previously returned by GetLogger. - and recalculates their target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Checks if logging is currently enabled. - - if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Dispose all targets, and shutdown logging. - - - - - Generates a formatted message from the log event - - Log event. - Formatted message - - - - Returns a log message. Used to defer calculation of - the log message until it's actually needed. - - Log message. - - - - Service contract for Log Receiver client. - - This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Client of ILogReceiverServer - - - - - Occurs when the log message processing has completed. - - - - - Occurs when Open operation has completed. - - - - - Occurs when Close operation has completed. - - - - - Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication. - - - - - Gets the underlying implementation. - - - - - Gets the target endpoint for the service to which the WCF client can connect. - - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Closes the client asynchronously. - - User-specific state. - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Gets or sets the cookie container. - - The cookie container. - - - - Internal configuration of Log Receiver Service contracts. - - - - - Wire format for NLog Event. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the client-generated identifier of the event. - - - - - Gets or sets the ordinal of the log level. - - - - - Gets or sets the logger ordinal (index into . - - The logger ordinal. - - - - Gets or sets the time delta (in ticks) between the time of the event and base time. - - - - - Gets or sets the message string index. - - - - - Gets or sets the collection of layout values. - - - - - Gets the collection of indexes into array for each layout value. - - - - - Converts the to . - - The object this is part of.. - The logger name prefix to prepend in front of the logger name. - Converted . - - - - Wire format for NLog event package. - - - - - Gets or sets the name of the client. - - The name of the client. - - - - Gets or sets the base time (UTC ticks) for all events in the package. - - The base time UTC. - - - - Gets or sets the collection of layout names which are shared among all events. - - The layout names. - - - - Gets or sets the collection of logger names. - - The logger names. - - - - Gets or sets the list of events. - - The events. - - - - Converts the events to sequence of objects suitable for routing through NLog. - - The logger name prefix to prepend in front of each logger name. - - Sequence of objects. - - - - - Converts the events to sequence of objects suitable for routing through NLog. - - - Sequence of objects. - - - - - List of strings annotated for more terse serialization. - - - - - Initializes a new instance of the class. - - - - - Log Receiver Client using WCF. - - - This class marked as obsolete before NLog 4.3.11 and it will be removed in a future release. - - It provides an implementation of the legacy interface and it will be completely obsolete when the - ILogReceiverClient is removed. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Returns a new channel from the client to the service. - - - A channel of type that identifies the type - of service contract encapsulated by this client object (proxy). - - - - - Log Receiver Client facade. It allows the use either of the one way or two way - service contract using WCF through its unified interface. - - - Delegating methods are generated with Resharper. - 1. change ProxiedClient to private field (instead of public property) - 2. delegate members - 3. change ProxiedClient back to public property. - - - - - - The client getting proxied - - - - - Do we use one-way or two-way messaging? - - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - The binding. - The remote address. - - - - Causes a communication object to transition immediately from its current state into the closed state. - - - - - Begins an asynchronous operation to close a communication object. - - - The that references the asynchronous close operation. - - The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The default timeout elapsed before the was able to close gracefully. - - - - Begins an asynchronous operation to close a communication object with a specified timeout. - - - The that references the asynchronous close operation. - - The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The specified timeout elapsed before the was able to close gracefully. - - - - Begins an asynchronous operation to open a communication object. - - - The that references the asynchronous open operation. - - The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. - - - - Begins an asynchronous operation to open a communication object within a specified interval of time. - - - The that references the asynchronous open operation. - - The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication. - - - - - Causes a communication object to transition from its current state into the closed state. - - The that specifies how long the send operation has to complete before timing out. was called on an object in the state.The timeout elapsed before the was able to close gracefully. - - - - Causes a communication object to transition from its current state into the closed state. - - was called on an object in the state.The default close timeout elapsed before the was able to close gracefully. - - - - Closes the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Occurs when Close operation has completed. - - - - - Occurs when the communication object completes its transition from the closing state into the closed state. - - - - - Occurs when the communication object first enters the closing state. - - - - - Gets or sets the cookie container. - - The cookie container. - - - - Completes an asynchronous operation to close a communication object. - - The that is returned by a call to the method. was called on an object in the state.The timeout elapsed before the was able to close gracefully. - - - - Completes an asynchronous operation to open a communication object. - - The that is returned by a call to the method.The was unable to be opened and has entered the state.The timeout elapsed before the was able to enter the state and has entered the state. - - - - Gets the target endpoint for the service to which the WCF client can connect. - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Occurs when the communication object first enters the faulted state. - - - - - Gets the underlying implementation. - - - - - Causes a communication object to transition from the created state into the opened state. - - The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. - - - - Causes a communication object to transition from the created state into the opened state within a specified interval of time. - - The that specifies how long the send operation has to complete before timing out.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Occurs when Open operation has completed. - - - - - Occurs when the communication object completes its transition from the opening state into the opened state. - - - - - Occurs when the communication object first enters the opening state. - - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Occurs when the log message processing has completed. - - - - - Gets the current state of the communication-oriented object. - - - The value of the of the object. - - - - - Causes a communication object to transition from its current state into the closed state. - - - - - Abstract base class for the WcfLogReceiverXXXWay classes. It can only be - used internally (see internal constructor). It passes off any Channel usage - to the inheriting class. - - Type of the WCF service. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Occurs when the log message processing has completed. - - - - - Occurs when Open operation has completed. - - - - - Occurs when Close operation has completed. - - - - - Gets or sets the cookie container. - - The cookie container. - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Closes the client asynchronously. - - - - - Closes the client asynchronously. - - User-specific state. - - - - Processes the log messages asynchronously. - - The events to send. - - - - Processes the log messages asynchronously. - - The events to send. - User-specific state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Log Receiver Client using WCF. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Returns a new channel from the client to the service. - - - A channel of type that identifies the type - of service contract encapsulated by this client object (proxy). - - - - - Log Receiver Client using WCF. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - The binding. - The remote address. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Returns a new channel from the client to the service. - - - A channel of type that identifies the type - of service contract encapsulated by this client object (proxy). - - - - - Mapped Diagnostics Context - a thread-local structure that keeps a dictionary - of strings and provides methods to output them in layouts. - - - - - Gets the thread-local dictionary - - Must be true for any subsequent dictionary modification operation - - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The to use when converting a value to a . - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Returns all item names - - A set of the names of all items in current thread-MDC. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified exists in current thread MDC. - - - - Removes the specified from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mapped Diagnostics Context - - This class marked as obsolete before NLog 2.0 and it may be removed in a future release. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified item exists in current thread MDC. - - - - Removes the specified item from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mark a parameter of a method for message templating - - - - - Specifies which parameter of an annotated method should be treated as message-template-string - - - - - The name of the parameter that should be as treated as message-template-string - - - - - The type of the captured hole - - - - - Not decided - - - - - normal {x} - - - - - Serialize operator {@x} (aka destructure) - - - - - stringification operator {$x} - - - - - A hole that will be replaced with a value - - - - - Constructor - - - - Parameter name sent to structured loggers. - This is everything between "{" and the first of ",:}". - Including surrounding spaces and names that are numbers. - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - Type - - - - When the template is positional, this is the parsed name of this parameter. - For named templates, the value of Index is undefined. - - - Alignment to render the parameter, by default 0. - This is the parsed value between "," and the first of ":}" - - - - A fixed value - - - - Number of characters from the original template to copy at the current position. - This can be 0 when the template starts with a hole or when there are multiple consecutive holes. - - - Number of characters to skip in the original template at the current position. - 0 is a special value that mean: 1 escaped char, no hole. It can also happen last when the template ends with a literal. - - - - Combines Literal and Hole - - - - Literal - - - Hole - Uninitialized when = 0. - - - - Description of a single parameter extracted from a MessageTemplate - - - - - Parameter Name extracted from - This is everything between "{" and the first of ",:}". - - - - - Parameter Value extracted from the -array - - - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - - Parameter method that should be used to render the parameter - See also - - - - - Returns index for , when - - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - Parameter CaptureType - - - - Parameters extracted from parsing as MessageTemplate - - - - - - - - - - - Gets the parameters at the given index - - - - - Number of parameters - - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Indicates whether the template was parsed successful, and there are no unmatched parameters - - - - - Constructor for parsing the message template with parameters - - including any parameter placeholders - All - - - - Constructor for named parameters that already has been parsed - - - - - Create MessageTemplateParameter from - - - - - A message template - - - - The original template string. - This is the key passed to structured targets. - - - The list of literal parts, useful for string rendering. - It indicates the number of characters from the original string to print, - then there's a hole with how many chars to skip. - - "Hello {firstName} {lastName}!" - ------------------------------------- - ║P |S ║P|S ║P|S║ - ║6 |11 ║1|10 ║1|0║ - ║Hello |{firstName}║ |{lastName}║!║ - - "{x} * 2 = {2x}" - -------------------- - ║P|S ║P |S ║ - ║0|3 ║7 |4 ║ - ║{x}║ * 2 = |{2x}║ - - The tricky part is escaped braces. They are represented by a skip = 0, - which is interpreted as "move one char forward, no hole". - - "Escaped }} is fun." - ---------------------- - ║P |S║P |S║ - ║9 |0║8 |0║ - ║Escaped }|}║ is fun.|║ - - - - This list of holes. It's used both to fill the string rendering - and to send values along the template to structured targets. - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Create a template, which is already parsed - - - - - - - - - Create a template, which is already parsed - - - - - - - - This is for testing only: recreates from the parsed data. - - - - This is for testing only: rebuilds the hole - - Add to this string builder - ref for performance - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Gets the current literal/hole in the template - - - - - Clears the enumerator - - - - - Restarts the enumerator of the template - - - - - Moves to the next literal/hole in the template - - Found new element [true/false] - - - - Parse format after hole name/index. Handle the escaped { and } in the format. Don't read the last } - - - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Error when parsing a template. - - - - - Current index when the error occurred. - - - - - The template we were parsing - - - - - New exception - - The message to be shown. - Current index when the error occurred. - - - - - Render templates - - - - - Render a template to a string. - - The template. - Culture. - Parameters for the holes. - Do not fallback to StringBuilder.Format for positional templates. - The String Builder destination. - Parameters for the holes. - - - - Render a template to a string. - - The template. - The String Builder destination. - Culture. - Parameters for the holes. - Rendered template, never null. - - - - Convert Render or serialize a value, with optionally backwards-compatible with - - - - Singleton - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Format an object to a readable string, or if it's an object, serialize - - The value to convert - - - - - - - - Try serializing a scalar (string, int, NULL) or simple type (IFormattable) - - - - - Serialize Dictionary as JSON like structure, without { and } - - - "FirstOrder"=true, "Previous login"=20-12-2017 14:55:32, "number of tries"=1 - - - formatstring of an item - - - - - - - - - Convert a value to a string with format and append to . - - The value to convert. - Format sting for the value. - Format provider for the value. - Append to this - - - - Nested Diagnostics Context - - This class marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top object off the NDC stack. The object is removed from the stack. - - The top object from the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all objects on the NDC stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Nested Diagnostics Context - a thread-local structure that keeps a stack - of strings and provides methods to output them in layouts - - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object at the top of the NDC stack if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified object on current thread NDC. - - The object to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top message from the NDC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top object off the NDC stack. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Peeks the first object on the NDC stack - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. - - Array of objects on the stack. - - - - Resets the stack to the original count during . - - - - - Initializes a new instance of the class. - - The stack. - The previous count. - - - - Reverts the stack to original item count. - - - - - Exception thrown during NLog configuration. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The inner exception. - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Exception thrown during log event processing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - It works as a normal but it discards all messages which an application requests - to be logged. - - It effectively implements the "Null Object" pattern for objects. - - - - - Initializes a new instance of . - - The factory class to be used for the creation of this logger. - - - - Extension methods to setup LogFactory options - - - - - Gets the logger with the full name of the current class, so namespace and class name. - - - - - Gets the specified named logger. - - - - - Configures loading of NLog extensions for Targets and LayoutRenderers - - - - - Configures the output of NLog for diagnostics / troubleshooting - - - - - Configures serialization and transformation of LogEvents - - - - - Loads NLog config created by the method - - - - - Loads NLog config provided in - - - - - Loads NLog config from filename if provided, else fallback to scanning for NLog.config - - - - - Loads NLog config from XML in - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Enable/disables autoloading of NLog extensions by scanning and loading available assemblies - - - Enabled by default, and gives a huge performance hit during startup. Recommended to disable this when running in the cloud. - - - - - Registers NLog extensions from the assembly. - - - - - Registers NLog extensions from the assembly type name - - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - MethodInfo extracted by reflection - typeof(MyClass).GetMethod("MyFunc", BindingFlags.Static). - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Extension methods to setup NLog options - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Overrides the active with a new custom implementation - - - - - Overrides the active with a new custom implementation - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Specifies the way archive numbering is performed. - - - - - Sequence style numbering. The most recent archive has the highest number. - - - - - Rolling style numbering (the most recent is always #0 then #1, ..., #N. - - - - - Date style numbering. Archives will be stamped with the prior period - (Year, Month, Day, Hour, Minute) datetime. - - - - - Date and sequence style numbering. - Archives will be stamped with the prior period (Year, Month, Day) datetime. - The most recent archive has the highest number (in combination with the date). - - - - - Abstract Target with async Task support - - - - - How many milliseconds to delay the actual write operation to optimize for batching - - - - - How many seconds a Task is allowed to run before it is cancelled. - - - - - How many attempts to retry the same Task, before it is aborted - - - - - How many milliseconds to wait before next retry (will double with each retry) - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Task Scheduler used for processing async Tasks - - - - - Constructor - - - - - Initializes the internal queue for pending logevents - - - - - Override this to create the actual logging task - - Example of how to override this method, and call custom async method - - protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) - { - return CustomWriteAsync(logEvent, token); - } - - private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) - { - await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); - } - - - The log event. - The cancellation token - - - - - Override this to create the actual logging task for handling batch of logevents - - A batch of logevents. - The cancellation token - - - - - Handle cleanup after failed write operation - - Exception from previous failed Task - The cancellation token - Number of retries remaining - Time to sleep before retrying - Should attempt retry - - - - Schedules the LogEventInfo for async writing - - The log event. - - - - Write to queue without locking - - - - - - Schedules notification of when all messages has been written - - - - - - Closes Target by updating CancellationToken - - - - - Releases any managed resources - - - - - - Checks the internal queue for the next to create a new task for - - Used for race-condition validation between task-completion and timeout - Signals whether previousTask completed an almost full BatchSize - - - - Generates recursive task-chain to perform retry of writing logevents with increasing retry-delay - - - - - Creates new task to handle the writing of the input - - LogEvents to write - New Task created [true / false] - - - - Handles that scheduled task has completed (successfully or failed), and starts the next pending task - - Task just completed - AsyncContinuation to notify of success or failure - - - - Timer method, that is fired when pending task fails to complete within timeout - - - - - - Sends log messages to the remote instance of Chainsaw application from log4j. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a name. - - Name of the target. - - - - Writes log messages to the console. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default. In multi threaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. - - - - - - Gets or sets a value indicating whether to auto-check if the console is available - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Gets or sets whether to enable batch writing using char[]-buffers, instead of using - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified logging event to the Console.Out or - Console.Error depending on the value of the Error flag. - - The logging event. - - Note that the Error option is not supported on .NET Compact Framework. - - - - - - - - Write to output - - - - - A descriptor for an archive created with the DateAndSequence numbering mode. - - - - - The full name of the archive file. - - - - - The parsed date contained in the file name. - - - - - The parsed sequence number contained in the file name. - - - - - Determines whether produces the same string as the current instance's date once formatted with the current instance's date format. - - The date to compare the current object's date to. - True if the formatted dates are equal, otherwise False. - - - - Initializes a new instance of the class. - - - - - Writes log messages to the attached managed debugger. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the attached debugger. - - The logging event. - - - - Mock target - useful for testing. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the number of times this target has been called. - - - - - - Gets the last message rendered by this target. - - - - - - Increases the number of messages. - - The logging event. - - - - Default class for serialization of values to JSON format. - - - - - Singleton instance of the serializer. - - - - - Private. Use - - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - Serialized value. - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - serialisation options - Serialized value. - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - The objects in path (Avoid cyclic reference loop). - The current depth (level) of recursion. - Object serialized successfully (true/false). - - - - No quotes needed for this type? - - - - - Checks the object if it is numeric - - TypeCode for the object - Accept fractional types as numeric type. - - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - all options - JSON escaped string - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - Should non-ascii characters be encoded - - JSON escaped string - - - - Check if cleanup should be performed on initialize new file - - Skip cleanup when initializing new file, just after having performed archive operation - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Characters determining the start of the . - - - - - Characters determining the end of the . - - - - - File name which is used as template for matching and replacements. - It is expected to contain a pattern to match. - - - - - The begging position of the - within the . -1 is returned - when no pattern can be found. - - - - - The ending position of the - within the . -1 is returned - when no pattern can be found. - - - - - Replace the pattern with the specified String. - - - - - - - Archives the log-files using a date style numbering. Archives will be stamped with the - prior period (Year, Month, Day, Hour, Minute) datetime. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Archives the log-files using a date and sequence style numbering. Archives will be stamped - with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in - combination with the date). - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Parse filename with date and sequence pattern - - - dateformat for archive - - the found pattern. When failed, then default - the found pattern. When failed, then default - - - - - Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes - duplicate archive filenames, then sequence-style is automatically enforced. - - Example: - Base Filename trace.log - Next Filename trace.0.log - - The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern. - Before called the original IFileArchiveMode, that has been wrapped by this - - - - - Determines if the file name as contains a numeric pattern i.e. {#} in it. - - Example: - trace{#}.log Contains the numeric pattern. - trace{###}.log Contains the numeric pattern. - trace{#X#}.log Contains the numeric pattern (See remarks). - trace.log Does not contain the pattern. - - Occasionally, this method can identify the existence of the {#} pattern incorrectly. - File name to be checked. - when the pattern is found; otherwise. - - - - Archives the log-files using a rolling style numbering (the most recent is always #0 then - #1, ..., #N. - - When the number of archive files exceed the obsolete archives - are deleted. - - - - - Replaces the numeric pattern i.e. {#} in a file name with the parameter value. - - File name which contains the numeric pattern. - Value which will replace the numeric pattern. - File name with the value of in the position of the numeric pattern. - - - - Archives the log-files using a sequence style numbering. The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Modes of archiving files based on time. - - - - - Don't archive based on time. - - - - - AddToArchive every year. - - - - - AddToArchive every month. - - - - - AddToArchive daily. - - - - - AddToArchive every hour. - - - - - AddToArchive every minute. - - - - - AddToArchive every Sunday. - - - - - AddToArchive every Monday. - - - - - AddToArchive every Tuesday. - - - - - AddToArchive every Wednesday. - - - - - AddToArchive every Thursday. - - - - - AddToArchive every Friday. - - - - - AddToArchive every Saturday. - - - - - Type of filepath - - - - - Detect of relative or absolute - - - - - Relative path - - - - - Absolute path - - Best for performance - - - - Writes log messages to one or more files. - - Documentation on NLog Wiki - - - - Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list. - - Clean up period is defined in days. - - - - The maximum number of initialized files before clean up procedures are initiated, - to keep the number of initialized files to a minimum. Chose 25 to cater for monthly rolling of log-files. - - - - - This value disables file archiving based on the size. - - - - - Holds the initialized files each given time by the instance. Against each file, the last write time is stored. - - Last write time is store in local time (no UTC). - - - - List of the associated file appenders with the instance. - - - - - The number of initialized files at any one time. - - - - - The maximum number of archive files that should be kept. - - - - - The maximum days of archive files that should be kept. - - - - - The filename as target - - - - - The archive file name as target - - - - - The date of the previous log event. - - - - - The file name of the previous log event. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the name of the file to write to. - - - This FileName string is a layout which may include instances of layout renderers. - This lets you use a single target to write to multiple files. - - - The following value makes NLog write logging events to files based on the log level in the directory where - the application runs. - ${basedir}/${level}.log - All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on. - You can combine as many of the layout renderers as you want to produce an arbitrary log file name. - - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. - If set to false, nothing gets written when the filename is wrong. - - - - - - Is the an absolute or relative path? - - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - - Gets or sets a value indicating whether to delete old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - - - - - - Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end. - - - - - - Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event. - - - Setting this property to True helps improve performance. - - - - - - Gets or sets the maximum number of log file names that should be stored as existing. - - - The bigger this number is the longer it will take to write each log record. The smaller the number is - the higher the chance that the clean function will be run when no new files have been opened. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - - Gets or sets the line ending mode. - - - - - - Gets or sets a value indicating whether to automatically flush the file buffers after each log message. - - - - - - Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance - in a situation where a single File target is writing to many files - (such as splitting by level or by logger). - - - The files are managed on a LRU (least recently used) basis, which flushes - the files that have not been used for the longest period of time should the - cache become full. As a rule of thumb, you shouldn't set this parameter to - a very high value. A number like 10-15 shouldn't be exceeded, because you'd - be keeping a large number of files open which consumes system resources. - - - - - - Gets or sets the maximum number of seconds that files are kept open. If this number is negative the files are - not automatically closed after a period of inactivity. - - - - - - Gets or sets the maximum number of seconds before open files are flushed. If this number is negative or zero - the files are not flushed by timer. - - - - - - Gets or sets the log file buffer size in bytes. - - - - - - Gets or sets the file encoding. - - - - - - Gets or sets whether or not this target should just discard all data that its asked to write. - Mostly used for when testing NLog Stack except final write - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts. - - - This effectively prevents files from being kept open. - - - - - - Gets or sets a value indicating whether to write BOM (byte order mark) in created files - - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - The actual delay is a random value between 0 and the value specified - in this parameter. On each failed attempt the delay base is doubled - up to times. - - - Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:

- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...

- and so on. - - - - -

- Gets or sets a value indicating whether to archive old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - After archiving the old file, the current log file will be empty. - - -
- - - Gets or sets a value of the file size threshold to archive old log file on startup. - - - This option won't work if is set to false - Default value is 0 which means that the file is archived as soon as archival on - startup is enabled. - - - - - - Gets or sets a value specifying the date format to use when archiving files. - - - This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence. - - - - - - Gets or sets the size in bytes above which log files will be automatically archived. - - Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. - Choose: - - - Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. - - - - - - Gets or sets a value indicating whether to automatically archive log files every time the specified time passes. - - - Files are moved to the archive as part of the write operation if the current period of time changes. For example - if the current hour changes from 10 to 11, the first write that will occur - on or after 11:00 will trigger the archiving. -

- Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. -

-
- -
- - - Is the an absolute or relative path? - - - - - - Gets or sets the name of the file to be used for an archive. - - - It may contain a special placeholder {#####} - that will be replaced with a sequence of numbers depending on - the archiving strategy. The number of hash characters used determines - the number of numerical digits to be used for numbering files. - - - - - - Gets or sets the maximum number of archive files that should be kept. - - - - - - Gets or sets the maximum days of archive files that should be kept. - - - - - - Gets or sets the way file archives are numbered. - - - - - - Used to compress log files during archiving. - This may be used to provide your own implementation of a zip file compressor, - on platforms other than .Net4.5. - Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise. - - - - - - Gets or sets a value indicating whether to compress archive files into the zip archive format. - - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - - Gets or sets a value indicating whether the footer should be written only when the file is archived. - - - - - - Gets the characters that are appended after each line. - - - - - Refresh the ArchiveFilePatternToWatch option of the . - The log file must be watched for archiving when multiple processes are writing to the same - open file. - - - - - Removes records of initialized files that have not been - accessed in the last two days. - - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Removes records of initialized files that have not been - accessed after the specified date. - - The cleanup threshold. - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Flushes all pending file operations. - - The asynchronous continuation. - - The timeout parameter is ignored, because file APIs don't provide - the needed functionality. - - - - - Returns the suitable appender factory ( ) to be used to generate the file - appenders associated with the instance. - - The type of the file appender factory returned depends on the values of various properties. - - suitable for this instance. - - - - Initializes file logging by creating data structures that - enable efficient multi-file logging. - - - - - Closes the file(s) opened for writing. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Writes the specified logging event to a file specified in the FileName - parameter. - - The logging event. - - - - Get full filename (=absolute) and cleaned if needed. - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes the specified array of logging events to a file specified in the FileName - parameter. - - An array of objects. - - This function makes use of the fact that the events are batched by sorting - the requests by filename. This optimizes the number of open/close calls - and can help improve performance. - - - - - Returns estimated size for memory stream, based on events count and first event size in bytes. - - Count of events - Bytes count of first event - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Gets the bytes to be written to the file. - - Log event. - Array of bytes that are ready to be written. - - - - Modifies the specified byte array before it gets sent to a file. - - The byte array. - The modified byte array. The function can do the modification in-place. - - - - Gets the bytes to be written to the file. - - The log event to be formatted. - to help format log event. - Optional temporary char-array to help format log event. - Destination for the encoded result. - - - - Formats the log event for write. - - The log event to be formatted. - for the result. - - - - Modifies the specified byte array before it gets sent to a file. - - The LogEvent being written - The byte array. - - - - Archives fileName to archiveFileName. - - File name to be archived. - Name of the archive file. - - - - Gets the correct formatting to be used based on the value of for converting values which will be inserting into file - names during archiving. - - This value will be computed only when a empty value or is passed into - - Date format to used irrespectively of value. - Formatting for dates. - - - - Calculate the DateTime of the requested day of the week. - - The DateTime of the previous log event. - The next occuring day of the week to return a DateTime for. - The DateTime of the next occuring dayOfWeek. - For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return - Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. - - - - Invokes the archiving process after determining when and which type of archiving is required. - - File name to be checked and archived. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - - - - Gets the pattern that archive files will match - - Filename of the log file - Log event that the instance is currently processing. - A string with a pattern that will match the archive file names - - - - Archives the file if it should be archived. - - The file name to check for. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - True when archive operation of the file was completed (by this target or a concurrent target) - - - - Closes any active file-appenders that matches the input filenames. - File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive - - - - - Indicates if the automatic archiving process should be executed. - - File name to be written. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Returns the correct filename to archive - - - - - Gets the file name for archiving, or null if archiving should not occur based on file size. - - File name to be written. - The size in bytes of the next chunk of data to be written in the file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists - - - - - Returns the file name for archiving, or null if archiving should not occur based on date/time. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - - High resolution Time - Time Resolution Level - Truncated Low Resolution Time - - - - Evaluates which parts of a file should be written (header, content, footer) based on various properties of - instance and writes them. - - File name to be written. - Raw sequence of to be written into the content part of the file. - File has just been opened. - - - - Initialise a file to be used by the instance. Based on the number of initialized - files and the values of various instance properties clean up and/or archiving processes can be invoked. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file (DateTime.MinValue if just initialized). - - - - Writes the file footer and finalizes the file in instance internal structures. - - File name to close. - Indicates if the file is being finalized for archiving. - - - - Writes the footer information to a file. - - The file path to write to. - - - - Decision logic whether to archive logfile on startup. - and properties. - - File name to be written. - Decision whether to archive or not. - - - - Invokes the archiving and clean up of older archive file based on the values of - and - properties respectively. - - File name to be written. - Log event that the instance is currently processing. - - - - Creates the file specified in and writes the file content in each entirety i.e. - Header, Content and Footer. - - The name of the file to be written. - Sequence of to be written in the content section of the file. - First attempt to write? - This method is used when the content of the log file is re-written on every write. - - - - Writes the header information and byte order mark to a file. - - File appender associated with the file. - - - - The sequence of to be written in a file after applying any formatting and any - transformations required from the . - - The layout used to render output message. - Sequence of to be written. - Usually it is used to render the header and hooter of the files. - - - - Check if cleanup should be performed on initialize new file - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Create a wildcard file-mask that allows one to find all files belonging to the same archive. - - Base archive file pattern - Wildcard file-mask - - - - Search directory for all existing files that are part of the same archive. - - Base archive file pattern - - - - - Generate the next archive filename for the archive. - - Base archive file pattern - File date of archive - Existing files in the same archive - - - - - Return all files that should be removed from the provided archive. - - Base archive file pattern - Existing files in the same archive - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - - - - may be configured to compress archived files in a custom way - by setting before logging your first event. - - - - - Create archiveFileName by compressing fileName. - - Absolute path to the log file to compress. - Absolute path to the compressed archive file to create. - - - - Interface for serialization of values, maybe even objects to JSON format. - Useful for wrappers for existing serializers. - - - - - Returns a serialization of an object - into JSON format. - - The object to serialize to JSON. - Serialized value (null = Serialize failed). - - - - Options for JSON serialisation - - - - - Add quotes around object keys? - - - - - Format provider for value - - - - - Format string for value - - - - - Should non-ascii characters be encoded - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - - - Serialize enum as string value - - - - - Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_). - - Any other characters will be converted to underscore character (_) - - - - - How far down the rabbit hole should the Json Serializer go with object-reflection before stopping - - - - Initializes a new instance of the class. - - - - Line ending mode. - - - - - Insert platform-dependent end-of-line sequence after each line. - - - - - Insert CR LF sequence (ASCII 13, ASCII 10) after each line. - - - - - Insert CR character (ASCII 13) after each line. - - - - - Insert LF character (ASCII 10) after each line. - - - - - Insert null terminator (ASCII 0) after each line. - - - - - Do not insert any line ending. - - - - - Gets the name of the LineEndingMode instance. - - - - - Gets the new line characters (value) of the LineEndingMode instance. - - - - - Initializes a new instance of . - - The mode name. - The new line characters to be used. - - - - Returns the that corresponds to the supplied . - - - The textual representation of the line ending mode, such as CRLF, LF, Default etc. - Name is not case sensitive. - - The value, that corresponds to the . - There is no line ending mode with the specified name. - - - - Compares two objects and returns a - value indicating whether the first one is equal to the second one. - - The first level. - The second level. - The value of mode1.NewLineCharacters == mode2.NewLineCharacters. - - - - Compares two objects and returns a - value indicating whether the first one is not equal to the second one. - - The first mode - The second mode - The value of mode1.NewLineCharacters != mode2.NewLineCharacters. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms - and data structures like a hash table. - - - - - Determines whether the specified is - equal to this instance. - - The to compare with - this instance. - - Value of true if the specified - is equal to this instance; otherwise, false. - - - The parameter is null. - - - - Indicates whether the current object is equal to another object of the same type. - true if the current object is equal to the parameter; otherwise, false. - An object to compare with this object. - - - - Provides a type converter to convert objects to and from other representations. - - - - - Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context. - - - true if this converter can perform the conversion; otherwise, false. - - An that provides a format context. A that represents the type you want to convert from. - - - - Converts the given object to the type of this converter, using the specified context and culture information. - - - An that represents the converted value. - - An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed. - - - - Sends log messages to a NLog Receiver Service (using WCF or Web Services). - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets the endpoint address. - - The endpoint address. - - - - - Gets or sets the name of the endpoint configuration in WCF configuration file. - - The name of the endpoint configuration. - - - - - Gets or sets a value indicating whether to use binary message encoding. - - - - - - Gets or sets a value indicating whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply) - - - - - - Gets or sets the client ID. - - The client ID. - - - - - Gets the list of parameters. - - The parameters. - - - - - Gets or sets a value indicating whether to include per-event properties in the payload sent to the server. - - - - - - Called when log events are being sent (test hook). - - The events. - The async continuations. - True if events should be sent, false to stop processing them. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Append" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Add value to the , returns ordinal in - - - lookup so only unique items will be added to - value to add - - - - - Creating a new instance of WcfLogReceiverClient - - Inheritors can override this method and provide their own - service configuration - binding and endpoint address - - This method marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creating a new instance of IWcfLogReceiverClient - - Inheritors can override this method and provide their own - service configuration - binding and endpoint address - - - virtual is used by end users - - - - Writes log messages to in memory for programmatic retrieval. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the list of logs gathered in the . - - - - - Gets or sets the max number of items to have in memory - - - - - - Renders the logging event message and adds to - - The logging event. - - - - A parameter to MethodCall. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout to use for parameter value. - - - - Initializes a new instance of the class. - - Name of the parameter. - The layout. - - - - Initializes a new instance of the class. - - The name of the parameter. - The layout. - The type of the parameter. - - - - Gets or sets the name of the parameter. - - - - - - Gets or sets the type of the parameter. Obsolete alias for - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Calls the specified static method on each log message and passes contextual parameters to it. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets the class name. - - - - - - Gets or sets the method name. The method must be public and static. - - Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx - e.g. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - Name of the target. - Method to call on logevent. - - - - Initializes the target. - - - - - Calls the specified Method. - - Method parameters. - The logging event. - - - - Calls the specified Method. - - Method parameters. - - - - The base class for all targets which call methods (local or remote). - Manages parameters and type coercion. - - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - - - - Prepares an array of parameters to be passed based on the logging event and calls DoInvoke(). - - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Sends log messages over the network. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- To print the results, use any application that's able to receive messages over - TCP or UDP. NetCat is - a simple but very powerful command-line tool that can be used for that. This image - demonstrates the NetCat tool receiving log messages from Network target. -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will be very slow. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-

- There are two specialized versions of the Network target: Chainsaw - and NLogViewer which write to instances of Chainsaw log4j viewer - or NLogViewer application respectively. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the network address. - - - The network address can be: -
    -
  • tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
  • -
  • tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
  • -
  • tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
  • -
  • udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • http://host:port/pageName - HTTP using POST verb
  • -
  • https://host:port/pageName - HTTPS using POST verb
  • -
- For SOAP-based webservice support over HTTP use WebService target. -
- -
- - - Gets or sets a value indicating whether to keep connection open whenever possible. - - - - - - Gets or sets a value indicating whether to append newline at the end of log message. - - - - - - Gets or sets the end of line value if a newline is appended at the end of log message . - - - - - - Gets or sets the maximum message size in bytes. - - - - - - Gets or sets the size of the connection cache (number of connections which are kept alive). - - - - - - Gets or sets the maximum current connections. 0 = no maximum. - - - - - - Gets or sets the action that should be taken if the will be more connections than . - - - - - - Gets or sets the maximum queue size. - - - - - - Gets or sets the action that should be taken if the message is larger than - maxMessageSize. - - - - - - Gets or sets the encoding to be used. - - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Sends the - rendered logging event over the network optionally concatenating it with a newline character. - - The logging event. - - - - Try to remove. - - - - - removed something? - - - - Gets the bytes to be written. - - Log event. - Byte array. - - - - The action to be taken when there are more connections then the max. - - - - - Just allow it. - - - - - Discard the connection item. - - - - - Block until there's more room in the queue. - - - - - Action that should be taken if the message overflows. - - - - - Report an error. - - - - - Split the message into smaller pieces. - - - - - Discard the entire message. - - - - - Represents a parameter to a NLogViewer target. - - - - - Initializes a new instance of the class. - - - - - Gets or sets viewer parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - Sends log messages to the remote instance of NLog Viewer. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include stack contents. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the renderer for log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets the layout renderer which produces Log4j-compatible XML events. - - - - - Gets or sets the instance of that is used to format log messages. - - - - - - Discards log messages. Used mainly for debugging and benchmarking. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets a value indicating whether to perform layout calculation. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Does nothing. Optionally it calculates the layout text but - discards the results. - - The logging event. - - - - Outputs log messages through the OutputDebugString() Win32 API. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - - - - Represents logging target. - - - - Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts - - - - The Max StackTraceUsage of all the in this Target - - - - - Gets or sets the name of the target. - - - - - - Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers - Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - - - - Can be used if has been enabled. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - This method won't prerender if all layouts in this target are thread-agnostic. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Writes async log event to the log target. - - Async Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Log event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - NOTE! Obsolete, instead override WriteAsyncThreadSafe(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target, in a thread safe manner. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Renders the event info in layout. - - The layout. - The event info. - String representing log event. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Should the exception be rethrown? - - - Upgrade to private protected when using C# 7.2 - - - - Marks class as a logging target and assigns a name to it. - - This attribute is not required when registering the target in the API. - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page). - - - - - Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page). - - - - - Attribute details for - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Gets or sets when an empty value should cause the property to be included - - - - - Gets or sets the type of the property. - - - - - Represents target that supports context capture using MDLC, MDC, NDLC and NDC - - - - - - - - - - - - - - - - - - - - - - - Gets or sets a value indicating whether to include contents of the dictionary - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the - - - - - - Gets the array of custom attributes to be passed into the logevent context - - - - - - Constructor - - - - - - - - Check if logevent has properties (or context properties) - - - True if properties should be included - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Dictionary with any context properties for the logEvent (Null if none found) - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Optional prefilled dictionary - Dictionary with any context properties for the logEvent (Null if none found) - - - - Creates combined dictionary of all configured properties for logEvent - - - Dictionary with all collected properties for logEvent - - - - Creates combined dictionary of all configured properties for logEvent - - - Optional prefilled dictionary - Dictionary with all collected properties for logEvent - - - - Generates a new unique name, when duplicate names are detected - - LogEvent that triggered the duplicate name - Duplicate item name - Item Value - Dictionary of context values - New (unique) value (or null to skip value). If the same value is used then the item will be overwritten - - - - Returns the captured snapshot of for the - - - Dictionary with MDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with GDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDC key - MDC value - Snapshot of MDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDC value - Snapshot of NDC value - Include object value in snapshot - - - - Take snapshot of a single object value - - Log event - Key Name (null when NDC / NDLC) - Object Value - Snapshot of value - Include object value in snapshot - - - Internal Layout that allows capture of MDC context - - - Internal Layout that allows capture of NDC context - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the layout used to format log messages. - - - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the text to be rendered. - - - - - - Gets or sets the footer. - - - - - - Gets or sets the header. - - - - - - Gets or sets the layout with header and footer. - - The layout with header and footer. - - - - Web service protocol. - - - - - Use SOAP 1.1 Protocol. - - - - - Use SOAP 1.2 Protocol. - - - - - Use HTTP POST Protocol. - - - - - Use HTTP GET Protocol. - - - - - Do an HTTP POST of a JSON document. - - - - - Do an HTTP POST of an XML document. - - - - - Web Service Proxy Configuration Type - - - - - Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy) - - - Example of how to configure default proxy using app.config - - <system.net> - <defaultProxy enabled = "true" useDefaultCredentials = "true" > - <proxy usesystemdefault = "True" /> - </defaultProxy> - </system.net> - - - - - - Automatic use of proxy with authentication (cached) - - - - - Disables use of proxy (fast) - - - - - Custom proxy address (cached) - - - - - Calls the specified web service on each log message. - - Documentation on NLog Wiki - - The web service must implement a method that accepts a number of string parameters. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

The example web service that works with this example is shown below

- -
-
- - - dictionary that maps a concrete implementation - to a specific -value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target - - - - Gets or sets the web service URL. - - - - - - Gets or sets the value of the User-agent HTTP header. - - - - - - Gets or sets the Web service method name. Only used with Soap. - - - - - - Gets or sets the Web service namespace. Only used with Soap. - - - - - - Gets or sets the protocol to be used when calling web service. - - - - - - Gets or sets the custom proxy address, include port separated by a colon - - - - - - Should we include the BOM (Byte-order-mark) for UTF? Influences the property. - - This will only work for UTF-8. - - - - - - Gets or sets the encoding. - - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Gets or sets the name of the root XML element, - if POST of XML document chosen. - If so, this property must not be null. - (see and ). - - - - - - Gets or sets the (optional) root namespace of the XML document, - if POST of XML document chosen. - (see and ). - - - - - - Gets the array of parameters to be passed. - - - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Invokes the web service method. - - Parameters to be passed. - The logging event. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. - - - - - - - Write from input to output. Fix the UTF-8 bom - - - - - - - - - base class for POST formatters, that - implement former PrepareRequest() method, - that creates the content for - the requested kind of HTTP request - - - - - Asynchronous request queue. - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Gets or sets the request limit. - - - - - Gets or sets the action to be taken when there's no more room in - the queue and another request is enqueued. - - - - - Notifies about log event that was dropped when set to - - - - - Notifies when queue size is growing over - - - - - Raise event when queued element was dropped because of queue overflow - - Dropped queue item - - - - Raise event when RequestCount overflow - - current requests count - - - - Provides asynchronous, buffered execution of target writes. - - Documentation on NLog Wiki - -

- Asynchronous target wrapper allows the logger code to execute more quickly, by queueing - messages and processing them in a separate thread. You should wrap targets - that spend a non-trivial amount of time in their Write() method with asynchronous - target to speed up logging. -

-

- Because asynchronous logging is quite a common scenario, NLog supports a - shorthand notation for wrapping all targets with AsyncWrapper. Just add async="true" to - the <targets/> element in the configuration file. -

- - - ... your targets go here ... - - ]]> -
- -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of requests in the queue. - The action to be taken when the queue overflows. - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity) - - - - - - Raise event when Target cannot store LogEvent. - Event arg contains lost LogEvents - - - - - Raises when event queue grow. - Queue can grow when was set to - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the limit of full s to write before yielding into - Performance is better when writing many small batches, than writing a single large batch - - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - - Gets the queue of lazy writer thread requests. - - - - - Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target by starting the lazy writer timer. - - - - - Shuts down the lazy writer timer. - - - - - Starts the lazy writer thread which periodically writes - queued log messages. - - - - - Attempts to start an instant timer-worker-thread which can write - queued log messages. - - Returns true when scheduled a timer-worker-thread - - - - Stops the lazy writer thread. - - - - - Adds the log event to asynchronous queue to be processed by - the lazy writer thread. - - The log event. - - The is called - to ensure that the log event can be processed in another thread. - - - - - Write to queue without locking - - - - - - The action to be taken when the queue overflows. - - - - - Grow the queue. - - - - - Discard the overflowing item. - - - - - Block until there's more room in the queue. - - - - - Causes a flush on a wrapped target if LogEvent satisfies the . - If condition isn't set, flushes on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Gets or sets the condition expression. Log events who meet this condition will cause - a flush on the wrapped target. - - - - - - Delay the flush until the LogEvent has been confirmed as written - - If not explicitly set, then disabled by default for and AsyncTaskTarget - - - - - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - The wrapped target. - Name of the target - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes the target. - - - - - Forwards the call to the .Write() - and calls on it if LogEvent satisfies - the flush condition or condition is null. - - Logging event to be written out. - - - - Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - A target that buffers log events and sends them in batches to the wrapped target. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - The action to take when the buffer overflows. - - - - Gets or sets the number of log events to be buffered. - - - - - - Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed - if there's no write in the specified period of time. Use -1 to disable timed flushes. - - - - - - Gets or sets a value indicating whether to use sliding timeout. - - - This value determines how the inactivity period is determined. If sliding timeout is enabled, - the inactivity timer is reset after each write, if it is disabled - inactivity timer will - count from the first event written to the buffer. - - - - - - Gets or sets the action to take if the buffer overflows. - - - Setting to will replace the - oldest event with new events without sending events down to the wrapped target, and - setting to will flush the - entire buffer to the wrapped target. - - - - - - Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target. - - - - - Closes the target by flushing pending events in the buffer (if any). - - - - - Adds the specified log event to the buffer and flushes - the buffer in case the buffer gets full. - - The log event. - - - - The action to be taken when the buffer overflows. - - - - - Flush the content of the buffer. - - - - - Discard the oldest item. - - - - - A base class for targets which wrap other (multiple) targets - and provide various forms of target routing. - - - - - Initializes a new instance of the class. - - The targets. - - - - Gets the collection of targets managed by this compound target. - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Writes logging event to the log target. - - Logging event to be written out. - - - - Flush any pending log messages for all wrapped targets. - - The asynchronous continuation. - - - - Provides fallback-on-error. - - Documentation on NLog Wiki - -

This example causes the messages to be written to server1, - and if it fails, messages go to server2.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Gets or sets a value indicating whether to return to the first target after any successful write. - - - - - - - - - - - - Forwards the log event to the sub-targets until one of them succeeds. - - The log event. - - The method remembers the last-known-successful target - and starts the iteration from it. - If is set, the method - resets the target to the first target - stored in . - - - - - Filtering rule for . - - - - - Initializes a new instance of the FilteringRule class. - - - - - Initializes a new instance of the FilteringRule class. - - Condition to be tested against all events. - Filter to apply to all log events when the first condition matches any of them. - - - - Gets or sets the condition to be tested. - - - - - - Gets or sets the resulting filter to be applied when the condition matches. - - - - - - Filters log entries based on a condition. - - Documentation on NLog Wiki - -

This example causes the messages not contains the string '1' to be ignored.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The condition. - - - - Initializes a new instance of the class. - - The wrapped target. - The condition. - - - - Gets or sets the condition expression. Log events who meet this condition will be forwarded - to the wrapped target. - - - - - - Gets or sets the filter. Log events who evaluates to will be discarded - - - - - - - - - Checks the condition against the passed log event. - If the condition is met, the log event is forwarded to - the wrapped target. - - Log event. - - - - - - - Limits the number of messages written per timespan to the wrapped target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of messages written per interval. - Interval in which the maximum number of messages can be written. - - - - Gets or sets the maximum allowed number of messages written per . - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets or sets the interval in which messages will be written up to the number of messages. - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets the DateTime when the current will be reset. - - - - - - Gets the number of written in the current . - - - - - - Initializes the target and resets the current Interval and . - - - - - Writes log event to the wrapped target if the current is lower than . - If the is already reached, no log event will be written to the wrapped target. - resets when the current is expired. - - Log event to be written out. - - - - Arguments for events. - - - - - - - - Instance of that was dropped by - - - - - Raises by when - queue is full - and set to - By default queue doubles it size. - - - - - Contains items count and new queue size. - - Required queue size - Current queue size - - - - New queue size - - - - - Current requests count - - - - - Filters buffered log entries based on a set of conditions that are evaluated on a group of events. - - Documentation on NLog Wiki - - PostFilteringWrapper must be used with some type of buffering target or wrapper, such as - AsyncTargetWrapper, BufferingWrapper or ASPNetBufferingWrapper. - - -

- This example works like this. If there are no Warn,Error or Fatal messages in the buffer - only Info messages are written to the file, but if there are any warnings or errors, - the output includes detailed trace (levels >= Debug). You can plug in a different type - of buffering wrapper (such as ASPNetBufferingWrapper) to achieve different - functionality. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Gets or sets the default filter to be applied when no specific rule matches. - - - - - - Gets the collection of filtering rules. The rules are processed top-down - and the first rule that matches determines the filtering condition to - be applied to log events. - - - - - - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Evaluates all filtering rules to find the first one that matches. - The matching rule determines the filtering condition to be applied - to all items in a buffer. If no condition matches, default filter - is applied to the array of log events. - - Array of log events to be post-filtered. - - - - Evaluate all the rules to get the filtering condition - - - - - - - Sends log messages to a randomly selected target. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt - chosen randomly on a per-message basis. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the log event to one of the sub-targets. - The sub-target is randomly chosen. - - The log event. - - - - Repeats each log event the specified number of times. - - Documentation on NLog Wiki - -

This example causes each log message to be repeated 3 times.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The repeat count. - - - - Initializes a new instance of the class. - - The wrapped target. - The repeat count. - - - - Gets or sets the number of times to repeat each log message. - - - - - - Forwards the log message to the by calling the method times. - - The log event. - - - - Retries in case of write error. - - Documentation on NLog Wiki - -

This example causes each write attempt to be repeated 3 times, - sleeping 1 second between attempts if first one fails.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Initializes a new instance of the class. - - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure. - - - - - - Gets or sets the time to wait between retries in milliseconds. - - - - - - Special SyncObject to allow closing down Target while busy retrying - - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Writes the specified log event to the wrapped target in a thread-safe manner. - - The log event. - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Distributes log events to targets in a round-robin fashion. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt. - Each odd message is written to file2.txt, each even message goes to file1.txt. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Ensures forwarding happens without holding lock - - - - - - Forwards the write to one of the targets from - the collection. - - The log event. - - The writes are routed in a round-robin fashion. - The first log event goes to the first target, the second - one goes to the second target and so on looping to the - first target when there are no more targets available. - In general request N goes to Targets[N % Targets.Count]. - - - - - Writes log events to all targets. - - Documentation on NLog Wiki - -

This example causes the messages to be written to both file1.txt or file2.txt -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the specified log event to all sub-targets. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Base class for targets wrap other (single) targets. - - - - - Gets or sets the target that is wrapped by this target. - - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Current local time retrieved directly from DateTime.Now. - - - - - Gets current local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Current UTC time retrieved directly from DateTime.UtcNow. - - - - - Gets current UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Fast time source that updates current time only once per tick (15.6 milliseconds). - - - - - Gets raw uncached time from derived time source. - - - - - Gets current time cached for one system tick (15.6 milliseconds). - - - - - Fast local time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Fast UTC time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Defines source of current time. - - - - - Gets current time. - - - - - Gets or sets current global time source used in all log events. - - - Default time source is . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to the same form - as time values originated from this source. - - - - There are situations when NLog have to compare the time originated from TimeSource - to the time originated externally in the system. - To be able to provide meaningful result of such comparisons the system time must be expressed in - the same form as TimeSource time. - - - Examples: - - If the TimeSource provides time values of local time, it should also convert the provided - to the local time. - - If the TimeSource shifts or skews its time values, it should also apply - the same transform to the given . - - - - - - Marks class as a time source and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the time source. - - - - Define Localizable attribute for platforms that don't have it. - - - - - Initializes a new instance of the class. - - Determines whether the target is localizable. - - - - Gets or sets a value indicating whether the target is localizable. - - -
-
diff --git a/app/packages/NLog.4.7.15/lib/wp8/NLog.dll b/app/packages/NLog.4.7.15/lib/wp8/NLog.dll deleted file mode 100644 index 3cc3a80..0000000 Binary files a/app/packages/NLog.4.7.15/lib/wp8/NLog.dll and /dev/null differ diff --git a/app/packages/NLog.4.7.15/lib/wp8/NLog.xml b/app/packages/NLog.4.7.15/lib/wp8/NLog.xml deleted file mode 100644 index 7a3e0a8..0000000 --- a/app/packages/NLog.4.7.15/lib/wp8/NLog.xml +++ /dev/null @@ -1,21315 +0,0 @@ - - - - NLog - - - - - Indicates that the value of the marked element could be null sometimes, - so the check for null is necessary before its usage. - - - [CanBeNull] object Test() => null; - - void UseTest() { - var p = Test(); - var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' - } - - - - - Indicates that the value of the marked element could never be null. - - - [NotNull] object Foo() { - return null; // Warning: Possible 'null' assignment - } - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can never be null. - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can be null. - - - - - Indicates that the marked method builds string by format pattern and (optional) arguments. - Parameter, which contains format string, should be given in constructor. The format string - should be in -like form. - - - [StringFormatMethod("message")] - void ShowError(string message, params object[] args) { /* do something */ } - - void Foo() { - ShowError("Failed: {0}"); // Warning: Non-existing argument in format string - } - - - - - Specifies which parameter of an annotated method should be treated as format-string - - - - - For a parameter that is expected to be one of the limited set of values. - Specify fields of which type should be used as values for this parameter. - - - - - Indicates that the function argument should be string literal and match one - of the parameters of the caller function. For example, ReSharper annotates - the parameter of . - - - void Foo(string param) { - if (param == null) - throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol - } - - - - - Indicates that the method is contained in a type that implements - System.ComponentModel.INotifyPropertyChanged interface and this method - is used to notify that some property value changed. - - - The method should be non-static and conform to one of the supported signatures: - - NotifyChanged(string) - NotifyChanged(params string[]) - NotifyChanged{T}(Expression{Func{T}}) - NotifyChanged{T,U}(Expression{Func{T,U}}) - SetProperty{T}(ref T, T, string) - - - - public class Foo : INotifyPropertyChanged { - public event PropertyChangedEventHandler PropertyChanged; - - [NotifyPropertyChangedInvocator] - protected virtual void NotifyChanged(string propertyName) { ... } - - string _name; - - public string Name { - get { return _name; } - set { _name = value; NotifyChanged("LastName"); /* Warning */ } - } - } - - Examples of generated notifications: - - NotifyChanged("Property") - NotifyChanged(() => Property) - NotifyChanged((VM x) => x.Property) - SetProperty(ref myField, value, "Property") - - - - - - Describes dependency between method input and output. - - -

Function Definition Table syntax:

- - FDT ::= FDTRow [;FDTRow]* - FDTRow ::= Input => Output | Output <= Input - Input ::= ParameterName: Value [, Input]* - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} - Value ::= true | false | null | notnull | canbenull - - If method has single input parameter, it's name could be omitted.
- Using halt (or void/nothing, which is the same) for method output - means that the methods doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute - with rows separated by semicolon. There is no notion of order rows, all rows are checked - for applicability and applied per each program state tracked by R# analysis.
-
- - - [ContractAnnotation("=> halt")] - public void TerminationMethod() - - - [ContractAnnotation("halt <= condition: false")] - public void Assert(bool condition, string text) // regular assertion method - - - [ContractAnnotation("s:null => true")] - public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() - - - // A method that returns null if the parameter is null, - // and not null if the parameter is not null - [ContractAnnotation("null => null; notnull => notnull")] - public object Transform(object data) - - - [ContractAnnotation("=> true, result: notnull; => false, result: null")] - public bool TryParse(string s, out Person result) - - -
- - - Indicates that marked element should be localized or not. - - - [LocalizationRequiredAttribute(true)] - class Foo { - string str = "my string"; // Warning: Localizable string - } - - - - - Indicates that the value of the marked type (or its derivatives) - cannot be compared using '==' or '!=' operators and Equals() - should be used instead. However, using '==' or '!=' for comparison - with null is always permitted. - - - [CannotApplyEqualityOperator] - class NoEquality { } - - class UsesNoEquality { - void Test() { - var ca1 = new NoEquality(); - var ca2 = new NoEquality(); - if (ca1 != null) { // OK - bool condition = ca1 == ca2; // Warning - } - } - } - - - - - When applied to a target attribute, specifies a requirement for any type marked - with the target attribute to implement or inherit specific type or types. - - - [BaseTypeRequired(typeof(IComponent)] // Specify requirement - class ComponentAttribute : Attribute { } - - [Component] // ComponentAttribute requires implementing IComponent interface - class MyComponent : IComponent { } - - - - - Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), - so this symbol will not be marked as unused (as well as by other usage inspections). - - - - - Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes - as unused (as well as by other usage inspections) - - - - Only entity marked with attribute considered used. - - - Indicates implicit assignment to a member. - - - - Indicates implicit instantiation of a type with fixed constructor signature. - That means any unused constructor parameters won't be reported as such. - - - - Indicates implicit instantiation of a type. - - - - Specify what is considered used implicitly when marked - with or . - - - - Members of entity marked with attribute are considered used. - - - Entity marked with attribute and all its members considered used. - - - - This attribute is intended to mark publicly available API - which should not be removed and so is treated as used. - - - - - Tells code analysis engine if the parameter is completely handled when the invoked method is on stack. - If the parameter is a delegate, indicates that delegate is executed while the method is executed. - If the parameter is an enumerable, indicates that it is enumerated while the method is executed. - - - - - Indicates that a method does not make any observable state changes. - The same as System.Diagnostics.Contracts.PureAttribute. - - - [Pure] int Multiply(int x, int y) => x * y; - - void M() { - Multiply(123, 42); // Waring: Return value of pure method is not used - } - - - - - Indicates that the return value of method invocation must be used. - - - - - Indicates the type member or parameter of some type, that should be used instead of all other ways - to get the value that type. This annotation is useful when you have some "context" value evaluated - and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one. - - - class Foo { - [ProvidesContext] IBarService _barService = ...; - - void ProcessNode(INode node) { - DoSomething(node, node.GetGlobalServices().Bar); - // ^ Warning: use value of '_barService' field - } - } - - - - - Indicates that a parameter is a path to a file or a folder within a web project. - Path can be relative or absolute, starting from web root (~). - - - - - An extension method marked with this attribute is processed by ReSharper code completion - as a 'Source Template'. When extension method is completed over some expression, it's source code - is automatically expanded like a template at call site. - - - Template method body can contain valid source code and/or special comments starting with '$'. - Text inside these comments is added as source code when the template is applied. Template parameters - can be used either as additional method parameters or as identifiers wrapped in two '$' signs. - Use the attribute to specify macros for parameters. - - - In this example, the 'forEach' method is a source template available over all values - of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block: - - [SourceTemplate] - public static void forEach<T>(this IEnumerable<T> xs) { - foreach (var x in xs) { - //$ $END$ - } - } - - - - - - Allows specifying a macro for a parameter of a source template. - - - You can apply the attribute on the whole method or on any of its additional parameters. The macro expression - is defined in the property. When applied on a method, the target - template parameter is defined in the property. To apply the macro silently - for the parameter, set the property value = -1. - - - Applying the attribute on a source template method: - - [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] - public static void forEach<T>(this IEnumerable<T> collection) { - foreach (var item in collection) { - //$ $END$ - } - } - - Applying the attribute on a template method parameter: - - [SourceTemplate] - public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { - /*$ var $x$Id = "$newguid$" + x.ToString(); - x.DoSomething($x$Id); */ - } - - - - - - Allows specifying a macro that will be executed for a source template - parameter when the template is expanded. - - - - - Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. - - - If the target parameter is used several times in the template, only one occurrence becomes editable; - other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, - use values >= 0. To make the parameter non-editable when the template is expanded, use -1. - > - - - - Identifies the target parameter of a source template if the - is applied on a template method. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC action. If applied to a method, the MVC action name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC area. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is - an MVC controller. If applied to a method, the MVC controller name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC - partial view. If applied to a method, the MVC partial view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC template. - Use this attribute for custom wrappers similar to - System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component. If applied to a method, the MVC view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Controller.View(Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component name. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component view. If applied to a method, the MVC view component view name is default. - - - - - ASP.NET MVC attribute. When applied to a parameter of an attribute, - indicates that this parameter is an MVC action name. - - - [ActionName("Foo")] - public ActionResult Login(string returnUrl) { - ViewBag.ReturnUrl = Url.Action("Foo"); // OK - return RedirectToAction("Bar"); // Error: Cannot resolve action - } - - - - - Razor attribute. Indicates that a parameter or a method is a Razor section. - Use this attribute for custom wrappers similar to - System.Web.WebPages.WebPageBase.RenderSection(String). - - - - - Indicates how method, constructor invocation or property access - over collection type affects content of the collection. - - - - Method does not use or modify content of the collection. - - - Method only reads content of the collection but does not modify it. - - - Method can change content of the collection but does not add new elements. - - - Method can add new elements to the collection. - - - - Indicates that the marked method is assertion method, i.e. it halts control flow if - one of the conditions is satisfied. To set the condition, mark one of the parameters with - attribute. - - - - - Indicates the condition parameter of the assertion method. The method itself should be - marked by attribute. The mandatory argument of - the attribute is the assertion type. - - - - - Specifies assertion type. If the assertion method argument satisfies the condition, - then the execution continues. Otherwise, execution is assumed to be halted. - - - - Marked parameter should be evaluated to true. - - - Marked parameter should be evaluated to false. - - - Marked parameter should be evaluated to null value. - - - Marked parameter should be evaluated to not null value. - - - - Indicates that the marked method unconditionally terminates control flow execution. - For example, it could unconditionally throw exception. - - - - - Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select, - .Where). This annotation allows inference of [InstantHandle] annotation for parameters - of delegate type by analyzing LINQ method chains. - - - - - Indicates that IEnumerable, passed as parameter, is not enumerated. - - - - - Indicates that parameter is regular expression pattern. - - - - - Prevents the Member Reordering feature from tossing members of the marked class. - - - The attribute must be mentioned in your member reordering patterns - - - - - XAML attribute. Indicates the type that has ItemsSource property and should be treated - as ItemsControl-derived type, to enable inner items DataContext type resolve. - - - - - XAML attribute. Indicates the property of some BindingBase-derived type, that - is used to bind some item of ItemsControl-derived type. This annotation will - enable the DataContext type resolve for XAML bindings for such properties. - - - Property should have the tree ancestor of the ItemsControl type or - marked with the attribute. - - - - - Support implementation of - - - - - - - - - - - - - - - - - Asynchronous continuation delegate - function invoked at the end of asynchronous - processing. - - Exception during asynchronous processing or null if no exception - was thrown. - - - - Helpers for asynchronous operations. - - - - - Iterates over all items in the given collection and runs the specified action - in sequence (each action executes only after the preceding one has completed without an error). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end. - - The repeat count. - The asynchronous continuation to invoke at the end. - The action to invoke. - - - - Modifies the continuation by pre-pending given action to execute just before it. - - The async continuation. - The action to pre-pend. - Continuation which will execute the given action before forwarding to the actual continuation. - - - - Attaches a timeout to a continuation which will invoke the continuation when the specified - timeout has elapsed. - - The asynchronous continuation. - The timeout. - Wrapped continuation. - - - - Iterates over all items in the given collection and runs the specified action - in parallel (each action executes on a thread from thread pool). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Runs the specified asynchronous action synchronously (blocks until the continuation has - been invoked). - - The action. - - Using this method is not recommended because it will block the calling thread. - - - - - Wraps the continuation with a guard which will only make sure that the continuation function - is invoked only once. - - The asynchronous continuation. - Wrapped asynchronous continuation. - - - - Gets the combined exception from all exceptions in the list. - - The exceptions. - Combined exception or null if no exception was thrown. - - - - Disposes the Timer, and waits for it to leave the Timer-callback-method - - The Timer object to dispose - Timeout to wait (TimeSpan.Zero means dispose without waiting) - Timer disposed within timeout (true/false) - - - - Asynchronous action. - - Continuation to be invoked at the end of action. - - - - Asynchronous action with one argument. - - Type of the argument. - Argument to the action. - Continuation to be invoked at the end of action. - - - - Represents the logging event with asynchronous continuation. - - - - - Initializes a new instance of the struct. - - The log event. - The continuation. - - - - Gets the log event. - - - - - Gets the continuation. - - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - A value of true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - String Conversion Helpers - - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - Output value - Default value - Returns false if the input value could not be parsed - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - The type of the enum - Output value. Null if parse failed - - - - Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded. - - The enumeration type to which to convert value. - The string representation of the enumeration name or underlying value to convert. - true to ignore case; false to consider case. - When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized. - true if the value parameter was converted successfully; otherwise, false. - Wrapper because Enum.TryParse is not present in .net 3.5 - - - - Enum.TryParse implementation for .net 3.5 - - - - Don't uses reflection - - - - Enables to extract extra context details for - - - - - Name of context - - - - - The current LogFactory next to LogManager - - - - - NLog internal logger. - - Writes to file, console or custom text writer (see ) - - - Don't use as that can lead to recursive calls - stackoverflow - - - - - Gets a value indicating whether internal log includes Trace messages. - - - - - Gets a value indicating whether internal log includes Debug messages. - - - - - Gets a value indicating whether internal log includes Info messages. - - - - - Gets a value indicating whether internal log includes Warn messages. - - - - - Gets a value indicating whether internal log includes Error messages. - - - - - Gets a value indicating whether internal log includes Fatal messages. - - - - - Logs the specified message without an at the Trace level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - Log message. - - - - Logs the specified message without an at the Trace level. - will be only called when logging is enabled for level Trace. - - Function that returns the log message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Trace level. - will be only called when logging is enabled for level Trace. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Debug level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Debug level. - - Log message. - - - - Logs the specified message without an at the Debug level. - will be only called when logging is enabled for level Debug. - - Function that returns the log message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Debug level. - will be only called when logging is enabled for level Debug. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Info level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Info level. - - Log message. - - - - Logs the specified message without an at the Info level. - will be only called when logging is enabled for level Info. - - Function that returns the log message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Info level. - will be only called when logging is enabled for level Info. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Warn level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Warn level. - - Log message. - - - - Logs the specified message without an at the Warn level. - will be only called when logging is enabled for level Warn. - - Function that returns the log message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Warn level. - will be only called when logging is enabled for level Warn. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Error level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Error level. - - Log message. - - - - Logs the specified message without an at the Error level. - will be only called when logging is enabled for level Error. - - Function that returns the log message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Error level. - will be only called when logging is enabled for level Error. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Fatal level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Fatal level. - - Log message. - - - - Logs the specified message without an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Function that returns the log message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Exception to be logged. - Function that returns the log message. - - - - Initializes static members of the InternalLogger class. - - - - - Set the config of the InternalLogger with defaults and config. - - - - - Gets or sets the minimal internal log level. - - If set to , then messages of the levels , and will be written. - - - - Gets or sets a value indicating whether internal messages should be written to the console output stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the console error stream. - - Your application must be a console application. - - - - Gets or sets the file path of the internal log file. - - A value of value disables internal logging to a file. - - - - Gets or sets the text writer that will receive internal logs. - - - - - Event written to the internal log. - Please note that the event is not triggered when then event hasn't the minimal log level set by - - - - - Gets or sets a value indicating whether timestamp should be included in internal log output. - - - - - Is there an thrown when writing the message? - - - - - Logs the specified message without an at the specified level. - - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the specified level. - - Log level. - Log message. - - - - Logs the specified message without an at the specified level. - will be only called when logging is enabled for level . - - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - will be only called when logging is enabled for level . - - Exception to be logged. - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Log message. - - - - Write to internallogger. - - optional exception to be logged. - level - message - optional args for - - - - Create log line with timestamp, exception message etc (if configured) - - - - - Determine if logging should be avoided because of exception type. - - The exception to check. - true if logging should be avoided; otherwise, false. - - - - Determine if logging is enabled for given LogLevel - - The for the log event. - true if logging is enabled; otherwise, false. - - - - Determine if logging is enabled. - - true if logging is enabled; otherwise, false. - - - - Write internal messages to the log file defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged only when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged when the property is true, otherwise the - method has no effect. - - - - - Logs the assembly version and file version of the given Assembly. - - The assembly to log. - - - - A message has been written to the internal logger - - - - - The rendered message - - - - - The log level - - - - - The exception. Could be null. - - - - - The type that triggered this internal log event, for example the FileTarget. - This property is not always populated. - - - - - The context name that triggered this internal log event, for example the name of the Target. - This property is not always populated. - - - - - - - - A cyclic buffer of object. - - - - - Initializes a new instance of the class. - - Buffer size. - Whether buffer should grow as it becomes full. - The maximum number of items that the buffer can grow to. - - - - Gets the capacity of the buffer - - - - - Gets the number of items in the buffer - - - - - Adds the specified log event to the buffer. - - Log event. - The number of items in the buffer. - - - - Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation. - - Events in the buffer. - - - - Condition and expression. - - - - - Initializes a new instance of the class. - - Left hand side of the AND expression. - Right hand side of the AND expression. - - - - Gets the left hand side of the AND expression. - - - - - Gets the right hand side of the AND expression. - - - - - Returns a string representation of this expression. - - A concatenated '(Left) and (Right)' string. - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the conjunction operator. - - - - Exception during evaluation of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Base class for representing nodes in condition expression trees. - - - - - Converts condition text to a condition expression tree. - - Condition text to be converted. - Condition expression tree. - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition layout expression (represented by a string literal - with embedded ${}). - - - - - Initializes a new instance of the class. - - The layout. - - - - Gets the layout. - - The layout. - - - - Returns a string representation of this expression. - - String literal in single quotes. - - - - Evaluates the expression by calculating the value - of the layout in the specified evaluation context. - - Evaluation context. - The value of the layout. - - - - Condition level expression (represented by the level keyword). - - - - - Returns a string representation of the expression. - - The 'level' string. - - - - Evaluates to the current log level. - - Evaluation context. Ignored. - The object representing current log level. - - - - Condition literal expression (numeric, LogLevel.XXX, true or false). - - - - - Initializes a new instance of the class. - - Literal value. - ToString value. - - - - Gets the literal value. - - The literal value. - - - - Returns a string representation of the expression. - - The literal value. - - - - Evaluates the expression. - - Evaluation context. - The literal value as passed in the constructor. - - - - Condition logger name expression (represented by the logger keyword). - - - - - Returns a string representation of this expression. - - A logger string. - - - - Evaluates to the logger name. - - Evaluation context. - The logger name. - - - - Condition message expression (represented by the message keyword). - - - - - Returns a string representation of this expression. - - The 'message' string. - - - - Evaluates to the logger message. - - Evaluation context. - The logger message. - - - - Marks class as a log event Condition and assigns a name to it. - - - - - Initializes a new instance of the class. - - Condition method name. - - - - Condition method invocation expression (represented by method(p1,p2,p3) syntax). - - - - - Initializes a new instance of the class. - - Name of the condition method. - of the condition method. - Precompiled delegate of the condition method. - The method parameters. - - - - Gets the method info. - - - - - Gets the method parameters - - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - A bunch of utility methods (mostly predicates) which can be used in - condition expressions. Partially inspired by XPath 1.0. - - - - - Compares two values for equality. - - The first value. - The second value. - true when two objects are equal, false otherwise. - - - - Compares two strings for equality. - - The first string. - The second string. - Optional. If true, case is ignored; if false (default), case is significant. - true when two strings are equal, false otherwise. - - - - Gets or sets a value indicating whether the second string is a substring of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a substring of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a prefix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a suffix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Returns the length of a string. - - A string whose lengths is to be evaluated. - The length of the string. - - - - Indicates whether the specified regular expression finds a match in the specified input string. - - The string to search for a match. - The regular expression pattern to match. - A string consisting of the desired options for the test. The possible values are those of the separated by commas. - true if the regular expression finds a match; otherwise, false. - - - - - - - - - - - Marks the class as containing condition methods. - - - - - Condition not expression. - - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression to be negated. - - The expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition or expression. - - - - - Initializes a new instance of the class. - - Left hand side of the OR expression. - Right hand side of the OR expression. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the alternative operator. - - - - Exception during parsing of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Condition parser. Turns a string representation of condition expression - into an expression tree. - - - - - Initializes a new instance of the class. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - Instance of used to resolve references to condition methods and layout renderers. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - - Try stringed keyword to - - - - success? - - - - Parse number - - negative number? minus should be parsed first. - - - - - Condition relational (==, !=, <, <=, - > or >=) expression. - - - - - Initializes a new instance of the class. - - The left expression. - The right expression. - The relational operator. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Gets the relational operator. - - The operator. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Compares the specified values using specified relational operator. - - The first value. - The second value. - The relational operator. - Result of the given relational operator. - - - - Promote values to the type needed for the comparision, e.g. parse a string to int. - - - - - - - Promotes to type - - - - success? - - - - Try to promote both values. First try to promote to , - when failed, try to . - - - - - - Get the order for the type for comparision. - - - index, 0 to max int. Lower is first - - - - Dictionary from type to index. Lower index should be tested first. - - - - - Build the dictionary needed for the order of the types. - - - - - - Get the string representing the current - - - - - - Relational operators used in conditions. - - - - - Equality (==). - - - - - Inequality (!=). - - - - - Less than (<). - - - - - Greater than (>). - - - - - Less than or equal (<=). - - - - - Greater than or equal (>=). - - - - - Hand-written tokenizer for conditions. - - - - - Initializes a new instance of the class. - - The string reader. - - - - Gets the type of the token. - - The type of the token. - - - - Gets the token value. - - The token value. - - - - Gets the value of a string token. - - The string token value. - - - - Asserts current token type and advances to the next token. - - Expected token type. - If token type doesn't match, an exception is thrown. - - - - Asserts that current token is a keyword and returns its value and advances to the next token. - - Keyword value. - - - - Gets or sets a value indicating whether current keyword is equal to the specified value. - - The keyword. - - A value of true if current keyword is equal to the specified value; otherwise, false. - - - - - Gets or sets a value indicating whether the tokenizer has reached the end of the token stream. - - - A value of true if the tokenizer has reached the end of the token stream; otherwise, false. - - - - - Gets or sets a value indicating whether current token is a number. - - - A value of true if current token is a number; otherwise, false. - - - - - Gets or sets a value indicating whether the specified token is of specified type. - - The token type. - - A value of true if current token is of specified type; otherwise, false. - - - - - Gets the next token and sets and properties. - - - - - Try the comparison tokens (greater, smaller, greater-equals, smaller-equals) - - current char - is match - - - - Try the logical tokens (and, or, not, equals) - - current char - is match - - - - Mapping between characters and token types for punctuations. - - - - - Initializes a new instance of the CharToTokenType struct. - - The character. - Type of the token. - - - - Token types for condition expressions. - - - - - Marks the class or a member as advanced. Advanced classes and members are hidden by - default in generated documentation. - - - - - Initializes a new instance of the class. - - - - - Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain. - - - A layout(renderer) could be converted to a literal when: - - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput] - - Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout. - - - - - Used to mark configurable parameters which are arrays. - Specifies the mapping between XML elements and .NET types. - - - - - Initializes a new instance of the class. - - The type of the array item. - The XML element name that represents the item. - - - - Gets the .NET type of the array item. - - - - - Gets the XML element name. - - - - - An assembly is trying to load. - - - - - New event args - - - - - - The assembly that is trying to load. - - - - - Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. - - Type of the item. - Created object of the specified type. - - - - Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. - - Everything of an assembly could be loaded by - - - - - Called before the assembly will be loaded. - - - - - Initializes a new instance of the class. - - The assemblies to scan for named items. - - - - Gets or sets default singleton instance of . - - - This property implements lazy instantiation so that the is not built before - the internal logger is configured. - - - - - Gets or sets the creator delegate used to instantiate configuration objects. - - - By overriding this property, one can enable dependency injection or interception for created objects. - - - - - Gets the factory. - - The target factory. - - - - Gets the factory. - - The filter factory. - - - - gets the factory - - not using due to backwards-compatibility. - - - - - Gets the factory. - - The layout renderer factory. - - - - Gets the factory. - - The layout factory. - - - - Gets the ambient property factory. - - The ambient property factory. - - - - Legacy interface, no longer used by the NLog engine - - - - - Gets or sets the JSON serializer to use with or - - - - - Gets or sets the string serializer to use with - - - - - Gets or sets the custom object-type transformation for use in , or - - - - - Gets or sets the parameter converter to use with , or - - - - - Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect) - - - - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering. - - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with ) - - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging) - - - - - Gets the time source factory. - - The time source factory. - - - - Gets the condition method factory. - - The condition method factory. - - - - Gets the condition method factory (precompiled) - - The condition method factory. - - - - Registers named items from the assembly. - - The assembly. - - - - Registers named items from the assembly. - - The assembly. - Item name prefix. - - - - Call Preload for NLogPackageLoader - - - Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) - This method will be called just before registering all items in the assembly. - - - - - - Call the Preload method for . The Preload method must be static. - - - - - - Clears the contents of all factories. - - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Builds the default configuration item factory. - - Default factory. - - - - Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. - - - - - Attribute used to mark the default parameters for layout renderers. - - - - - Initializes a new instance of the class. - - - - - Dynamic filtering with a positive list of enabled levels - - - - - Dynamic filtering with a minlevel and maxlevel range - - - - - Format of the exception output to the specific target. - - - - - Appends the Message of an Exception to the specified target. - - - - - Appends the type of an Exception to the specified target. - - - - - Appends the short type of an Exception to the specified target. - - - - - Appends the result of calling ToString() on an Exception to the specified target. - - - - - Appends the method name from Exception's stack trace to the specified target. - - - - - Appends the stack trace from an Exception to the specified target. - - - - - Appends the contents of an Exception's Data property to the specified target. - - - - - Destructure the exception (usually into JSON) - - - - - Appends the from the application or the object that caused the error. - - - - - Appends the from the application or the object that caused the error. - - - - - Appends any additional properties that specific type of Exception might have. - - - - - Factory for class-based items. - - The base type of each item. - The type of the attribute used to annotate items. - - - - Scans the assembly. - - The types to scan. - The prefix. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Registers the item based on a type name. - - Name of the item. - Name of the type. - - - - Clears the contents of the factory. - - - - - Registers a single type definition. - - The item name. - The type of the item. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Creates an item instance. - - The name of the item. - Created item. - - - - Factory specialized for s. - - - - - Clear all func layouts - - - - - Register a layout renderer with a callback function. - - Name of the layoutrenderer, without ${}. - the renderer that renders the value. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.). - - - - - Implemented by objects which support installation and uninstallation. - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Interface for accessing configuration details - - - - - Name of the config section - - - - - Configuration Key/Value Pairs - - - - - Child config sections - - - - - Interface for loading NLog - - - - - Finds and loads the NLog configuration - - LogFactory that owns the NLog configuration - Name of NLog.config file (optional) - NLog configuration (or null if none found) - - - - Notifies when LoggingConfiguration has been successfully applied - - LogFactory that owns the NLog configuration - NLog Config - - - - Get file paths (including filename) for the possible NLog config files. - - Name of NLog.config file (optional) - The file paths to the possible config file - - - - Level enabled flags for each LogLevel ordinal - - - - - Converts the filter into a simple - - - - - Represents a factory of named items (such as targets, layouts, layout renderers, etc.). - - Base type for each item instance. - Item definition type (typically or ). - - - - Registers new item definition. - - Name of the item. - Item definition. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Creates item instance. - - Name of the item. - Newly created item instance. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides context for install/uninstall operations. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log output. - - - - Gets or sets the installation log level. - - - - - Gets or sets a value indicating whether to ignore failures during installation. - - - - - Whether installation exceptions should be rethrown. If IgnoreFailures is set to true, - this property has no effect (there are no exceptions to rethrow). - - - - - Gets the installation parameters. - - - - - Gets or sets the log output. - - - - - Logs the specified trace message. - - The message. - The arguments. - - - - Logs the specified debug message. - - The message. - The arguments. - - - - Logs the specified informational message. - - The message. - The arguments. - - - - Logs the specified warning message. - - The message. - The arguments. - - - - Logs the specified error message. - - The message. - The arguments. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Creates the log event which can be used to render layouts during installation/uninstallations. - - Log event info object. - - - - Convert object-value into specified type - - - - - Parses the input value and converts into the wanted type - - Input Value - Wanted Type - Format to use when parsing - Culture to use when parsing - Output value with wanted type - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for extension loading - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for enabling NLog - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - LoggingConfiguration being built - - - - - Interface for fluent setup of LogFactory options for logevent serialization - - - - - LogFactory under configuration - - - - - Encapsulates and the logic to match the actual logger name - All subclasses defines immutable objects. - Concrete subclasses defines various matching rules through - - - - - Creates a concrete based on . - - - Rules used to select the concrete implementation returned: - - if is null => returns (never matches) - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals) - if == '*' => returns (always matches) - if doesn't contain '?' - - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns - - - returns - - - - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - A concrete - - - - Returns the argument passed to - - - - - Checks whether given name matches the logger name pattern. - - String to be matched. - A value of when the name matches, otherwise. - - - - Defines a that never matches. - Used when pattern is null - - - - - Defines a that always matches. - Used when pattern is '*' - - - - - Defines a that matches with a case-sensitive Equals - Used when pattern is a string without wildcards '?' '*' - - - - - Defines a that matches with a case-sensitive StartsWith - Used when pattern is a string like "*foobar" - - - - - Defines a that matches with a case-sensitive EndsWith - Used when pattern is a string like "foobar*" - - - - - Defines a that matches with a case-sensitive Contains - Used when pattern is a string like "*foobar*" - - - - - Defines a that matches with a complex wildcards combinations: - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - used when pattern is a string containing any number of '?' or '*' in any position - i.e. "*Server[*].Connection[?]" - - - - - Keeps logging configuration and provides simple API to modify it. - - This class is thread-safe..ToList() is used for that purpose. - - - - Variables defined in xml or in API. name is case case insensitive. - - - - - Gets the factory that will be configured - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. - - - - Gets the variables defined in the configuration. - - - - - Gets a collection of named targets specified in the configuration. - - - A list of named targets. - - - Unnamed targets (such as those wrapped by other targets) are not returned. - - - - - Gets the collection of file names which should be watched for changes by NLog. - - - - - Gets the collection of logging rules. - - - - - Gets or sets the default culture info to use as . - - - Specific culture info or null to use - - - - - Gets all targets. - - - - - Compare objects based on their name. - - This property is use to cache the comparer object. - - - - Defines methods to support the comparison of objects for equality based on their name. - - - - - Registers the specified target object. The name of the target is read from . - - - The target object with a non - - when is - - - - Registers the specified target object under a given name. - - Name of the target. - The target object. - when is - when is - - - - Finds the target with the specified name. - - - The name of the target to be found. - - - Found target or when the target is not found. - - - - - Finds the target with the specified name and specified type. - - - The name of the target to be found. - - Type of the target - - Found target or when the target is not found of not of type - - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for all loglevels. - - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Finds the logging rule with the specified name. - - The name of the logging rule to be found. - Found logging rule or when not found. - - - - Removes the specified named logging rule. - - The name of the logging rule to be removed. - Found one or more logging rule to remove, or when not found. - - - - Called by LogManager when one of the log configuration files changes. - - - A new instance of that represents the updated configuration. - - - - - Removes the specified named target. - - Name of the target. - - - - Installs target-specific objects on current system. - - The installation context. - - Installation typically runs with administrative permissions. - - - - - Uninstalls target-specific objects from current system. - - The installation context. - - Uninstallation typically runs with administrative permissions. - - - - - Closes all targets and releases any unmanaged resources. - - - - - Log to the internal (NLog) logger the information about the and associated with this instance. - - - The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is - recorded. - - - - - Validates the configuration. - - - - - Copies all variables from provided dictionary into current configuration variables. - - Master variables dictionary - - - - Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage. - - - - - - - Checks whether unused targets exist. If found any, just write an internal log at Warn level. - If initializing not started or failed, then checking process will be canceled - - - - - - - - Arguments for events. - - - - - Initializes a new instance of the class. - - The new configuration. - The old configuration. - - - - Gets the old configuration. - - The old configuration. - - - - Gets the new configuration. - - The new configuration. - - - - Gets the new configuration - - The new configuration. - - - - Gets the old configuration - - The old configuration. - - - - Gets the optional boolean attribute value. - - - Name of the attribute. - Default value to return if the attribute is not found or if there is a parse error - Boolean attribute value or default. - - - - Remove the namespace (before :) - - - x:a, will be a - - - - - - - Enables loading of NLog configuration from a file - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Loads NLog configuration from - - - - - Constructor - - - - - - Loads NLog configuration from provided config section - - - - - - - Builds list with unique keys, using last value of duplicates. High priority keys placed first. - - - - - - - Parse loglevel, but don't throw if exception throwing is disabled - - Name of attribute for logging. - Value of parse. - Used if there is an exception - - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Parse {Rules} xml element - - - Rules are added to this parameter. - - - - Parse {Logger} xml element - - - - - - Parse boolean - - Name of the property for logging. - value to parse - Default value to return if the parse failed - Boolean attribute value or default. - - - - Represents a logging rule. An equivalent of <logger /> configuration element. - - - - - Create an empty . - - - - - Create an empty . - - - - - Create a new with a and which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a new with a which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a (disabled) . You should call or to enable logging. - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Target to be written to when the rule matches. - - - - Rule identifier to allow rule lookup - - - - - Gets a collection of targets that should be written to when this rule matches. - - - - - Gets a collection of child rules to be evaluated when this rule matches. - - - - - Gets a collection of filters to be checked before writing to targets. - - - - - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - - Gets or sets logger name pattern. - - - Logger name pattern used by to check if a logger name matches this rule. - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - - - - Gets the collection of log levels enabled by this rule. - - - - - Default action if none of the filters match - - - - - Enables logging for a particular level. - - Level to be enabled. - - - - Enables logging for a particular levels between (included) and . - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Disables logging for a particular level. - - Level to be disabled. - - - - Disables logging for particular levels between (included) and . - - Minimum log level to be disables. - Maximum log level to de disabled. - - - - Enables logging the levels between (included) and . All the other levels will be disabled. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Returns a string representation of . Used for debugging. - - - A that represents the current . - - - - - Checks whether te particular log level is enabled for this rule. - - Level to be checked. - A value of when the log level is enabled, otherwise. - - - - Checks whether given name matches the . - - String to be matched. - A value of when the name matches, otherwise. - - - - Default filtering with static level config - - - - - Factory for locating methods. - - - - - Initializes a new instance of the class. - - Helper method to extract relevant methods from type - - - - Scans the assembly for classes marked with expected class - and methods marked with expected and adds them - to the factory. - - The types to scan. - The prefix to use for names. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Scans a type for relevant methods with their symbolic names - - Include types that are marked with this attribute - Include methods that are marked with this attribute - Class Type to scan - Collection of methods with their symbolic names - - - - Clears contents of the factory. - - - - - Registers the definition of a single method. - - The method name. - The method info. - - - - Registers the definition of a single method. - - The method name. - The method info. - The precompiled method delegate. - - - - Tries to retrieve method by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Tries to retrieve method-delegate by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Retrieves method by name. - - Method name. - MethodInfo object. - - - - Retrieves method by name. - - Method name. - Method delegate object. - - - - Tries to get method definition. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Marks the layout or layout renderer depends on mutable objects from the LogEvent - - This can be or - - - - - Attaches a simple name to an item (such as , - , , etc.). - - - - - Initializes a new instance of the class. - - The name of the item. - - - - Gets the name of the item. - - The name of the item. - - - - Indicates NLog should not scan this property during configuration. - - - - - Initializes a new instance of the class. - - - - - Marks the object as configuration item for NLog. - - - - - Initializes a new instance of the class. - - - - - Represents simple XML element with case-insensitive attribute semantics. - - - - - Initializes a new instance of the class. - - The reader to initialize element from. - - - - Prevents a default instance of the class from being created. - - - - - Gets the element name. - - - - - Gets the dictionary of attribute values. - - - - - Gets the collection of child elements. - - - - - Gets the value of the element. - - - - - Last error occured during configuration read - - - - - Returns children elements with the specified element name. - - Name of the element. - Children elements with the specified element name. - - - - Asserts that the name of the element is among specified element names. - - The allowed names. - - - - Returns all parsing errors from current and all child elements. - - - - - Special attribute we could ignore - - - - - Default implementation of - - - - - - - - Attribute used to mark the required parameters for targets, - layout targets and filters. - - - - - Provides simple programmatic configuration API used for trivial logging cases. - - Warning, these methods will overwrite the current config. - - - - - Configures NLog for console logging so that all messages above and including - the level are output to the console. - - - - - Configures NLog for console logging so that all messages above and including - the specified level are output to the console. - - The minimal logging level. - - - - Configures NLog for to log to the specified target so that all messages - above and including the level are output. - - The target to log all messages to. - - - - Configures NLog for to log to the specified target so that all messages - above and including the specified level are output. - - The target to log all messages to. - The minimal logging level. - - - - Configures NLog for file logging so that all messages above and including - the level are written to the specified file. - - Log file name. - - - - Configures NLog for file logging so that all messages above and including - the specified level are written to the specified file. - - Log file name. - The minimal logging level. - - - - Value indicating how stack trace should be captured when processing the log event. - - - - - Stack trace should not be captured. - - - - - Stack trace should be captured without source-level information. - - - - - Capture maximum amount of the stack trace information supported on the platform. - - - - - Marks the layout or layout renderer as thread independent - it producing correct results - regardless of the thread it's running on. - - Without this attribute everything is rendered on the main thread. - - - If this attribute is set on a layout, it could be rendered on the another thread. - This could be more efficient as it's skipped when not needed. - - If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - - See the AsyncTargetWrapper and BufferTargetWrapper with the , using - - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - - - - - Marks the layout or layout renderer as thread safe - it producing correct results - regardless of the number of threads it's running on. - - Without this attribute then the target concurrency will be reduced - - - - - A class for configuring NLog through an XML configuration file - (App.config style or App.nlog style). - - Parsing of the XML file is also implemented in this class. - - - - This class is thread-safe..ToList() is used for that purpose. - - Update TemplateXSD.xml for changes outside targets - - - - - Initializes a new instance of the class. - - Configuration file to be read. - - - - Initializes a new instance of the class. - - Configuration file to be read. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - XML reader to read from. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - The XML contents. - Name of the XML file. - The to which to apply any applicable configuration values. - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - NLog LogFactory - - - - Did the Succeeded? true= success, false= error, null = initialize not started yet. - - - - - Gets or sets a value indicating whether all of the configuration files - should be watched for changes and reloaded automatically when changed. - - - - - Gets the collection of file names which should be watched for changes by NLog. - This is the list of configuration files processed. - If the autoReload attribute is not set it returns empty collection. - - - - - Re-reads the original configuration file and returns the new object. - - The new object. - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Create XML reader for (xml config) file. - - filepath - reader or null if filename is empty. - - - - Initializes the configuration. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Checks whether any error during XML configuration parsing has occured. - If there are any and ThrowConfigExceptions or ThrowExceptions - setting is enabled - throws NLogConfigurationException, otherwise - just write an internal log at Warn level. - - Root NLog configuration xml element - - - - Add a file with configuration. Check if not already included. - - - - - - - Parse the root - - - path to config file. - The default value for the autoReload option. - - - - Parse {configuration} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parse {NLog} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Include (multiple) files by filemask, e.g. *.nlog - - base directory in case if is relative - relative or absolute fileMask - - - - - - - - Matches when the specified condition is met. - - - Conditions are expressed using a simple language - described here. - - - - - Gets or sets the condition expression. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - An abstract filter class. Provides a way to eliminate log messages - based on properties other than logger name and log level. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the action to be taken when filter matches. - - - - - - Gets the result of evaluating filter against given log event. - - The log event. - Filter result. - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Marks class as a layout renderer and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the filter. - - - - Filter result. - - - - - The filter doesn't want to decide whether to log or discard the message. - - - - - The message should be logged. - - - - - The message should not be logged. - - - - - The message should be logged and processing should be finished. - - - - - The message should not be logged and processing should be finished. - - - - - A base class for filters that are based on comparing a value to a layout. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the layout to be used to filter log messages. - - The layout. - - - - - Matches when the calculated layout contains the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets the substring to be matched. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets a string to compare the layout to. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches the provided filter-method - - - - - Initializes a new instance of the class. - - - - - - - - Matches when the calculated layout does NOT contain the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets the substring to be matched. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is NOT equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a string to compare the layout to. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the result of the calculated layout has been repeated a moment ago - - - - - How long before a filter expires, and logging is accepted again - - - - - - Max length of filter values, will truncate if above limit - - - - - - Applies the configured action to the initial logevent that starts the timeout period. - Used to configure that it should ignore all events until timeout. - - - - - - Max number of unique filter values to expect simultaneously - - - - - - Default number of unique filter values to expect, will automatically increase if needed - - - - - - Insert FilterCount value into when an event is no longer filtered - - - - - - Append FilterCount to the when an event is no longer filtered - - - - - - Reuse internal buffers, and doesn't have to constantly allocate new buffers - - - - - - Default buffer size for the internal buffers - - - - - - Can be used if has been enabled. - - - - - Initializes a new instance of the class. - - - - - Checks whether log event should be logged or not. In case the LogEvent has just been repeated. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Uses object pooling, and prunes stale filter items when the pool runs dry - - - - - Remove stale filter-value from the cache, and fill them into the pool for reuse - - - - - Renders the Log Event into a filter value, that is used for checking if just repeated - - - - - Repeated LogEvent detected. Checks if it should activate filter-action - - - - - Filter Value State (mutable) - - - - - Filter Lookup Key (immutable) - - - - - A fluent class to build log events for NLog. - - - - - Initializes a new instance of the class. - - The to send the log event. - - - - Initializes a new instance of the class. - - The to send the log event. - The for the log event. - - - - Gets the created by the builder. - - - - - Sets the information of the logging event. - - The exception information of the logging event. - current for chaining calls. - - - - Sets the level of the logging event. - - The level of the logging event. - current for chaining calls. - - - - Sets the logger name of the logging event. - - The logger name of the logging event. - current for chaining calls. - - - - Sets the log message on the logging event. - - The log message for the logging event. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - The fourth object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - An object that supplies culture-specific formatting information. - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets a per-event context property on the logging event. - - The name of the context property. - The value of the context property. - current for chaining calls. - - - - Sets multiple per-event context properties on the logging event. - - The properties to set. - current for chaining calls. - - - - Sets the timestamp of the logging event. - - The timestamp of the logging event. - current for chaining calls. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - current for chaining calls. - - - - Writes the log event to the underlying logger. - - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Extension methods for NLog . - - - - - Starts building a log event with the specified . - - The logger to write the log event to. - The log level. - current for chaining calls. - - - - Starts building a log event at the Trace level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Debug level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Info level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Warn level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Error level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Fatal level. - - The logger to write the log event to. - current for chaining calls. - - - - Global Diagnostics Context - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Global Diagnostics Context - a dictionary structure to hold per-application-instance values. - - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The item value, if defined; otherwise null. - - - - Returns all item names - - A collection of the names of all items in the Global Diagnostics Context. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Include context properties - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Interface for serialization of object values into JSON format - - - - - Serialization of an object into JSON format. - - The object to serialize to JSON. - Output destination. - Serialize succeeded (true/false) - - - - Provides logging interface and utility functions. - - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Logger with only generic methods (passing 'LogLevel' to methods) and core properties. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Extensions for NLog . - - - - - Writes the diagnostic message and exception at the specified level. - - A logger implementation that will handle the message. - The log level. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Allocates new builder and appends to the provided target builder on dispose - - - - - Access the new builder allocated - - - - - Helpers for . - - - - - Load from url - - file or path, including .dll - basepath, optional - - - - - Load from url - - name without .dll - - - - - Forward declare of system delegate type for use by other classes - - - - - Keeps track of pending operation count, and can notify when pending operation count reaches zero - - - - - Mark operation has started - - - - - Mark operation has completed - - Exception coming from the completed operation [optional] - - - - Registers an AsyncContinuation to be called when all pending operations have completed - - Invoked on completion - AsyncContinuation operation - - - - Clear o - - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Legacy attempt to skip async MoveNext, but caused source file line number to be lost - - - - - Gets the entire stack trace. - - - - - Finds first user stack frame in a stack trace - - The stack trace of the logging method invocation - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - Index of the first user stack frame or 0 if all stack frames are non-user - - - - This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame - - The stack trace of the logging method invocation - Starting point for skipping async MoveNext-frames - - - - Assembly to skip? - - Find assembly via this frame. - true, we should skip. - - - - Is this the type of the logger? - - get type of this logger in this frame. - Type of the logger. - - - - - Memory optimized filtering - - Passing state too avoid delegate capture and memory-allocations. - - - - Provides untyped IDictionary interface on top of generic IDictionary. - - The type of the key. - The type of the value. - - - - Initializes a new instance of the DictionaryAdapter class. - - The implementation. - - - - Gets an object containing the values in the object. - - - - An object containing the values in the object. - - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - - Gets an object that can be used to synchronize access to the . - - - - An object that can be used to synchronize access to the . - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - - Gets an object containing the keys of the object. - - - - An object containing the keys of the object. - - - - - Gets or sets the with the specified key. - - Dictionary key. - Value corresponding to key or null if not found - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - - - Removes all elements from the object. - - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - True if the contains an element with the key; otherwise, false. - - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Wrapper IDictionaryEnumerator. - - - - - Initializes a new instance of the class. - - The wrapped. - - - - Gets both the key and the value of the current dictionary entry. - - - - A containing both the key and the value of the current dictionary entry. - - - - - Gets the key of the current dictionary entry. - - - - The key of the current element of the enumeration. - - - - - Gets the value of the current dictionary entry. - - - - The value of the current element of the enumeration. - - - - - Gets the current element in the collection. - - - - The current element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - - - Ensures that IDictionary.GetEnumerator returns DictionaryEntry values - - - - - UTF-8 BOM 239, 187, 191 - - - - - Safe way to get environment variables. - - - - - Helper class for dealing with exceptions. - - - - - Mark this exception as logged to the . - - - - - - - Is this exception logged to the ? - - - trueif the has been logged to the . - - - - Determines whether the exception must be rethrown and logs the error to the if is false. - - Advised to log first the error to the before calling this method. - - The exception to check. - Target context of the exception. - trueif the must be rethrown, false otherwise. - - - - Determines whether the exception must be rethrown immediately, without logging the error to the . - - Only used this method in special cases. - - The exception to check. - trueif the must be rethrown, false otherwise. - - - - Object construction helper. - - - - - Adapter for to - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Creates an AppDomainWrapper for the current - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - - - - - - - - - - - - - - - - - - - - - - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Abstract calls for the application environment - - - - - Abstract calls to FileSystem - - - - Determines whether the specified file exists. - The file to check. - - - Returns the content of the specified file - The file to load. - - - - Base class for optimized file appenders. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the path of the file, including file extension. - - The name of the file. - - - - Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated - Universal Time [UTC] standard. - - The creation time of the file. - - - - Gets or sets the creation time for a file associated with the appender. Synchronized by - The time format is based on - - - - - Gets the last time the file associated with the appender is opened. The time returned is in Coordinated - Universal Time [UTC] standard. - - The time the file was last opened. - - - - Gets the file creation parameters. - - The file creation parameters. - - - - Writes the specified bytes. - - The bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates the file stream. - - If set to true sets the file stream to allow shared writing. - If larger than 0 then it will be used instead of the default BufferSize for the FileStream. - A object which can be used to write to the file. - - - - Base class for optimized file appenders which require the usage of a mutex. - - It is possible to use this class as replacement of BaseFileAppender and the mutex functionality - is not enforced to the implementing subclasses. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Implementation of which caches - file information. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Closes this instance of the appender. - - - - - Flushes this current appender. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Writes the specified bytes to a file. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Factory class which creates objects. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Maintains a collection of file appenders usually associated with file targets. - - - - - An "empty" instance of the class with zero size and empty list of appenders. - - - - - Initializes a new "empty" instance of the class with zero size and empty - list of appenders. - - - - - Initializes a new instance of the class. - - - The size of the list should be positive. No validations are performed during initialization as it is an - internal class. - - Total number of appenders allowed in list. - Factory used to create each appender. - Parameters used for creating a file. - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface that provides parameters for create file function. - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - Gets or sets the log file buffer size in bytes. - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Should archive mutex be created? - - - - - Should manual simple detection of file deletion be enabled? - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface implemented by all factories capable of creating file appenders. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - Instance of which can be used to write to the file. - - - - Appender used to discard data for the FileTarget. - Used mostly for testing entire stack except the actual writing to disk. - Throws away all data. - - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Multi-process and multi-host file appender which attempts - to get exclusive write access and retries if it's not available. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Optimized single-process file appender which keeps the file open for exclusive write. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - A layout that represents a filePath. - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid file names char array to avoid memory allocation every time Path.GetInvalidFileNameChars() is called. - - - - - not null when == false - - - - - non null is fixed, - - - - - is the cache-key, and when newly rendered filename matches the cache-key, - then it reuses the cleaned cache-value . - - - - - is the cache-value that is reused, when the newly rendered filename - matches the cache-key - - - - Initializes a new instance of the class. - - - - Render the raw filename from Layout - - The log event. - StringBuilder to minimize allocations [optional]. - String representation of a layout. - - - - Convert the raw filename to a correct filename - - The filename generated by Layout. - String representation of a correct filename. - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Convert object to string - - value - format for conversion. - - - If is null and isn't a already, then the will get a locked by - - - - - Format a log message - - - - - Format the message and return - - LogEvent with message to be formatted - formatted message - - - - Has the logevent properties? - - LogEvent with message to be formatted - False when logevent has no properties to be extracted - - - - Appends the logevent message to the provided StringBuilder - - LogEvent with message to be formatted - The to append the formatted message. - - - - Get the Raw, unformatted and unstrinyfied, value - - - - - Get the raw value - - - The value - RawValue supported? - - - - Interface implemented by layouts and layout renderers. - - - - - Renders the the value of layout or layout renderer in the context of the specified log event. - - The log event. - String representation of a layout. - - - - Supports rendering as string value with limited or no allocations (preferred) - - - - - Renders the value of layout renderer in the context of the specified log event - - - null if not possible or unknown - - - - Supports object initialization and termination. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Allows components to request stack trace information to be provided in the . - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Render the event info as parse as short - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as int - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as bool - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Logger configuration. - - - - - Initializes a new instance of the class. - - The targets by level. - Use the old exception log handling of NLog 3.0? - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. - - - - Gets targets for the specified level. - - The level. - Chain of targets with attached filters. - - - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - New formatter - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - The MessageFormatter delegate - - - - - - - - Most-Recently-Used-Cache, that discards less frequently used items on overflow - - - - - Constructor - - Maximum number of items the cache will hold before discarding. - - - - Attempt to insert item into cache. - - Key of the item to be inserted in the cache. - Value of the item to be inserted in the cache. - true when the key does not already exist in the cache, false otherwise. - - - - Lookup existing item in cache. - - Key of the item to be searched in the cache. - Output value of the item found in the cache. - True when the key is found in the cache, false otherwise. - - - - Network sender which uses HTTP or HTTPS POST. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Creates instances of objects for given URLs. - - - - - Creates a new instance of the network sender based on a network URL. - - URL that determines the network sender to be created. - The maximum queue size. - - A newly created network sender. - - - - - Interface for mocking socket calls. - - - - - A base class for all network senders. Supports one-way sending of messages - over various protocols. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Gets the address of the network endpoint. - - - - - Gets the last send time. - - - - - Initializes this network sender. - - - - - Closes the sender and releases any unmanaged resources. - - The continuation. - - - - Flushes any pending messages and invokes a continuation. - - The continuation. - - - - Send the given text over the specified protocol. - - Bytes to be sent. - Offset in buffer. - Number of bytes to send. - The asynchronous continuation. - - - - Closes the sender and releases any unmanaged resources. - - - - - Performs sender-specific initialization. - - - - - Performs sender-specific close operation. - - The continuation. - - - - Performs sender-specific flush. - - The continuation. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Parses the URI into an endpoint address. - - The URI to parse. - The address family. - Parsed endpoint. - - - - Default implementation of . - - - - - - - - A base class for network senders that can block or send out-of-order - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Performs sender-specific flush. - - The continuation. - - - - Socket proxy for mocking Socket code. - - - - - Initializes a new instance of the class. - - The address family. - Type of the socket. - Type of the protocol. - - - - Gets underlying socket instance. - - - - - Closes the wrapped socket. - - - - - Invokes ConnectAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Sends messages over a TCP network connection. - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - The address family. - - - - Creates the socket with given parameters. - - The host address. - The address family. - Type of the socket. - Type of the protocol. - Instance of which represents the socket. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Facilitates mocking of class. - - - - - Raises the Completed event. - - - - - Scans (breadth-first) the object graph following all the edges whose are - instances have attached and returns - all objects implementing a specified interfaces. - - - - - Finds the objects which have attached which are reachable - from any of the given root objects when traversing the object graph over public properties. - - Type of the objects to return. - Also search the properties of the wanted objects. - The root objects. - Ordered list of objects implementing T. - - - ISet is not there in .net35, so using HashSet - - - - Helper for extracting propertyPath - - - - - Object Path to check - - - - - Try get value from , using , and set into - - - - - - - - Converts object into a List of property-names and -values using reflection - - - - - Scans properties for name (Skips string-compare and value-lookup until finding match) - - - - - Scans properties for name (Skips property value lookup until finding match) - - - - - Scans properties for name - - - - - Combine paths - - basepath, not null - optional dir - optional file - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Trims directory separators from the path - - path, could be null - never null - - - - Detects the platform the NLog is running on. - - - - - Gets the current runtime OS. - - - - - Gets a value indicating whether current OS is Win32-based (desktop or mobile). - - - - - Gets a value indicating whether current OS is Unix-based. - - - - - Gets a value indicating whether current runtime is Mono-based - - - - - Gets a value indicating whether current runtime supports use of mutex - - - - - Will creating a mutex succeed runtime? - "Cached" detection - - - - - Will creating a mutex succeed runtime? - - - - - Dictionary that combines the standard with the - MessageTemplate-properties extracted from the . - - The are returned as the first items - in the collection, and in positional order. - - - - - Value of the property - - - - - Is this a property of the message? - - - - - - - Value of the property - Is this a property of the message? - - - - The properties of the logEvent - - - - - The properties extracted from the message - - - - - Wraps the list of message-template-parameters into the IDictionary-interface - - Message-template-parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Check if the message-template-parameters can be used directly without allocating a dictionary - - Message-template-parameters - Are all parameter names unique (true / false) - - - - Attempt to insert the message-template-parameters into an empty dictionary - - Message-template-parameters - The initially empty dictionary - Message-template-parameters was inserted into dictionary without trouble (true/false) - - - - Attempt to override the existing dictionary values using the message-template-parameters - - Message-template-parameters - The already filled dictionary - List of unique message-template-parameters - - - - - - - - - - - - - - - - - - - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - - - - - - - - - - - - - - - - - Reflection helpers for accessing properties. - - - - - Set value parsed from string. - - object instance to set with property - name of the property on - The value to be parsed. - - - - - Get property info - - object which could have property - property name on - result when success. - success. - - - - Try parse of string to (Generic) list, comma separated. - - - If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape - - - - - Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase) - - - - - Try get the property - - - - - Reflection helpers. - - - - - Gets all usable exported types from the given assembly. - - Assembly to scan. - Usable types from the given assembly. - Types which cannot be loaded are skipped. - - - - Is this a static class? - - - - This is a work around, as Type doesn't have this property. - From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static - - - - - Optimized delegate for calling MethodInfo - - Object instance, use null for static methods. - Complete list of parameters that matches the method, including optional/default parameters. - - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) - - - - - Controls a single allocated char[]-buffer for reuse (only one active user) - - - - - Controls a single allocated StringBuilder for reuse (only one active user) - - - - - Controls a single allocated object for reuse (only one active user) - - - - Empty handle when is disabled - - - - Creates handle to the reusable char[]-buffer for active usage - - Handle to the reusable item, that can release it again - - - - Access the acquired reusable object - - - - - Controls a single allocated MemoryStream for reuse (only one active user) - - - - - Supported operating systems. - - - If you add anything here, make sure to add the appropriate detection - code to - - - - - Unknown operating system. - - - - - Unix/Linux operating systems. - - - - - Desktop versions of Windows (95,98,ME). - - - - - Windows NT, 2000, 2003 and future versions based on NT technology. - - - - - Macintosh Mac OSX - - - - - Simple character tokenizer. - - - - - Initializes a new instance of the class. - - The text to be tokenized. - - - - Current position in - - - - - Full text to be parsed - - - - - Check current char while not changing the position. - - - - - - Read the current char and change position - - - - - - Get the substring of the - - - - - - - - Implements a single-call guard around given continuation function. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - - - - Continuation function which implements the single-call guard. - - The exception. - - - - HashSet optimized for single item - - - - - - Insert single item on scope start, and remove on scope exit - - Item to insert in scope - Existing hashset to update - Force allocation of real hashset-container - HashSet EqualityComparer - - - - Add item to collection, if it not already exists - - Item to insert - - - - Clear hashset - - - - - Check if hashset contains item - - - Item exists in hashset (true/false) - - - - Remove item from hashset - - - Item removed from hashset (true/false) - - - - Copy items in hashset to array - - Destination array - Array offset - - - - Create hashset enumerator - - Enumerator - - - - Provides helpers to sort log events and associated continuations. - - - - - Key selector delegate. - - The type of the value. - The type of the key. - Value to extract key information from. - Key selected from log event. - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - The key comparer function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. - - - - - - - - - - - - - - - - Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. - Consider to use instead for better safety. - - Key value for lookup - Mapped value found - - - - Non-Allocating struct-enumerator - - - - - - - - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - - - - Will always throw, as dictionary is readonly - - - - Utilities for dealing with values. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - StackFrame from the calling method - Fully qualified class name - - - - Returns the assembly from the provided StackFrame (If not internal assembly) - - Valid assembly, or null if assembly was internal - - - - Returns the classname from the provided StackFrame (If not from internal assembly) - - - Valid class name, or empty string if assembly was internal - - - - Stream helpers - - - - - Copy to output stream and skip BOM if encoding is UTF8 - - - - - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - .net35 doesn't have a .copyto - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - first bytes to skip (optional) - - - - Helpers for , which is used in e.g. layout renderers. - - - - - Renders the specified log event context item and appends it to the specified . - - append to this - value to be appended - format string. If @, then serialize the value with the Default JsonConverter. - provider, for example culture - - - - Appends int without using culture, and most importantly without garbage - - - value to append - - - - Appends uint without using culture, and most importantly without garbage - - Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ - - - value to append - - - - Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 6801 date (Round-Trip-Time) - - - - - Clears the provider StringBuilder - - - - - - Copies the contents of the StringBuilder to the MemoryStream using the specified encoding (Without BOM/Preamble) - - StringBuilder source - MemoryStream destination - Encoding used for converter string into byte-stream - Helper char-buffer to minimize memory allocations - - - - Copies the contents of the StringBuilder to the destination StringBuilder - - StringBuilder source - StringBuilder destination - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle character to search for - - Index of the first occurrence (Else -1) - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle characters to search for - - Index of the first occurrence (Else -1) - - - - Compares the contents of two StringBuilders - - - Correct implementation of that also works when is not the same - - True when content is the same - - - - Compares the contents of a StringBuilder and a String - - True when content is the same - - - - Append a number and pad with 0 to 2 digits - - append to this - the number - - - - Append a number and pad with 0 to 4 digits - - append to this - the number - - - - Append a int type (byte, int) as string - - - - - Constructor - - Max number of items - Initial StringBuilder Size - Max StringBuilder Size - - - - Takes StringBuilder from pool - - Allow return to pool - - - - Releases StringBuilder back to pool at its right place - - - - - Keeps track of acquired pool item - - - - - Releases pool item back into pool - - - - - Helpers for . - - - - - IsNullOrWhiteSpace, including for .NET 3.5 - - - - - - - Split a string - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Represents target with a chain of filters which determine - whether logging should happen. - - - - - cached result as calculating is expensive. - - - - - Initializes a new instance of the class. - - The target. - The filter chain. - Default action if none of the filters match. - - - - Gets the target. - - The target. - - - - Gets the filter chain. - - The filter chain. - - - - Default action if none of the filters match. - - - - - Gets or sets the next item in the chain. - - The next item in the chain. - This is for example the 'target2' logger in writeTo='target1,target2' - - - - Gets the stack trace usage. - - A value that determines stack trace handling. - - - - Helper for dealing with thread-local storage. - - - - - Allocates the data slot for storing thread-local information. - - Allocated slot key. - - - - Gets the data for a slot in thread-local storage. - - Type of the data. - The slot to get data for. - Automatically create the object if it doesn't exist. - - Slot data (will create T if null). - - - - - Wraps with a timeout. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - The timeout. - - - - Continuation function which implements the timeout logic. - - The exception. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Transformation on a layout. Pre-calculated if the layout has a fixed value. - - - - - Create TransformedLayout. - - Layout - Transformation method - Optional renderer, otherwise is used - - - - - - - Create TransformedLayout. If is null, then the returns null - - Layout - Transformation method - Optional renderer, otherwise is used - null if is null - - - - - - - - - - URL Encoding helper. - - - - Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - - - Use RFC2396 standard (instead of RFC3986) - - - Should use lowercase when doing HEX escaping of special characters - - - Replace space ' ' with '+' instead of '%20' - - - Skip UTF8 encoding, and prefix special characters with '%u' - - - - Escape unicode string data for use in http-requests - - unicode string-data to be encoded - target for the encoded result - s for how to perform the encoding - - - - Convert the wide-char into utf8-bytes, and then escape - - - - - - - - - Is allowed? - - - - - - - - Is a-z / A-Z / 0-9 - - - - - - - Prevents the Xamarin linker from linking the target. - - - By applying this attribute all of the members of the target will be kept as if they had been referenced by the code. - - - - - Ensures that all members of this type are preserved - - - - - Flags the method as a method to preserve during linking if the container class is pulled in. - - - - - Helper class for XML - - - - - removes any unusual unicode characters that can't be encoded into XML - - - - - Cleans string of any invalid XML chars found - - unclean string - string with only valid XML chars - - - - Pretest, small text and not escape needed - - - - - - - - Converts object value to invariant format, and strips any invalid xml-characters - - Object value - Object value converted to string - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object value converted to string - - - - XML elements must follow these naming rules: - - Element names are case-sensitive - - Element names must start with a letter or underscore - - Element names can contain letters, digits, hyphens, underscores, and periods - - Element names cannot contain spaces - - - - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object TypeCode - Check and remove unusual unicode characters from the result string. - Object value converted to string - - - - Safe version of WriteAttributeString - - - - - - - - - - Safe version of WriteAttributeString - - - - - - - - Safe version of WriteElementSafeString - - - - - - - - - - Safe version of WriteCData - - - - - - - Interface for handling object transformation - - - - - Takes a dangerous (or massive) object and converts into a safe (or reduced) object - - - Null if unknown object, or object cannot be handled - - - - - Provides an interface to execute System.Actions without surfacing any exceptions raised for that action. - - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Render a message template property to a string - - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Log event context data. - - - - - Initializes a new instance of the class. - - - - - Gets or sets string that will be used to separate key/value pairs. - - - - - - Get or set if empty values should be included. - - A value is empty when null or in case of a string, null or empty string. - - - - - - Gets or sets the keys to exclude from the output. If omitted, none are excluded. - - - - - - Gets or sets how key/value pairs will be formatted. - - - - - - Renders all log event's properties and appends them to the specified . - - The to append the rendered data to. - Logging event. - - - - Designates a property of the class as an ambient property. - - - non-ambient: ${uppercase:${level}} - ambient : ${level:uppercase} - - - - - Initializes a new instance of the class. - - Ambient property name. - - - - Renders the assembly version information for the entry assembly or a named assembly. - - - As this layout renderer uses reflection and version information is unlikely to change during application execution, - it is recommended to use it in conjunction with the . - - - The entry assembly can't be found in some cases e.g. ASP.NET, unit tests, etc. - - - - - Initializes a new instance of the class. - - - - - The (full) name of the assembly. If null, using the entry assembly. - - - - - - Gets or sets the type of assembly version to retrieve. - - - Some version type and platform combinations are not fully supported. - - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified. - - Silverlight: Value for is always returned. - - - - - - Gets or sets the custom format of the assembly version output. - - - Supported placeholders are 'major', 'minor', 'build' and 'revision'. - The default .NET template for version numbers is 'major.minor.build.revision'. See - https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks - for details. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders an assembly version and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Type of assembly version to retrieve. - - - - - Gets the assembly version. - - - - - Gets the file version. - - - - - Gets additional version information. - - - - - The current application domain's base directory. - - - - - Use base dir of current process. Alternative one can just use ${processdir} - - - - - - Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the base directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. - - - - - - Renders the application base directory and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site (class name, method name and source information). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to render the class name. - - - - - - Gets or sets a value indicating whether to render the include the namespace with . - - - - - - Gets or sets a value indicating whether to render the method name. - - - - - - Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate. - - - - - - Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation - (everything after an await-statement inside of an async method). - - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A counter value (increases on each layout rendering). - - - - - Gets or sets the initial value of the counter. - - - - - - Gets or sets the value to be added to the counter after each layout rendering. - - - - - - Gets or sets the name of the sequence. Different named sequences can have individual values. - - - - - - - - - The current working directory of the application. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the current directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the current directory. - - - - - - - - - - - - Current date and time. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format). - - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - - - - - - - - - - DB null for a database - - - - - - - - - - - The OS dependent directory separator - - - - - - - - - - - Log event context data. - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the name of the item. - - - - - - Renders the specified log event context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. See . - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - - - - - - - - - - Exception information provided through - a call to one of the Logger.*Exception() methods. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the format of the output. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - - - Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - Gets or sets the separator used to concatenate parts specified in the Format. - - - - - - Gets or sets the separator used to concatenate exception data specified in the Format. - - - - - - Gets or sets the maximum number of inner exceptions to include in the output. - By default inner exceptions are not enabled for compatibility with NLog 1.0. - - - - - - Gets or sets the separator between inner exceptions. - - - - - - Gets or sets whether to render innermost Exception from - - - - - Gets or sets whether to collapse exception tree using - - - - - Gets the formats of the output of inner exceptions to be rendered in target. - - - - - - - Gets the formats of the output to be rendered in target. - - - - - - - - - - - - - Appends the Message of an Exception to the specified . - - The to append the rendered data to. - The exception containing the Message to append. - - - - Appends the method name from Exception's stack trace to the specified . - - The to append the rendered data to. - The Exception whose method name should be appended. - - - - Appends the stack trace from an Exception to the specified . - - The to append the rendered data to. - The Exception whose stack trace should be appended. - - - - Appends the result of calling ToString() on an Exception to the specified . - - The to append the rendered data to. - The Exception whose call to ToString() should be appended. - - - - Appends the type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose type should be appended. - - - - Appends the short type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose short type should be appended. - - - - Appends the application source of an Exception to the specified . - - The to append the rendered data to. - The Exception whose source should be appended. - - - - Appends the HResult of an Exception to the specified . - - The to append the rendered data to. - The Exception whose HResult should be appended. - - - - Appends the contents of an Exception's Data property to the specified . - - The to append the rendered data to. - The Exception whose Data property elements should be appended. - - - - Appends all the serialized properties of an Exception into the specified . - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Appends all the additional properties of an Exception like Data key-value-pairs - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Split the string and then compile into list of Rendering formats. - - - - - Find name of method on stracktrace. - - Full stracktrace - - - - - Renders contents of the specified file. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file. - - - - - - Gets or sets the encoding used in the file. - - The encoding. - - - - - Renders the contents of the specified file and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - Name used in config without ${}. E.g. "test" could be used as "${test}". - - - - - Method that renders the layout. - - This public property will be removed in NLog 5. - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render the value for this log event - - The event info. - The value. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - The information about the garbage collector. - - - - - Gets or sets the property to retrieve. - - - - - - - - - Gets or sets the property of System.GC to retrieve. - - - - - Total memory allocated. - - - - - Total memory allocated (perform full garbage collection first). - - - - - Gets the number of Gen0 collections. - - - - - Gets the number of Gen1 collections. - - - - - Gets the number of Gen2 collections. - - - - - Maximum generation number supported by GC. - - - - - Render a Global Diagnostics Context item. See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - - - - Globally-unique identifier (GUID). - - - - - Gets or sets the GUID format as accepted by Guid.ToString() method. - - - - - - Generate the Guid from the NLog LogEvent (Will be the same for all targets) - - - - - - - - - - - - - - - Installation parameter (passed to InstallNLogConfig). - - - - - Gets or sets the name of the parameter. - - - - - - Renders the specified installation parameter and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render environmental information related to logging events. - - - - - Gets the logging configuration this target is part of. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Renders the the value of layout renderer in the context of the specified log event. - - The log event. - String representation of a layout renderer. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Renders the value of layout renderer in the context of the specified log event. - - The log event. - The layout render output is appended to builder - - - - Renders the value of layout renderer in the context of the specified log event into . - - The to append the rendered data to. - Logging event. - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Get the for rendering the messages to a - - LogEvent with culture - Culture in on Layout level - - - - - Get the for rendering the messages to a , needed for date and number formats - - LogEvent with culture - Culture in on Layout level - - - is preferred - - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Renderer with callback func - - - - Marks class as a layout renderer and assigns a name to it. - - This attribute is not required when registering the layout in the API. - - - - Initializes a new instance of the class. - - Name of the layout renderer, without the `${ }` - - - - Format of the ${level} layout renderer output. - - - - - Render the LogLevel standard name. - - - - - Render the first character of the level. - - - - - Render the ordinal (aka number) for the level. - - - - - Render the LogLevel full name, expanding Warn / Info abbreviations - - - - - The log level. - - - - - Gets or sets a value indicating the output format of the level. - - - - - - - - - - - - - - - A string literal. - - - This is used to escape '${' sequence - as ;${literal:text=${}' - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The literal text value. - This is used by the layout compiler. - - - - Gets or sets the literal text. - - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - XML event description compatible with log4j, Chainsaw and NLogViewer. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes the layout renderer. - - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets a value indicating whether the XML should use spaces for indentation. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the XML logging event and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The logger name. - - - - - Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character). - - - - - - - - - - - - The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the date in the long format (yyyy-MM-dd HH:mm:ss.ffff) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render a Mapped Diagnostic Context item, See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - The formatted log message. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to log exception along with message. - - - - - - Gets or sets the string that separates message from the exception. - - - - - - Gets or sets whether it should render the raw message without formatting parameters - - - - - - - - - - - - Render a Nested Diagnostic Context item. - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested diagnostics context output. - - - - - - Renders the specified Nested Diagnostics Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A newline literal. - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The process time in format HH:mm:ss.mmm. - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Write timestamp to builder with format hh:mm:ss:fff - - - - - The sequence ID - - - - - - - - - - - The short date in a sortable format yyyy-MM-dd. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the current short date string (yyyy-MM-dd) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Specifies application information to display in ${sl-appinfo} renderer. - - - - - URI of the current application XAP file. - - - - - Whether application is running out-of-browser. - - - - - Installed state of an application. - - - - - Whether application is running with elevated permissions. - - - - - System special folder path (includes My Documents, My Music, Program Files, Desktop, and more). - - - - - Gets or sets the system special folder to use. - - - Full list of options is available at MSDN. - The most common ones are: -
    -
  • ApplicationData - roaming application data for current user.
  • -
  • CommonApplicationData - application data for all users.
  • -
  • MyDocuments - My Documents
  • -
  • DesktopDirectory - Desktop directory
  • -
  • LocalApplicationData - non roaming application data
  • -
  • Personal - user profile directory
  • -
  • System - System directory
  • -
-
- -
- - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Format of the ${stacktrace} layout renderer output. - - - - - Raw format (multiline - as returned by StackFrame.ToString() method). - - - - - Flat format (class and method names displayed in a single line). - - - - - Detailed flat format (method signatures displayed in a single line). - - - - - Stack trace renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the output format of the stack trace. - - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets the stack frame separator string. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A temporary directory. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The identifier of the current thread. - - - - - - - - The name of the current thread. - - - - - - - - The Ticks value of current date and time. - - - - - - - - - - - The time in a 24-hour, sortable format HH:mm:ss.mmmm. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Render a NLog variable (xml or config) - - - - - Gets or sets the name of the NLog variable. - - - - - - Gets or sets the default value to be used when the variable is not set. - - Not used if Name is null - - - - - Initializes the layout renderer. - - - - - Try get the - - - - - - - Renders the specified variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Applies caching to another layout output. - - - The value of the inner layout will be rendered only once and reused subsequently. - - - - - A value indicating when the cache is cleared. - - - - Never clear the cache. - - - Clear the cache whenever the is initialized. - - - Clear the cache whenever the is closed. - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether this is enabled. - - - - - - Gets or sets a value indicating when the cache is cleared. - - - - - - Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s - - - - - - Gets or sets a value indicating how many seconds the value should stay cached until it expires - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - - - - Filters characters not allowed in the file names by replacing them with safe character. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path - (illegal characters are replaced with '_'). - - - - - - - - - - - - Escapes output of another layout using JSON rules. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply JSON encoding. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - - - - - - - Left part of a text - - - - - Gets or sets the length in characters. - - - - - - Same as -property, so it can be used as ambient property. - - - ${message:truncate=80} - - - - - - - - - - - - Converts the result of another layout output to lower case. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Render the non-raw value of an object. - - For performance and/or full (formatted) control of the output. - - - - Gets or sets a value indicating whether to disable the IRawValue-interface - - A value of true if IRawValue-interface should be ignored; otherwise, false. - - - - - - - - - - - Render a single property of a object - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - Shortcut for - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - Only outputs the inner layout when exception has been defined for log message. - - - - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - ${onhasproperties:, Properties\: ${all-event-properties}} - - - - - - - - - - - Horizontal alignment for padding layout renderers. - - - - - When layout text is too long, align it to the left - (remove characters from the right). - - - - - When layout text is too long, align it to the right - (remove characters from the left). - - - - - Applies padding to another layout output. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of characters to pad the output to. - - - Positive padding values cause left padding, negative values - cause right padding to the desired width. - - - - - - Gets or sets the padding character. - - - - - - Gets or sets a value indicating whether to trim the - rendered text to the absolute value of the padding length. - - - - - - Gets or sets a value indicating whether a value that has - been truncated (when is true) - will be left-aligned (characters removed from the right) - or right-aligned (characters removed from the left). The - default is left alignment. - - RegistryLayoutRenderer - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Replaces a string in the output of another layout with another string. - - - ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}} - - - - - Gets or sets the text to search for. - - The text search for. - - - - - Gets or sets a value indicating whether regular expressions should be used. - - A value of true if regular expressions should be used otherwise, false. - - - - - Gets or sets the replacement string. - - The replacement string. - - - - - Gets or sets the group name to replace when using regular expressions. - Leave null or empty to replace without using group name. - - The group name. - - - - - Gets or sets a value indicating whether to ignore case. - - A value of true if case should be ignored when searching; otherwise, false. - - - - - Gets or sets a value indicating whether to search for whole words. - - A value of true if whole words should be searched for; otherwise, false. - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Initializes the layout renderer. - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass - - - - - A match evaluator for Regular Expression based replacing - - Input string. - Group name in the regex. - Replace value. - Match from regex. - Groups replaced with . - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating the string that should be used for separating lines. - - - - - - - - - - - - Right part of a text - - - - - Gets or sets the length in characters. - - - - - - - - - - - - Decodes text "encrypted" with ROT-13. - - - See https://en.wikipedia.org/wiki/ROT13. - - - - - Gets or sets the layout to be wrapped. - - The layout to be wrapped. - This variable is for backwards compatibility - - - - - Encodes/Decodes ROT-13-encoded string. - - The string to be encoded/decoded. - Encoded/Decoded text. - - - - - - - - - - Encodes/Decodes ROT-13-encoded string. - - - - - Substring the result - - - ${substring:${level}:start=2:length=2} - ${substring:${level}:start=-2:length=2} - ${substring:Inner=${level}:start=2:length=2} - - - - - Initializes a new instance of the class. - - - - - Gets or sets the start index. - - Index - - - - - Gets or sets the length in characters. If null, then the whole string - - Index - - - - - - - - - - - Calculate start position - - 0 or positive number - - - - Calculate needed length - - 0 or positive number - - - - Trims the whitespace from the result of another layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - - - - - - - Converts the result of another layout output to upper case. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - ${level:uppercase} // [AmbientProperty] - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether upper case conversion should be applied. - - A value of true if upper case conversion should be applied otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Encodes the result of another layout output for use with URLs. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether spaces should be translated to '+' or '%20'. - - A value of true if space should be translated to '+'; otherwise, false. - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - - - Gets or sets the layout to be rendered when original layout produced empty result. - - - - - - - - - - - - - - - Only outputs the inner layout when the specified condition has been met. - - - - - Gets or sets the condition that must be met for the layout to be printed. - - - - - - If is not met, print this layout. - - - - - - - - - - - - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the line length for wrapping. - - - Only positive values are allowed - - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - Base class for s which wrapping other s. - - This has the property (which is default) and can be used to wrap. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - - - - - Gets or sets the wrapped layout. - - [DefaultParameter] so Inner: is not required if it's the first - - - - - - - - - Renders the inner message, processes it and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Appends the rendered output from -layout and transforms the added output (when necessary) - - Logging event. - The to append the rendered data to. - Start position for any necessary transformation of . - - - - Transforms the output of another layout. - - Logging event. - Output to be transform. - Transformed text. - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - Base class for s which wrapping other s. - - This expects the transformation to work on a - - - - - - - - Transforms the output of another layout. - - - Output to be transform. - - - - Transforms the output of another layout. - - Output to be transform. - - - - Renders the inner layout contents. - - - for the result - - - - - - - - - - - - - - - - - - Converts the result of another layout output to be XML-compliant. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply XML encoding. - - Ensures always valid XML, but gives a performance hit - - - - - Gets or sets a value indicating whether to transform newlines (\r\n) into ( ) - - - - - - - - - - - - A layout containing one or more nested layouts. - - - - - Initializes a new instance of the class. - - - - - Gets the inner layouts. - - - - - - Initializes the layout. - - - - - Formats the log event relying on inner layouts. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event relying on inner layouts. - - The logging event. - for the result - - - - Closes the layout. - - - - - Generate description of Compound Layout - - Compound Layout String Description - - - - A column in the CSV. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column. - The layout of the column. - - - - Gets or sets the name of the column. - - - - - - Gets or sets the layout of the column. - - - - - - Gets or sets the override of Quoting mode - - - and are faster than the default - - - - - - Specifies allowed column delimiters. - - - - - Automatically detect from regional settings. - - - - - Comma (ASCII 44). - - - - - Semicolon (ASCII 59). - - - - - Tab character (ASCII 9). - - - - - Pipe character (ASCII 124). - - - - - Space character (ASCII 32). - - - - - Custom string, specified by the CustomDelimiter. - - - - - A specialized layout that renders CSV-formatted events. - - If is set, then the header generation with column names will be disabled. - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - Gets or sets a value indicating whether CVS should include header. - - A value of true if CVS should include header; otherwise, false. - - - - - Gets or sets the column delimiter. - - - - - - Gets or sets the quoting mode. - - - - - - Gets or sets the quote Character. - - - - - - Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom'). - - - - - - Initializes the layout. - - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event for write. - - The logging event. - for the result - - - - Get the headers with the column names. - - - - - - Header with column names for CSV layout. - - - - - Initializes a new instance of the class. - - The parent. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Generate description of CSV Layout - - CSV Layout String Description - - - - Specifies CSV quoting modes. - - - - - Quote all column (Fast) - - - - - Quote nothing (Very fast) - - - - - Quote only whose values contain the quote symbol or the separator (Slow) - - - - - JSON attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with json-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Json encoded. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A specialized layout that renders JSON-formatted events. - - - - - Initializes a new instance of the class. - - - - - Gets the array of attributes' configurations. - - - - - - Gets or sets the option to suppress the extra spaces in the output json - - - - - - Gets or sets the option to render the empty object value {} - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to exclude null/empty properties from the log event (as JSON) - - - - - - List of property names to exclude when is true - - - - - - How far should the JSON serializer follow object references before backing off - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Formats the log event as a JSON document for writing. - - The logging event. - for the result - - - - Formats the log event as a JSON document for writing. - - The log event to be formatted. - A JSON string representation of the log event. - - - - Generate description of JSON Layout - - JSON Layout String Description - - - - Abstract interface that layouts must implement. - - - - - Is this layout initialized? See - - - - - Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). - - - Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are - like that as well. - - Thread-agnostic layouts only use contents of for its output. - - - - - Gets the level of stack trace information required for rendering. - - - - - Gets the logging configuration this target is part of. - - - - - Converts a given text to a . - - Text to be converted. - object represented by the text. - - - - Implicitly converts the specified string to a . - - The layout string. - Instance of .' - - - - Implicitly converts the specified string to a . - - The layout string. - The NLog factories to use when resolving layout renderers. - Instance of . - - - - Implicitly converts the specified string to a . - - The layout string. - Whether should be thrown on parse errors (false = replace unrecognized tokens with a space). - Instance of . - - - - Create a from a lambda method. - - Method that renders the layout. - Tell if method is safe for concurrent threading. - Instance of . - - - - Precalculates the layout for the specified log event and stores the result - in per-log event cache. - - Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic]. - - The log event. - - Calling this method enables you to store the log event in a buffer - and/or potentially evaluate it in another thread even though the - layout may contain thread-dependent renderer. - - - - - Renders the event info in layout. - - The event info. - String representing log event. - - - - Optimized version of for internal Layouts. Works best - when override of is available. - - The event info. - Appends the string representing log event to target - Should rendering result be cached on LogEventInfo - - - - Valid default implementation of , when having implemented the optimized - - The logging event. - StringBuilder to help minimize allocations [optional]. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Optimized version of for internal Layouts, when - override of is available. - - - - - Try get value - - - rawValue if return result is true - false if we could not determine the rawValue - - - - Marks class as a layout renderer and assigns a format string to it. - - - - - Initializes a new instance of the class. - - Layout name. - - - - Parses layout strings. - - - - - Add to - - - - - - - Options available for - - - - - Default options - - - - - Layout renderer method can handle concurrent threads - - - - - Layout renderer method is agnostic to current thread context. This means it will render the same result indepdent of thread-context. - - - - - A specialized layout that supports header and footer. - - - - - Gets or sets the body layout (can be repeated multiple times). - - - - - - Gets or sets the header layout. - - - - - - Gets or sets the footer layout. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result. - - - - A specialized layout that renders Log4j-compatible XML events. - - - This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets the instance that renders log events. - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Represents a string with embedded placeholders that can render contextual information. - - - This layout is not meant to be used explicitly. Instead you can just use a string containing layout - renderers everywhere the layout is required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout string to parse. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - Whether should be thrown on parse errors. - - - - Original text before compile to Layout renderes - - - - - Gets or sets the layout text. - - - - - - Is the message fixed? (no Layout renderers used) - - - - - Get the fixed text. Only set when is true - - - - - Is the message a simple formatted string? (Can skip StringBuilder) - - - - - Gets a collection of objects that make up this layout. - - - - - Gets the level of stack trace information required for rendering. - - - - - Converts a text to a simple layout. - - Text to be converted. - A object. - - - - Escapes the passed text so that it can - be used literally in all places where - layout is normally expected without being - treated as layout. - - The text to be escaped. - The escaped text. - - Escaping is done by replacing all occurrences of - '${' with '${literal:text=${}' - - - - - Evaluates the specified text by expanding all layout renderers. - - The text to be evaluated. - Log event to be used for evaluation. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Evaluates the specified text by expanding all layout renderers - in new context. - - The text to be evaluated. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Returns a that represents the current object. - - - A that represents the current object. - - - - - - - - - - - - - - - - - - - - XML attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with xml-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A XML Element - - - - - - - - - - - Name of the element - - - - - - Value inside the element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - The name of the top XML node - The value of the top XML node - - - - Name of the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Value inside the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Auto indent and create new lines - - - - - - Gets the array of xml 'elements' configurations. - - - - - - Gets the array of 'attributes' configurations for the element - - - - - - Gets or sets whether a ElementValue with empty value should be included in the output - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - List of property names to exclude when is true - - - - - - XML element name to use when rendering properties - - - Support string-format where {0} means property-key-name - - Skips closing element tag when having configured - - - - - - XML attribute name to use when rendering property-key - - When null (or empty) then key-attribute is not included - - - Will replace newlines in attribute-value with - - - - - - XML attribute name to use when rendering property-value - - When null (or empty) then value-attribute is not included and - value is formatted as XML-element-value - - - Skips closing element tag when using attribute for value - - Will replace newlines in attribute-value with - - - - - - XML element name to use for rendering IList-collections items - - - - - - How far should the XML serializer follow object references before backing off - - - - - - Initializes the layout. - - - - - Formats the log event as a XML document for writing. - - The logging event. - for the result - - - - Formats the log event as a XML document for writing. - - The log event to be formatted. - A XML string representation of the log event. - - - - write attribute, only if is not empty - - - - - rendered - - - - Generate description of XML Layout - - XML Layout String Description - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - - - - - - - Name of the root XML element - - - - - - Value inside the root XML element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Represents the logging event. - - - - - Gets the date of the first log event created. - - - - - The formatted log message. - - - - - The log message including any parameter placeholders - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - Already parsed message template parameters. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - Exception information. - - - - Gets the unique identifier of log event which is automatically generated - and monotonously increasing. - - - - - Gets or sets the timestamp of the logging event. - - - - - Gets or sets the level of the logging event. - - - - - Gets a value indicating whether stack trace has been set for this event. - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Gets the entire stack trace. - - - - - Gets the callsite class name - - - - - Gets the callsite member function name - - - - - Gets the callsite source file path - - - - - Gets the callsite source file line number - - - - - Gets or sets the exception information. - - - - - Gets or sets the logger name. - - - - - Gets the logger short name. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the log message including any parameter placeholders. - - - - - Gets or sets the parameter values or null if no parameters have been specified. - - - - - Gets or sets the format provider that was provided while logging or - when no formatProvider was specified. - - - - - Gets or sets the message formatter for generating - Uses string.Format(...) when nothing else has been configured. - - - - - Gets the formatted message. - - - - - Checks if any per-event properties (Without allocation) - - - - - Gets the dictionary of per-event context properties. - - - - - Gets the dictionary of per-event context properties. - Internal helper for the PropertiesDictionary type. - - Create the event-properties dictionary, even if no initial template parameters - Provided when having parsed the message template and capture template parameters (else null) - - - - - Gets the named parameters extracted from parsing as MessageTemplate - - - - - Gets the dictionary of per-event context properties. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Creates the null event. - - Null log event. - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - The exception. - Instance of . - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates from this by attaching the specified asynchronous continuation. - - The asynchronous continuation. - Instance of with attached continuation. - - - - Returns a string representation of this log event. - - String representation of the log event. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace (Negative means NLog should skip stackframes from System-assemblies). - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Set the - - true = Always, false = Never, null = Auto Detect - - - - Specialized LogFactory that can return instances of custom logger types. - - Use this only when a custom Logger type is defined. - The type of the logger to be returned. Must inherit from . - - - - Gets the logger with type . - - The logger name. - An instance of . - - - - Gets a custom logger with the full name of the current class (so namespace and class name) and type . - - An instance of . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Overwrite possible file paths (including filename) for possible NLog config files. - When this property is null, the default file paths ( are used. - - - - - Occurs when logging changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The config. - - - - Initializes a new instance of the class. - - The config loader - The custom AppEnvironmnet override - - - - Gets the current . - - - - - Gets or sets a value indicating whether exceptions should be thrown. See also . - - A value of true if exception should be thrown; otherwise, false. - By default exceptions are not thrown under any circumstances. - - - - Gets or sets a value indicating whether should be thrown. - - If null then is used. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. After setting this property all - existing loggers will be re-configured, so there is no need to call - manually. - - - - - Gets or sets the global log level threshold. Log events below this threshold are not logged. - - - - - Gets the default culture info to use as . - - - Specific culture info or null to use - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting - unmanaged resources. - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Creates a logger that discards all log messages. - - Null logger instance. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets the logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - The logger with type . - Type of the logger - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The type of the logger to create. The type must inherit from - The logger of type . - This is a slow-running method. Make sure you are not calling this method in a - loop. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - Name of the logger. - Type of the logger - The logger reference with type . Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The type of the logger to create. The type must inherit from . - The logger of type . Multiple calls to GetLogger with the - same argument aren't guaranteed to return the same logger reference. - - - - Loops through all loggers previously returned by GetLogger and recalculates their - target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time - will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flushes any pending log messages on all appenders. - - Config containing Targets to Flush - Flush completed notification (success / timeout) - Optional timeout that guarantees that completed notication is called. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Returns if logging is currently enabled. - - A value of if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Raises the event when the configuration is reloaded. - - Event arguments. - - - - Currently this is disposing? - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; - false to release only unmanaged resources. - - - - Dispose all targets, and shutdown logging. - - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Logger cache key. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Determines if two objects are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Determines if two objects of the same type are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Logger cache. - - - - - Inserts or updates. - - - - - - - Internal for unit tests - - - - - Enables logging in implementation. - - - - - Initializes a new instance of the class. - - The factory. - - - - Enables logging. - - - - - Logging methods which only are executed when the DEBUG conditional compilation symbol is set. - - Remarks: - The DEBUG conditional compilation symbol is default enabled (only) in a debug build. - - If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods. - This could lead to better performance. - - See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx - - - Provides logging interface and utility functions. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Initializes a new instance of the class. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Collection of context properties for the Logger. The logger will append it for all log events - - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Creates new logger that automatically appends the specified property to all log events (without changing current logger) - - Property Name - Property Value - New Logger object that automatically appends specified property - - - - Updates the specified context property for the current logger. The logger will append it for all log events. - - It could be rendered with ${event-properties:YOURNAME} - - With property, all properties could be changed. - - - Will affect all locations/contexts that makes use of the same named logger object. - - Property Name - Property Value - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Raises the event when the logger is reconfigured. - - Event arguments - - - - Implementation of logging engine. - - - - - Gets the filter result. - - The filter chain. - The log event. - default result if there are no filters, or none of the filters decides. - The result of the filter. - - - - Defines available log levels. - - - - - Trace log level. - - - - - Debug log level. - - - - - Info log level. - - - - - Warn log level. - - - - - Error log level. - - - - - Fatal log level. - - - - - Off log level. - - - - - Gets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - - - - - Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) - i.e LogLevel.Off is excluded. - - - - - Initializes a new instance of . - - The log level name. - The log level ordinal number. - - - - Gets the name of the log level. - - - - - Gets the ordinal of the log level. - - - - - Compares two objects - and returns a value indicating whether - the first one is equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal == level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is not equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal != level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than the second one. - - The first level. - The second level. - The value of level1.Ordinal > level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal >= level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than the second one. - - The first level. - The second level. - The value of level1.Ordinal < level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal <= level2.Ordinal. - - - - Gets the that corresponds to the specified ordinal. - - The ordinal. - The instance. For 0 it returns , 1 gives and so on. - - - - Returns the that corresponds to the supplied . - - The textual representation of the log level. - The enumeration value. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Determines whether the specified instance is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Compares the level to the other object. - - - The object object. - - - A value less than zero when this logger's is - less than the other logger's ordinal, 0 when they are equal and - greater than zero when this ordinal is greater than the - other ordinal. - - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Delegate used to set/get the culture in use. - - This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the instance used in the . - - Could be used to pass the to other methods - - - - Occurs when logging changes. - - - - - Gets or sets a value indicating whether NLog should throw exceptions. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether should be thrown. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. - - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Gets or sets the global log threshold. Log events below this threshold are not logged. - - - - - Gets or sets the default culture to use. - - This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Adds the given assembly which will be skipped - when NLog is trying to find the calling method on stack trace. - - The assembly to skip. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The logger class. This class must inherit from . - The logger of type . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates a logger that discards all log messages. - - Null logger which discards all log messages. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - - - - Gets the specified named custom logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The logger class. This class must inherit from . - The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - The generic way for this method is - - - - Loops through all loggers previously returned by GetLogger. - and recalculates their target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Checks if logging is currently enabled. - - if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Dispose all targets, and shutdown logging. - - - - - Generates a formatted message from the log event - - Log event. - Formatted message - - - - Returns a log message. Used to defer calculation of - the log message until it's actually needed. - - Log message. - - - - Service contract for Log Receiver client. - - This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Internal configuration of Log Receiver Service contracts. - - - - - Wire format for NLog Event. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the client-generated identifier of the event. - - - - - Gets or sets the ordinal of the log level. - - - - - Gets or sets the logger ordinal (index into . - - The logger ordinal. - - - - Gets or sets the time delta (in ticks) between the time of the event and base time. - - - - - Gets or sets the message string index. - - - - - Gets or sets the collection of layout values. - - - - - Gets the collection of indexes into array for each layout value. - - - - - Converts the to . - - The object this is part of.. - The logger name prefix to prepend in front of the logger name. - Converted . - - - - Wire format for NLog event package. - - - - - Gets or sets the name of the client. - - The name of the client. - - - - Gets or sets the base time (UTC ticks) for all events in the package. - - The base time UTC. - - - - Gets or sets the collection of layout names which are shared among all events. - - The layout names. - - - - Gets or sets the collection of logger names. - - The logger names. - - - - Gets or sets the list of events. - - The events. - - - - Converts the events to sequence of objects suitable for routing through NLog. - - The logger name prefix to prepend in front of each logger name. - - Sequence of objects. - - - - - Converts the events to sequence of objects suitable for routing through NLog. - - - Sequence of objects. - - - - - List of strings annotated for more terse serialization. - - - - - Initializes a new instance of the class. - - - - - Mapped Diagnostics Context - a thread-local structure that keeps a dictionary - of strings and provides methods to output them in layouts. - - - - - Gets the thread-local dictionary - - Must be true for any subsequent dictionary modification operation - - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The to use when converting a value to a . - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Returns all item names - - A set of the names of all items in current thread-MDC. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified exists in current thread MDC. - - - - Removes the specified from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mapped Diagnostics Context - - This class marked as obsolete before NLog 2.0 and it may be removed in a future release. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified item exists in current thread MDC. - - - - Removes the specified item from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mark a parameter of a method for message templating - - - - - Specifies which parameter of an annotated method should be treated as message-template-string - - - - - The name of the parameter that should be as treated as message-template-string - - - - - The type of the captured hole - - - - - Not decided - - - - - normal {x} - - - - - Serialize operator {@x} (aka destructure) - - - - - stringification operator {$x} - - - - - A hole that will be replaced with a value - - - - - Constructor - - - - Parameter name sent to structured loggers. - This is everything between "{" and the first of ",:}". - Including surrounding spaces and names that are numbers. - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - Type - - - - When the template is positional, this is the parsed name of this parameter. - For named templates, the value of Index is undefined. - - - Alignment to render the parameter, by default 0. - This is the parsed value between "," and the first of ":}" - - - - A fixed value - - - - Number of characters from the original template to copy at the current position. - This can be 0 when the template starts with a hole or when there are multiple consecutive holes. - - - Number of characters to skip in the original template at the current position. - 0 is a special value that mean: 1 escaped char, no hole. It can also happen last when the template ends with a literal. - - - - Combines Literal and Hole - - - - Literal - - - Hole - Uninitialized when = 0. - - - - Description of a single parameter extracted from a MessageTemplate - - - - - Parameter Name extracted from - This is everything between "{" and the first of ",:}". - - - - - Parameter Value extracted from the -array - - - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - - Parameter method that should be used to render the parameter - See also - - - - - Returns index for , when - - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - Parameter CaptureType - - - - Parameters extracted from parsing as MessageTemplate - - - - - - - - - - - Gets the parameters at the given index - - - - - Number of parameters - - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Indicates whether the template was parsed successful, and there are no unmatched parameters - - - - - Constructor for parsing the message template with parameters - - including any parameter placeholders - All - - - - Constructor for named parameters that already has been parsed - - - - - Create MessageTemplateParameter from - - - - - A message template - - - - The original template string. - This is the key passed to structured targets. - - - The list of literal parts, useful for string rendering. - It indicates the number of characters from the original string to print, - then there's a hole with how many chars to skip. - - "Hello {firstName} {lastName}!" - ------------------------------------- - ║P |S ║P|S ║P|S║ - ║6 |11 ║1|10 ║1|0║ - ║Hello |{firstName}║ |{lastName}║!║ - - "{x} * 2 = {2x}" - -------------------- - ║P|S ║P |S ║ - ║0|3 ║7 |4 ║ - ║{x}║ * 2 = |{2x}║ - - The tricky part is escaped braces. They are represented by a skip = 0, - which is interpreted as "move one char forward, no hole". - - "Escaped }} is fun." - ---------------------- - ║P |S║P |S║ - ║9 |0║8 |0║ - ║Escaped }|}║ is fun.|║ - - - - This list of holes. It's used both to fill the string rendering - and to send values along the template to structured targets. - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Create a template, which is already parsed - - - - - - - - - Create a template, which is already parsed - - - - - - - - This is for testing only: recreates from the parsed data. - - - - This is for testing only: rebuilds the hole - - Add to this string builder - ref for performance - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Gets the current literal/hole in the template - - - - - Clears the enumerator - - - - - Restarts the enumerator of the template - - - - - Moves to the next literal/hole in the template - - Found new element [true/false] - - - - Parse format after hole name/index. Handle the escaped { and } in the format. Don't read the last } - - - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Error when parsing a template. - - - - - Current index when the error occurred. - - - - - The template we were parsing - - - - - New exception - - The message to be shown. - Current index when the error occurred. - - - - - Render templates - - - - - Render a template to a string. - - The template. - Culture. - Parameters for the holes. - Do not fallback to StringBuilder.Format for positional templates. - The String Builder destination. - Parameters for the holes. - - - - Render a template to a string. - - The template. - The String Builder destination. - Culture. - Parameters for the holes. - Rendered template, never null. - - - - Convert Render or serialize a value, with optionally backwards-compatible with - - - - Singleton - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Format an object to a readable string, or if it's an object, serialize - - The value to convert - - - - - - - - Try serializing a scalar (string, int, NULL) or simple type (IFormattable) - - - - - Serialize Dictionary as JSON like structure, without { and } - - - "FirstOrder"=true, "Previous login"=20-12-2017 14:55:32, "number of tries"=1 - - - formatstring of an item - - - - - - - - - Convert a value to a string with format and append to . - - The value to convert. - Format sting for the value. - Format provider for the value. - Append to this - - - - Nested Diagnostics Context - - This class marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top object off the NDC stack. The object is removed from the stack. - - The top object from the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all objects on the NDC stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Nested Diagnostics Context - a thread-local structure that keeps a stack - of strings and provides methods to output them in layouts - - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object at the top of the NDC stack if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified object on current thread NDC. - - The object to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top message from the NDC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top object off the NDC stack. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Peeks the first object on the NDC stack - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. - - Array of objects on the stack. - - - - Resets the stack to the original count during . - - - - - Initializes a new instance of the class. - - The stack. - The previous count. - - - - Reverts the stack to original item count. - - - - - Exception thrown during NLog configuration. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The inner exception. - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Exception thrown during log event processing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - It works as a normal but it discards all messages which an application requests - to be logged. - - It effectively implements the "Null Object" pattern for objects. - - - - - Initializes a new instance of . - - The factory class to be used for the creation of this logger. - - - - Extension methods to setup LogFactory options - - - - - Gets the logger with the full name of the current class, so namespace and class name. - - - - - Gets the specified named logger. - - - - - Configures loading of NLog extensions for Targets and LayoutRenderers - - - - - Configures the output of NLog for diagnostics / troubleshooting - - - - - Configures serialization and transformation of LogEvents - - - - - Loads NLog config created by the method - - - - - Loads NLog config provided in - - - - - Loads NLog config from filename if provided, else fallback to scanning for NLog.config - - - - - Loads NLog config from XML in - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Enable/disables autoloading of NLog extensions by scanning and loading available assemblies - - - Enabled by default, and gives a huge performance hit during startup. Recommended to disable this when running in the cloud. - - - - - Registers NLog extensions from the assembly. - - - - - Registers NLog extensions from the assembly type name - - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - MethodInfo extracted by reflection - typeof(MyClass).GetMethod("MyFunc", BindingFlags.Static). - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Extension methods to setup NLog options - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Overrides the active with a new custom implementation - - - - - Overrides the active with a new custom implementation - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Specifies the way archive numbering is performed. - - - - - Sequence style numbering. The most recent archive has the highest number. - - - - - Rolling style numbering (the most recent is always #0 then #1, ..., #N. - - - - - Date style numbering. Archives will be stamped with the prior period - (Year, Month, Day, Hour, Minute) datetime. - - - - - Date and sequence style numbering. - Archives will be stamped with the prior period (Year, Month, Day) datetime. - The most recent archive has the highest number (in combination with the date). - - - - - Abstract Target with async Task support - - - - - How many milliseconds to delay the actual write operation to optimize for batching - - - - - How many seconds a Task is allowed to run before it is cancelled. - - - - - How many attempts to retry the same Task, before it is aborted - - - - - How many milliseconds to wait before next retry (will double with each retry) - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Task Scheduler used for processing async Tasks - - - - - Constructor - - - - - Initializes the internal queue for pending logevents - - - - - Override this to create the actual logging task - - Example of how to override this method, and call custom async method - - protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) - { - return CustomWriteAsync(logEvent, token); - } - - private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) - { - await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); - } - - - The log event. - The cancellation token - - - - - Override this to create the actual logging task for handling batch of logevents - - A batch of logevents. - The cancellation token - - - - - Handle cleanup after failed write operation - - Exception from previous failed Task - The cancellation token - Number of retries remaining - Time to sleep before retrying - Should attempt retry - - - - Schedules the LogEventInfo for async writing - - The log event. - - - - Write to queue without locking - - - - - - Schedules notification of when all messages has been written - - - - - - Closes Target by updating CancellationToken - - - - - Releases any managed resources - - - - - - Checks the internal queue for the next to create a new task for - - Used for race-condition validation between task-completion and timeout - Signals whether previousTask completed an almost full BatchSize - - - - Generates recursive task-chain to perform retry of writing logevents with increasing retry-delay - - - - - Creates new task to handle the writing of the input - - LogEvents to write - New Task created [true / false] - - - - Handles that scheduled task has completed (successfully or failed), and starts the next pending task - - Task just completed - AsyncContinuation to notify of success or failure - - - - Timer method, that is fired when pending task fails to complete within timeout - - - - - - Sends log messages to the remote instance of Chainsaw application from log4j. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a name. - - Name of the target. - - - - Writes log messages to the console. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default. In multi threaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. - - - - - - Gets or sets a value indicating whether to auto-check if the console is available - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Gets or sets whether to enable batch writing using char[]-buffers, instead of using - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified logging event to the Console.Out or - Console.Error depending on the value of the Error flag. - - The logging event. - - Note that the Error option is not supported on .NET Compact Framework. - - - - - - - - Write to output - - - - - A descriptor for an archive created with the DateAndSequence numbering mode. - - - - - The full name of the archive file. - - - - - The parsed date contained in the file name. - - - - - The parsed sequence number contained in the file name. - - - - - Determines whether produces the same string as the current instance's date once formatted with the current instance's date format. - - The date to compare the current object's date to. - True if the formatted dates are equal, otherwise False. - - - - Initializes a new instance of the class. - - - - - Writes log messages to the attached managed debugger. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the attached debugger. - - The logging event. - - - - Mock target - useful for testing. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the number of times this target has been called. - - - - - - Gets the last message rendered by this target. - - - - - - Increases the number of messages. - - The logging event. - - - - Default class for serialization of values to JSON format. - - - - - Singleton instance of the serializer. - - - - - Private. Use - - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - Serialized value. - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - serialisation options - Serialized value. - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - The objects in path (Avoid cyclic reference loop). - The current depth (level) of recursion. - Object serialized successfully (true/false). - - - - No quotes needed for this type? - - - - - Checks the object if it is numeric - - TypeCode for the object - Accept fractional types as numeric type. - - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - all options - JSON escaped string - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - Should non-ascii characters be encoded - - JSON escaped string - - - - Check if cleanup should be performed on initialize new file - - Skip cleanup when initializing new file, just after having performed archive operation - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Characters determining the start of the . - - - - - Characters determining the end of the . - - - - - File name which is used as template for matching and replacements. - It is expected to contain a pattern to match. - - - - - The begging position of the - within the . -1 is returned - when no pattern can be found. - - - - - The ending position of the - within the . -1 is returned - when no pattern can be found. - - - - - Replace the pattern with the specified String. - - - - - - - Archives the log-files using a date style numbering. Archives will be stamped with the - prior period (Year, Month, Day, Hour, Minute) datetime. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Archives the log-files using a date and sequence style numbering. Archives will be stamped - with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in - combination with the date). - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Parse filename with date and sequence pattern - - - dateformat for archive - - the found pattern. When failed, then default - the found pattern. When failed, then default - - - - - Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes - duplicate archive filenames, then sequence-style is automatically enforced. - - Example: - Base Filename trace.log - Next Filename trace.0.log - - The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern. - Before called the original IFileArchiveMode, that has been wrapped by this - - - - - Determines if the file name as contains a numeric pattern i.e. {#} in it. - - Example: - trace{#}.log Contains the numeric pattern. - trace{###}.log Contains the numeric pattern. - trace{#X#}.log Contains the numeric pattern (See remarks). - trace.log Does not contain the pattern. - - Occasionally, this method can identify the existence of the {#} pattern incorrectly. - File name to be checked. - when the pattern is found; otherwise. - - - - Archives the log-files using a rolling style numbering (the most recent is always #0 then - #1, ..., #N. - - When the number of archive files exceed the obsolete archives - are deleted. - - - - - Replaces the numeric pattern i.e. {#} in a file name with the parameter value. - - File name which contains the numeric pattern. - Value which will replace the numeric pattern. - File name with the value of in the position of the numeric pattern. - - - - Archives the log-files using a sequence style numbering. The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Modes of archiving files based on time. - - - - - Don't archive based on time. - - - - - AddToArchive every year. - - - - - AddToArchive every month. - - - - - AddToArchive daily. - - - - - AddToArchive every hour. - - - - - AddToArchive every minute. - - - - - AddToArchive every Sunday. - - - - - AddToArchive every Monday. - - - - - AddToArchive every Tuesday. - - - - - AddToArchive every Wednesday. - - - - - AddToArchive every Thursday. - - - - - AddToArchive every Friday. - - - - - AddToArchive every Saturday. - - - - - Type of filepath - - - - - Detect of relative or absolute - - - - - Relative path - - - - - Absolute path - - Best for performance - - - - Writes log messages to one or more files. - - Documentation on NLog Wiki - - - - Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list. - - Clean up period is defined in days. - - - - The maximum number of initialized files before clean up procedures are initiated, - to keep the number of initialized files to a minimum. Chose 25 to cater for monthly rolling of log-files. - - - - - This value disables file archiving based on the size. - - - - - Holds the initialized files each given time by the instance. Against each file, the last write time is stored. - - Last write time is store in local time (no UTC). - - - - List of the associated file appenders with the instance. - - - - - The number of initialized files at any one time. - - - - - The maximum number of archive files that should be kept. - - - - - The maximum days of archive files that should be kept. - - - - - The filename as target - - - - - The archive file name as target - - - - - The date of the previous log event. - - - - - The file name of the previous log event. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the name of the file to write to. - - - This FileName string is a layout which may include instances of layout renderers. - This lets you use a single target to write to multiple files. - - - The following value makes NLog write logging events to files based on the log level in the directory where - the application runs. - ${basedir}/${level}.log - All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on. - You can combine as many of the layout renderers as you want to produce an arbitrary log file name. - - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. - If set to false, nothing gets written when the filename is wrong. - - - - - - Is the an absolute or relative path? - - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - - Gets or sets a value indicating whether to delete old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - - - - - - Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end. - - - - - - Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event. - - - Setting this property to True helps improve performance. - - - - - - Gets or sets the maximum number of log file names that should be stored as existing. - - - The bigger this number is the longer it will take to write each log record. The smaller the number is - the higher the chance that the clean function will be run when no new files have been opened. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - - Gets or sets the line ending mode. - - - - - - Gets or sets a value indicating whether to automatically flush the file buffers after each log message. - - - - - - Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance - in a situation where a single File target is writing to many files - (such as splitting by level or by logger). - - - The files are managed on a LRU (least recently used) basis, which flushes - the files that have not been used for the longest period of time should the - cache become full. As a rule of thumb, you shouldn't set this parameter to - a very high value. A number like 10-15 shouldn't be exceeded, because you'd - be keeping a large number of files open which consumes system resources. - - - - - - Gets or sets the maximum number of seconds that files are kept open. If this number is negative the files are - not automatically closed after a period of inactivity. - - - - - - Gets or sets the maximum number of seconds before open files are flushed. If this number is negative or zero - the files are not flushed by timer. - - - - - - Gets or sets the log file buffer size in bytes. - - - - - - Gets or sets the file encoding. - - - - - - Gets or sets whether or not this target should just discard all data that its asked to write. - Mostly used for when testing NLog Stack except final write - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts. - - - This effectively prevents files from being kept open. - - - - - - Gets or sets a value indicating whether to write BOM (byte order mark) in created files - - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - The actual delay is a random value between 0 and the value specified - in this parameter. On each failed attempt the delay base is doubled - up to times. - - - Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:

- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...

- and so on. - - - - -

- Gets or sets a value indicating whether to archive old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - After archiving the old file, the current log file will be empty. - - -
- - - Gets or sets a value of the file size threshold to archive old log file on startup. - - - This option won't work if is set to false - Default value is 0 which means that the file is archived as soon as archival on - startup is enabled. - - - - - - Gets or sets a value specifying the date format to use when archiving files. - - - This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence. - - - - - - Gets or sets the size in bytes above which log files will be automatically archived. - - Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. - Choose: - - - Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. - - - - - - Gets or sets a value indicating whether to automatically archive log files every time the specified time passes. - - - Files are moved to the archive as part of the write operation if the current period of time changes. For example - if the current hour changes from 10 to 11, the first write that will occur - on or after 11:00 will trigger the archiving. -

- Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. -

-
- -
- - - Is the an absolute or relative path? - - - - - - Gets or sets the name of the file to be used for an archive. - - - It may contain a special placeholder {#####} - that will be replaced with a sequence of numbers depending on - the archiving strategy. The number of hash characters used determines - the number of numerical digits to be used for numbering files. - - - - - - Gets or sets the maximum number of archive files that should be kept. - - - - - - Gets or sets the maximum days of archive files that should be kept. - - - - - - Gets or sets the way file archives are numbered. - - - - - - Used to compress log files during archiving. - This may be used to provide your own implementation of a zip file compressor, - on platforms other than .Net4.5. - Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise. - - - - - - Gets or sets a value indicating whether to compress archive files into the zip archive format. - - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - - Gets or sets a value indicating whether the footer should be written only when the file is archived. - - - - - - Gets the characters that are appended after each line. - - - - - Refresh the ArchiveFilePatternToWatch option of the . - The log file must be watched for archiving when multiple processes are writing to the same - open file. - - - - - Removes records of initialized files that have not been - accessed in the last two days. - - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Removes records of initialized files that have not been - accessed after the specified date. - - The cleanup threshold. - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Flushes all pending file operations. - - The asynchronous continuation. - - The timeout parameter is ignored, because file APIs don't provide - the needed functionality. - - - - - Returns the suitable appender factory ( ) to be used to generate the file - appenders associated with the instance. - - The type of the file appender factory returned depends on the values of various properties. - - suitable for this instance. - - - - Initializes file logging by creating data structures that - enable efficient multi-file logging. - - - - - Closes the file(s) opened for writing. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Writes the specified logging event to a file specified in the FileName - parameter. - - The logging event. - - - - Get full filename (=absolute) and cleaned if needed. - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes the specified array of logging events to a file specified in the FileName - parameter. - - An array of objects. - - This function makes use of the fact that the events are batched by sorting - the requests by filename. This optimizes the number of open/close calls - and can help improve performance. - - - - - Returns estimated size for memory stream, based on events count and first event size in bytes. - - Count of events - Bytes count of first event - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Gets the bytes to be written to the file. - - Log event. - Array of bytes that are ready to be written. - - - - Modifies the specified byte array before it gets sent to a file. - - The byte array. - The modified byte array. The function can do the modification in-place. - - - - Gets the bytes to be written to the file. - - The log event to be formatted. - to help format log event. - Optional temporary char-array to help format log event. - Destination for the encoded result. - - - - Formats the log event for write. - - The log event to be formatted. - for the result. - - - - Modifies the specified byte array before it gets sent to a file. - - The LogEvent being written - The byte array. - - - - Archives fileName to archiveFileName. - - File name to be archived. - Name of the archive file. - - - - Gets the correct formatting to be used based on the value of for converting values which will be inserting into file - names during archiving. - - This value will be computed only when a empty value or is passed into - - Date format to used irrespectively of value. - Formatting for dates. - - - - Calculate the DateTime of the requested day of the week. - - The DateTime of the previous log event. - The next occuring day of the week to return a DateTime for. - The DateTime of the next occuring dayOfWeek. - For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return - Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. - - - - Invokes the archiving process after determining when and which type of archiving is required. - - File name to be checked and archived. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - - - - Gets the pattern that archive files will match - - Filename of the log file - Log event that the instance is currently processing. - A string with a pattern that will match the archive file names - - - - Archives the file if it should be archived. - - The file name to check for. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - True when archive operation of the file was completed (by this target or a concurrent target) - - - - Closes any active file-appenders that matches the input filenames. - File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive - - - - - Indicates if the automatic archiving process should be executed. - - File name to be written. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Returns the correct filename to archive - - - - - Gets the file name for archiving, or null if archiving should not occur based on file size. - - File name to be written. - The size in bytes of the next chunk of data to be written in the file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists - - - - - Returns the file name for archiving, or null if archiving should not occur based on date/time. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - - High resolution Time - Time Resolution Level - Truncated Low Resolution Time - - - - Evaluates which parts of a file should be written (header, content, footer) based on various properties of - instance and writes them. - - File name to be written. - Raw sequence of to be written into the content part of the file. - File has just been opened. - - - - Initialise a file to be used by the instance. Based on the number of initialized - files and the values of various instance properties clean up and/or archiving processes can be invoked. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file (DateTime.MinValue if just initialized). - - - - Writes the file footer and finalizes the file in instance internal structures. - - File name to close. - Indicates if the file is being finalized for archiving. - - - - Writes the footer information to a file. - - The file path to write to. - - - - Decision logic whether to archive logfile on startup. - and properties. - - File name to be written. - Decision whether to archive or not. - - - - Invokes the archiving and clean up of older archive file based on the values of - and - properties respectively. - - File name to be written. - Log event that the instance is currently processing. - - - - Creates the file specified in and writes the file content in each entirety i.e. - Header, Content and Footer. - - The name of the file to be written. - Sequence of to be written in the content section of the file. - First attempt to write? - This method is used when the content of the log file is re-written on every write. - - - - Writes the header information and byte order mark to a file. - - File appender associated with the file. - - - - The sequence of to be written in a file after applying any formatting and any - transformations required from the . - - The layout used to render output message. - Sequence of to be written. - Usually it is used to render the header and hooter of the files. - - - - Check if cleanup should be performed on initialize new file - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Create a wildcard file-mask that allows one to find all files belonging to the same archive. - - Base archive file pattern - Wildcard file-mask - - - - Search directory for all existing files that are part of the same archive. - - Base archive file pattern - - - - - Generate the next archive filename for the archive. - - Base archive file pattern - File date of archive - Existing files in the same archive - - - - - Return all files that should be removed from the provided archive. - - Base archive file pattern - Existing files in the same archive - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - - - - may be configured to compress archived files in a custom way - by setting before logging your first event. - - - - - Create archiveFileName by compressing fileName. - - Absolute path to the log file to compress. - Absolute path to the compressed archive file to create. - - - - Interface for serialization of values, maybe even objects to JSON format. - Useful for wrappers for existing serializers. - - - - - Returns a serialization of an object - into JSON format. - - The object to serialize to JSON. - Serialized value (null = Serialize failed). - - - - Options for JSON serialisation - - - - - Add quotes around object keys? - - - - - Format provider for value - - - - - Format string for value - - - - - Should non-ascii characters be encoded - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - - - Serialize enum as string value - - - - - Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_). - - Any other characters will be converted to underscore character (_) - - - - - How far down the rabbit hole should the Json Serializer go with object-reflection before stopping - - - - Initializes a new instance of the class. - - - - Line ending mode. - - - - - Insert platform-dependent end-of-line sequence after each line. - - - - - Insert CR LF sequence (ASCII 13, ASCII 10) after each line. - - - - - Insert CR character (ASCII 13) after each line. - - - - - Insert LF character (ASCII 10) after each line. - - - - - Insert null terminator (ASCII 0) after each line. - - - - - Do not insert any line ending. - - - - - Gets the name of the LineEndingMode instance. - - - - - Gets the new line characters (value) of the LineEndingMode instance. - - - - - Initializes a new instance of . - - The mode name. - The new line characters to be used. - - - - Returns the that corresponds to the supplied . - - - The textual representation of the line ending mode, such as CRLF, LF, Default etc. - Name is not case sensitive. - - The value, that corresponds to the . - There is no line ending mode with the specified name. - - - - Compares two objects and returns a - value indicating whether the first one is equal to the second one. - - The first level. - The second level. - The value of mode1.NewLineCharacters == mode2.NewLineCharacters. - - - - Compares two objects and returns a - value indicating whether the first one is not equal to the second one. - - The first mode - The second mode - The value of mode1.NewLineCharacters != mode2.NewLineCharacters. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms - and data structures like a hash table. - - - - - Determines whether the specified is - equal to this instance. - - The to compare with - this instance. - - Value of true if the specified - is equal to this instance; otherwise, false. - - - The parameter is null. - - - - Indicates whether the current object is equal to another object of the same type. - true if the current object is equal to the parameter; otherwise, false. - An object to compare with this object. - - - - Provides a type converter to convert objects to and from other representations. - - - - - Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context. - - - true if this converter can perform the conversion; otherwise, false. - - An that provides a format context. A that represents the type you want to convert from. - - - - Converts the given object to the type of this converter, using the specified context and culture information. - - - An that represents the converted value. - - An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed. - - - - Writes log messages to in memory for programmatic retrieval. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the list of logs gathered in the . - - - - - Gets or sets the max number of items to have in memory - - - - - - Renders the logging event message and adds to - - The logging event. - - - - A parameter to MethodCall. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout to use for parameter value. - - - - Initializes a new instance of the class. - - Name of the parameter. - The layout. - - - - Initializes a new instance of the class. - - The name of the parameter. - The layout. - The type of the parameter. - - - - Gets or sets the name of the parameter. - - - - - - Gets or sets the type of the parameter. Obsolete alias for - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Calls the specified static method on each log message and passes contextual parameters to it. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets the class name. - - - - - - Gets or sets the method name. The method must be public and static. - - Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx - e.g. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - Name of the target. - Method to call on logevent. - - - - Initializes the target. - - - - - Calls the specified Method. - - Method parameters. - The logging event. - - - - Calls the specified Method. - - Method parameters. - - - - The base class for all targets which call methods (local or remote). - Manages parameters and type coercion. - - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - - - - Prepares an array of parameters to be passed based on the logging event and calls DoInvoke(). - - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Sends log messages over the network. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- To print the results, use any application that's able to receive messages over - TCP or UDP. NetCat is - a simple but very powerful command-line tool that can be used for that. This image - demonstrates the NetCat tool receiving log messages from Network target. -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will be very slow. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-

- There are two specialized versions of the Network target: Chainsaw - and NLogViewer which write to instances of Chainsaw log4j viewer - or NLogViewer application respectively. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the network address. - - - The network address can be: -
    -
  • tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
  • -
  • tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
  • -
  • tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
  • -
  • udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • http://host:port/pageName - HTTP using POST verb
  • -
  • https://host:port/pageName - HTTPS using POST verb
  • -
- For SOAP-based webservice support over HTTP use WebService target. -
- -
- - - Gets or sets a value indicating whether to keep connection open whenever possible. - - - - - - Gets or sets a value indicating whether to append newline at the end of log message. - - - - - - Gets or sets the end of line value if a newline is appended at the end of log message . - - - - - - Gets or sets the maximum message size in bytes. - - - - - - Gets or sets the size of the connection cache (number of connections which are kept alive). - - - - - - Gets or sets the maximum current connections. 0 = no maximum. - - - - - - Gets or sets the action that should be taken if the will be more connections than . - - - - - - Gets or sets the maximum queue size. - - - - - - Gets or sets the action that should be taken if the message is larger than - maxMessageSize. - - - - - - Gets or sets the encoding to be used. - - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Sends the - rendered logging event over the network optionally concatenating it with a newline character. - - The logging event. - - - - Try to remove. - - - - - removed something? - - - - Gets the bytes to be written. - - Log event. - Byte array. - - - - The action to be taken when there are more connections then the max. - - - - - Just allow it. - - - - - Discard the connection item. - - - - - Block until there's more room in the queue. - - - - - Action that should be taken if the message overflows. - - - - - Report an error. - - - - - Split the message into smaller pieces. - - - - - Discard the entire message. - - - - - Represents a parameter to a NLogViewer target. - - - - - Initializes a new instance of the class. - - - - - Gets or sets viewer parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - Sends log messages to the remote instance of NLog Viewer. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include stack contents. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the renderer for log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets the layout renderer which produces Log4j-compatible XML events. - - - - - Gets or sets the instance of that is used to format log messages. - - - - - - Discards log messages. Used mainly for debugging and benchmarking. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets a value indicating whether to perform layout calculation. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Does nothing. Optionally it calculates the layout text but - discards the results. - - The logging event. - - - - Outputs log messages through the OutputDebugString() Win32 API. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - - - - Represents logging target. - - - - Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts - - - - The Max StackTraceUsage of all the in this Target - - - - - Gets or sets the name of the target. - - - - - - Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers - Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - - - - Can be used if has been enabled. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - This method won't prerender if all layouts in this target are thread-agnostic. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Writes async log event to the log target. - - Async Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Log event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - NOTE! Obsolete, instead override WriteAsyncThreadSafe(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target, in a thread safe manner. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Renders the event info in layout. - - The layout. - The event info. - String representing log event. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Should the exception be rethrown? - - - Upgrade to private protected when using C# 7.2 - - - - Marks class as a logging target and assigns a name to it. - - This attribute is not required when registering the target in the API. - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page). - - - - - Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page). - - - - - Attribute details for - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Gets or sets when an empty value should cause the property to be included - - - - - Gets or sets the type of the property. - - - - - Represents target that supports context capture using MDLC, MDC, NDLC and NDC - - - - - - - - - - - - - - - - - - - - - - - Gets or sets a value indicating whether to include contents of the dictionary - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the - - - - - - Gets the array of custom attributes to be passed into the logevent context - - - - - - Constructor - - - - - - - - Check if logevent has properties (or context properties) - - - True if properties should be included - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Dictionary with any context properties for the logEvent (Null if none found) - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Optional prefilled dictionary - Dictionary with any context properties for the logEvent (Null if none found) - - - - Creates combined dictionary of all configured properties for logEvent - - - Dictionary with all collected properties for logEvent - - - - Creates combined dictionary of all configured properties for logEvent - - - Optional prefilled dictionary - Dictionary with all collected properties for logEvent - - - - Generates a new unique name, when duplicate names are detected - - LogEvent that triggered the duplicate name - Duplicate item name - Item Value - Dictionary of context values - New (unique) value (or null to skip value). If the same value is used then the item will be overwritten - - - - Returns the captured snapshot of for the - - - Dictionary with MDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with GDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDC key - MDC value - Snapshot of MDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDC value - Snapshot of NDC value - Include object value in snapshot - - - - Take snapshot of a single object value - - Log event - Key Name (null when NDC / NDLC) - Object Value - Snapshot of value - Include object value in snapshot - - - Internal Layout that allows capture of MDC context - - - Internal Layout that allows capture of NDC context - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the layout used to format log messages. - - - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the text to be rendered. - - - - - - Gets or sets the footer. - - - - - - Gets or sets the header. - - - - - - Gets or sets the layout with header and footer. - - The layout with header and footer. - - - - Web service protocol. - - - - - Use SOAP 1.1 Protocol. - - - - - Use SOAP 1.2 Protocol. - - - - - Use HTTP POST Protocol. - - - - - Use HTTP GET Protocol. - - - - - Do an HTTP POST of a JSON document. - - - - - Do an HTTP POST of an XML document. - - - - - Web Service Proxy Configuration Type - - - - - Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy) - - - Example of how to configure default proxy using app.config - - <system.net> - <defaultProxy enabled = "true" useDefaultCredentials = "true" > - <proxy usesystemdefault = "True" /> - </defaultProxy> - </system.net> - - - - - - Automatic use of proxy with authentication (cached) - - - - - Disables use of proxy (fast) - - - - - Custom proxy address (cached) - - - - - Calls the specified web service on each log message. - - Documentation on NLog Wiki - - The web service must implement a method that accepts a number of string parameters. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

The example web service that works with this example is shown below

- -
-
- - - dictionary that maps a concrete implementation - to a specific -value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target - - - - Gets or sets the web service URL. - - - - - - Gets or sets the value of the User-agent HTTP header. - - - - - - Gets or sets the Web service method name. Only used with Soap. - - - - - - Gets or sets the Web service namespace. Only used with Soap. - - - - - - Gets or sets the protocol to be used when calling web service. - - - - - - Gets or sets the custom proxy address, include port separated by a colon - - - - - - Should we include the BOM (Byte-order-mark) for UTF? Influences the property. - - This will only work for UTF-8. - - - - - - Gets or sets the encoding. - - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Gets or sets the name of the root XML element, - if POST of XML document chosen. - If so, this property must not be null. - (see and ). - - - - - - Gets or sets the (optional) root namespace of the XML document, - if POST of XML document chosen. - (see and ). - - - - - - Gets the array of parameters to be passed. - - - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Invokes the web service method. - - Parameters to be passed. - The logging event. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. - - - - - - - Write from input to output. Fix the UTF-8 bom - - - - - - - - - base class for POST formatters, that - implement former PrepareRequest() method, - that creates the content for - the requested kind of HTTP request - - - - - Asynchronous request queue. - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Gets or sets the request limit. - - - - - Gets or sets the action to be taken when there's no more room in - the queue and another request is enqueued. - - - - - Notifies about log event that was dropped when set to - - - - - Notifies when queue size is growing over - - - - - Raise event when queued element was dropped because of queue overflow - - Dropped queue item - - - - Raise event when RequestCount overflow - - current requests count - - - - Provides asynchronous, buffered execution of target writes. - - Documentation on NLog Wiki - -

- Asynchronous target wrapper allows the logger code to execute more quickly, by queueing - messages and processing them in a separate thread. You should wrap targets - that spend a non-trivial amount of time in their Write() method with asynchronous - target to speed up logging. -

-

- Because asynchronous logging is quite a common scenario, NLog supports a - shorthand notation for wrapping all targets with AsyncWrapper. Just add async="true" to - the <targets/> element in the configuration file. -

- - - ... your targets go here ... - - ]]> -
- -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of requests in the queue. - The action to be taken when the queue overflows. - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity) - - - - - - Raise event when Target cannot store LogEvent. - Event arg contains lost LogEvents - - - - - Raises when event queue grow. - Queue can grow when was set to - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the limit of full s to write before yielding into - Performance is better when writing many small batches, than writing a single large batch - - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - - Gets the queue of lazy writer thread requests. - - - - - Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target by starting the lazy writer timer. - - - - - Shuts down the lazy writer timer. - - - - - Starts the lazy writer thread which periodically writes - queued log messages. - - - - - Attempts to start an instant timer-worker-thread which can write - queued log messages. - - Returns true when scheduled a timer-worker-thread - - - - Stops the lazy writer thread. - - - - - Adds the log event to asynchronous queue to be processed by - the lazy writer thread. - - The log event. - - The is called - to ensure that the log event can be processed in another thread. - - - - - Write to queue without locking - - - - - - The action to be taken when the queue overflows. - - - - - Grow the queue. - - - - - Discard the overflowing item. - - - - - Block until there's more room in the queue. - - - - - Causes a flush on a wrapped target if LogEvent satisfies the . - If condition isn't set, flushes on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Gets or sets the condition expression. Log events who meet this condition will cause - a flush on the wrapped target. - - - - - - Delay the flush until the LogEvent has been confirmed as written - - If not explicitly set, then disabled by default for and AsyncTaskTarget - - - - - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - The wrapped target. - Name of the target - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes the target. - - - - - Forwards the call to the .Write() - and calls on it if LogEvent satisfies - the flush condition or condition is null. - - Logging event to be written out. - - - - Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - A target that buffers log events and sends them in batches to the wrapped target. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - The action to take when the buffer overflows. - - - - Gets or sets the number of log events to be buffered. - - - - - - Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed - if there's no write in the specified period of time. Use -1 to disable timed flushes. - - - - - - Gets or sets a value indicating whether to use sliding timeout. - - - This value determines how the inactivity period is determined. If sliding timeout is enabled, - the inactivity timer is reset after each write, if it is disabled - inactivity timer will - count from the first event written to the buffer. - - - - - - Gets or sets the action to take if the buffer overflows. - - - Setting to will replace the - oldest event with new events without sending events down to the wrapped target, and - setting to will flush the - entire buffer to the wrapped target. - - - - - - Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target. - - - - - Closes the target by flushing pending events in the buffer (if any). - - - - - Adds the specified log event to the buffer and flushes - the buffer in case the buffer gets full. - - The log event. - - - - The action to be taken when the buffer overflows. - - - - - Flush the content of the buffer. - - - - - Discard the oldest item. - - - - - A base class for targets which wrap other (multiple) targets - and provide various forms of target routing. - - - - - Initializes a new instance of the class. - - The targets. - - - - Gets the collection of targets managed by this compound target. - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Writes logging event to the log target. - - Logging event to be written out. - - - - Flush any pending log messages for all wrapped targets. - - The asynchronous continuation. - - - - Provides fallback-on-error. - - Documentation on NLog Wiki - -

This example causes the messages to be written to server1, - and if it fails, messages go to server2.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Gets or sets a value indicating whether to return to the first target after any successful write. - - - - - - - - - - - - Forwards the log event to the sub-targets until one of them succeeds. - - The log event. - - The method remembers the last-known-successful target - and starts the iteration from it. - If is set, the method - resets the target to the first target - stored in . - - - - - Filtering rule for . - - - - - Initializes a new instance of the FilteringRule class. - - - - - Initializes a new instance of the FilteringRule class. - - Condition to be tested against all events. - Filter to apply to all log events when the first condition matches any of them. - - - - Gets or sets the condition to be tested. - - - - - - Gets or sets the resulting filter to be applied when the condition matches. - - - - - - Filters log entries based on a condition. - - Documentation on NLog Wiki - -

This example causes the messages not contains the string '1' to be ignored.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The condition. - - - - Initializes a new instance of the class. - - The wrapped target. - The condition. - - - - Gets or sets the condition expression. Log events who meet this condition will be forwarded - to the wrapped target. - - - - - - Gets or sets the filter. Log events who evaluates to will be discarded - - - - - - - - - Checks the condition against the passed log event. - If the condition is met, the log event is forwarded to - the wrapped target. - - Log event. - - - - - - - Limits the number of messages written per timespan to the wrapped target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of messages written per interval. - Interval in which the maximum number of messages can be written. - - - - Gets or sets the maximum allowed number of messages written per . - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets or sets the interval in which messages will be written up to the number of messages. - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets the DateTime when the current will be reset. - - - - - - Gets the number of written in the current . - - - - - - Initializes the target and resets the current Interval and . - - - - - Writes log event to the wrapped target if the current is lower than . - If the is already reached, no log event will be written to the wrapped target. - resets when the current is expired. - - Log event to be written out. - - - - Arguments for events. - - - - - - - - Instance of that was dropped by - - - - - Raises by when - queue is full - and set to - By default queue doubles it size. - - - - - Contains items count and new queue size. - - Required queue size - Current queue size - - - - New queue size - - - - - Current requests count - - - - - Filters buffered log entries based on a set of conditions that are evaluated on a group of events. - - Documentation on NLog Wiki - - PostFilteringWrapper must be used with some type of buffering target or wrapper, such as - AsyncTargetWrapper, BufferingWrapper or ASPNetBufferingWrapper. - - -

- This example works like this. If there are no Warn,Error or Fatal messages in the buffer - only Info messages are written to the file, but if there are any warnings or errors, - the output includes detailed trace (levels >= Debug). You can plug in a different type - of buffering wrapper (such as ASPNetBufferingWrapper) to achieve different - functionality. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Gets or sets the default filter to be applied when no specific rule matches. - - - - - - Gets the collection of filtering rules. The rules are processed top-down - and the first rule that matches determines the filtering condition to - be applied to log events. - - - - - - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Evaluates all filtering rules to find the first one that matches. - The matching rule determines the filtering condition to be applied - to all items in a buffer. If no condition matches, default filter - is applied to the array of log events. - - Array of log events to be post-filtered. - - - - Evaluate all the rules to get the filtering condition - - - - - - - Sends log messages to a randomly selected target. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt - chosen randomly on a per-message basis. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the log event to one of the sub-targets. - The sub-target is randomly chosen. - - The log event. - - - - Repeats each log event the specified number of times. - - Documentation on NLog Wiki - -

This example causes each log message to be repeated 3 times.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The repeat count. - - - - Initializes a new instance of the class. - - The wrapped target. - The repeat count. - - - - Gets or sets the number of times to repeat each log message. - - - - - - Forwards the log message to the by calling the method times. - - The log event. - - - - Retries in case of write error. - - Documentation on NLog Wiki - -

This example causes each write attempt to be repeated 3 times, - sleeping 1 second between attempts if first one fails.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Initializes a new instance of the class. - - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure. - - - - - - Gets or sets the time to wait between retries in milliseconds. - - - - - - Special SyncObject to allow closing down Target while busy retrying - - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Writes the specified log event to the wrapped target in a thread-safe manner. - - The log event. - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Distributes log events to targets in a round-robin fashion. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt. - Each odd message is written to file2.txt, each even message goes to file1.txt. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Ensures forwarding happens without holding lock - - - - - - Forwards the write to one of the targets from - the collection. - - The log event. - - The writes are routed in a round-robin fashion. - The first log event goes to the first target, the second - one goes to the second target and so on looping to the - first target when there are no more targets available. - In general request N goes to Targets[N % Targets.Count]. - - - - - Writes log events to all targets. - - Documentation on NLog Wiki - -

This example causes the messages to be written to both file1.txt or file2.txt -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the specified log event to all sub-targets. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Base class for targets wrap other (single) targets. - - - - - Gets or sets the target that is wrapped by this target. - - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Current local time retrieved directly from DateTime.Now. - - - - - Gets current local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Current UTC time retrieved directly from DateTime.UtcNow. - - - - - Gets current UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Fast time source that updates current time only once per tick (15.6 milliseconds). - - - - - Gets raw uncached time from derived time source. - - - - - Gets current time cached for one system tick (15.6 milliseconds). - - - - - Fast local time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Fast UTC time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Defines source of current time. - - - - - Gets current time. - - - - - Gets or sets current global time source used in all log events. - - - Default time source is . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to the same form - as time values originated from this source. - - - - There are situations when NLog have to compare the time originated from TimeSource - to the time originated externally in the system. - To be able to provide meaningful result of such comparisons the system time must be expressed in - the same form as TimeSource time. - - - Examples: - - If the TimeSource provides time values of local time, it should also convert the provided - to the local time. - - If the TimeSource shifts or skews its time values, it should also apply - the same transform to the given . - - - - - - Marks class as a time source and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the time source. - - - - Define Localizable attribute for platforms that don't have it. - - - - - Initializes a new instance of the class. - - Determines whether the target is localizable. - - - - Gets or sets a value indicating whether the target is localizable. - - -
-
diff --git a/app/packages/NLog.4.7.15/lib/xamarinios10/NLog.dll b/app/packages/NLog.4.7.15/lib/xamarinios10/NLog.dll deleted file mode 100644 index dbe1186..0000000 Binary files a/app/packages/NLog.4.7.15/lib/xamarinios10/NLog.dll and /dev/null differ diff --git a/app/packages/NLog.4.7.15/lib/xamarinios10/NLog.xml b/app/packages/NLog.4.7.15/lib/xamarinios10/NLog.xml deleted file mode 100644 index c42494b..0000000 --- a/app/packages/NLog.4.7.15/lib/xamarinios10/NLog.xml +++ /dev/null @@ -1,26762 +0,0 @@ - - - - NLog - - - - - Indicates that the value of the marked element could be null sometimes, - so the check for null is necessary before its usage. - - - [CanBeNull] object Test() => null; - - void UseTest() { - var p = Test(); - var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' - } - - - - - Indicates that the value of the marked element could never be null. - - - [NotNull] object Foo() { - return null; // Warning: Possible 'null' assignment - } - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can never be null. - - - - - Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task - and Lazy classes to indicate that the value of a collection item, of the Task.Result property - or of the Lazy.Value property can be null. - - - - - Indicates that the marked method builds string by format pattern and (optional) arguments. - Parameter, which contains format string, should be given in constructor. The format string - should be in -like form. - - - [StringFormatMethod("message")] - void ShowError(string message, params object[] args) { /* do something */ } - - void Foo() { - ShowError("Failed: {0}"); // Warning: Non-existing argument in format string - } - - - - - Specifies which parameter of an annotated method should be treated as format-string - - - - - For a parameter that is expected to be one of the limited set of values. - Specify fields of which type should be used as values for this parameter. - - - - - Indicates that the function argument should be string literal and match one - of the parameters of the caller function. For example, ReSharper annotates - the parameter of . - - - void Foo(string param) { - if (param == null) - throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol - } - - - - - Indicates that the method is contained in a type that implements - System.ComponentModel.INotifyPropertyChanged interface and this method - is used to notify that some property value changed. - - - The method should be non-static and conform to one of the supported signatures: - - NotifyChanged(string) - NotifyChanged(params string[]) - NotifyChanged{T}(Expression{Func{T}}) - NotifyChanged{T,U}(Expression{Func{T,U}}) - SetProperty{T}(ref T, T, string) - - - - public class Foo : INotifyPropertyChanged { - public event PropertyChangedEventHandler PropertyChanged; - - [NotifyPropertyChangedInvocator] - protected virtual void NotifyChanged(string propertyName) { ... } - - string _name; - - public string Name { - get { return _name; } - set { _name = value; NotifyChanged("LastName"); /* Warning */ } - } - } - - Examples of generated notifications: - - NotifyChanged("Property") - NotifyChanged(() => Property) - NotifyChanged((VM x) => x.Property) - SetProperty(ref myField, value, "Property") - - - - - - Describes dependency between method input and output. - - -

Function Definition Table syntax:

- - FDT ::= FDTRow [;FDTRow]* - FDTRow ::= Input => Output | Output <= Input - Input ::= ParameterName: Value [, Input]* - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} - Value ::= true | false | null | notnull | canbenull - - If method has single input parameter, it's name could be omitted.
- Using halt (or void/nothing, which is the same) for method output - means that the methods doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute - with rows separated by semicolon. There is no notion of order rows, all rows are checked - for applicability and applied per each program state tracked by R# analysis.
-
- - - [ContractAnnotation("=> halt")] - public void TerminationMethod() - - - [ContractAnnotation("halt <= condition: false")] - public void Assert(bool condition, string text) // regular assertion method - - - [ContractAnnotation("s:null => true")] - public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() - - - // A method that returns null if the parameter is null, - // and not null if the parameter is not null - [ContractAnnotation("null => null; notnull => notnull")] - public object Transform(object data) - - - [ContractAnnotation("=> true, result: notnull; => false, result: null")] - public bool TryParse(string s, out Person result) - - -
- - - Indicates that marked element should be localized or not. - - - [LocalizationRequiredAttribute(true)] - class Foo { - string str = "my string"; // Warning: Localizable string - } - - - - - Indicates that the value of the marked type (or its derivatives) - cannot be compared using '==' or '!=' operators and Equals() - should be used instead. However, using '==' or '!=' for comparison - with null is always permitted. - - - [CannotApplyEqualityOperator] - class NoEquality { } - - class UsesNoEquality { - void Test() { - var ca1 = new NoEquality(); - var ca2 = new NoEquality(); - if (ca1 != null) { // OK - bool condition = ca1 == ca2; // Warning - } - } - } - - - - - When applied to a target attribute, specifies a requirement for any type marked - with the target attribute to implement or inherit specific type or types. - - - [BaseTypeRequired(typeof(IComponent)] // Specify requirement - class ComponentAttribute : Attribute { } - - [Component] // ComponentAttribute requires implementing IComponent interface - class MyComponent : IComponent { } - - - - - Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), - so this symbol will not be marked as unused (as well as by other usage inspections). - - - - - Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes - as unused (as well as by other usage inspections) - - - - Only entity marked with attribute considered used. - - - Indicates implicit assignment to a member. - - - - Indicates implicit instantiation of a type with fixed constructor signature. - That means any unused constructor parameters won't be reported as such. - - - - Indicates implicit instantiation of a type. - - - - Specify what is considered used implicitly when marked - with or . - - - - Members of entity marked with attribute are considered used. - - - Entity marked with attribute and all its members considered used. - - - - This attribute is intended to mark publicly available API - which should not be removed and so is treated as used. - - - - - Tells code analysis engine if the parameter is completely handled when the invoked method is on stack. - If the parameter is a delegate, indicates that delegate is executed while the method is executed. - If the parameter is an enumerable, indicates that it is enumerated while the method is executed. - - - - - Indicates that a method does not make any observable state changes. - The same as System.Diagnostics.Contracts.PureAttribute. - - - [Pure] int Multiply(int x, int y) => x * y; - - void M() { - Multiply(123, 42); // Waring: Return value of pure method is not used - } - - - - - Indicates that the return value of method invocation must be used. - - - - - Indicates the type member or parameter of some type, that should be used instead of all other ways - to get the value that type. This annotation is useful when you have some "context" value evaluated - and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one. - - - class Foo { - [ProvidesContext] IBarService _barService = ...; - - void ProcessNode(INode node) { - DoSomething(node, node.GetGlobalServices().Bar); - // ^ Warning: use value of '_barService' field - } - } - - - - - Indicates that a parameter is a path to a file or a folder within a web project. - Path can be relative or absolute, starting from web root (~). - - - - - An extension method marked with this attribute is processed by ReSharper code completion - as a 'Source Template'. When extension method is completed over some expression, it's source code - is automatically expanded like a template at call site. - - - Template method body can contain valid source code and/or special comments starting with '$'. - Text inside these comments is added as source code when the template is applied. Template parameters - can be used either as additional method parameters or as identifiers wrapped in two '$' signs. - Use the attribute to specify macros for parameters. - - - In this example, the 'forEach' method is a source template available over all values - of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block: - - [SourceTemplate] - public static void forEach<T>(this IEnumerable<T> xs) { - foreach (var x in xs) { - //$ $END$ - } - } - - - - - - Allows specifying a macro for a parameter of a source template. - - - You can apply the attribute on the whole method or on any of its additional parameters. The macro expression - is defined in the property. When applied on a method, the target - template parameter is defined in the property. To apply the macro silently - for the parameter, set the property value = -1. - - - Applying the attribute on a source template method: - - [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] - public static void forEach<T>(this IEnumerable<T> collection) { - foreach (var item in collection) { - //$ $END$ - } - } - - Applying the attribute on a template method parameter: - - [SourceTemplate] - public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { - /*$ var $x$Id = "$newguid$" + x.ToString(); - x.DoSomething($x$Id); */ - } - - - - - - Allows specifying a macro that will be executed for a source template - parameter when the template is expanded. - - - - - Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. - - - If the target parameter is used several times in the template, only one occurrence becomes editable; - other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, - use values >= 0. To make the parameter non-editable when the template is expanded, use -1. - > - - - - Identifies the target parameter of a source template if the - is applied on a template method. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC action. If applied to a method, the MVC action name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC area. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is - an MVC controller. If applied to a method, the MVC controller name is calculated - implicitly from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute - for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC - partial view. If applied to a method, the MVC partial view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template. - Use this attribute for custom wrappers similar to - System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). - - - - - ASP.NET MVC attribute. Indicates that a parameter is an MVC template. - Use this attribute for custom wrappers similar to - System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component. If applied to a method, the MVC view name is calculated implicitly - from the context. Use this attribute for custom wrappers similar to - System.Web.Mvc.Controller.View(Object). - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component name. - - - - - ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - is an MVC view component view. If applied to a method, the MVC view component view name is default. - - - - - ASP.NET MVC attribute. When applied to a parameter of an attribute, - indicates that this parameter is an MVC action name. - - - [ActionName("Foo")] - public ActionResult Login(string returnUrl) { - ViewBag.ReturnUrl = Url.Action("Foo"); // OK - return RedirectToAction("Bar"); // Error: Cannot resolve action - } - - - - - Razor attribute. Indicates that a parameter or a method is a Razor section. - Use this attribute for custom wrappers similar to - System.Web.WebPages.WebPageBase.RenderSection(String). - - - - - Indicates how method, constructor invocation or property access - over collection type affects content of the collection. - - - - Method does not use or modify content of the collection. - - - Method only reads content of the collection but does not modify it. - - - Method can change content of the collection but does not add new elements. - - - Method can add new elements to the collection. - - - - Indicates that the marked method is assertion method, i.e. it halts control flow if - one of the conditions is satisfied. To set the condition, mark one of the parameters with - attribute. - - - - - Indicates the condition parameter of the assertion method. The method itself should be - marked by attribute. The mandatory argument of - the attribute is the assertion type. - - - - - Specifies assertion type. If the assertion method argument satisfies the condition, - then the execution continues. Otherwise, execution is assumed to be halted. - - - - Marked parameter should be evaluated to true. - - - Marked parameter should be evaluated to false. - - - Marked parameter should be evaluated to null value. - - - Marked parameter should be evaluated to not null value. - - - - Indicates that the marked method unconditionally terminates control flow execution. - For example, it could unconditionally throw exception. - - - - - Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select, - .Where). This annotation allows inference of [InstantHandle] annotation for parameters - of delegate type by analyzing LINQ method chains. - - - - - Indicates that IEnumerable, passed as parameter, is not enumerated. - - - - - Indicates that parameter is regular expression pattern. - - - - - Prevents the Member Reordering feature from tossing members of the marked class. - - - The attribute must be mentioned in your member reordering patterns - - - - - XAML attribute. Indicates the type that has ItemsSource property and should be treated - as ItemsControl-derived type, to enable inner items DataContext type resolve. - - - - - XAML attribute. Indicates the property of some BindingBase-derived type, that - is used to bind some item of ItemsControl-derived type. This annotation will - enable the DataContext type resolve for XAML bindings for such properties. - - - Property should have the tree ancestor of the ItemsControl type or - marked with the attribute. - - - - - Support implementation of - - - - - - - - - - - - - - - - - Asynchronous continuation delegate - function invoked at the end of asynchronous - processing. - - Exception during asynchronous processing or null if no exception - was thrown. - - - - Helpers for asynchronous operations. - - - - - Iterates over all items in the given collection and runs the specified action - in sequence (each action executes only after the preceding one has completed without an error). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end. - - The repeat count. - The asynchronous continuation to invoke at the end. - The action to invoke. - - - - Modifies the continuation by pre-pending given action to execute just before it. - - The async continuation. - The action to pre-pend. - Continuation which will execute the given action before forwarding to the actual continuation. - - - - Attaches a timeout to a continuation which will invoke the continuation when the specified - timeout has elapsed. - - The asynchronous continuation. - The timeout. - Wrapped continuation. - - - - Iterates over all items in the given collection and runs the specified action - in parallel (each action executes on a thread from thread pool). - - Type of each item. - The items to iterate. - The asynchronous continuation to invoke once all items - have been iterated. - The action to invoke for each item. - - - - Runs the specified asynchronous action synchronously (blocks until the continuation has - been invoked). - - The action. - - Using this method is not recommended because it will block the calling thread. - - - - - Wraps the continuation with a guard which will only make sure that the continuation function - is invoked only once. - - The asynchronous continuation. - Wrapped asynchronous continuation. - - - - Gets the combined exception from all exceptions in the list. - - The exceptions. - Combined exception or null if no exception was thrown. - - - - Disposes the Timer, and waits for it to leave the Timer-callback-method - - The Timer object to dispose - Timeout to wait (TimeSpan.Zero means dispose without waiting) - Timer disposed within timeout (true/false) - - - - Asynchronous action. - - Continuation to be invoked at the end of action. - - - - Asynchronous action with one argument. - - Type of the argument. - Argument to the action. - Continuation to be invoked at the end of action. - - - - Represents the logging event with asynchronous continuation. - - - - - Initializes a new instance of the struct. - - The log event. - The continuation. - - - - Gets the log event. - - - - - Gets the continuation. - - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Implements the operator ==. - - The event info1. - The event info2. - The result of the operator. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - A value of true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - String Conversion Helpers - - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - Output value - Default value - Returns false if the input value could not be parsed - - - - Converts input string value into . Parsing is case-insensitive. - - Input value - The type of the enum - Output value. Null if parse failed - - - - Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded. - - The enumeration type to which to convert value. - The string representation of the enumeration name or underlying value to convert. - true to ignore case; false to consider case. - When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized. - true if the value parameter was converted successfully; otherwise, false. - Wrapper because Enum.TryParse is not present in .net 3.5 - - - - Enum.TryParse implementation for .net 3.5 - - - - Don't uses reflection - - - - Enables to extract extra context details for - - - - - Name of context - - - - - The current LogFactory next to LogManager - - - - - NLog internal logger. - - Writes to file, console or custom text writer (see ) - - - Don't use as that can lead to recursive calls - stackoverflow - - - - - Gets a value indicating whether internal log includes Trace messages. - - - - - Gets a value indicating whether internal log includes Debug messages. - - - - - Gets a value indicating whether internal log includes Info messages. - - - - - Gets a value indicating whether internal log includes Warn messages. - - - - - Gets a value indicating whether internal log includes Error messages. - - - - - Gets a value indicating whether internal log includes Fatal messages. - - - - - Logs the specified message without an at the Trace level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - Log message. - - - - Logs the specified message without an at the Trace level. - will be only called when logging is enabled for level Trace. - - Function that returns the log message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Trace level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Trace level. - will be only called when logging is enabled for level Trace. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Debug level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Debug level. - - Log message. - - - - Logs the specified message without an at the Debug level. - will be only called when logging is enabled for level Debug. - - Function that returns the log message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Debug level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Debug level. - will be only called when logging is enabled for level Debug. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Info level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Info level. - - Log message. - - - - Logs the specified message without an at the Info level. - will be only called when logging is enabled for level Info. - - Function that returns the log message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Info level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Info level. - will be only called when logging is enabled for level Info. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Warn level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Warn level. - - Log message. - - - - Logs the specified message without an at the Warn level. - will be only called when logging is enabled for level Warn. - - Function that returns the log message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Warn level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Warn level. - will be only called when logging is enabled for level Warn. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Error level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Error level. - - Log message. - - - - Logs the specified message without an at the Error level. - will be only called when logging is enabled for level Error. - - Function that returns the log message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Error level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Error level. - will be only called when logging is enabled for level Error. - - Exception to be logged. - Function that returns the log message. - - - - Logs the specified message without an at the Fatal level. - - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Fatal level. - - Log message. - - - - Logs the specified message without an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Function that returns the log message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - Message which may include positional parameters. - Argument {0} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - - - - Logs the specified message without an at the Trace level. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - Message which may include positional parameters. - Argument {0} to the message. - Argument {1} to the message. - Argument {2} to the message. - - - - Logs the specified message with an at the Fatal level. - - Exception to be logged. - Log message. - - - - Logs the specified message with an at the Fatal level. - will be only called when logging is enabled for level Fatal. - - Exception to be logged. - Function that returns the log message. - - - - Initializes static members of the InternalLogger class. - - - - - Set the config of the InternalLogger with defaults and config. - - - - - Gets or sets the minimal internal log level. - - If set to , then messages of the levels , and will be written. - - - - Gets or sets a value indicating whether internal messages should be written to the console output stream. - - Your application must be a console application. - - - - Gets or sets a value indicating whether internal messages should be written to the console error stream. - - Your application must be a console application. - - - - Gets or sets the file path of the internal log file. - - A value of value disables internal logging to a file. - - - - Gets or sets the text writer that will receive internal logs. - - - - - Event written to the internal log. - Please note that the event is not triggered when then event hasn't the minimal log level set by - - - - - Gets or sets a value indicating whether timestamp should be included in internal log output. - - - - - Is there an thrown when writing the message? - - - - - Logs the specified message without an at the specified level. - - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message without an at the specified level. - - Log level. - Log message. - - - - Logs the specified message without an at the specified level. - will be only called when logging is enabled for level . - - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - will be only called when logging is enabled for level . - - Exception to be logged. - Log level. - Function that returns the log message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Message which may include positional parameters. - Arguments to the message. - - - - Logs the specified message with an at the specified level. - - Exception to be logged. - Log level. - Log message. - - - - Write to internallogger. - - optional exception to be logged. - level - message - optional args for - - - - Create log line with timestamp, exception message etc (if configured) - - - - - Determine if logging should be avoided because of exception type. - - The exception to check. - true if logging should be avoided; otherwise, false. - - - - Determine if logging is enabled for given LogLevel - - The for the log event. - true if logging is enabled; otherwise, false. - - - - Determine if logging is enabled. - - true if logging is enabled; otherwise, false. - - - - Write internal messages to the log file defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the defined in . - - Message to write. - - Message will be logged only when the property is not null, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged only when the property is true, otherwise the - method has no effect. - - - - - Write internal messages to the . - - Message to write. - - Message will be logged when the property is true, otherwise the - method has no effect. - - - - - Logs the assembly version and file version of the given Assembly. - - The assembly to log. - - - - A message has been written to the internal logger - - - - - The rendered message - - - - - The log level - - - - - The exception. Could be null. - - - - - The type that triggered this internal log event, for example the FileTarget. - This property is not always populated. - - - - - The context name that triggered this internal log event, for example the name of the Target. - This property is not always populated. - - - - - - - - A cyclic buffer of object. - - - - - Initializes a new instance of the class. - - Buffer size. - Whether buffer should grow as it becomes full. - The maximum number of items that the buffer can grow to. - - - - Gets the capacity of the buffer - - - - - Gets the number of items in the buffer - - - - - Adds the specified log event to the buffer. - - Log event. - The number of items in the buffer. - - - - Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation. - - Events in the buffer. - - - - Condition and expression. - - - - - Initializes a new instance of the class. - - Left hand side of the AND expression. - Right hand side of the AND expression. - - - - Gets the left hand side of the AND expression. - - - - - Gets the right hand side of the AND expression. - - - - - Returns a string representation of this expression. - - A concatenated '(Left) and (Right)' string. - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the conjunction operator. - - - - Exception during evaluation of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Base class for representing nodes in condition expression trees. - - - - - Converts condition text to a condition expression tree. - - Condition text to be converted. - Condition expression tree. - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition layout expression (represented by a string literal - with embedded ${}). - - - - - Initializes a new instance of the class. - - The layout. - - - - Gets the layout. - - The layout. - - - - Returns a string representation of this expression. - - String literal in single quotes. - - - - Evaluates the expression by calculating the value - of the layout in the specified evaluation context. - - Evaluation context. - The value of the layout. - - - - Condition level expression (represented by the level keyword). - - - - - Returns a string representation of the expression. - - The 'level' string. - - - - Evaluates to the current log level. - - Evaluation context. Ignored. - The object representing current log level. - - - - Condition literal expression (numeric, LogLevel.XXX, true or false). - - - - - Initializes a new instance of the class. - - Literal value. - ToString value. - - - - Gets the literal value. - - The literal value. - - - - Returns a string representation of the expression. - - The literal value. - - - - Evaluates the expression. - - Evaluation context. - The literal value as passed in the constructor. - - - - Condition logger name expression (represented by the logger keyword). - - - - - Returns a string representation of this expression. - - A logger string. - - - - Evaluates to the logger name. - - Evaluation context. - The logger name. - - - - Condition message expression (represented by the message keyword). - - - - - Returns a string representation of this expression. - - The 'message' string. - - - - Evaluates to the logger message. - - Evaluation context. - The logger message. - - - - Marks class as a log event Condition and assigns a name to it. - - - - - Initializes a new instance of the class. - - Condition method name. - - - - Condition method invocation expression (represented by method(p1,p2,p3) syntax). - - - - - Initializes a new instance of the class. - - Name of the condition method. - of the condition method. - Precompiled delegate of the condition method. - The method parameters. - - - - Gets the method info. - - - - - Gets the method parameters - - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - A bunch of utility methods (mostly predicates) which can be used in - condition expressions. Partially inspired by XPath 1.0. - - - - - Compares two values for equality. - - The first value. - The second value. - true when two objects are equal, false otherwise. - - - - Compares two strings for equality. - - The first string. - The second string. - Optional. If true, case is ignored; if false (default), case is significant. - true when two strings are equal, false otherwise. - - - - Gets or sets a value indicating whether the second string is a substring of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a substring of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a prefix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Gets or sets a value indicating whether the second string is a suffix of the first one. - - The first string. - The second string. - Optional. If true (default), case is ignored; if false, case is significant. - true when the second string is a prefix of the first string, false otherwise. - - - - Returns the length of a string. - - A string whose lengths is to be evaluated. - The length of the string. - - - - Indicates whether the specified regular expression finds a match in the specified input string. - - The string to search for a match. - The regular expression pattern to match. - A string consisting of the desired options for the test. The possible values are those of the separated by commas. - true if the regular expression finds a match; otherwise, false. - - - - - - - - - - - Marks the class as containing condition methods. - - - - - Condition not expression. - - - - - Initializes a new instance of the class. - - The expression. - - - - Gets the expression to be negated. - - The expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Condition or expression. - - - - - Initializes a new instance of the class. - - Left hand side of the OR expression. - Right hand side of the OR expression. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression by evaluating and recursively. - - Evaluation context. - The value of the alternative operator. - - - - Exception during parsing of condition expression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Condition parser. Turns a string representation of condition expression - into an expression tree. - - - - - Initializes a new instance of the class. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The expression to be parsed. - Instance of used to resolve references to condition methods and layout renderers. - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - Parses the specified condition string and turns it into - tree. - - The string reader. - Instance of used to resolve references to condition methods and layout renderers. - - The root of the expression syntax tree which can be used to get the value of the condition in a specified context. - - - - - Try stringed keyword to - - - - success? - - - - Parse number - - negative number? minus should be parsed first. - - - - - Condition relational (==, !=, <, <=, - > or >=) expression. - - - - - Initializes a new instance of the class. - - The left expression. - The right expression. - The relational operator. - - - - Gets the left expression. - - The left expression. - - - - Gets the right expression. - - The right expression. - - - - Gets the relational operator. - - The operator. - - - - Returns a string representation of the expression. - - - A that represents the condition expression. - - - - - Evaluates the expression. - - Evaluation context. - Expression result. - - - - Compares the specified values using specified relational operator. - - The first value. - The second value. - The relational operator. - Result of the given relational operator. - - - - Promote values to the type needed for the comparision, e.g. parse a string to int. - - - - - - - Promotes to type - - - - success? - - - - Try to promote both values. First try to promote to , - when failed, try to . - - - - - - Get the order for the type for comparision. - - - index, 0 to max int. Lower is first - - - - Dictionary from type to index. Lower index should be tested first. - - - - - Build the dictionary needed for the order of the types. - - - - - - Get the string representing the current - - - - - - Relational operators used in conditions. - - - - - Equality (==). - - - - - Inequality (!=). - - - - - Less than (<). - - - - - Greater than (>). - - - - - Less than or equal (<=). - - - - - Greater than or equal (>=). - - - - - Hand-written tokenizer for conditions. - - - - - Initializes a new instance of the class. - - The string reader. - - - - Gets the type of the token. - - The type of the token. - - - - Gets the token value. - - The token value. - - - - Gets the value of a string token. - - The string token value. - - - - Asserts current token type and advances to the next token. - - Expected token type. - If token type doesn't match, an exception is thrown. - - - - Asserts that current token is a keyword and returns its value and advances to the next token. - - Keyword value. - - - - Gets or sets a value indicating whether current keyword is equal to the specified value. - - The keyword. - - A value of true if current keyword is equal to the specified value; otherwise, false. - - - - - Gets or sets a value indicating whether the tokenizer has reached the end of the token stream. - - - A value of true if the tokenizer has reached the end of the token stream; otherwise, false. - - - - - Gets or sets a value indicating whether current token is a number. - - - A value of true if current token is a number; otherwise, false. - - - - - Gets or sets a value indicating whether the specified token is of specified type. - - The token type. - - A value of true if current token is of specified type; otherwise, false. - - - - - Gets the next token and sets and properties. - - - - - Try the comparison tokens (greater, smaller, greater-equals, smaller-equals) - - current char - is match - - - - Try the logical tokens (and, or, not, equals) - - current char - is match - - - - Mapping between characters and token types for punctuations. - - - - - Initializes a new instance of the CharToTokenType struct. - - The character. - Type of the token. - - - - Token types for condition expressions. - - - - - Marks the class or a member as advanced. Advanced classes and members are hidden by - default in generated documentation. - - - - - Initializes a new instance of the class. - - - - - Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain. - - - A layout(renderer) could be converted to a literal when: - - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput] - - Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout. - - - - - Used to mark configurable parameters which are arrays. - Specifies the mapping between XML elements and .NET types. - - - - - Initializes a new instance of the class. - - The type of the array item. - The XML element name that represents the item. - - - - Gets the .NET type of the array item. - - - - - Gets the XML element name. - - - - - An assembly is trying to load. - - - - - New event args - - - - - - The assembly that is trying to load. - - - - - Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type. - - Type of the item. - Created object of the specified type. - - - - Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog. - - Everything of an assembly could be loaded by - - - - - Called before the assembly will be loaded. - - - - - Initializes a new instance of the class. - - The assemblies to scan for named items. - - - - Gets or sets default singleton instance of . - - - This property implements lazy instantiation so that the is not built before - the internal logger is configured. - - - - - Gets or sets the creator delegate used to instantiate configuration objects. - - - By overriding this property, one can enable dependency injection or interception for created objects. - - - - - Gets the factory. - - The target factory. - - - - Gets the factory. - - The filter factory. - - - - gets the factory - - not using due to backwards-compatibility. - - - - - Gets the factory. - - The layout renderer factory. - - - - Gets the factory. - - The layout factory. - - - - Gets the ambient property factory. - - The ambient property factory. - - - - Legacy interface, no longer used by the NLog engine - - - - - Gets or sets the JSON serializer to use with or - - - - - Gets or sets the string serializer to use with - - - - - Gets or sets the custom object-type transformation for use in , or - - - - - Gets or sets the parameter converter to use with , or - - - - - Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect) - - - - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering. - - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with ) - - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging) - - - - - Gets the time source factory. - - The time source factory. - - - - Gets the condition method factory. - - The condition method factory. - - - - Gets the condition method factory (precompiled) - - The condition method factory. - - - - Registers named items from the assembly. - - The assembly. - - - - Registers named items from the assembly. - - The assembly. - Item name prefix. - - - - Call Preload for NLogPackageLoader - - - Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments) - This method will be called just before registering all items in the assembly. - - - - - - Call the Preload method for . The Preload method must be static. - - - - - - Clears the contents of all factories. - - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Builds the default configuration item factory. - - Default factory. - - - - Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. - - - - - Attribute used to mark the default parameters for layout renderers. - - - - - Initializes a new instance of the class. - - - - - Dynamic filtering with a positive list of enabled levels - - - - - Dynamic filtering with a minlevel and maxlevel range - - - - - Format of the exception output to the specific target. - - - - - Appends the Message of an Exception to the specified target. - - - - - Appends the type of an Exception to the specified target. - - - - - Appends the short type of an Exception to the specified target. - - - - - Appends the result of calling ToString() on an Exception to the specified target. - - - - - Appends the method name from Exception's stack trace to the specified target. - - - - - Appends the stack trace from an Exception to the specified target. - - - - - Appends the contents of an Exception's Data property to the specified target. - - - - - Destructure the exception (usually into JSON) - - - - - Appends the from the application or the object that caused the error. - - - - - Appends the from the application or the object that caused the error. - - - - - Appends any additional properties that specific type of Exception might have. - - - - - Factory for class-based items. - - The base type of each item. - The type of the attribute used to annotate items. - - - - Scans the assembly. - - The types to scan. - The prefix. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Registers the item based on a type name. - - Name of the item. - Name of the type. - - - - Clears the contents of the factory. - - - - - Registers a single type definition. - - The item name. - The type of the item. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Creates an item instance. - - The name of the item. - Created item. - - - - Factory specialized for s. - - - - - Clear all func layouts - - - - - Register a layout renderer with a callback function. - - Name of the layoutrenderer, without ${}. - the renderer that renders the value. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.). - - - - - Implemented by objects which support installation and uninstallation. - - - - - Performs installation which requires administrative permissions. - - The installation context. - - - - Performs uninstallation which requires administrative permissions. - - The installation context. - - - - Determines whether the item is installed. - - The installation context. - - Value indicating whether the item is installed or null if it is not possible to determine. - - - - - Interface for accessing configuration details - - - - - Name of the config section - - - - - Configuration Key/Value Pairs - - - - - Child config sections - - - - - Interface for loading NLog - - - - - Finds and loads the NLog configuration - - LogFactory that owns the NLog configuration - Name of NLog.config file (optional) - NLog configuration (or null if none found) - - - - Notifies when LoggingConfiguration has been successfully applied - - LogFactory that owns the NLog configuration - NLog Config - - - - Get file paths (including filename) for the possible NLog config files. - - Name of NLog.config file (optional) - The file paths to the possible config file - - - - Level enabled flags for each LogLevel ordinal - - - - - Converts the filter into a simple - - - - - Represents a factory of named items (such as targets, layouts, layout renderers, etc.). - - Base type for each item instance. - Item definition type (typically or ). - - - - Registers new item definition. - - Name of the item. - Item definition. - - - - Tries to get registered item definition. - - Name of the item. - Reference to a variable which will store the item definition. - Item definition. - - - - Creates item instance. - - Name of the item. - Newly created item instance. - - - - Tries to create an item instance. - - Name of the item. - The result. - True if instance was created successfully, false otherwise. - - - - Provides context for install/uninstall operations. - - - - - Mapping between log levels and console output colors. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The log output. - - - - Gets or sets the installation log level. - - - - - Gets or sets a value indicating whether to ignore failures during installation. - - - - - Whether installation exceptions should be rethrown. If IgnoreFailures is set to true, - this property has no effect (there are no exceptions to rethrow). - - - - - Gets the installation parameters. - - - - - Gets or sets the log output. - - - - - Logs the specified trace message. - - The message. - The arguments. - - - - Logs the specified debug message. - - The message. - The arguments. - - - - Logs the specified informational message. - - The message. - The arguments. - - - - Logs the specified warning message. - - The message. - The arguments. - - - - Logs the specified error message. - - The message. - The arguments. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Creates the log event which can be used to render layouts during installation/uninstallations. - - Log event info object. - - - - Convert object-value into specified type - - - - - Parses the input value and converts into the wanted type - - Input Value - Wanted Type - Format to use when parsing - Culture to use when parsing - Output value with wanted type - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for extension loading - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options for enabling NLog - - - - - LogFactory under configuration - - - - - Interface for fluent setup of LogFactory options - - - - - LogFactory under configuration - - - - - LoggingConfiguration being built - - - - - Interface for fluent setup of LogFactory options for logevent serialization - - - - - LogFactory under configuration - - - - - Encapsulates and the logic to match the actual logger name - All subclasses defines immutable objects. - Concrete subclasses defines various matching rules through - - - - - Creates a concrete based on . - - - Rules used to select the concrete implementation returned: - - if is null => returns (never matches) - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals) - if == '*' => returns (always matches) - if doesn't contain '?' - - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns - - - returns - - - - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - A concrete - - - - Returns the argument passed to - - - - - Checks whether given name matches the logger name pattern. - - String to be matched. - A value of when the name matches, otherwise. - - - - Defines a that never matches. - Used when pattern is null - - - - - Defines a that always matches. - Used when pattern is '*' - - - - - Defines a that matches with a case-sensitive Equals - Used when pattern is a string without wildcards '?' '*' - - - - - Defines a that matches with a case-sensitive StartsWith - Used when pattern is a string like "*foobar" - - - - - Defines a that matches with a case-sensitive EndsWith - Used when pattern is a string like "foobar*" - - - - - Defines a that matches with a case-sensitive Contains - Used when pattern is a string like "*foobar*" - - - - - Defines a that matches with a complex wildcards combinations: - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - used when pattern is a string containing any number of '?' or '*' in any position - i.e. "*Server[*].Connection[?]" - - - - - Keeps logging configuration and provides simple API to modify it. - - This class is thread-safe..ToList() is used for that purpose. - - - - Variables defined in xml or in API. name is case case insensitive. - - - - - Gets the factory that will be configured - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. - - - - Gets the variables defined in the configuration. - - - - - Gets a collection of named targets specified in the configuration. - - - A list of named targets. - - - Unnamed targets (such as those wrapped by other targets) are not returned. - - - - - Gets the collection of file names which should be watched for changes by NLog. - - - - - Gets the collection of logging rules. - - - - - Gets or sets the default culture info to use as . - - - Specific culture info or null to use - - - - - Gets all targets. - - - - - Compare objects based on their name. - - This property is use to cache the comparer object. - - - - Defines methods to support the comparison of objects for equality based on their name. - - - - - Registers the specified target object. The name of the target is read from . - - - The target object with a non - - when is - - - - Registers the specified target object under a given name. - - Name of the target. - The target object. - when is - when is - - - - Finds the target with the specified name. - - - The name of the target to be found. - - - Found target or when the target is not found. - - - - - Finds the target with the specified name and specified type. - - - The name of the target to be found. - - Type of the target - - Found target or when the target is not found of not of type - - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule with min- and maxLevel. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for one loglevel. - - log level needed to trigger this rule. - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Add a rule for all loglevels. - - Name of the target to be written when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - - - - Add a rule for all loglevels. - - Target to be written to when the rule matches. - Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends. - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - Finds the logging rule with the specified name. - - The name of the logging rule to be found. - Found logging rule or when not found. - - - - Removes the specified named logging rule. - - The name of the logging rule to be removed. - Found one or more logging rule to remove, or when not found. - - - - Called by LogManager when one of the log configuration files changes. - - - A new instance of that represents the updated configuration. - - - - - Removes the specified named target. - - Name of the target. - - - - Installs target-specific objects on current system. - - The installation context. - - Installation typically runs with administrative permissions. - - - - - Uninstalls target-specific objects from current system. - - The installation context. - - Uninstallation typically runs with administrative permissions. - - - - - Closes all targets and releases any unmanaged resources. - - - - - Log to the internal (NLog) logger the information about the and associated with this instance. - - - The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is - recorded. - - - - - Validates the configuration. - - - - - Copies all variables from provided dictionary into current configuration variables. - - Master variables dictionary - - - - Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage. - - - - - - - Checks whether unused targets exist. If found any, just write an internal log at Warn level. - If initializing not started or failed, then checking process will be canceled - - - - - - - - Arguments for events. - - - - - Initializes a new instance of the class. - - The new configuration. - The old configuration. - - - - Gets the old configuration. - - The old configuration. - - - - Gets the new configuration. - - The new configuration. - - - - Gets the new configuration - - The new configuration. - - - - Gets the old configuration - - The old configuration. - - - - Gets the optional boolean attribute value. - - - Name of the attribute. - Default value to return if the attribute is not found or if there is a parse error - Boolean attribute value or default. - - - - Remove the namespace (before :) - - - x:a, will be a - - - - - - - Enables loading of NLog configuration from a file - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Get default file paths (including filename) for possible NLog config files. - - - - - Loads NLog configuration from - - - - - Constructor - - - - - - Loads NLog configuration from provided config section - - - - - - - Builds list with unique keys, using last value of duplicates. High priority keys placed first. - - - - - - - Parse loglevel, but don't throw if exception throwing is disabled - - Name of attribute for logging. - Value of parse. - Used if there is an exception - - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Parse {Rules} xml element - - - Rules are added to this parameter. - - - - Parse {Logger} xml element - - - - - - Parse boolean - - Name of the property for logging. - value to parse - Default value to return if the parse failed - Boolean attribute value or default. - - - - Represents a logging rule. An equivalent of <logger /> configuration element. - - - - - Create an empty . - - - - - Create an empty . - - - - - Create a new with a and which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a new with a which writes to . - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Minimum log level needed to trigger this rule. - Target to be written to when the rule matches. - - - - Create a (disabled) . You should call or to enable logging. - - Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position. - Target to be written to when the rule matches. - - - - Rule identifier to allow rule lookup - - - - - Gets a collection of targets that should be written to when this rule matches. - - - - - Gets a collection of child rules to be evaluated when this rule matches. - - - - - Gets a collection of filters to be checked before writing to targets. - - - - - Gets or sets a value indicating whether to quit processing any further rule when this one matches. - - - - - Gets or sets logger name pattern. - - - Logger name pattern used by to check if a logger name matches this rule. - It may include one or more '*' or '?' wildcards at any position. - - '*' means zero or more occurrences of any character - '?' means exactly one occurrence of any character - - - - - - Gets the collection of log levels enabled by this rule. - - - - - Default action if none of the filters match - - - - - Enables logging for a particular level. - - Level to be enabled. - - - - Enables logging for a particular levels between (included) and . - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Disables logging for a particular level. - - Level to be disabled. - - - - Disables logging for particular levels between (included) and . - - Minimum log level to be disables. - Maximum log level to de disabled. - - - - Enables logging the levels between (included) and . All the other levels will be disabled. - - Minimum log level needed to trigger this rule. - Maximum log level needed to trigger this rule. - - - - Returns a string representation of . Used for debugging. - - - A that represents the current . - - - - - Checks whether te particular log level is enabled for this rule. - - Level to be checked. - A value of when the log level is enabled, otherwise. - - - - Checks whether given name matches the . - - String to be matched. - A value of when the name matches, otherwise. - - - - Default filtering with static level config - - - - - Factory for locating methods. - - - - - Initializes a new instance of the class. - - Helper method to extract relevant methods from type - - - - Scans the assembly for classes marked with expected class - and methods marked with expected and adds them - to the factory. - - The types to scan. - The prefix to use for names. - - - - Registers the type. - - The type to register. - The item name prefix. - - - - Scans a type for relevant methods with their symbolic names - - Include types that are marked with this attribute - Include methods that are marked with this attribute - Class Type to scan - Collection of methods with their symbolic names - - - - Clears contents of the factory. - - - - - Registers the definition of a single method. - - The method name. - The method info. - - - - Registers the definition of a single method. - - The method name. - The method info. - The precompiled method delegate. - - - - Tries to retrieve method by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Tries to retrieve method-delegate by name. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Retrieves method by name. - - Method name. - MethodInfo object. - - - - Retrieves method by name. - - Method name. - Method delegate object. - - - - Tries to get method definition. - - The method name. - The result. - A value of true if the method was found, false otherwise. - - - - Marks the layout or layout renderer depends on mutable objects from the LogEvent - - This can be or - - - - - Attaches a simple name to an item (such as , - , , etc.). - - - - - Initializes a new instance of the class. - - The name of the item. - - - - Gets the name of the item. - - The name of the item. - - - - Indicates NLog should not scan this property during configuration. - - - - - Initializes a new instance of the class. - - - - - Marks the object as configuration item for NLog. - - - - - Initializes a new instance of the class. - - - - - Represents simple XML element with case-insensitive attribute semantics. - - - - - Initializes a new instance of the class. - - The reader to initialize element from. - - - - Prevents a default instance of the class from being created. - - - - - Gets the element name. - - - - - Gets the dictionary of attribute values. - - - - - Gets the collection of child elements. - - - - - Gets the value of the element. - - - - - Last error occured during configuration read - - - - - Returns children elements with the specified element name. - - Name of the element. - Children elements with the specified element name. - - - - Asserts that the name of the element is among specified element names. - - The allowed names. - - - - Returns all parsing errors from current and all child elements. - - - - - Special attribute we could ignore - - - - - Default implementation of - - - - - - - - Attribute used to mark the required parameters for targets, - layout targets and filters. - - - - - Provides simple programmatic configuration API used for trivial logging cases. - - Warning, these methods will overwrite the current config. - - - - - Configures NLog for console logging so that all messages above and including - the level are output to the console. - - - - - Configures NLog for console logging so that all messages above and including - the specified level are output to the console. - - The minimal logging level. - - - - Configures NLog for to log to the specified target so that all messages - above and including the level are output. - - The target to log all messages to. - - - - Configures NLog for to log to the specified target so that all messages - above and including the specified level are output. - - The target to log all messages to. - The minimal logging level. - - - - Configures NLog for file logging so that all messages above and including - the level are written to the specified file. - - Log file name. - - - - Configures NLog for file logging so that all messages above and including - the specified level are written to the specified file. - - Log file name. - The minimal logging level. - - - - Value indicating how stack trace should be captured when processing the log event. - - - - - Stack trace should not be captured. - - - - - Stack trace should be captured without source-level information. - - - - - Stack trace should be captured including source-level information such as line numbers. - - - - - Capture maximum amount of the stack trace information supported on the platform. - - - - - Marks the layout or layout renderer as thread independent - it producing correct results - regardless of the thread it's running on. - - Without this attribute everything is rendered on the main thread. - - - If this attribute is set on a layout, it could be rendered on the another thread. - This could be more efficient as it's skipped when not needed. - - If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied. - - See the AsyncTargetWrapper and BufferTargetWrapper with the , using - - Apply this attribute when: - - The result can we rendered in another thread. Delaying this could be more efficient. And/Or, - - The result should not be precalculated, for example the target sends some extra context information. - - - - - Marks the layout or layout renderer as thread safe - it producing correct results - regardless of the number of threads it's running on. - - Without this attribute then the target concurrency will be reduced - - - - - A class for configuring NLog through an XML configuration file - (App.config style or App.nlog style). - - Parsing of the XML file is also implemented in this class. - - - - This class is thread-safe..ToList() is used for that purpose. - - Update TemplateXSD.xml for changes outside targets - - - - - Initializes a new instance of the class. - - Configuration file to be read. - - - - Initializes a new instance of the class. - - Configuration file to be read. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - Configuration file to be read. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - XML reader to read from. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Initializes a new instance of the class. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - The to which to apply any applicable configuration values. - - - - Initializes a new instance of the class. - - The XML contents. - Name of the XML file. - The to which to apply any applicable configuration values. - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - - - - Parse XML string as NLog configuration - - NLog configuration in XML to be parsed - NLog LogFactory - - - - Did the Succeeded? true= success, false= error, null = initialize not started yet. - - - - - Gets or sets a value indicating whether all of the configuration files - should be watched for changes and reloaded automatically when changed. - - - - - Gets the collection of file names which should be watched for changes by NLog. - This is the list of configuration files processed. - If the autoReload attribute is not set it returns empty collection. - - - - - Re-reads the original configuration file and returns the new object. - - The new object. - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Create XML reader for (xml config) file. - - filepath - reader or null if filename is empty. - - - - Initializes the configuration. - - containing the configuration section. - Name of the file that contains the element (to be used as a base for including other files). null is allowed. - Ignore any errors during configuration. - - - - Checks whether any error during XML configuration parsing has occured. - If there are any and ThrowConfigExceptions or ThrowExceptions - setting is enabled - throws NLogConfigurationException, otherwise - just write an internal log at Warn level. - - Root NLog configuration xml element - - - - Add a file with configuration. Check if not already included. - - - - - - - Parse the root - - - path to config file. - The default value for the autoReload option. - - - - Parse {configuration} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parse {NLog} xml element. - - - path to config file. - The default value for the autoReload option. - - - - Parses a single config section within the NLog-config - - - Section was recognized - - - - Include (multiple) files by filemask, e.g. *.nlog - - base directory in case if is relative - relative or absolute fileMask - - - - - - - - Matches when the specified condition is met. - - - Conditions are expressed using a simple language - described here. - - - - - Gets or sets the condition expression. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - An abstract filter class. Provides a way to eliminate log messages - based on properties other than logger name and log level. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the action to be taken when filter matches. - - - - - - Gets the result of evaluating filter against given log event. - - The log event. - Filter result. - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Marks class as a layout renderer and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the filter. - - - - Filter result. - - - - - The filter doesn't want to decide whether to log or discard the message. - - - - - The message should be logged. - - - - - The message should not be logged. - - - - - The message should be logged and processing should be finished. - - - - - The message should not be logged and processing should be finished. - - - - - A base class for filters that are based on comparing a value to a layout. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the layout to be used to filter log messages. - - The layout. - - - - - Matches when the calculated layout contains the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets the substring to be matched. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Gets or sets a string to compare the layout to. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches the provided filter-method - - - - - Initializes a new instance of the class. - - - - - - - - Matches when the calculated layout does NOT contain the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Gets or sets the substring to be matched. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the calculated layout is NOT equal to the specified substring. - This filter is deprecated in favor of <when /> which is based on conditions. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a string to compare the layout to. - - - - - - Gets or sets a value indicating whether to ignore case when comparing strings. - - - - - - Checks whether log event should be logged or not. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Matches when the result of the calculated layout has been repeated a moment ago - - - - - How long before a filter expires, and logging is accepted again - - - - - - Max length of filter values, will truncate if above limit - - - - - - Applies the configured action to the initial logevent that starts the timeout period. - Used to configure that it should ignore all events until timeout. - - - - - - Max number of unique filter values to expect simultaneously - - - - - - Default number of unique filter values to expect, will automatically increase if needed - - - - - - Insert FilterCount value into when an event is no longer filtered - - - - - - Append FilterCount to the when an event is no longer filtered - - - - - - Reuse internal buffers, and doesn't have to constantly allocate new buffers - - - - - - Default buffer size for the internal buffers - - - - - - Can be used if has been enabled. - - - - - Initializes a new instance of the class. - - - - - Checks whether log event should be logged or not. In case the LogEvent has just been repeated. - - Log event. - - - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
- - - Uses object pooling, and prunes stale filter items when the pool runs dry - - - - - Remove stale filter-value from the cache, and fill them into the pool for reuse - - - - - Renders the Log Event into a filter value, that is used for checking if just repeated - - - - - Repeated LogEvent detected. Checks if it should activate filter-action - - - - - Filter Value State (mutable) - - - - - Filter Lookup Key (immutable) - - - - - A fluent class to build log events for NLog. - - - - - Initializes a new instance of the class. - - The to send the log event. - - - - Initializes a new instance of the class. - - The to send the log event. - The for the log event. - - - - Gets the created by the builder. - - - - - Sets the information of the logging event. - - The exception information of the logging event. - current for chaining calls. - - - - Sets the level of the logging event. - - The level of the logging event. - current for chaining calls. - - - - Sets the logger name of the logging event. - - The logger name of the logging event. - current for chaining calls. - - - - Sets the log message on the logging event. - - The log message for the logging event. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - The first object to format. - The second object to format. - The third object to format. - The fourth object to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets the log message and parameters for formatting on the logging event. - - An object that supplies culture-specific formatting information. - A composite format string. - An object array that contains zero or more objects to format. - current for chaining calls. - - - - Sets a per-event context property on the logging event. - - The name of the context property. - The value of the context property. - current for chaining calls. - - - - Sets multiple per-event context properties on the logging event. - - The properties to set. - current for chaining calls. - - - - Sets the timestamp of the logging event. - - The timestamp of the logging event. - current for chaining calls. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - current for chaining calls. - - - - Writes the log event to the underlying logger. - - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Writes the log event to the underlying logger. - - If condition is true, write log event; otherwise ignore event. - - - - Extension methods for NLog . - - - - - Starts building a log event with the specified . - - The logger to write the log event to. - The log level. - current for chaining calls. - - - - Starts building a log event at the Trace level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Debug level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Info level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Warn level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Error level. - - The logger to write the log event to. - current for chaining calls. - - - - Starts building a log event at the Fatal level. - - The logger to write the log event to. - current for chaining calls. - - - - Global Diagnostics Context - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Global Diagnostics Context - a dictionary structure to hold per-application-instance values. - - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Sets the Global Diagnostics Context item to the specified value. - - Item name. - Item value. - - - - Gets the Global Diagnostics Context named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context item. - - Item name. - to use when converting the item's value to a string. - The value of as a string, if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the Global Diagnostics Context named item. - - Item name. - The item value, if defined; otherwise null. - - - - Returns all item names - - A collection of the names of all items in the Global Diagnostics Context. - - - - Checks whether the specified item exists in the Global Diagnostics Context. - - Item name. - A boolean indicating whether the specified item exists in current thread GDC. - - - - Removes the specified item from the Global Diagnostics Context. - - Item name. - - - - Clears the content of the GDC. - - - - - Include context properties - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Interface for serialization of object values into JSON format - - - - - Serialization of an object into JSON format. - - The object to serialize to JSON. - Output destination. - Serialize succeeded (true/false) - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format.s - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Logger with only generic methods (passing 'LogLevel' to methods) and core properties. - - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Extensions for NLog . - - - - - Writes the diagnostic message and exception at the specified level. - - A logger implementation that will handle the message. - The log level. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A logger implementation that will handle the message. - An exception to be logged. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Allocates new builder and appends to the provided target builder on dispose - - - - - Access the new builder allocated - - - - - Helpers for . - - - - - Load from url - - file or path, including .dll - basepath, optional - - - - - Load from url - - name without .dll - - - - - Forward declare of system delegate type for use by other classes - - - - - Keeps track of pending operation count, and can notify when pending operation count reaches zero - - - - - Mark operation has started - - - - - Mark operation has completed - - Exception coming from the completed operation [optional] - - - - Registers an AsyncContinuation to be called when all pending operations have completed - - Invoked on completion - AsyncContinuation operation - - - - Clear o - - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace. - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Legacy attempt to skip async MoveNext, but caused source file line number to be lost - - - - - Gets the entire stack trace. - - - - - Finds first user stack frame in a stack trace - - The stack trace of the logging method invocation - Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger. - Index of the first user stack frame or 0 if all stack frames are non-user - - - - This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame - - The stack trace of the logging method invocation - Starting point for skipping async MoveNext-frames - - - - Assembly to skip? - - Find assembly via this frame. - true, we should skip. - - - - Is this the type of the logger? - - get type of this logger in this frame. - Type of the logger. - - - - - Memory optimized filtering - - Passing state too avoid delegate capture and memory-allocations. - - - - Provides untyped IDictionary interface on top of generic IDictionary. - - The type of the key. - The type of the value. - - - - Initializes a new instance of the DictionaryAdapter class. - - The implementation. - - - - Gets an object containing the values in the object. - - - - An object containing the values in the object. - - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - - Gets an object that can be used to synchronize access to the . - - - - An object that can be used to synchronize access to the . - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - - Gets an object containing the keys of the object. - - - - An object containing the keys of the object. - - - - - Gets or sets the with the specified key. - - Dictionary key. - Value corresponding to key or null if not found - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - - - Removes all elements from the object. - - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - True if the contains an element with the key; otherwise, false. - - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Wrapper IDictionaryEnumerator. - - - - - Initializes a new instance of the class. - - The wrapped. - - - - Gets both the key and the value of the current dictionary entry. - - - - A containing both the key and the value of the current dictionary entry. - - - - - Gets the key of the current dictionary entry. - - - - The key of the current element of the enumeration. - - - - - Gets the value of the current dictionary entry. - - - - The value of the current element of the enumeration. - - - - - Gets the current element in the collection. - - - - The current element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - - - Ensures that IDictionary.GetEnumerator returns DictionaryEntry values - - - - - UTF-8 BOM 239, 187, 191 - - - - - Safe way to get environment variables. - - - - - Helper class for dealing with exceptions. - - - - - Mark this exception as logged to the . - - - - - - - Is this exception logged to the ? - - - trueif the has been logged to the . - - - - Determines whether the exception must be rethrown and logs the error to the if is false. - - Advised to log first the error to the before calling this method. - - The exception to check. - Target context of the exception. - trueif the must be rethrown, false otherwise. - - - - Determines whether the exception must be rethrown immediately, without logging the error to the . - - Only used this method in special cases. - - The exception to check. - trueif the must be rethrown, false otherwise. - - - - Object construction helper. - - - - - Adapter for to - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Creates an AppDomainWrapper for the current - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. - - - - - Gets or sets the base directory that the assembly resolver uses to probe for assemblies. - - - - - Gets or sets the name of the configuration file for an application domain. - - - - - Gets or sets the list of directories under the application base directory that are probed for private assemblies. - - - - - Gets or set the friendly name. - - - - - Gets an integer that uniquely identifies the application domain within the process. - - - - - Gets the assemblies that have been loaded into the execution context of this application domain. - - A list of assemblies in this application domain. - - - - Process exit event. - - - - - Domain unloaded event. - - - - - Abstract calls for the application environment - - - - - Gets current process name (excluding filename extension, if any). - - - - - Abstract calls to FileSystem - - - - Determines whether the specified file exists. - The file to check. - - - Returns the content of the specified file - The file to load. - - - - Base class for optimized file appenders. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Gets the path of the file, including file extension. - - The name of the file. - - - - Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated - Universal Time [UTC] standard. - - The creation time of the file. - - - - Gets or sets the creation time for a file associated with the appender. Synchronized by - The time format is based on - - - - - Gets the last time the file associated with the appender is opened. The time returned is in Coordinated - Universal Time [UTC] standard. - - The time the file was last opened. - - - - Gets the file creation parameters. - - The file creation parameters. - - - - Writes the specified bytes. - - The bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates the file stream. - - If set to true sets the file stream to allow shared writing. - If larger than 0 then it will be used instead of the default BufferSize for the FileStream. - A object which can be used to write to the file. - - - - Base class for optimized file appenders which require the usage of a mutex. - - It is possible to use this class as replacement of BaseFileAppender and the mutex functionality - is not enforced to the implementing subclasses. - - - - - Initializes a new instance of the class. - - Name of the file. - The create parameters. - - - - Implementation of which caches - file information. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Closes this instance of the appender. - - - - - Flushes this current appender. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Writes the specified bytes to a file. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Factory class which creates objects. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Maintains a collection of file appenders usually associated with file targets. - - - - - An "empty" instance of the class with zero size and empty list of appenders. - - - - - Initializes a new "empty" instance of the class with zero size and empty - list of appenders. - - - - - Initializes a new instance of the class. - - - The size of the list should be positive. No validations are performed during initialization as it is an - internal class. - - Total number of appenders allowed in list. - Factory used to create each appender. - Parameters used for creating a file. - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface that provides parameters for create file function. - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - Gets or sets the log file buffer size in bytes. - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - Should archive mutex be created? - - - - - Should manual simple detection of file deletion be enabled? - - - - - Gets the parameters which will be used for creating a file. - - - - - Gets the file appender factory used by all the appenders in this list. - - - - - Gets the number of appenders which the list can hold. - - - - - Subscribe to background monitoring of active file appenders - - - - - It allocates the first slot in the list when the file name does not already in the list and clean up any - unused slots. - - File name associated with a single appender. - The allocated appender. - - Thrown when is called on an Empty instance. - - - - - Close all the allocated appenders. - - - - - Close the allocated appenders initialized before the supplied time. - - The time which prior the appenders considered expired - - - - Flush all the allocated appenders. - - - - - File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file. - - - NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender - - - - - Closes the specified appender and removes it from the list. - - File name of the appender to be closed. - File Appender that matched the filePath (null if none found) - - - - Interface implemented by all factories capable of creating file appenders. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - Instance of which can be used to write to the file. - - - - Appender used to discard data for the FileTarget. - Used mostly for testing entire stack except the actual writing to disk. - Throws away all data. - - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Multi-process and multi-host file appender which attempts - to get exclusive write access and retries if it's not available. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - Optimized single-process file appender which keeps the file open for exclusive write. - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes array. - The bytes array offset. - The number of bytes. - - - - Flushes this instance. - - - - - Closes this instance. - - - - - Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal - Time [UTC] standard. - - The file creation time. - - - - Gets the length in bytes of the file associated with the appender. - - A long value representing the length of the file in bytes. - - - - Factory class. - - - - - Opens the appender for given file name and parameters. - - Name of the file. - Creation parameters. - - Instance of which can be used to write to the file. - - - - - A layout that represents a filePath. - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid file names char array to avoid memory allocation every time Path.GetInvalidFileNameChars() is called. - - - - - not null when == false - - - - - non null is fixed, - - - - - is the cache-key, and when newly rendered filename matches the cache-key, - then it reuses the cleaned cache-value . - - - - - is the cache-value that is reused, when the newly rendered filename - matches the cache-key - - - - Initializes a new instance of the class. - - - - Render the raw filename from Layout - - The log event. - StringBuilder to minimize allocations [optional]. - String representation of a layout. - - - - Convert the raw filename to a correct filename - - The filename generated by Layout. - String representation of a correct filename. - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Is this (templated/invalid) path an absolute, relative or unknown? - - - - - Convert object to string - - value - format for conversion. - - - If is null and isn't a already, then the will get a locked by - - - - - Interface for the wrapper around System.Configuration.ConfigurationManager. - - - - - Gets the wrapper around ConfigurationManager.AppSettings. - - - - - Format a log message - - - - - Format the message and return - - LogEvent with message to be formatted - formatted message - - - - Has the logevent properties? - - LogEvent with message to be formatted - False when logevent has no properties to be extracted - - - - Appends the logevent message to the provided StringBuilder - - LogEvent with message to be formatted - The to append the formatted message. - - - - Get the Raw, unformatted and unstrinyfied, value - - - - - Get the raw value - - - The value - RawValue supported? - - - - Interface implemented by layouts and layout renderers. - - - - - Renders the the value of layout or layout renderer in the context of the specified log event. - - The log event. - String representation of a layout. - - - - Supports mocking of SMTP Client code. - - - - - Specifies how outgoing email messages will be handled. - - - - - Gets or sets the name or IP address of the host used for SMTP transactions. - - - - - Gets or sets the port used for SMTP transactions. - - - - - Gets or sets a value that specifies the amount of time after which a synchronous Send call times out. - - - - - Gets or sets the credentials used to authenticate the sender. - - - - - Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted. - - - System.Net.Mail.MailMessage - MailMessage - A MailMessage that contains the message to send. - - - - Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. - - - - - Supports rendering as string value with limited or no allocations (preferred) - - - - - Renders the value of layout renderer in the context of the specified log event - - - null if not possible or unknown - - - - Supports object initialization and termination. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Allows components to request stack trace information to be provided in the . - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Render the event info as parse as short - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as int - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Render the event info as parse as bool - - current layout - - default value when the render - layout name for log message to internal log when logging fails - - - - - Logger configuration. - - - - - Initializes a new instance of the class. - - The targets by level. - Use the old exception log handling of NLog 3.0? - - - - Use the old exception log handling of NLog 3.0? - - This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. - - - - Gets targets for the specified level. - - The level. - Chain of targets with attached filters. - - - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - New formatter - - When true: Do not fallback to StringBuilder.Format for positional templates - - - - - The MessageFormatter delegate - - - - - - - - Most-Recently-Used-Cache, that discards less frequently used items on overflow - - - - - Constructor - - Maximum number of items the cache will hold before discarding. - - - - Attempt to insert item into cache. - - Key of the item to be inserted in the cache. - Value of the item to be inserted in the cache. - true when the key does not already exist in the cache, false otherwise. - - - - Lookup existing item in cache. - - Key of the item to be searched in the cache. - Output value of the item found in the cache. - True when the key is found in the cache, false otherwise. - - - - Supports mocking of SMTP Client code. - - - Disabled Error CS0618 'SmtpClient' is obsolete: 'SmtpClient and its network of types are poorly designed, - we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead' - - - - - Network sender which uses HTTP or HTTPS POST. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Creates instances of objects for given URLs. - - - - - Creates a new instance of the network sender based on a network URL. - - URL that determines the network sender to be created. - The maximum queue size. - SSL protocols for TCP - KeepAliveTime for TCP - - A newly created network sender. - - - - - Interface for mocking socket calls. - - - - - A base class for all network senders. Supports one-way sending of messages - over various protocols. - - - - - Initializes a new instance of the class. - - The network URL. - - - - Gets the address of the network endpoint. - - - - - Gets the last send time. - - - - - Initializes this network sender. - - - - - Closes the sender and releases any unmanaged resources. - - The continuation. - - - - Flushes any pending messages and invokes a continuation. - - The continuation. - - - - Send the given text over the specified protocol. - - Bytes to be sent. - Offset in buffer. - Number of bytes to send. - The asynchronous continuation. - - - - Closes the sender and releases any unmanaged resources. - - - - - Performs sender-specific initialization. - - - - - Performs sender-specific close operation. - - The continuation. - - - - Performs sender-specific flush. - - The continuation. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Parses the URI into an endpoint address. - - The URI to parse. - The address family. - Parsed endpoint. - - - - Default implementation of . - - - - - - - - A base class for network senders that can block or send out-of-order - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - - - - Actually sends the given text over the specified protocol. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Performs sender-specific flush. - - The continuation. - - - - Socket proxy for mocking Socket code. - - - - - Initializes a new instance of the class. - - The address family. - Type of the socket. - Type of the protocol. - - - - Gets underlying socket instance. - - - - - Closes the wrapped socket. - - - - - Invokes ConnectAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Invokes SendToAsync method on the wrapped socket. - - The instance containing the event data. - Result of original method. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Sends messages over a TCP network connection. - - - - - Initializes a new instance of the class. - - URL. Must start with tcp://. - The address family. - - - - Creates the socket with given parameters. - - The host address. - The address family. - Type of the socket. - Type of the protocol. - Instance of which represents the socket. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Facilitates mocking of class. - - - - - Raises the Completed event. - - - - - Sends messages over the network as UDP datagrams. - - - - - Initializes a new instance of the class. - - URL. Must start with udp://. - The address family. - - - - Creates the socket. - - The address family. - Type of the socket. - Type of the protocol. - Implementation of to use. - - - - Performs sender-specific initialization. - - - - - Closes the socket. - - The continuation. - - - - Sends the specified text as a UDP datagram. - - The bytes to be sent. - Offset in buffer. - Number of bytes to send. - The async continuation to be invoked after the buffer has been sent. - To be overridden in inheriting classes. - - - - Scans (breadth-first) the object graph following all the edges whose are - instances have attached and returns - all objects implementing a specified interfaces. - - - - - Finds the objects which have attached which are reachable - from any of the given root objects when traversing the object graph over public properties. - - Type of the objects to return. - Also search the properties of the wanted objects. - The root objects. - Ordered list of objects implementing T. - - - ISet is not there in .net35, so using HashSet - - - - Helper for extracting propertyPath - - - - - Object Path to check - - - - - Try get value from , using , and set into - - - - - - - - Converts object into a List of property-names and -values using reflection - - - - - Scans properties for name (Skips string-compare and value-lookup until finding match) - - - - - Scans properties for name (Skips property value lookup until finding match) - - - - - Scans properties for name - - - - - Combine paths - - basepath, not null - optional dir - optional file - - - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Trims directory separators from the path - - path, could be null - never null - - - - Detects the platform the NLog is running on. - - - - - Gets the current runtime OS. - - - - - Gets a value indicating whether current OS is Win32-based (desktop or mobile). - - - - - Gets a value indicating whether current OS is Unix-based. - - - - - Gets a value indicating whether current runtime is Mono-based - - - - - Gets a value indicating whether current runtime supports use of mutex - - - - - Will creating a mutex succeed runtime? - "Cached" detection - - - - - Will creating a mutex succeed runtime? - - - - - Dictionary that combines the standard with the - MessageTemplate-properties extracted from the . - - The are returned as the first items - in the collection, and in positional order. - - - - - Value of the property - - - - - Is this a property of the message? - - - - - - - Value of the property - Is this a property of the message? - - - - The properties of the logEvent - - - - - The properties extracted from the message - - - - - Wraps the list of message-template-parameters into the IDictionary-interface - - Message-template-parameters - - - - Transforms the list of event-properties into IDictionary-interface - - Message-template-parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Check if the message-template-parameters can be used directly without allocating a dictionary - - Message-template-parameters - Are all parameter names unique (true / false) - - - - Attempt to insert the message-template-parameters into an empty dictionary - - Message-template-parameters - The initially empty dictionary - Message-template-parameters was inserted into dictionary without trouble (true/false) - - - - Attempt to override the existing dictionary values using the message-template-parameters - - Message-template-parameters - The already filled dictionary - List of unique message-template-parameters - - - - - - - - - - - - - - - - - - - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - Will always throw, as collection is readonly - - - - - - - - - - - - - - - - - - - Reflection helpers for accessing properties. - - - - - Set value parsed from string. - - object instance to set with property - name of the property on - The value to be parsed. - - - - - Get property info - - object which could have property - property name on - result when success. - success. - - - - Try parse of string to (Generic) list, comma separated. - - - If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape - - - - - Attempt to reuse the HashSet.Comparer from the original HashSet-object (Ex. StringComparer.OrdinalIgnoreCase) - - - - - Try get the property - - - - - Reflection helpers. - - - - - Gets all usable exported types from the given assembly. - - Assembly to scan. - Usable types from the given assembly. - Types which cannot be loaded are skipped. - - - - Is this a static class? - - - - This is a work around, as Type doesn't have this property. - From: https://stackoverflow.com/questions/1175888/determine-if-a-type-is-static - - - - - Optimized delegate for calling MethodInfo - - Object instance, use null for static methods. - Complete list of parameters that matches the method, including optional/default parameters. - - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Creates an optimized delegate for calling the MethodInfo using Expression-Trees - - Method to optimize - Optimized delegate for invoking the MethodInfo - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) - - - - - Controls a single allocated char[]-buffer for reuse (only one active user) - - - - - Controls a single allocated StringBuilder for reuse (only one active user) - - - - - Controls a single allocated object for reuse (only one active user) - - - - Empty handle when is disabled - - - - Creates handle to the reusable char[]-buffer for active usage - - Handle to the reusable item, that can release it again - - - - Access the acquired reusable object - - - - - Controls a single allocated MemoryStream for reuse (only one active user) - - - - - Supported operating systems. - - - If you add anything here, make sure to add the appropriate detection - code to - - - - - Unknown operating system. - - - - - Unix/Linux operating systems. - - - - - Desktop versions of Windows (95,98,ME). - - - - - Windows NT, 2000, 2003 and future versions based on NT technology. - - - - - Macintosh Mac OSX - - - - - Simple character tokenizer. - - - - - Initializes a new instance of the class. - - The text to be tokenized. - - - - Current position in - - - - - Full text to be parsed - - - - - Check current char while not changing the position. - - - - - - Read the current char and change position - - - - - - Get the substring of the - - - - - - - - Implements a single-call guard around given continuation function. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - - - - Continuation function which implements the single-call guard. - - The exception. - - - - HashSet optimized for single item - - - - - - Insert single item on scope start, and remove on scope exit - - Item to insert in scope - Existing hashset to update - Force allocation of real hashset-container - HashSet EqualityComparer - - - - Add item to collection, if it not already exists - - Item to insert - - - - Clear hashset - - - - - Check if hashset contains item - - - Item exists in hashset (true/false) - - - - Remove item from hashset - - - Item removed from hashset (true/false) - - - - Copy items in hashset to array - - Destination array - Array offset - - - - Create hashset enumerator - - Enumerator - - - - Provides helpers to sort log events and associated continuations. - - - - - Key selector delegate. - - The type of the value. - The type of the key. - Value to extract key information from. - Key selected from log event. - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. - - The type of the value. - The type of the key. - The inputs. - The key selector function. - The key comparer function. - - Dictionary where keys are unique input keys, and values are lists of . - - - - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. - - - - - - - - - - - - - - - - Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. - Consider to use instead for better safety. - - Key value for lookup - Mapped value found - - - - Non-Allocating struct-enumerator - - - - - - - - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - Will always throw, as dictionary is readonly - - - Will always throw, as dictionary is readonly - - - - - - - - - Will always throw, as dictionary is readonly - - - - Utilities for dealing with values. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - - - - Gets the fully qualified name of the class invoking the calling method, including the - namespace but not the assembly. - - StackFrame from the calling method - Fully qualified class name - - - - Returns the assembly from the provided StackFrame (If not internal assembly) - - Valid assembly, or null if assembly was internal - - - - Returns the classname from the provided StackFrame (If not from internal assembly) - - - Valid class name, or empty string if assembly was internal - - - - Stream helpers - - - - - Copy to output stream and skip BOM if encoding is UTF8 - - - - - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - .net35 doesn't have a .copyto - - - - Copy stream input to output. Skip the first bytes - - stream to read from - stream to write to - first bytes to skip (optional) - - - - Helpers for , which is used in e.g. layout renderers. - - - - - Renders the specified log event context item and appends it to the specified . - - append to this - value to be appended - format string. If @, then serialize the value with the Default JsonConverter. - provider, for example culture - - - - Appends int without using culture, and most importantly without garbage - - - value to append - - - - Appends uint without using culture, and most importantly without garbage - - Credits Gavin Pugh - https://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ - - - value to append - - - - Convert DateTime into UTC and format to yyyy-MM-ddTHH:mm:ss.fffffffZ - ISO 6801 date (Round-Trip-Time) - - - - - Clears the provider StringBuilder - - - - - - Copies the contents of the StringBuilder to the MemoryStream using the specified encoding (Without BOM/Preamble) - - StringBuilder source - MemoryStream destination - Encoding used for converter string into byte-stream - Helper char-buffer to minimize memory allocations - - - - Copies the contents of the StringBuilder to the destination StringBuilder - - StringBuilder source - StringBuilder destination - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle character to search for - - Index of the first occurrence (Else -1) - - - - Scans the StringBuilder for the position of needle character - - StringBuilder source - needle characters to search for - - Index of the first occurrence (Else -1) - - - - Compares the contents of two StringBuilders - - - Correct implementation of that also works when is not the same - - True when content is the same - - - - Compares the contents of a StringBuilder and a String - - True when content is the same - - - - Append a number and pad with 0 to 2 digits - - append to this - the number - - - - Append a number and pad with 0 to 4 digits - - append to this - the number - - - - Append a int type (byte, int) as string - - - - - Constructor - - Max number of items - Initial StringBuilder Size - Max StringBuilder Size - - - - Takes StringBuilder from pool - - Allow return to pool - - - - Releases StringBuilder back to pool at its right place - - - - - Keeps track of acquired pool item - - - - - Releases pool item back into pool - - - - - Helpers for . - - - - - IsNullOrWhiteSpace, including for .NET 3.5 - - - - - - - Split a string - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Split a string, optional quoted value - - Text to split - Character to split the - Quote character - - Escape for the , not escape for the - , use quotes for that. - - - - - Represents target with a chain of filters which determine - whether logging should happen. - - - - - cached result as calculating is expensive. - - - - - Initializes a new instance of the class. - - The target. - The filter chain. - Default action if none of the filters match. - - - - Gets the target. - - The target. - - - - Gets the filter chain. - - The filter chain. - - - - Default action if none of the filters match. - - - - - Gets or sets the next item in the chain. - - The next item in the chain. - This is for example the 'target2' logger in writeTo='target1,target2' - - - - Gets the stack trace usage. - - A value that determines stack trace handling. - - - - Helper for dealing with thread-local storage. - - - - - Allocates the data slot for storing thread-local information. - - Allocated slot key. - - - - Gets the data for a slot in thread-local storage. - - Type of the data. - The slot to get data for. - Automatically create the object if it doesn't exist. - - Slot data (will create T if null). - - - - - Wraps with a timeout. - - - - - Initializes a new instance of the class. - - The asynchronous continuation. - The timeout. - - - - Continuation function which implements the timeout logic. - - The exception. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Transformation on a layout. Pre-calculated if the layout has a fixed value. - - - - - Create TransformedLayout. - - Layout - Transformation method - Optional renderer, otherwise is used - - - - - - - Create TransformedLayout. If is null, then the returns null - - Layout - Transformation method - Optional renderer, otherwise is used - null if is null - - - - - - - - - - URL Encoding helper. - - - - Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - - - Use RFC2396 standard (instead of RFC3986) - - - Should use lowercase when doing HEX escaping of special characters - - - Replace space ' ' with '+' instead of '%20' - - - Skip UTF8 encoding, and prefix special characters with '%u' - - - - Escape unicode string data for use in http-requests - - unicode string-data to be encoded - target for the encoded result - s for how to perform the encoding - - - - Convert the wide-char into utf8-bytes, and then escape - - - - - - - - - Is allowed? - - - - - - - - Is a-z / A-Z / 0-9 - - - - - - - Prevents the Xamarin linker from linking the target. - - - By applying this attribute all of the members of the target will be kept as if they had been referenced by the code. - - - - - Ensures that all members of this type are preserved - - - - - Flags the method as a method to preserve during linking if the container class is pulled in. - - - - - Helper class for XML - - - - - removes any unusual unicode characters that can't be encoded into XML - - - - - Cleans string of any invalid XML chars found - - unclean string - string with only valid XML chars - - - - Pretest, small text and not escape needed - - - - - - - - Converts object value to invariant format, and strips any invalid xml-characters - - Object value - Object value converted to string - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object value converted to string - - - - XML elements must follow these naming rules: - - Element names are case-sensitive - - Element names must start with a letter or underscore - - Element names can contain letters, digits, hyphens, underscores, and periods - - Element names cannot contain spaces - - - - - - - Converts object value to invariant format (understood by JavaScript) - - Object value - Object TypeCode - Check and remove unusual unicode characters from the result string. - Object value converted to string - - - - Safe version of WriteAttributeString - - - - - - - - - - Safe version of WriteAttributeString - - - - - - - - Safe version of WriteElementSafeString - - - - - - - - - - Safe version of WriteCData - - - - - - - Interface for handling object transformation - - - - - Takes a dangerous (or massive) object and converts into a safe (or reduced) object - - - Null if unknown object, or object cannot be handled - - - - - Provides an interface to execute System.Actions without surfacing any exceptions raised for that action. - - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Render a message template property to a string - - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Log event context data. - - - - - Initializes a new instance of the class. - - - - - Gets or sets string that will be used to separate key/value pairs. - - - - - - Get or set if empty values should be included. - - A value is empty when null or in case of a string, null or empty string. - - - - - - Gets or sets the keys to exclude from the output. If omitted, none are excluded. - - - - - - Gets or sets how key/value pairs will be formatted. - - - - - - Renders all log event's properties and appends them to the specified . - - The to append the rendered data to. - Logging event. - - - - Designates a property of the class as an ambient property. - - - non-ambient: ${uppercase:${level}} - ambient : ${level:uppercase} - - - - - Initializes a new instance of the class. - - Ambient property name. - - - - Used to render the application domain name. - - - - - Create a new renderer - - - - - Create a new renderer - - - - - Format string. Possible values: "Short", "Long" or custom like {0} {1}. Default "Long" - The first parameter is the , the second the second the - This string is used in - - - - - - - - - - - - - - - Renders the assembly version information for the entry assembly or a named assembly. - - - As this layout renderer uses reflection and version information is unlikely to change during application execution, - it is recommended to use it in conjunction with the . - - - The entry assembly can't be found in some cases e.g. ASP.NET, unit tests, etc. - - - - - Initializes a new instance of the class. - - - - - The (full) name of the assembly. If null, using the entry assembly. - - - - - - Gets or sets the type of assembly version to retrieve. - - - Some version type and platform combinations are not fully supported. - - UWP earlier than .NET Standard 1.5: Value for is always returned unless the parameter is specified. - - Silverlight: Value for is always returned. - - - - - - Gets or sets the custom format of the assembly version output. - - - Supported placeholders are 'major', 'minor', 'build' and 'revision'. - The default .NET template for version numbers is 'major.minor.build.revision'. See - https://docs.microsoft.com/en-gb/dotnet/api/system.version?view=netframework-4.7.2#remarks - for details. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders an assembly version and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Gets the assembly specified by , or entry assembly otherwise - - Found assembly - - - - Type of assembly version to retrieve. - - - - - Gets the assembly version. - - - - - Gets the file version. - - - - - Gets additional version information. - - - - - The current application domain's base directory. - - - - - cached - - - - - Use base dir of current process. Alternative one can just use ${processdir} - - - - - - Fallback to the base dir of current process, when AppDomain.BaseDirectory is Temp-Path (.NET Core 3 - Single File Publish) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the base directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. - - - - - - Renders the application base directory and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source file name. Full callsite - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - The call site (class name, method name and source information). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to render the class name. - - - - - - Gets or sets a value indicating whether to render the include the namespace with . - - - - - - Gets or sets a value indicating whether to render the method name. - - - - - - Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate. - - - - - - Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation - (everything after an await-statement inside of an async method). - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets a value indicating whether to render the source file name and line number. - - - - - - Gets or sets a value indicating whether to include source file path. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The call site source line number. Full callsite - - - - - Gets or sets the number of frames to skip. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - - - - - - A counter value (increases on each layout rendering). - - - - - Gets or sets the initial value of the counter. - - - - - - Gets or sets the value to be added to the counter after each layout rendering. - - - - - - Gets or sets the name of the sequence. Different named sequences can have individual values. - - - - - - - - - The current working directory of the application. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the current directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the current directory. - - - - - - - - - - - - Current date and time. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format). - - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - - - - - - - - - - DB null for a database - - - - - - - - - - - The OS dependent directory separator - - - - - - - - - - - The environment variable. - - - - - Gets or sets the name of the environment variable. - - - - - - Gets or sets the default value to be used when the environment variable is not set. - - - - - - - - - - - - Thread identity information (username). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether username should be included. - - - - - - Gets or sets a value indicating whether domain name should be included. - - - - - - Gets or sets the default value to be used when the User is not set. - - - - - - Gets or sets the default value to be used when the Domain is not set. - - - - - - - - - - - - Log event context data. - - This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the name of the item. - - - - - - Renders the specified log event context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Log event context data. See . - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - - - - - - - - - - Exception information provided through - a call to one of the Logger.*Exception() methods. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the format of the output. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - - - Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception - properties: Message, Type, ShortType, ToString, Method, StackTrace. - This parameter value is case-insensitive. - - - - - - Gets or sets the separator used to concatenate parts specified in the Format. - - - - - - Gets or sets the separator used to concatenate exception data specified in the Format. - - - - - - Gets or sets the maximum number of inner exceptions to include in the output. - By default inner exceptions are not enabled for compatibility with NLog 1.0. - - - - - - Gets or sets the separator between inner exceptions. - - - - - - Gets or sets whether to render innermost Exception from - - - - - Gets or sets whether to collapse exception tree using - - - - - Gets the formats of the output of inner exceptions to be rendered in target. - - - - - - - Gets the formats of the output to be rendered in target. - - - - - - - - - - - - - Appends the Message of an Exception to the specified . - - The to append the rendered data to. - The exception containing the Message to append. - - - - Appends the method name from Exception's stack trace to the specified . - - The to append the rendered data to. - The Exception whose method name should be appended. - - - - Appends the stack trace from an Exception to the specified . - - The to append the rendered data to. - The Exception whose stack trace should be appended. - - - - Appends the result of calling ToString() on an Exception to the specified . - - The to append the rendered data to. - The Exception whose call to ToString() should be appended. - - - - Appends the type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose type should be appended. - - - - Appends the short type of an Exception to the specified . - - The to append the rendered data to. - The Exception whose short type should be appended. - - - - Appends the application source of an Exception to the specified . - - The to append the rendered data to. - The Exception whose source should be appended. - - - - Appends the HResult of an Exception to the specified . - - The to append the rendered data to. - The Exception whose HResult should be appended. - - - - Appends the contents of an Exception's Data property to the specified . - - The to append the rendered data to. - The Exception whose Data property elements should be appended. - - - - Appends all the serialized properties of an Exception into the specified . - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Appends all the additional properties of an Exception like Data key-value-pairs - - The to append the rendered data to. - The Exception whose properties should be appended. - - - - Split the string and then compile into list of Rendering formats. - - - - - Renders contents of the specified file. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the file. - - - - - - Gets or sets the encoding used in the file. - - The encoding. - - - - - Renders the contents of the specified file and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - Name used in config without ${}. E.g. "test" could be used as "${test}". - - - - - Method that renders the layout. - - This public property will be removed in NLog 5. - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render the value for this log event - - The event info. - The value. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - A layout renderer which could have different behavior per instance by using a . - - - - - Initializes a new instance of the class. - - Name without ${}. - Method that renders the layout. - - - - The information about the garbage collector. - - - - - Gets or sets the property to retrieve. - - - - - - - - - Gets or sets the property of System.GC to retrieve. - - - - - Total memory allocated. - - - - - Total memory allocated (perform full garbage collection first). - - - - - Gets the number of Gen0 collections. - - - - - Gets the number of Gen1 collections. - - - - - Gets the number of Gen2 collections. - - - - - Maximum generation number supported by GC. - - - - - Render a Global Diagnostics Context item. See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - - - - Globally-unique identifier (GUID). - - - - - Gets or sets the GUID format as accepted by Guid.ToString() method. - - - - - - Generate the Guid from the NLog LogEvent (Will be the same for all targets) - - - - - - - - - - - - - - - The host name that the process is running on. - - - - - - - - Gets the host name and falls back to computer name if not available - - - - - Tries the lookup value. - - The lookup function. - Type of the lookup. - - - - - - - - Thread identity information (name and authentication information). - - - - - Gets or sets the separator to be used when concatenating - parts of identity information. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.Name. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.AuthenticationType. - - - - - - Gets or sets a value indicating whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated. - - - - - - - - - Installation parameter (passed to InstallNLogConfig). - - - - - Gets or sets the name of the parameter. - - - - - - Renders the specified installation parameter and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render environmental information related to logging events. - - - - - Gets the logging configuration this target is part of. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Renders the the value of layout renderer in the context of the specified log event. - - The log event. - String representation of a layout renderer. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Renders the value of layout renderer in the context of the specified log event. - - The log event. - The layout render output is appended to builder - - - - Renders the value of layout renderer in the context of the specified log event into . - - The to append the rendered data to. - Logging event. - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Get the for rendering the messages to a - - LogEvent with culture - Culture in on Layout level - - - - - Get the for rendering the messages to a , needed for date and number formats - - LogEvent with culture - Culture in on Layout level - - - is preferred - - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Short-cut for registering to default - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Renderer with callback func - - - - Marks class as a layout renderer and assigns a name to it. - - This attribute is not required when registering the layout in the API. - - - - Initializes a new instance of the class. - - Name of the layout renderer, without the `${ }` - - - - Format of the ${level} layout renderer output. - - - - - Render the LogLevel standard name. - - - - - Render the first character of the level. - - - - - Render the ordinal (aka number) for the level. - - - - - Render the LogLevel full name, expanding Warn / Info abbreviations - - - - - The log level. - - - - - Gets or sets a value indicating the output format of the level. - - - - - - - - - - - - - - - A string literal. - - - This is used to escape '${' sequence - as ;${literal:text=${}' - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The literal text value. - This is used by the layout compiler. - - - - Gets or sets the literal text. - - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - XML event description compatible with log4j, Chainsaw and NLogViewer. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes the layout renderer. - - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets a value indicating whether the XML should use spaces for indentation. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the level of stack trace information required by the implementing class. - - - - - Renders the XML logging event and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The logger name. - - - - - Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character). - - - - - - - - - - - - The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the date in the long format (yyyy-MM-dd HH:mm:ss.ffff) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The machine name that the process is running on. - - - - - - - - - - - Render a Mapped Diagnostic Context item, See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - Render a Mapped Diagnostic Logical Context item (based on CallContext). - See - - - - - Gets or sets the name of the item. - - - - - - Format string for conversion from object to string. - - - - - - - - - - - - The formatted log message. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to log exception along with message. - - - - - - Gets or sets the string that separates message from the exception. - - - - - - Gets or sets whether it should render the raw message without formatting parameters - - - - - - - - - - - - Render a Nested Diagnostic Context item. - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested diagnostics context output. - - - - - - Renders the specified Nested Diagnostics Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Render a Nested Diagnostic Logical Context item (Async scope) - See - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of bottom stack frames to be rendered. - - - - - - Gets or sets the separator to be used for concatenating nested logical context output. - - - - - - Renders the specified Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Timing Renderer (Async scope) - - - - - Gets or sets whether to only include the duration of the last scope created - - - - - - Gets or sets whether to just display the scope creation time, and not the duration - - - - - - Gets or sets the TimeSpan format. Can be any argument accepted by TimeSpan.ToString(format). - - - - - - Renders the timing details of the Nested Logical Context item and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A newline literal. - - - - - Renders the specified string literal and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The directory where NLog.dll is located. - - - - - Initializes static members of the NLogDirLayoutRenderer class. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The executable directory from the FileName, - using the current process - - - - - Gets or sets the name of the file to be Path.Combine()'d with with the process directory. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with with the process directory. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - The information about the running process. - - - - - Gets or sets the property to retrieve. - - - - - - Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum) - - - - - - - - - - - - - - - Property of System.Diagnostics.Process to retrieve. - - - - - Base Priority. - - - - - Exit Code. - - - - - Exit Time. - - - - - Process Handle. - - - - - Handle Count. - - - - - Whether process has exited. - - - - - Process ID. - - - - - Machine name. - - - - - Handle of the main window. - - - - - Title of the main window. - - - - - Maximum Working Set. - - - - - Minimum Working Set. - - - - - Non-paged System Memory Size. - - - - - Non-paged System Memory Size (64-bit). - - - - - Paged Memory Size. - - - - - Paged Memory Size (64-bit).. - - - - - Paged System Memory Size. - - - - - Paged System Memory Size (64-bit). - - - - - Peak Paged Memory Size. - - - - - Peak Paged Memory Size (64-bit). - - - - - Peak Virtual Memory Size. - - - - - Peak Virtual Memory Size (64-bit).. - - - - - Peak Working Set Size. - - - - - Peak Working Set Size (64-bit). - - - - - Whether priority boost is enabled. - - - - - Priority Class. - - - - - Private Memory Size. - - - - - Private Memory Size (64-bit). - - - - - Privileged Processor Time. - - - - - Process Name. - - - - - Whether process is responding. - - - - - Session ID. - - - - - Process Start Time. - - - - - Total Processor Time. - - - - - User Processor Time. - - - - - Virtual Memory Size. - - - - - Virtual Memory Size (64-bit). - - - - - Working Set Size. - - - - - Working Set Size (64-bit). - - - - - The process time in format HH:mm:ss.mmm. - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - Write timestamp to builder with format hh:mm:ss:fff - - - - - The sequence ID - - - - - - - - - - - The short date in a sortable format yyyy-MM-dd. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Renders the current short date string (yyyy-MM-dd) and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - System special folder path (includes My Documents, My Music, Program Files, Desktop, and more). - - - - - Gets or sets the system special folder to use. - - - Full list of options is available at MSDN. - The most common ones are: -
    -
  • ApplicationData - roaming application data for current user.
  • -
  • CommonApplicationData - application data for all users.
  • -
  • MyDocuments - My Documents
  • -
  • DesktopDirectory - Desktop directory
  • -
  • LocalApplicationData - non roaming application data
  • -
  • Personal - user profile directory
  • -
  • System - System directory
  • -
-
- -
- - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Format of the ${stacktrace} layout renderer output. - - - - - Raw format (multiline - as returned by StackFrame.ToString() method). - - - - - Flat format (class and method names displayed in a single line). - - - - - Detailed flat format (method signatures displayed in a single line). - - - - - Stack trace renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the output format of the stack trace. - - - - - - Gets or sets the number of top stack frames to be rendered. - - - - - - Gets or sets the number of frames to skip. - - - - - - Gets or sets the stack frame separator string. - - - - - - Logger should capture StackTrace, if it was not provided manually - - - - - Gets the level of stack trace information required by the implementing class. - - - - - - Renders the call site and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - A temporary directory. - - - - - Gets or sets the name of the file to be Path.Combine()'d with the directory name. - - - - - - Gets or sets the name of the directory to be Path.Combine()'d with the directory name. - - - - - - - - - Renders the directory where NLog is located and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - The identifier of the current thread. - - - - - - - - The name of the current thread. - - - - - - - - The Ticks value of current date and time. - - - - - - - - - - - The time in a 24-hour, sortable format HH:mm:ss.mmmm. - - - - - Gets or sets a value indicating whether to output UTC time instead of local time. - - - - - - Gets or sets a value indicating whether to output in culture invariant format - - - - - - - - - - - - A renderer that puts into log a System.Diagnostics trace correlation id. - - - - - - - - - - - Render a NLog variable (xml or config) - - - - - Gets or sets the name of the NLog variable. - - - - - - Gets or sets the default value to be used when the variable is not set. - - Not used if Name is null - - - - - Initializes the layout renderer. - - - - - Try get the - - - - - - - Renders the specified variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Thread Windows identity information (username). - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether domain name should be included. - - - - - - Gets or sets a value indicating whether username should be included. - - - - - - Renders the current thread windows identity information and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Applies caching to another layout output. - - - The value of the inner layout will be rendered only once and reused subsequently. - - - - - A value indicating when the cache is cleared. - - - - Never clear the cache. - - - Clear the cache whenever the is initialized. - - - Clear the cache whenever the is closed. - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether this is enabled. - - - - - - Gets or sets a value indicating when the cache is cleared. - - - - - - Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s - - - - - - Gets or sets a value indicating how many seconds the value should stay cached until it expires - - - - - - Initializes the layout renderer. - - - - - Closes the layout renderer. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - - - - Filters characters not allowed in the file names by replacing them with safe character. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path - (illegal characters are replaced with '_'). - - - - - - - - - - - - Escapes output of another layout using JSON rules. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply JSON encoding. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - - - - - - - Left part of a text - - - - - Gets or sets the length in characters. - - - - - - Same as -property, so it can be used as ambient property. - - - ${message:truncate=80} - - - - - - - - - - - - Converts the result of another layout output to lower case. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Render the non-raw value of an object. - - For performance and/or full (formatted) control of the output. - - - - Gets or sets a value indicating whether to disable the IRawValue-interface - - A value of true if IRawValue-interface should be ignored; otherwise, false. - - - - - - - - - - - Render a single property of a object - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - Shortcut for - - - - - - Gets or sets the object-property-navigation-path for lookup of nested property - - - - - - Format string for conversion from object to string. - - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - - - - Only outputs the inner layout when exception has been defined for log message. - - - - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - ${onhasproperties:, Properties\: ${all-event-properties}} - - - - - - - - - - - Horizontal alignment for padding layout renderers. - - - - - When layout text is too long, align it to the left - (remove characters from the right). - - - - - When layout text is too long, align it to the right - (remove characters from the left). - - - - - Applies padding to another layout output. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the number of characters to pad the output to. - - - Positive padding values cause left padding, negative values - cause right padding to the desired width. - - - - - - Gets or sets the padding character. - - - - - - Gets or sets a value indicating whether to trim the - rendered text to the absolute value of the padding length. - - - - - - Gets or sets a value indicating whether a value that has - been truncated (when is true) - will be left-aligned (characters removed from the right) - or right-aligned (characters removed from the left). The - default is left alignment. - - RegistryLayoutRenderer - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Replaces a string in the output of another layout with another string. - - - ${replace:searchFor=\\n+:replaceWith=-:regex=true:inner=${message}} - - - - - Gets or sets the text to search for. - - The text search for. - - - - - Gets or sets a value indicating whether regular expressions should be used. - - A value of true if regular expressions should be used otherwise, false. - - - - - Gets or sets the replacement string. - - The replacement string. - - - - - Gets or sets the group name to replace when using regular expressions. - Leave null or empty to replace without using group name. - - The group name. - - - - - Gets or sets a value indicating whether to ignore case. - - A value of true if case should be ignored when searching; otherwise, false. - - - - - Gets or sets a value indicating whether to search for whole words. - - A value of true if whole words should be searched for; otherwise, false. - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Initializes the layout renderer. - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass - - - - - A match evaluator for Regular Expression based replacing - - Input string. - Group name in the regex. - Replace value. - Match from regex. - Groups replaced with . - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating the string that should be used for separating lines. - - - - - - - - - - - - Right part of a text - - - - - Gets or sets the length in characters. - - - - - - - - - - - - Decodes text "encrypted" with ROT-13. - - - See https://en.wikipedia.org/wiki/ROT13. - - - - - Gets or sets the layout to be wrapped. - - The layout to be wrapped. - This variable is for backwards compatibility - - - - - Encodes/Decodes ROT-13-encoded string. - - The string to be encoded/decoded. - Encoded/Decoded text. - - - - - - - - - - Encodes/Decodes ROT-13-encoded string. - - - - - Substring the result - - - ${substring:${level}:start=2:length=2} - ${substring:${level}:start=-2:length=2} - ${substring:Inner=${level}:start=2:length=2} - - - - - Initializes a new instance of the class. - - - - - Gets or sets the start index. - - Index - - - - - Gets or sets the length in characters. If null, then the whole string - - Index - - - - - - - - - - - Calculate start position - - 0 or positive number - - - - Calculate needed length - - 0 or positive number - - - - Trims the whitespace from the result of another layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether lower case conversion should be applied. - - A value of true if lower case conversion should be applied; otherwise, false. - - - - - - - - - - - Converts the result of another layout output to upper case. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - ${level:uppercase} // [AmbientProperty] - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether upper case conversion should be applied. - - A value of true if upper case conversion should be applied otherwise, false. - - - - - Gets or sets the culture used for rendering. - - - - - - - - - - - - Encodes the result of another layout output for use with URLs. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether spaces should be translated to '+' or '%20'. - - A value of true if space should be translated to '+'; otherwise, false. - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Outputs alternative layout when the inner layout produces empty result. - - - - - Gets or sets the layout to be rendered when original layout produced empty result. - - - - - - - - - - - - - - - Only outputs the inner layout when the specified condition has been met. - - - - - Gets or sets the condition that must be met for the layout to be printed. - - - - - - If is not met, print this layout. - - - - - - - - - - - - - - - Replaces newline characters from the result of another layout renderer with spaces. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the line length for wrapping. - - - Only positive values are allowed - - - - - - Post-processes the rendered message. - - The text to be post-processed. - Post-processed text. - - - - Base class for s which wrapping other s. - - This has the property (which is default) and can be used to wrap. - - - ${uppercase:${level}} //[DefaultParameter] - ${uppercase:Inner=${level}} - - - - - Gets or sets the wrapped layout. - - [DefaultParameter] so Inner: is not required if it's the first - - - - - - - - - Renders the inner message, processes it and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - Appends the rendered output from -layout and transforms the added output (when necessary) - - Logging event. - The to append the rendered data to. - Start position for any necessary transformation of . - - - - Transforms the output of another layout. - - Logging event. - Output to be transform. - Transformed text. - - - - Transforms the output of another layout. - - Output to be transform. - Transformed text. - - - - Renders the inner layout contents. - - The log event. - Contents of inner layout. - - - - Base class for s which wrapping other s. - - This expects the transformation to work on a - - - - - - - - Transforms the output of another layout. - - - Output to be transform. - - - - Transforms the output of another layout. - - Output to be transform. - - - - Renders the inner layout contents. - - - for the result - - - - - - - - - - - - - - - - - - Converts the result of another layout output to be XML-compliant. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to apply XML encoding. - - Ensures always valid XML, but gives a performance hit - - - - - Gets or sets a value indicating whether to transform newlines (\r\n) into ( ) - - - - - - - - - - - - A layout containing one or more nested layouts. - - - - - Initializes a new instance of the class. - - - - - Gets the inner layouts. - - - - - - Initializes the layout. - - - - - Formats the log event relying on inner layouts. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event relying on inner layouts. - - The logging event. - for the result - - - - Closes the layout. - - - - - Generate description of Compound Layout - - Compound Layout String Description - - - - A column in the CSV. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the column. - The layout of the column. - - - - Gets or sets the name of the column. - - - - - - Gets or sets the layout of the column. - - - - - - Gets or sets the override of Quoting mode - - - and are faster than the default - - - - - - Specifies allowed column delimiters. - - - - - Automatically detect from regional settings. - - - - - Comma (ASCII 44). - - - - - Semicolon (ASCII 59). - - - - - Tab character (ASCII 9). - - - - - Pipe character (ASCII 124). - - - - - Space character (ASCII 32). - - - - - Custom string, specified by the CustomDelimiter. - - - - - A specialized layout that renders CSV-formatted events. - - If is set, then the header generation with column names will be disabled. - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - Gets or sets a value indicating whether CVS should include header. - - A value of true if CVS should include header; otherwise, false. - - - - - Gets or sets the column delimiter. - - - - - - Gets or sets the quoting mode. - - - - - - Gets or sets the quote Character. - - - - - - Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom'). - - - - - - Initializes the layout. - - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Formats the log event for write. - - The logging event. - for the result - - - - Get the headers with the column names. - - - - - - Header with column names for CSV layout. - - - - - Initializes a new instance of the class. - - The parent. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Generate description of CSV Layout - - CSV Layout String Description - - - - Specifies CSV quoting modes. - - - - - Quote all column (Fast) - - - - - Quote nothing (Very fast) - - - - - Quote only whose values contain the quote symbol or the separator (Slow) - - - - - JSON attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with json-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Json encoded. - - - - - - Gets or sets a value indicating whether to escape non-ascii characters - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A specialized layout that renders JSON-formatted events. - - - - - Initializes a new instance of the class. - - - - - Gets the array of attributes' configurations. - - - - - - Gets or sets the option to suppress the extra spaces in the output json - - - - - - Gets or sets the option to render the empty object value {} - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to include all properties from the log event (as JSON) - - - - - - Gets or sets the option to exclude null/empty properties from the log event (as JSON) - - - - - - List of property names to exclude when is true - - - - - - How far should the JSON serializer follow object references before backing off - - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - If not set explicitly then the value of the parent will be used as default. - - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Formats the log event as a JSON document for writing. - - The logging event. - for the result - - - - Formats the log event as a JSON document for writing. - - The log event to be formatted. - A JSON string representation of the log event. - - - - Generate description of JSON Layout - - JSON Layout String Description - - - - Abstract interface that layouts must implement. - - - - - Is this layout initialized? See - - - - - Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread). - - - Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are - like that as well. - - Thread-agnostic layouts only use contents of for its output. - - - - - Gets the level of stack trace information required for rendering. - - - - - Gets the logging configuration this target is part of. - - - - - Converts a given text to a . - - Text to be converted. - object represented by the text. - - - - Implicitly converts the specified string to a . - - The layout string. - Instance of .' - - - - Implicitly converts the specified string to a . - - The layout string. - The NLog factories to use when resolving layout renderers. - Instance of . - - - - Implicitly converts the specified string to a . - - The layout string. - Whether should be thrown on parse errors (false = replace unrecognized tokens with a space). - Instance of . - - - - Create a from a lambda method. - - Method that renders the layout. - Tell if method is safe for concurrent threading. - Instance of . - - - - Precalculates the layout for the specified log event and stores the result - in per-log event cache. - - Only if the layout doesn't have [ThreadAgnostic] and doesn't contain layouts with [ThreadAgnostic]. - - The log event. - - Calling this method enables you to store the log event in a buffer - and/or potentially evaluate it in another thread even though the - layout may contain thread-dependent renderer. - - - - - Renders the event info in layout. - - The event info. - String representing log event. - - - - Optimized version of for internal Layouts. Works best - when override of is available. - - The event info. - Appends the string representing log event to target - Should rendering result be cached on LogEventInfo - - - - Valid default implementation of , when having implemented the optimized - - The logging event. - StringBuilder to help minimize allocations [optional]. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Initializes the layout. - - - - - Closes the layout. - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Register a custom Layout. - - Short-cut for registering to default - Type of the Layout. - Name of the Layout. - - - - Optimized version of for internal Layouts, when - override of is available. - - - - - Try get value - - - rawValue if return result is true - false if we could not determine the rawValue - - - - Marks class as a layout renderer and assigns a format string to it. - - - - - Initializes a new instance of the class. - - Layout name. - - - - Parses layout strings. - - - - - Add to - - - - - - - Options available for - - - - - Default options - - - - - Layout renderer method can handle concurrent threads - - - - - Layout renderer method is agnostic to current thread context. This means it will render the same result indepdent of thread-context. - - - - - A specialized layout that supports header and footer. - - - - - Gets or sets the body layout (can be repeated multiple times). - - - - - - Gets or sets the header layout. - - - - - - Gets or sets the footer layout. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result. - - - - A specialized layout that renders Log4j-compatible XML events. - - - This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. - - - - - Initializes a new instance of the class. - - - - - Gets the instance that renders log events. - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - The rendered layout. - - - - Renders the layout for the specified logging event by invoking layout renderers. - - The logging event. - for the result - - - - Represents a string with embedded placeholders that can render contextual information. - - - This layout is not meant to be used explicitly. Instead you can just use a string containing layout - renderers everywhere the layout is required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout string to parse. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - - - - Initializes a new instance of the class. - - The layout string to parse. - The NLog factories to use when creating references to layout renderers. - Whether should be thrown on parse errors. - - - - Original text before compile to Layout renderes - - - - - Gets or sets the layout text. - - - - - - Is the message fixed? (no Layout renderers used) - - - - - Get the fixed text. Only set when is true - - - - - Is the message a simple formatted string? (Can skip StringBuilder) - - - - - Gets a collection of objects that make up this layout. - - - - - Gets the level of stack trace information required for rendering. - - - - - Converts a text to a simple layout. - - Text to be converted. - A object. - - - - Escapes the passed text so that it can - be used literally in all places where - layout is normally expected without being - treated as layout. - - The text to be escaped. - The escaped text. - - Escaping is done by replacing all occurrences of - '${' with '${literal:text=${}' - - - - - Evaluates the specified text by expanding all layout renderers. - - The text to be evaluated. - Log event to be used for evaluation. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Evaluates the specified text by expanding all layout renderers - in new context. - - The text to be evaluated. - The input text with all occurrences of ${} replaced with - values provided by the appropriate layout renderers. - - - - Returns a that represents the current object. - - - A that represents the current object. - - - - - - - - - - - - - - - - - - - - XML attribute. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - Encode value with xml-encode - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - A XML Element - - - - - - - - - - - Name of the element - - - - - - Value inside the element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - The name of the top XML node - The value of the top XML node - - - - Name of the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Value inside the XML element - - Upgrade to private protected when using C# 7.2 - - - - - Auto indent and create new lines - - - - - - Gets the array of xml 'elements' configurations. - - - - - - Gets the array of 'attributes' configurations for the element - - - - - - Gets or sets whether a ElementValue with empty value should be included in the output - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets a value indicating whether to include contents of the dictionary. - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - Gets or sets the option to include all properties from the log event (as XML) - - - - - - List of property names to exclude when is true - - - - - - XML element name to use when rendering properties - - - Support string-format where {0} means property-key-name - - Skips closing element tag when having configured - - - - - - XML attribute name to use when rendering property-key - - When null (or empty) then key-attribute is not included - - - Will replace newlines in attribute-value with - - - - - - XML attribute name to use when rendering property-value - - When null (or empty) then value-attribute is not included and - value is formatted as XML-element-value - - - Skips closing element tag when using attribute for value - - Will replace newlines in attribute-value with - - - - - - XML element name to use for rendering IList-collections items - - - - - - How far should the XML serializer follow object references before backing off - - - - - - Initializes the layout. - - - - - Formats the log event as a XML document for writing. - - The logging event. - for the result - - - - Formats the log event as a XML document for writing. - - The log event to be formatted. - A XML string representation of the log event. - - - - write attribute, only if is not empty - - - - - rendered - - - - Generate description of XML Layout - - XML Layout String Description - - - - A specialized layout that renders XML-formatted events. - - - - - Initializes a new instance of the class. - - - - - - - - Name of the root XML element - - - - - - Value inside the root XML element - - - - - - Determines whether or not this attribute will be Xml encoded. - - - - - - Represents the logging event. - - - - - Gets the date of the first log event created. - - - - - The formatted log message. - - - - - The log message including any parameter placeholders - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - Log message including parameter placeholders. - Already parsed message template parameters. - - - - Initializes a new instance of the class. - - Log level. - Override default Logger name. Default is used when null - Log message. - List of event-properties - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - - - - Initializes a new instance of the class. - - Log level. - Logger name. - An IFormatProvider that supplies culture-specific formatting information. - Log message including parameter placeholders. - Parameter array. - Exception information. - - - - Gets the unique identifier of log event which is automatically generated - and monotonously increasing. - - - - - Gets or sets the timestamp of the logging event. - - - - - Gets or sets the level of the logging event. - - - - - Gets a value indicating whether stack trace has been set for this event. - - - - - Gets the stack frame of the method that did the logging. - - - - - Gets the number index of the stack frame that represents the user - code (not the NLog code). - - - - - Gets the entire stack trace. - - - - - Gets the callsite class name - - - - - Gets the callsite member function name - - - - - Gets the callsite source file path - - - - - Gets the callsite source file line number - - - - - Gets or sets the exception information. - - - - - Gets or sets the logger name. - - - - - Gets the logger short name. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets or sets the log message including any parameter placeholders. - - - - - Gets or sets the parameter values or null if no parameters have been specified. - - - - - Gets or sets the format provider that was provided while logging or - when no formatProvider was specified. - - - - - Gets or sets the message formatter for generating - Uses string.Format(...) when nothing else has been configured. - - - - - Gets the formatted message. - - - - - Checks if any per-event properties (Without allocation) - - - - - Gets the dictionary of per-event context properties. - - - - - Gets the dictionary of per-event context properties. - Internal helper for the PropertiesDictionary type. - - Create the event-properties dictionary, even if no initial template parameters - Provided when having parsed the message template and capture template parameters (else null) - - - - - Gets the named parameters extracted from parsing as MessageTemplate - - - - - Gets the dictionary of per-event context properties. - - This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Creates the null event. - - Null log event. - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The message. - The exception. - Instance of . - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - Instance of . - - - - Creates the log event. - - The log level. - Name of the logger. - The exception. - The format provider. - The message. - The parameters. - Instance of . - - - - Creates from this by attaching the specified asynchronous continuation. - - The asynchronous continuation. - Instance of with attached continuation. - - - - Returns a string representation of this log event. - - String representation of the log event. - - - - Sets the stack trace for the event info. - - The stack trace. - Index of the first user stack frame within the stack trace (Negative means NLog should skip stackframes from System-assemblies). - - - - Sets the details retrieved from the Caller Information Attributes - - - - - - - - - Set the - - true = Always, false = Never, null = Auto Detect - - - - Specialized LogFactory that can return instances of custom logger types. - - Use this only when a custom Logger type is defined. - The type of the logger to be returned. Must inherit from . - - - - Gets the logger with type . - - The logger name. - An instance of . - - - - Gets a custom logger with the full name of the current class (so namespace and class name) and type . - - An instance of . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Overwrite possible file paths (including filename) for possible NLog config files. - When this property is null, the default file paths ( are used. - - - - - Occurs when logging changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The config. - - - - Initializes a new instance of the class. - - The config loader - The custom AppEnvironmnet override - - - - Gets the current . - - - - - Gets or sets a value indicating whether exceptions should be thrown. See also . - - A value of true if exception should be thrown; otherwise, false. - By default exceptions are not thrown under any circumstances. - - - - Gets or sets a value indicating whether should be thrown. - - If null then is used. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. After setting this property all - existing loggers will be re-configured, so there is no need to call - manually. - - - - - Gets or sets the global log level threshold. Log events below this threshold are not logged. - - - - - Gets the default culture info to use as . - - - Specific culture info or null to use - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting - unmanaged resources. - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Creates a logger that discards all log messages. - - Null logger instance. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets the logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - The logger with type . - Type of the logger - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The type of the logger to create. The type must inherit from - The logger of type . - This is a slow-running method. Make sure you are not calling this method in a - loop. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the type parameter. - - Name of the logger. - Type of the logger - The logger reference with type . Multiple calls to GetLogger with the same argument - are not guaranteed to return the same logger reference. - - - - Gets the specified named logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The type of the logger to create. The type must inherit from . - The logger of type . Multiple calls to GetLogger with the - same argument aren't guaranteed to return the same logger reference. - - - - Loops through all loggers previously returned by GetLogger and recalculates their - target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time - will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages - after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flushes any pending log messages on all appenders. - - Config containing Targets to Flush - Flush completed notification (success / timeout) - Optional timeout that guarantees that completed notication is called. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. - - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - - Logging is enabled if the number of calls is greater than - or equal to calls. - - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Returns if logging is currently enabled. - - A value of if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Raises the event when the configuration is reloaded. - - Event arguments. - - - - Currently this is disposing? - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; - false to release only unmanaged resources. - - - - Dispose all targets, and shutdown logging. - - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Get file paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Overwrite the paths (including filename) for the possible NLog config files. - - The file paths to the possible config file - - - - Clear the candidate file paths and return to the defaults. - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Logger cache key. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Determines if two objects are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Determines if two objects of the same type are equal in value. - - Other object to compare to. - True if objects are equal, false otherwise. - - - - Logger cache. - - - - - Inserts or updates. - - - - - - - Internal for unit tests - - - - - Enables logging in implementation. - - - - - Initializes a new instance of the class. - - The factory. - - - - Enables logging. - - - - - Logging methods which only are executed when the DEBUG conditional compilation symbol is set. - - Remarks: - The DEBUG conditional compilation symbol is default enabled (only) in a debug build. - - If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods. - This could lead to better performance. - - See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx - - - Provides logging interface and utility functions. - - - Auto-generated Logger members for binary compatibility with NLog 1.0. - - - Provides logging interface and utility functions. - - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Debug level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - A to be written. - - - - Writes the diagnostic message at the Trace level. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - Only executed when the DEBUG conditional compilation symbol is set. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - Only executed when the DEBUG conditional compilation symbol is set. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - Only executed when the DEBUG conditional compilation symbol is set. - A containing one format item. - The argument to format. - - - - Gets a value indicating whether logging is enabled for the Trace level. - - A value of if logging is enabled for the Trace level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Debug level. - - A value of if logging is enabled for the Debug level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Info level. - - A value of if logging is enabled for the Info level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Warn level. - - A value of if logging is enabled for the Warn level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Error level. - - A value of if logging is enabled for the Error level, otherwise it returns . - - - - Gets a value indicating whether logging is enabled for the Fatal level. - - A value of if logging is enabled for the Fatal level, otherwise it returns . - - - - Writes the diagnostic message at the Trace level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Trace level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Trace level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Trace level. - - Log message. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Trace level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Debug level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Debug level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Debug level. - - Log message. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Debug level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Info level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Info level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Info level. - - Log message. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Info level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Warn level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Warn level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Warn level. - - Log message. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Warn level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Error level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Error level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Error level. - - Log message. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Error level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified format provider and format parameters. - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - Type of the value. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the Fatal level. - - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level. - - Log message. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - - - - Writes the diagnostic message and exception at the Fatal level. - - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message and exception at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - An exception to be logged. - Arguments to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameter. - - The type of the argument. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - A to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified value as a parameter. - - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level. - - A to be written. - - - - Writes the diagnostic message at the Trace level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Trace level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Trace level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level. - - A to be written. - - - - Writes the diagnostic message at the Debug level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Debug level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Debug level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level. - - A to be written. - - - - Writes the diagnostic message at the Info level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Info level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Info level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level. - - A to be written. - - - - Writes the diagnostic message at the Warn level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Warn level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Warn level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level. - - A to be written. - - - - Writes the diagnostic message at the Error level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Error level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Error level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level. - - A to be written. - - - - Writes the diagnostic message at the Fatal level. - - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified parameters. - - A containing format items. - First argument to format. - Second argument to format. - Third argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider. - - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the Fatal level using the specified value as a parameter. - - A containing one format item. - The argument to format. - - - - Initializes a new instance of the class. - - - - - Occurs when logger configuration changes. - - - - - Gets the name of the logger. - - - - - Gets the factory that created this logger. - - - - - Collection of context properties for the Logger. The logger will append it for all log events - - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Gets a value indicating whether logging is enabled for the specified level. - - Log level to be checked. - A value of if logging is enabled for the specified level, otherwise it returns . - - - - Creates new logger that automatically appends the specified property to all log events (without changing current logger) - - Property Name - Property Value - New Logger object that automatically appends specified property - - - - Updates the specified context property for the current logger. The logger will append it for all log events. - - It could be rendered with ${event-properties:YOURNAME} - - With property, all properties could be changed. - - - Will affect all locations/contexts that makes use of the same named logger object. - - Property Name - Property Value - - It is recommended to use for modifying context properties - when same named logger is used at multiple locations or shared by different thread contexts. - - - - - Writes the specified diagnostic message. - - Log event. - - - - Writes the specified diagnostic message. - - The name of the type that wraps Logger. - Log event. - - - - Writes the diagnostic message at the specified level using the specified format provider and format parameters. - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - Type of the value. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - The value to be written. - - - - Writes the diagnostic message at the specified level. - - The log level. - A function returning message to be written. Function is not evaluated if logging is not enabled. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message at the specified level. - - The log level. - Log message. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The log level. - A containing format items. - Arguments to format. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - An exception to be logged. - This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message and exception at the specified level. - - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A to be written. - Arguments to format. - An exception to be logged. - - - - Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider. - - The type of the argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameter. - - The type of the argument. - The log level. - A containing one format item. - The argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - - - - Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - An IFormatProvider that supplies culture-specific formatting information. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Writes the diagnostic message at the specified level using the specified parameters. - - The type of the first argument. - The type of the second argument. - The type of the third argument. - The log level. - A containing one format item. - The first argument to format. - The second argument to format. - The third argument to format. - - - - Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Action to execute. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Function to run. - Result returned by the provided function or the default value of type in case of exception. - - - - Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Function to run. - Fallback value to return in case of exception. - Result returned by the provided function or fallback value in case of exception. - - - - Raises the event when the logger is reconfigured. - - Event arguments - - - - Implementation of logging engine. - - - - - Gets the filter result. - - The filter chain. - The log event. - default result if there are no filters, or none of the filters decides. - The result of the filter. - - - - Defines available log levels. - - - - - Trace log level. - - - - - Debug log level. - - - - - Info log level. - - - - - Warn log level. - - - - - Error log level. - - - - - Fatal log level. - - - - - Off log level. - - - - - Gets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - - - - - Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) - i.e LogLevel.Off is excluded. - - - - - Initializes a new instance of . - - The log level name. - The log level ordinal number. - - - - Gets the name of the log level. - - - - - Gets the ordinal of the log level. - - - - - Compares two objects - and returns a value indicating whether - the first one is equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal == level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is not equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal != level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than the second one. - - The first level. - The second level. - The value of level1.Ordinal > level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is greater than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal >= level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than the second one. - - The first level. - The second level. - The value of level1.Ordinal < level2.Ordinal. - - - - Compares two objects - and returns a value indicating whether - the first one is less than or equal to the second one. - - The first level. - The second level. - The value of level1.Ordinal <= level2.Ordinal. - - - - Gets the that corresponds to the specified ordinal. - - The ordinal. - The instance. For 0 it returns , 1 gives and so on. - - - - Returns the that corresponds to the supplied . - - The textual representation of the log level. - The enumeration value. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Determines whether the specified instance is equal to this instance. - - The to compare with this instance. - Value of true if the specified is equal to - this instance; otherwise, false. - - - - Compares the level to the other object. - - - The object object. - - - A value less than zero when this logger's is - less than the other logger's ordinal, 0 when they are equal and - greater than zero when this ordinal is greater than the - other ordinal. - - - - - Creates and manages instances of objects. - - - - - Internal for unit tests - - - - - Delegate used to set/get the culture in use. - - This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the instance used in the . - - Could be used to pass the to other methods - - - - Occurs when logging changes. - - - - - Gets or sets a value indicating whether NLog should throw exceptions. - By default exceptions are not thrown under any circumstances. - - - - - Gets or sets a value indicating whether should be thrown. - - A value of true if exception should be thrown; otherwise, false. - - This option is for backwards-compatibility. - By default exceptions are not thrown under any circumstances. - - - - - - Gets or sets a value indicating whether Variables should be kept on configuration reload. - Default value - false. - - - - - Gets or sets a value indicating whether to automatically call - on AppDomain.Unload or AppDomain.ProcessExit - - - - - Gets or sets the current logging configuration. - - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Begins configuration of the LogFactory options using fluent interface - - - - - Loads logging configuration from file (Currently only XML configuration files supported) - - Configuration file to be read - LogFactory instance for fluent interface - - - - Gets or sets the global log threshold. Log events below this threshold are not logged. - - - - - Gets or sets the default culture to use. - - This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Gets the logger with the full name of the current class, so namespace and class name. - - The logger. - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Adds the given assembly which will be skipped - when NLog is trying to find the calling method on stack trace. - - The assembly to skip. - - - - Gets a custom logger with the full name of the current class, so namespace and class name. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - The logger class. This class must inherit from . - The logger of type . - This is a slow-running method. - Make sure you're not doing this in a loop. - - - - Creates a logger that discards all log messages. - - Null logger which discards all log messages. - - - - Gets the specified named logger. - - Name of the logger. - The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - - - - Gets the specified named custom logger. - Use to create instance of a custom . - If you haven't defined your own class, then use the overload without the loggerType. - - Name of the logger. - The logger class. This class must inherit from . - The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference. - The generic way for this method is - - - - Loops through all loggers previously returned by GetLogger. - and recalculates their target and filter list. Useful after modifying the configuration programmatically - to ensure that all loggers have been properly configured. - - - - - Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. - - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - Maximum time to allow for the flush. Any messages after that time will be discarded. - - - - Decreases the log enable counter and if it reaches -1 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - An object that implements IDisposable whose Dispose() method re-enables logging. - To be used with C# using () statement. - - - - Increases the log enable counter and if it reaches 0 the logs are disabled. - - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Checks if logging is currently enabled. - - if logging is currently enabled, - otherwise. - Logging is enabled if the number of calls is greater - than or equal to calls. - - - - Dispose all targets, and shutdown logging. - - - - - Generates a formatted message from the log event - - Log event. - Formatted message - - - - Returns a log message. Used to defer calculation of - the log message until it's actually needed. - - Log message. - - - - Service contract for Log Receiver client. - - This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Service contract for Log Receiver client. - - - - - Begins processing of log messages. - - The events. - The callback. - Asynchronous state. - - IAsyncResult value which can be passed to . - - - - - Ends asynchronous processing of log messages. - - The result. - - - - Internal configuration of Log Receiver Service contracts. - - - - - Wire format for NLog Event. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the client-generated identifier of the event. - - - - - Gets or sets the ordinal of the log level. - - - - - Gets or sets the logger ordinal (index into . - - The logger ordinal. - - - - Gets or sets the time delta (in ticks) between the time of the event and base time. - - - - - Gets or sets the message string index. - - - - - Gets or sets the collection of layout values. - - - - - Gets the collection of indexes into array for each layout value. - - - - - Converts the to . - - The object this is part of.. - The logger name prefix to prepend in front of the logger name. - Converted . - - - - Wire format for NLog event package. - - - - - Gets or sets the name of the client. - - The name of the client. - - - - Gets or sets the base time (UTC ticks) for all events in the package. - - The base time UTC. - - - - Gets or sets the collection of layout names which are shared among all events. - - The layout names. - - - - Gets or sets the collection of logger names. - - The logger names. - - - - Gets or sets the list of events. - - The events. - - - - Converts the events to sequence of objects suitable for routing through NLog. - - The logger name prefix to prepend in front of each logger name. - - Sequence of objects. - - - - - Converts the events to sequence of objects suitable for routing through NLog. - - - Sequence of objects. - - - - - List of strings annotated for more terse serialization. - - - - - Initializes a new instance of the class. - - - - - Mapped Diagnostics Context - a thread-local structure that keeps a dictionary - of strings and provides methods to output them in layouts. - - - - - Gets the thread-local dictionary - - Must be true for any subsequent dictionary modification operation - - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current thread MDC. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The to use when converting a value to a . - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Returns all item names - - A set of the names of all items in current thread-MDC. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified exists in current thread MDC. - - - - Removes the specified from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary - of strings and provides methods to output them in layouts. Allows for maintaining state across - asynchronous tasks and call contexts. - - - Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original - NLog library so that state can be maintained for multiple threads in asynchronous situations. - - - - - Simulate ImmutableDictionary behavior (which is not yet part of all .NET frameworks). - In future the real ImmutableDictionary could be used here to minimize memory usage and copying time. - - Must be true for any subsequent dictionary modification operation - Prepare dictionary for additional inserts - - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The to use when converting a value to a string. - The value of , if defined; otherwise . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise null. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - >An that can be used to remove the item from the current logical context. - - - - Updates the current logical context with multiple items in single operation - - . - >An that can be used to remove the item from the current logical context (null if no items). - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Sets the current logical context item to the specified value. - - Item name. - Item value. - - - - Returns all item names - - A collection of the names of all items in current logical context. - - - - Checks whether the specified exists in current logical context. - - Item name. - A boolean indicating whether the specified exists in current logical context. - - - - Removes the specified from current logical context. - - Item name. - - - - Clears the content of current logical context. - - - - - Clears the content of current logical context. - - Free the full slot. - - - - Mapped Diagnostics Context - - This class marked as obsolete before NLog 2.0 and it may be removed in a future release. - - - - Sets the current thread MDC item to the specified value. - - Item name. - Item value. - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - Gets the current thread MDC named item. - - Item name. - The value of , if defined; otherwise null. - - - - Checks whether the specified item exists in current thread MDC. - - Item name. - A boolean indicating whether the specified item exists in current thread MDC. - - - - Removes the specified item from current thread MDC. - - Item name. - - - - Clears the content of current thread MDC. - - - - - Mark a parameter of a method for message templating - - - - - Specifies which parameter of an annotated method should be treated as message-template-string - - - - - The name of the parameter that should be as treated as message-template-string - - - - - The type of the captured hole - - - - - Not decided - - - - - normal {x} - - - - - Serialize operator {@x} (aka destructure) - - - - - stringification operator {$x} - - - - - A hole that will be replaced with a value - - - - - Constructor - - - - Parameter name sent to structured loggers. - This is everything between "{" and the first of ",:}". - Including surrounding spaces and names that are numbers. - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - Type - - - - When the template is positional, this is the parsed name of this parameter. - For named templates, the value of Index is undefined. - - - Alignment to render the parameter, by default 0. - This is the parsed value between "," and the first of ":}" - - - - A fixed value - - - - Number of characters from the original template to copy at the current position. - This can be 0 when the template starts with a hole or when there are multiple consecutive holes. - - - Number of characters to skip in the original template at the current position. - 0 is a special value that mean: 1 escaped char, no hole. It can also happen last when the template ends with a literal. - - - - Combines Literal and Hole - - - - Literal - - - Hole - Uninitialized when = 0. - - - - Description of a single parameter extracted from a MessageTemplate - - - - - Parameter Name extracted from - This is everything between "{" and the first of ",:}". - - - - - Parameter Value extracted from the -array - - - - - Format to render the parameter. - This is everything between ":" and the first unescaped "}" - - - - - Parameter method that should be used to render the parameter - See also - - - - - Returns index for , when - - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - - - - Constructs a single message template parameter - - Parameter Name - Parameter Value - Parameter Format - Parameter CaptureType - - - - Parameters extracted from parsing as MessageTemplate - - - - - - - - - - - Gets the parameters at the given index - - - - - Number of parameters - - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Indicates whether the template was parsed successful, and there are no unmatched parameters - - - - - Constructor for parsing the message template with parameters - - including any parameter placeholders - All - - - - Constructor for named parameters that already has been parsed - - - - - Create MessageTemplateParameter from - - - - - A message template - - - - The original template string. - This is the key passed to structured targets. - - - The list of literal parts, useful for string rendering. - It indicates the number of characters from the original string to print, - then there's a hole with how many chars to skip. - - "Hello {firstName} {lastName}!" - ------------------------------------- - ║P |S ║P|S ║P|S║ - ║6 |11 ║1|10 ║1|0║ - ║Hello |{firstName}║ |{lastName}║!║ - - "{x} * 2 = {2x}" - -------------------- - ║P|S ║P |S ║ - ║0|3 ║7 |4 ║ - ║{x}║ * 2 = |{2x}║ - - The tricky part is escaped braces. They are represented by a skip = 0, - which is interpreted as "move one char forward, no hole". - - "Escaped }} is fun." - ---------------------- - ║P |S║P |S║ - ║9 |0║8 |0║ - ║Escaped }|}║ is fun.|║ - - - - This list of holes. It's used both to fill the string rendering - and to send values along the template to structured targets. - - - Indicates whether the template should be interpreted as positional - (all holes are numbers) or named. - - - - Create a template, which is already parsed - - - - - - - - - Create a template, which is already parsed - - - - - - - - This is for testing only: recreates from the parsed data. - - - - This is for testing only: rebuilds the hole - - Add to this string builder - ref for performance - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Gets the current literal/hole in the template - - - - - Clears the enumerator - - - - - Restarts the enumerator of the template - - - - - Moves to the next literal/hole in the template - - Found new element [true/false] - - - - Parse format after hole name/index. Handle the escaped { and } in the format. Don't read the last } - - - - - - Parse templates. - - - - - Parse a template. - - Template to be parsed. - When is null. - Template, never null - - - - Error when parsing a template. - - - - - Current index when the error occurred. - - - - - The template we were parsing - - - - - New exception - - The message to be shown. - Current index when the error occurred. - - - - - Render templates - - - - - Render a template to a string. - - The template. - Culture. - Parameters for the holes. - Do not fallback to StringBuilder.Format for positional templates. - The String Builder destination. - Parameters for the holes. - - - - Render a template to a string. - - The template. - The String Builder destination. - Culture. - Parameters for the holes. - Rendered template, never null. - - - - Convert Render or serialize a value, with optionally backwards-compatible with - - - - Singleton - - - - Serialization of an object, e.g. JSON and append to - - The object to serialize to string. - Parameter Format - Parameter CaptureType - An object that supplies culture-specific formatting information. - Output destination. - Serialize succeeded (true/false) - - - - Format an object to a readable string, or if it's an object, serialize - - The value to convert - - - - - - - - Try serializing a scalar (string, int, NULL) or simple type (IFormattable) - - - - - Serialize Dictionary as JSON like structure, without { and } - - - "FirstOrder"=true, "Previous login"=20-12-2017 14:55:32, "number of tries"=1 - - - formatstring of an item - - - - - - - - - Convert a value to a string with format and append to . - - The value to convert. - Format sting for the value. - Format provider for the value. - Append to this - - - - Nested Diagnostics Context - - This class marked as obsolete on NLog 2.0 and it may be removed in a future release. - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top object off the NDC stack. The object is removed from the stack. - - The top object from the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all objects on the NDC stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Nested Diagnostics Context - a thread-local structure that keeps a stack - of strings and provides methods to output them in layouts - - - - - Gets the top NDC message but doesn't remove it. - - The top message. . - - - - Gets the top NDC object but doesn't remove it. - - The object at the top of the NDC stack if defined; otherwise null. - - - - Pushes the specified text on current thread NDC. - - The text to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified object on current thread NDC. - - The object to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDC stack. - - The top message which is no longer on the stack. - - - - Pops the top message from the NDC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top object off the NDC stack. - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Peeks the first object on the NDC stack - - The object from the top of the NDC stack, if defined; otherwise null. - - - - Clears current thread NDC stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. - - Array of objects on the stack. - - - - Resets the stack to the original count during . - - - - - Initializes a new instance of the class. - - The stack. - The previous count. - - - - Reverts the stack to original item count. - - - - - Async version of - a logical context structure that keeps a stack - Allows for maintaining scope across asynchronous tasks and call contexts. - - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pushes the specified value on current stack - - The value to be pushed. - An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement. - - - - Pops the top message off the NDLC stack. - - The top message which is no longer on the stack. - this methods returns a object instead of string, this because of backwards-compatibility - - - - Pops the top message from the NDLC stack. - - The to use when converting the value to a string. - The top message, which is removed from the stack, as a string value. - - - - Pops the top message off the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the top object on the current NDLC stack - - The object from the top of the NDLC stack, if defined; otherwise null. - - - - Peeks the current scope, and returns its start time - - Scope Creation Time - - - - Peeks the first scope, and returns its start time - - Scope Creation Time - - - - Clears current stack. - - - - - Gets all messages on the stack. - - Array of strings on the stack. - - - - Gets all messages from the stack, without removing them. - - The to use when converting a value to a string. - Array of strings. - - - - Gets all objects on the stack. The objects are not removed from the stack. - - Array of objects on the stack. - - - - Exception thrown during NLog configuration. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The inner exception. - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Exception thrown during log event processing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - Parameters for the message - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - It works as a normal but it discards all messages which an application requests - to be logged. - - It effectively implements the "Null Object" pattern for objects. - - - - - Initializes a new instance of . - - The factory class to be used for the creation of this logger. - - - - Extension methods to setup LogFactory options - - - - - Gets the logger with the full name of the current class, so namespace and class name. - - - - - Gets the specified named logger. - - - - - Configures loading of NLog extensions for Targets and LayoutRenderers - - - - - Configures the output of NLog for diagnostics / troubleshooting - - - - - Configures serialization and transformation of LogEvents - - - - - Loads NLog config created by the method - - - - - Loads NLog config provided in - - - - - Loads NLog config from filename if provided, else fallback to scanning for NLog.config - - - - - Loads NLog config from XML in - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Enable/disables autoloading of NLog extensions by scanning and loading available assemblies - - - Enabled by default, and gives a huge performance hit during startup. Recommended to disable this when running in the cloud. - - - - - Registers NLog extensions from the assembly. - - - - - Registers NLog extensions from the assembly type name - - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Fluent interface parameter. - Type of the Target. - Name of the Target. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer. - - Fluent interface parameter. - Type of the layout renderer. - Name of the layout renderer - without ${}. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom layout renderer with a callback function . The callback receives the logEvent and the current configuration. - - Fluent interface parameter. - Name of the layout renderer - without ${}. - Callback that returns the value for the layout renderer. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - MethodInfo extracted by reflection - typeof(MyClass).GetMethod("MyFunc", BindingFlags.Static). - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Register a custom condition method, that can use in condition filters - - Fluent interface parameter. - Name of the condition filter method - Lambda method. - - - - Extension methods to setup NLog options - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Configures - - - - - Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration - - - - - Overrides the active with a new custom implementation - - - - - Overrides the active with a new custom implementation - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Registers object Type transformation from dangerous (massive) object to safe (reduced) object - - - - - Specifies the way archive numbering is performed. - - - - - Sequence style numbering. The most recent archive has the highest number. - - - - - Rolling style numbering (the most recent is always #0 then #1, ..., #N. - - - - - Date style numbering. Archives will be stamped with the prior period - (Year, Month, Day, Hour, Minute) datetime. - - - - - Date and sequence style numbering. - Archives will be stamped with the prior period (Year, Month, Day) datetime. - The most recent archive has the highest number (in combination with the date). - - - - - Abstract Target with async Task support - - - - - How many milliseconds to delay the actual write operation to optimize for batching - - - - - How many seconds a Task is allowed to run before it is cancelled. - - - - - How many attempts to retry the same Task, before it is aborted - - - - - How many milliseconds to wait before next retry (will double with each retry) - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Task Scheduler used for processing async Tasks - - - - - Constructor - - - - - Initializes the internal queue for pending logevents - - - - - Override this to create the actual logging task - - Example of how to override this method, and call custom async method - - protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken token) - { - return CustomWriteAsync(logEvent, token); - } - - private async Task CustomWriteAsync(LogEventInfo logEvent, CancellationToken token) - { - await MyLogMethodAsync(logEvent, token).ConfigureAwait(false); - } - - - The log event. - The cancellation token - - - - - Override this to create the actual logging task for handling batch of logevents - - A batch of logevents. - The cancellation token - - - - - Handle cleanup after failed write operation - - Exception from previous failed Task - The cancellation token - Number of retries remaining - Time to sleep before retrying - Should attempt retry - - - - Schedules the LogEventInfo for async writing - - The log event. - - - - Write to queue without locking - - - - - - Schedules notification of when all messages has been written - - - - - - Closes Target by updating CancellationToken - - - - - Releases any managed resources - - - - - - Checks the internal queue for the next to create a new task for - - Used for race-condition validation between task-completion and timeout - Signals whether previousTask completed an almost full BatchSize - - - - Generates recursive task-chain to perform retry of writing logevents with increasing retry-delay - - - - - Creates new task to handle the writing of the input - - LogEvents to write - New Task created [true / false] - - - - Handles that scheduled task has completed (successfully or failed), and starts the next pending task - - Task just completed - AsyncContinuation to notify of success or failure - - - - Timer method, that is fired when pending task fails to complete within timeout - - - - - - Sends log messages to the remote instance of Chainsaw application from log4j. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a name. - - Name of the target. - - - - Color formatting for using ANSI Color Codes - - - - - Not using bold to get light colors, as it has to be cleared - - - - - Not using bold to get light colors, as it has to be cleared (And because it only works for text, and not background) - - - - - Resets both foreground and background color. - - - - - ANSI have 8 color-codes (30-37) by default. The "bright" (or "intense") color-codes (90-97) are extended values not supported by all terminals - - - - - Writes log messages to the console with customizable coloring. - - Documentation on NLog Wiki - - - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default.In multithreaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether the error stream (stderr) should be used instead of the output stream (stdout). - - - - - - Gets or sets a value indicating whether to use default row highlighting rules. - - - The default rules are: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ConditionForeground ColorBackground Color
level == LogLevel.FatalRedNoChange
level == LogLevel.ErrorYellowNoChange
level == LogLevel.WarnMagentaNoChange
level == LogLevel.InfoWhiteNoChange
level == LogLevel.DebugGrayNoChange
level == LogLevel.TraceDarkGrayNoChange
-
- -
- - - Gets or sets a value indicating whether to auto-check if the console is available. - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-check if the console has been redirected to file - - Disables coloring logic when System.Console.IsOutputRedirected = true - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Enables output using ANSI Color Codes - - - - - - Gets the row highlighting rules. - - - - - - Gets the word highlighting rules. - - - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified log event to the console highlighting entries - and words based on a set of defined rules. - - Log event. - - - - Colored console output color. - - - Note that this enumeration is defined to be binary compatible with - .NET 2.0 System.ConsoleColor + some additions - - - - - Black Color (#000000). - - - - - Dark blue Color (#000080). - - - - - Dark green Color (#008000). - - - - - Dark Cyan Color (#008080). - - - - - Dark Red Color (#800000). - - - - - Dark Magenta Color (#800080). - - - - - Dark Yellow Color (#808000). - - - - - Gray Color (#C0C0C0). - - - - - Dark Gray Color (#808080). - - - - - Blue Color (#0000FF). - - - - - Green Color (#00FF00). - - - - - Cyan Color (#00FFFF). - - - - - Red Color (#FF0000). - - - - - Magenta Color (#FF00FF). - - - - - Yellow Color (#FFFF00). - - - - - White Color (#FFFFFF). - - - - - Don't change the color. - - - - - The row-highlighting condition. - - - - - Initializes static members of the ConsoleRowHighlightingRule class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The condition. - Color of the foreground. - Color of the background. - - - - Gets the default highlighting rule. Doesn't change the color. - - - - - Gets or sets the condition that must be met in order to set the specified foreground and background color. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Checks whether the specified log event matches the condition (if any). - - - Log event. - - - A value of if the condition is not defined or - if it matches, otherwise. - - - - - Writes log messages to the console. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Should logging being paused/stopped because of the race condition bug in Console.Writeline? - - - Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. - See https://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written - and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service - - Full error: - Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. - The I/ O package is not thread safe by default. In multi threaded applications, - a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or - TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. - - - - - - Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. - - - - - - Gets or sets a value indicating whether to auto-check if the console is available - - Disables console writing if Environment.UserInteractive = False (Windows Service) - - Disables console writing if Console Standard Input is not available (Non-Console-App) - - - - - - Gets or sets a value indicating whether to auto-flush after - - - Normally not required as standard Console.Out will have = true, but not when pipe to file - - - - - - Gets or sets whether to enable batch writing using char[]-buffers, instead of using - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - - - - Writes the specified logging event to the Console.Out or - Console.Error depending on the value of the Error flag. - - The logging event. - - Note that the Error option is not supported on .NET Compact Framework. - - - - - - - - Write to output - - - - - Highlighting rule for Win32 colorful console. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The text to be matched.. - Color of the foreground. - Color of the background. - - - - Gets or sets the regular expression to be matched. You must specify either text or regex. - - - - - - Gets or sets the condition that must be met before scanning the row for highlight of words - - - - - - Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used. - - - - - - Gets or sets the text to be matched. You must specify either text or regex. - - - - - - Gets or sets a value indicating whether to match whole words only. - - - - - - Gets or sets a value indicating whether to ignore case when comparing texts. - - - - - - Gets or sets the foreground color. - - - - - - Gets or sets the background color. - - - - - - Gets the compiled regular expression that matches either Text or Regex property. Only used when is true. - - - - - A descriptor for an archive created with the DateAndSequence numbering mode. - - - - - The full name of the archive file. - - - - - The parsed date contained in the file name. - - - - - The parsed sequence number contained in the file name. - - - - - Determines whether produces the same string as the current instance's date once formatted with the current instance's date format. - - The date to compare the current object's date to. - True if the formatted dates are equal, otherwise False. - - - - Initializes a new instance of the class. - - - - - Writes log messages to the attached managed debugger. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Initializes the target. - - - - - Closes the target and releases any unmanaged resources. - - - - - Writes the specified logging event to the attached debugger. - - The logging event. - - - - Mock target - useful for testing. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the number of times this target has been called. - - - - - - Gets the last message rendered by this target. - - - - - - Increases the number of messages. - - The logging event. - - - - Default class for serialization of values to JSON format. - - - - - Singleton instance of the serializer. - - - - - Private. Use - - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - Serialized value. - - - - Returns a serialization of an object into JSON format. - - The object to serialize to JSON. - serialisation options - Serialized value. - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - Object serialized successfully (true/false). - - - - Serialization of the object in JSON format to the destination StringBuilder - - The object to serialize to JSON. - Write the resulting JSON to this destination. - serialisation options - The objects in path (Avoid cyclic reference loop). - The current depth (level) of recursion. - Object serialized successfully (true/false). - - - - No quotes needed for this type? - - - - - Checks the object if it is numeric - - TypeCode for the object - Accept fractional types as numeric type. - - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - all options - JSON escaped string - - - - Checks input string if it needs JSON escaping, and makes necessary conversion - - Destination Builder - Input string - Should non-ascii characters be encoded - - JSON escaped string - - - - Action that should be taken if the message is greater than - the max message size allowed by the Event Log. - - - - - Truncate the message before writing to the Event Log. - - - - - Split the message and write multiple entries to the Event Log. - - - - - Discard of the message. It will not be written to the Event Log. - - - - - Check if cleanup should be performed on initialize new file - - Skip cleanup when initializing new file, just after having performed archive operation - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Characters determining the start of the . - - - - - Characters determining the end of the . - - - - - File name which is used as template for matching and replacements. - It is expected to contain a pattern to match. - - - - - The begging position of the - within the . -1 is returned - when no pattern can be found. - - - - - The ending position of the - within the . -1 is returned - when no pattern can be found. - - - - - Replace the pattern with the specified String. - - - - - - - Archives the log-files using a date style numbering. Archives will be stamped with the - prior period (Year, Month, Day, Hour, Minute) datetime. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Archives the log-files using a date and sequence style numbering. Archives will be stamped - with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in - combination with the date). - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Parse filename with date and sequence pattern - - - dateformat for archive - - the found pattern. When failed, then default - the found pattern. When failed, then default - - - - - Archives the log-files using the provided base-archive-filename. If the base-archive-filename causes - duplicate archive filenames, then sequence-style is automatically enforced. - - Example: - Base Filename trace.log - Next Filename trace.0.log - - The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Dynamically converts a non-template archiveFilePath into a correct archiveFilePattern. - Before called the original IFileArchiveMode, that has been wrapped by this - - - - - Determines if the file name as contains a numeric pattern i.e. {#} in it. - - Example: - trace{#}.log Contains the numeric pattern. - trace{###}.log Contains the numeric pattern. - trace{#X#}.log Contains the numeric pattern (See remarks). - trace.log Does not contain the pattern. - - Occasionally, this method can identify the existence of the {#} pattern incorrectly. - File name to be checked. - when the pattern is found; otherwise. - - - - Archives the log-files using a rolling style numbering (the most recent is always #0 then - #1, ..., #N. - - When the number of archive files exceed the obsolete archives - are deleted. - - - - - Replaces the numeric pattern i.e. {#} in a file name with the parameter value. - - File name which contains the numeric pattern. - Value which will replace the numeric pattern. - File name with the value of in the position of the numeric pattern. - - - - Archives the log-files using a sequence style numbering. The most recent archive has the highest number. - - When the number of archive files exceed the obsolete archives are deleted. - When the age of archive files exceed the obsolete archives are deleted. - - - - - Modes of archiving files based on time. - - - - - Don't archive based on time. - - - - - AddToArchive every year. - - - - - AddToArchive every month. - - - - - AddToArchive daily. - - - - - AddToArchive every hour. - - - - - AddToArchive every minute. - - - - - AddToArchive every Sunday. - - - - - AddToArchive every Monday. - - - - - AddToArchive every Tuesday. - - - - - AddToArchive every Wednesday. - - - - - AddToArchive every Thursday. - - - - - AddToArchive every Friday. - - - - - AddToArchive every Saturday. - - - - - Type of filepath - - - - - Detect of relative or absolute - - - - - Relative path - - - - - Absolute path - - Best for performance - - - - Writes log messages to one or more files. - - Documentation on NLog Wiki - - - - Default clean up period of the initialized files. When a file exceeds the clean up period is removed from the list. - - Clean up period is defined in days. - - - - The maximum number of initialized files before clean up procedures are initiated, - to keep the number of initialized files to a minimum. Chose 25 to cater for monthly rolling of log-files. - - - - - This value disables file archiving based on the size. - - - - - Holds the initialized files each given time by the instance. Against each file, the last write time is stored. - - Last write time is store in local time (no UTC). - - - - List of the associated file appenders with the instance. - - - - - The number of initialized files at any one time. - - - - - The maximum number of archive files that should be kept. - - - - - The maximum days of archive files that should be kept. - - - - - The filename as target - - - - - The archive file name as target - - - - - The date of the previous log event. - - - - - The file name of the previous log event. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the name of the file to write to. - - - This FileName string is a layout which may include instances of layout renderers. - This lets you use a single target to write to multiple files. - - - The following value makes NLog write logging events to files based on the log level in the directory where - the application runs. - ${basedir}/${level}.log - All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on. - You can combine as many of the layout renderers as you want to produce an arbitrary log file name. - - - - - - Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. - If set to false, nothing gets written when the filename is wrong. - - - - - - Is the an absolute or relative path? - - - - - - Gets or sets a value indicating whether to create directories if they do not exist. - - - Setting this to false may improve performance a bit, but you'll receive an error - when attempting to write to a directory that's not present. - - - - - - Gets or sets a value indicating whether to delete old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - - - - - - Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end. - - - - - - Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event. - - - Setting this property to True helps improve performance. - - - - - - Gets or sets the maximum number of log file names that should be stored as existing. - - - The bigger this number is the longer it will take to write each log record. The smaller the number is - the higher the chance that the clean function will be run when no new files have been opened. - - - - - Gets or sets a value indicating whether to enable log file(s) to be deleted. - - - - - - Gets or sets the line ending mode. - - - - - - Gets or sets a value indicating whether to automatically flush the file buffers after each log message. - - - - - - Gets or sets the number of files to be kept open. Setting this to a higher value may improve performance - in a situation where a single File target is writing to many files - (such as splitting by level or by logger). - - - The files are managed on a LRU (least recently used) basis, which flushes - the files that have not been used for the longest period of time should the - cache become full. As a rule of thumb, you shouldn't set this parameter to - a very high value. A number like 10-15 shouldn't be exceeded, because you'd - be keeping a large number of files open which consumes system resources. - - - - - - Gets or sets the maximum number of seconds that files are kept open. If this number is negative the files are - not automatically closed after a period of inactivity. - - - - - - Gets or sets the maximum number of seconds before open files are flushed. If this number is negative or zero - the files are not flushed by timer. - - - - - - Gets or sets the log file buffer size in bytes. - - - - - - Gets or sets the file encoding. - - - - - - Gets or sets whether or not this target should just discard all data that its asked to write. - Mostly used for when testing NLog Stack except final write - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. - - - This makes multi-process logging possible. NLog uses a special technique - that lets it keep the files open for writing. - - - - - - Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts. - - - This effectively prevents files from being kept open. - - - - - - Gets or sets a value indicating whether to write BOM (byte order mark) in created files - - - - - - Gets or sets the number of times the write is appended on the file before NLog - discards the log message. - - - - - - Gets or sets the delay in milliseconds to wait before attempting to write to the file again. - - - The actual delay is a random value between 0 and the value specified - in this parameter. On each failed attempt the delay base is doubled - up to times. - - - Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:

- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...

- and so on. - - - - -

- Gets or sets a value indicating whether to archive old log file on startup. - - - This option works only when the "FileName" parameter denotes a single file. - After archiving the old file, the current log file will be empty. - - -
- - - Gets or sets a value of the file size threshold to archive old log file on startup. - - - This option won't work if is set to false - Default value is 0 which means that the file is archived as soon as archival on - startup is enabled. - - - - - - Gets or sets a value specifying the date format to use when archiving files. - - - This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence. - - - - - - Gets or sets the size in bytes above which log files will be automatically archived. - - Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. - Choose: - - - Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. - - - - - - Gets or sets a value indicating whether to automatically archive log files every time the specified time passes. - - - Files are moved to the archive as part of the write operation if the current period of time changes. For example - if the current hour changes from 10 to 11, the first write that will occur - on or after 11:00 will trigger the archiving. -

- Caution: Enabling this option can considerably slow down your file - logging in multi-process scenarios. If only one process is going to - be writing to the file, consider setting ConcurrentWrites - to false for maximum performance. -

-
- -
- - - Is the an absolute or relative path? - - - - - - Gets or sets the name of the file to be used for an archive. - - - It may contain a special placeholder {#####} - that will be replaced with a sequence of numbers depending on - the archiving strategy. The number of hash characters used determines - the number of numerical digits to be used for numbering files. - - - - - - Gets or sets the maximum number of archive files that should be kept. - - - - - - Gets or sets the maximum days of archive files that should be kept. - - - - - - Gets or sets the way file archives are numbered. - - - - - - Used to compress log files during archiving. - This may be used to provide your own implementation of a zip file compressor, - on platforms other than .Net4.5. - Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise. - - - - - - Gets or sets a value indicating whether to compress archive files into the zip archive format. - - - - - - Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - - - - Gets or sets a value indicating whether the footer should be written only when the file is archived. - - - - - - Gets the characters that are appended after each line. - - - - - Refresh the ArchiveFilePatternToWatch option of the . - The log file must be watched for archiving when multiple processes are writing to the same - open file. - - - - - Removes records of initialized files that have not been - accessed in the last two days. - - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Removes records of initialized files that have not been - accessed after the specified date. - - The cleanup threshold. - - Files are marked 'initialized' for the purpose of writing footers when the logging finishes. - - - - - Flushes all pending file operations. - - The asynchronous continuation. - - The timeout parameter is ignored, because file APIs don't provide - the needed functionality. - - - - - Returns the suitable appender factory ( ) to be used to generate the file - appenders associated with the instance. - - The type of the file appender factory returned depends on the values of various properties. - - suitable for this instance. - - - - Initializes file logging by creating data structures that - enable efficient multi-file logging. - - - - - Closes the file(s) opened for writing. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Can be used if has been enabled. - - - - - Writes the specified logging event to a file specified in the FileName - parameter. - - The logging event. - - - - Get full filename (=absolute) and cleaned if needed. - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes the specified array of logging events to a file specified in the FileName - parameter. - - An array of objects. - - This function makes use of the fact that the events are batched by sorting - the requests by filename. This optimizes the number of open/close calls - and can help improve performance. - - - - - Returns estimated size for memory stream, based on events count and first event size in bytes. - - Count of events - Bytes count of first event - - - - Formats the log event for write. - - The log event to be formatted. - A string representation of the log event. - - - - Gets the bytes to be written to the file. - - Log event. - Array of bytes that are ready to be written. - - - - Modifies the specified byte array before it gets sent to a file. - - The byte array. - The modified byte array. The function can do the modification in-place. - - - - Gets the bytes to be written to the file. - - The log event to be formatted. - to help format log event. - Optional temporary char-array to help format log event. - Destination for the encoded result. - - - - Formats the log event for write. - - The log event to be formatted. - for the result. - - - - Modifies the specified byte array before it gets sent to a file. - - The LogEvent being written - The byte array. - - - - Archives fileName to archiveFileName. - - File name to be archived. - Name of the archive file. - - - - Gets the correct formatting to be used based on the value of for converting values which will be inserting into file - names during archiving. - - This value will be computed only when a empty value or is passed into - - Date format to used irrespectively of value. - Formatting for dates. - - - - Calculate the DateTime of the requested day of the week. - - The DateTime of the previous log event. - The next occuring day of the week to return a DateTime for. - The DateTime of the next occuring dayOfWeek. - For example: if previousLogEventTimestamp is Thursday 2017-03-02 and dayOfWeek is Sunday, this will return - Sunday 2017-03-05. If dayOfWeek is Thursday, this will return *next* Thursday 2017-03-09. - - - - Invokes the archiving process after determining when and which type of archiving is required. - - File name to be checked and archived. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - - - - Gets the pattern that archive files will match - - Filename of the log file - Log event that the instance is currently processing. - A string with a pattern that will match the archive file names - - - - Archives the file if it should be archived. - - The file name to check for. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - True when archive operation of the file was completed (by this target or a concurrent target) - - - - Closes any active file-appenders that matches the input filenames. - File-appender is requested to invalidate/close its filehandle, but keeping its archive-mutex alive - - - - - Indicates if the automatic archiving process should be executed. - - File name to be written. - Log event that the instance is currently processing. - The size in bytes of the next chunk of data to be written in the file. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Returns the correct filename to archive - - - - - Gets the file name for archiving, or null if archiving should not occur based on file size. - - File name to be written. - The size in bytes of the next chunk of data to be written in the file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Check if archive operation should check previous filename, because FileAppenderCache tells us current filename no longer exists - - - - - Returns the file name for archiving, or null if archiving should not occur based on date/time. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file. - File has just been opened. - Filename to archive. If null, then nothing to archive. - - - - Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - - High resolution Time - Time Resolution Level - Truncated Low Resolution Time - - - - Evaluates which parts of a file should be written (header, content, footer) based on various properties of - instance and writes them. - - File name to be written. - Raw sequence of to be written into the content part of the file. - File has just been opened. - - - - Initialise a file to be used by the instance. Based on the number of initialized - files and the values of various instance properties clean up and/or archiving processes can be invoked. - - File name to be written. - Log event that the instance is currently processing. - The DateTime of the previous log event for this file (DateTime.MinValue if just initialized). - - - - Writes the file footer and finalizes the file in instance internal structures. - - File name to close. - Indicates if the file is being finalized for archiving. - - - - Writes the footer information to a file. - - The file path to write to. - - - - Decision logic whether to archive logfile on startup. - and properties. - - File name to be written. - Decision whether to archive or not. - - - - Invokes the archiving and clean up of older archive file based on the values of - and - properties respectively. - - File name to be written. - Log event that the instance is currently processing. - - - - Creates the file specified in and writes the file content in each entirety i.e. - Header, Content and Footer. - - The name of the file to be written. - Sequence of to be written in the content section of the file. - First attempt to write? - This method is used when the content of the log file is re-written on every write. - - - - Writes the header information and byte order mark to a file. - - File appender associated with the file. - - - - The sequence of to be written in a file after applying any formatting and any - transformations required from the . - - The layout used to render output message. - Sequence of to be written. - Usually it is used to render the header and hooter of the files. - - - - Controls the text and color formatting for - - - - - Creates a TextWriter for the console to start building a colored text message - - Active console stream - Optional StringBuilder to optimize performance - TextWriter for the console - - - - Releases the TextWriter for the console after having built a colored text message (Restores console colors) - - Colored TextWriter - Active console stream - Original foreground color for console (If changed) - Original background color for console (If changed) - Flush TextWriter - - - - Changes foreground color for the Colored TextWriter - - Colored TextWriter - New foreground color for the console - Old previous backgroundColor color for the console - Old foreground color for the console - - - - Changes backgroundColor color for the Colored TextWriter - - Colored TextWriter - New backgroundColor color for the console - Old previous backgroundColor color for the console - Old backgroundColor color for the console - - - - Restores console colors back to their original state - - Colored TextWriter - Original foregroundColor color for the console - Original backgroundColor color for the console - - - - Writes multiple characters to console in one operation (faster) - - Colored TextWriter - Output Text - Start Index - End Index - - - - Writes single character to console - - Colored TextWriter - Output Text - - - - Writes whole string and completes with newline - - Colored TextWriter - Output Text - - - - Default row highlight rules for the console printer - - - - - Check if cleanup should be performed on initialize new file - - Base archive file pattern - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - True, when archive cleanup is needed - - - - Create a wildcard file-mask that allows one to find all files belonging to the same archive. - - Base archive file pattern - Wildcard file-mask - - - - Search directory for all existing files that are part of the same archive. - - Base archive file pattern - - - - - Generate the next archive filename for the archive. - - Base archive file pattern - File date of archive - Existing files in the same archive - - - - - Return all files that should be removed from the provided archive. - - Base archive file pattern - Existing files in the same archive - Maximum number of archive files that should be kept - Maximum days of archive files that should be kept - - - - may be configured to compress archived files in a custom way - by setting before logging your first event. - - - - - Create archiveFileName by compressing fileName. - - Absolute path to the log file to compress. - Absolute path to the compressed archive file to create. - - - - Interface for serialization of values, maybe even objects to JSON format. - Useful for wrappers for existing serializers. - - - - - Returns a serialization of an object - into JSON format. - - The object to serialize to JSON. - Serialized value (null = Serialize failed). - - - - Options for JSON serialisation - - - - - Add quotes around object keys? - - - - - Format provider for value - - - - - Format string for value - - - - - Should non-ascii characters be encoded - - - - - Should forward slashes be escaped? If true, / will be converted to \/ - - - - - Serialize enum as string value - - - - - Should dictionary keys be sanitized. All characters must either be letters, numbers or underscore character (_). - - Any other characters will be converted to underscore character (_) - - - - - How far down the rabbit hole should the Json Serializer go with object-reflection before stopping - - - - Initializes a new instance of the class. - - - - Line ending mode. - - - - - Insert platform-dependent end-of-line sequence after each line. - - - - - Insert CR LF sequence (ASCII 13, ASCII 10) after each line. - - - - - Insert CR character (ASCII 13) after each line. - - - - - Insert LF character (ASCII 10) after each line. - - - - - Insert null terminator (ASCII 0) after each line. - - - - - Do not insert any line ending. - - - - - Gets the name of the LineEndingMode instance. - - - - - Gets the new line characters (value) of the LineEndingMode instance. - - - - - Initializes a new instance of . - - The mode name. - The new line characters to be used. - - - - Returns the that corresponds to the supplied . - - - The textual representation of the line ending mode, such as CRLF, LF, Default etc. - Name is not case sensitive. - - The value, that corresponds to the . - There is no line ending mode with the specified name. - - - - Compares two objects and returns a - value indicating whether the first one is equal to the second one. - - The first level. - The second level. - The value of mode1.NewLineCharacters == mode2.NewLineCharacters. - - - - Compares two objects and returns a - value indicating whether the first one is not equal to the second one. - - The first mode - The second mode - The value of mode1.NewLineCharacters != mode2.NewLineCharacters. - - - - Returns a string representation of the log level. - - Log level name. - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms - and data structures like a hash table. - - - - - Determines whether the specified is - equal to this instance. - - The to compare with - this instance. - - Value of true if the specified - is equal to this instance; otherwise, false. - - - The parameter is null. - - - - Indicates whether the current object is equal to another object of the same type. - true if the current object is equal to the parameter; otherwise, false. - An object to compare with this object. - - - - Provides a type converter to convert objects to and from other representations. - - - - - Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context. - - - true if this converter can perform the conversion; otherwise, false. - - An that provides a format context. A that represents the type you want to convert from. - - - - Converts the given object to the type of this converter, using the specified context and culture information. - - - An that represents the converted value. - - An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed. - - - - Sends log messages by email using SMTP protocol. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- Mail target works best when used with BufferingWrapper target - which lets you send multiple log messages in single mail -

-

- To set up the buffered mail target in the configuration file, - use the following syntax: -

- -

- To set up the buffered mail target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets sender's email address (e.g. joe@domain.com). - - - - - - Gets or sets recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com). - - - - - - Gets or sets a value indicating whether to add new lines between log entries. - - A value of true if new lines should be added; otherwise, false. - - - - - Gets or sets the mail subject. - - - - - - Gets or sets mail message body (repeated for each log message send in one mail). - - Alias for the Layout property. - - - - - Gets or sets encoding to be used for sending e-mail. - - - - - - Gets or sets a value indicating whether to send message as HTML instead of plain text. - - - - - - Gets or sets SMTP Server to be used for sending. - - - - - - Gets or sets SMTP Authentication mode. - - - - - - Gets or sets the username used to connect to SMTP server (used when SmtpAuthentication is set to "basic"). - - - - - - Gets or sets the password used to authenticate against SMTP server (used when SmtpAuthentication is set to "basic"). - - - - - - Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server. - - . - - - - Gets or sets the port number that SMTP Server is listening on. - - - - - - Gets or sets a value indicating whether the default Settings from System.Net.MailSettings should be used. - - - - - - Specifies how outgoing email messages will be handled. - - - - - - Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. - - - - - - Gets or sets the priority used for sending mails. - - - - - - Gets or sets a value indicating whether NewLine characters in the body should be replaced with
tags. -
- Only happens when is set to true. - -
- - - Gets or sets a value indicating the SMTP client timeout. - - Warning: zero is not infinite waiting - - - - - Writes async log event to the mail target. - - The logging event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes log events to the mail target. - - Array of logging events. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Create mail and send with SMTP - - event printed in the body of the event - - - - Create buffer for body - - all events - first event for header - last event for footer - - - - - Set properties of - - last event for username/password - client to set properties on - Configure not at , as the properties could have layout renderers. - - - - Handle if it is a virtual directory. - - - - - - - Create key for grouping. Needed for multiple events in one mail message - - event for rendering layouts - string to group on - - - - Append rendered to - - append to this - event for rendering - append if not null - - - - Create the mail message with the addresses, properties and body. - - - - - Render and add the addresses to - - Addresses appended to this list - layout with addresses, ; separated - event for rendering the - added a address? - - - - Writes log messages to in memory for programmatic retrieval. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets the list of logs gathered in the . - - - - - Gets or sets the max number of items to have in memory - - - - - - Renders the logging event message and adds to - - The logging event. - - - - A parameter to MethodCall. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The layout to use for parameter value. - - - - Initializes a new instance of the class. - - Name of the parameter. - The layout. - - - - Initializes a new instance of the class. - - The name of the parameter. - The layout. - The type of the parameter. - - - - Gets or sets the name of the parameter. - - - - - - Gets or sets the type of the parameter. Obsolete alias for - - - - - - Gets or sets the type of the parameter. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Calls the specified static method on each log message and passes contextual parameters to it. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets the class name. - - - - - - Gets or sets the method name. The method must be public and static. - - Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx - e.g. - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - Initializes a new instance of the class. - - Name of the target. - Method to call on logevent. - - - - Initializes the target. - - - - - Calls the specified Method. - - Method parameters. - The logging event. - - - - Calls the specified Method. - - Method parameters. - - - - The base class for all targets which call methods (local or remote). - Manages parameters and type coercion. - - - - - Initializes a new instance of the class. - - - - - Gets the array of parameters to be passed. - - - - - - - - - Prepares an array of parameters to be passed based on the logging event and calls DoInvoke(). - - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The logging event. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Sends log messages over the network. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- To print the results, use any application that's able to receive messages over - TCP or UDP. NetCat is - a simple but very powerful command-line tool that can be used for that. This image - demonstrates the NetCat tool receiving log messages from Network target. -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will be very slow. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-

- There are two specialized versions of the Network target: Chainsaw - and NLogViewer which write to instances of Chainsaw log4j viewer - or NLogViewer application respectively. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets the network address. - - - The network address can be: -
    -
  • tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
  • -
  • tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
  • -
  • tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
  • -
  • udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
  • -
  • http://host:port/pageName - HTTP using POST verb
  • -
  • https://host:port/pageName - HTTPS using POST verb
  • -
- For SOAP-based webservice support over HTTP use WebService target. -
- -
- - - Gets or sets a value indicating whether to keep connection open whenever possible. - - - - - - Gets or sets a value indicating whether to append newline at the end of log message. - - - - - - Gets or sets the end of line value if a newline is appended at the end of log message . - - - - - - Gets or sets the maximum message size in bytes. - - - - - - Gets or sets the size of the connection cache (number of connections which are kept alive). - - - - - - Gets or sets the maximum current connections. 0 = no maximum. - - - - - - Gets or sets the action that should be taken if the will be more connections than . - - - - - - Gets or sets the maximum queue size. - - - - - - Gets or sets the action that should be taken if the message is larger than - maxMessageSize. - - - - - - Gets or sets the encoding to be used. - - - - - - Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP. - - - - - - The number of seconds a connection will remain idle before the first keep-alive probe is sent - - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Sends the - rendered logging event over the network optionally concatenating it with a newline character. - - The logging event. - - - - Try to remove. - - - - - removed something? - - - - Gets the bytes to be written. - - Log event. - Byte array. - - - - The action to be taken when there are more connections then the max. - - - - - Just allow it. - - - - - Discard the connection item. - - - - - Block until there's more room in the queue. - - - - - Action that should be taken if the message overflows. - - - - - Report an error. - - - - - Split the message into smaller pieces. - - - - - Discard the entire message. - - - - - Represents a parameter to a NLogViewer target. - - - - - Initializes a new instance of the class. - - - - - Gets or sets viewer parameter name. - - - - - - Gets or sets the layout that should be use to calculate the value for the parameter. - - - - - - Gets or sets whether an attribute with empty value should be included in the output - - - - - - Sends log messages to the remote instance of NLog Viewer. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol - or you'll get TCP timeouts and your application will crawl. - Either switch to UDP transport or use AsyncWrapper target - so that your application threads will not be blocked by the timing-out connection attempts. -

-
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. - - - - - - Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include stack contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include dictionary contents. - - - - - - Gets or sets a value indicating whether to include contents of the stack. - - - - - - Gets or sets the NDLC item separator. - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the option to include all properties from the log events - - - - - - Gets or sets the NDC item separator. - - - - - - Gets or sets the renderer for log4j:event logger-xml-attribute (Default ${logger}) - - - - - - Gets the collection of parameters. Each parameter contains a mapping - between NLog layout and a named parameter. - - - - - - Gets the layout renderer which produces Log4j-compatible XML events. - - - - - Gets or sets the instance of that is used to format log messages. - - - - - - Discards log messages. Used mainly for debugging and benchmarking. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Gets or sets a value indicating whether to perform layout calculation. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - - Does nothing. Optionally it calculates the layout text but - discards the results. - - The logging event. - - - - Outputs log messages through the OutputDebugString() Win32 API. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - - - - SMTP authentication modes. - - - - - No authentication. - - - - - Basic - username and password. - - - - - NTLM Authentication. - - - - - Represents logging target. - - - - Are all layouts in this target thread-agnostic, if so we don't precalculate the layouts - - - - The Max StackTraceUsage of all the in this Target - - - - - Gets or sets the name of the target. - - - - - - Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers - Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit - - - - - - Gets the object which can be used to synchronize asynchronous operations that must rely on the . - - - - - Gets the logging configuration this target is part of. - - - - - Gets a value indicating whether the target has been initialized. - - - - - Can be used if has been enabled. - - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Closes the target. - - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Calls the on each volatile layout - used by this target. - This method won't prerender if all layouts in this target are thread-agnostic. - - - The log event. - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Writes the log to the target. - - Log event to write. - - - - Writes the array of log events. - - The log events. - - - - Writes the array of log events. - - The log events. - - - - Initializes this instance. - - The configuration. - - - - Closes this instance. - - - - - Releases unmanaged and - optionally - managed resources. - - True to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Initializes the target. Can be used by inheriting classes - to initialize logging. - - - - - Closes the target and releases any unmanaged resources. - - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Writes async log event to the log target. - - Async Log event to be written out. - - - - Writes a log event to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Log event to be written out. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - NOTE! Obsolete, instead override WriteAsyncThreadSafe(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target, in a thread safe manner. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Writes an array of logging events to the log target, in a thread safe manner. - Any override of this method has to provide their own synchronization mechanism. - - !WARNING! Custom targets should only override this method if able to provide their - own synchronization mechanism. -objects are not guaranteed to be - thread-safe, so using them without a SyncRoot-object can be dangerous. - - Logging events to be written out. - - - - Merges (copies) the event context properties from any event info object stored in - parameters of the given event info object. - - The event info object to perform the merge to. - - - - Renders the event info in layout. - - The layout. - The event info. - String representing log event. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Register a custom Target. - - Short-cut for registering to default - Type of the Target. - Name of the Target. - - - - Should the exception be rethrown? - - - Upgrade to private protected when using C# 7.2 - - - - Marks class as a logging target and assigns a name to it. - - This attribute is not required when registering the target in the API. - - - - Initializes a new instance of the class. - - Name of the target. - - - - Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page). - - - - - Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page). - - - - - Attribute details for - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the attribute. - The layout of the attribute's value. - - - - Gets or sets the name of the attribute. - - - - - - Gets or sets the layout that will be rendered as the attribute's value. - - - - - - Gets or sets when an empty value should cause the property to be included - - - - - Gets or sets the type of the property. - - - - - Represents target that supports context capture using MDLC, MDC, NDLC and NDC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets or sets a value indicating whether to include contents of the dictionary - - - - - - Gets or sets a value indicating whether to include call site (class and method name) in the - - - - - - Gets or sets a value indicating whether to include source info (file name and line number) in the - - - - - - Gets the array of custom attributes to be passed into the logevent context - - - - - - Constructor - - - - - - - - Check if logevent has properties (or context properties) - - - True if properties should be included - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Dictionary with any context properties for the logEvent (Null if none found) - - - - Checks if any context properties, and if any returns them as a single dictionary - - - Optional prefilled dictionary - Dictionary with any context properties for the logEvent (Null if none found) - - - - Creates combined dictionary of all configured properties for logEvent - - - Dictionary with all collected properties for logEvent - - - - Creates combined dictionary of all configured properties for logEvent - - - Optional prefilled dictionary - Dictionary with all collected properties for logEvent - - - - Generates a new unique name, when duplicate names are detected - - LogEvent that triggered the duplicate name - Duplicate item name - Item Value - Dictionary of context values - New (unique) value (or null to skip value). If the same value is used then the item will be overwritten - - - - Returns the captured snapshot of for the - - - Dictionary with MDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with MDLC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Returns the captured snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with GDC context if any, else null - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDC key - MDC value - Snapshot of MDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Optional pre-allocated dictionary for the snapshot - Dictionary with MDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - MDLC key - MDLC value - Snapshot of MDLC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDC value - Snapshot of NDC value - Include object value in snapshot - - - - Takes snapshot of for the - - - Dictionary with NDLC context if any, else null - - - - Take snapshot of a single object value from - - Log event - NDLC value - Snapshot of NDLC value - Include object value in snapshot - - - - Take snapshot of a single object value - - Log event - Key Name (null when NDC / NDLC) - Object Value - Snapshot of value - Include object value in snapshot - - - Internal Layout that allows capture of MDC context - - - Internal Layout that allows capture of NDC context - - - Internal Layout that allows capture of MDLC context - - - Internal Layout that allows capture of NDLC context - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the layout used to format log messages. - - - - - - Represents target that supports string formatting using layouts. - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Gets or sets the text to be rendered. - - - - - - Gets or sets the footer. - - - - - - Gets or sets the header. - - - - - - Gets or sets the layout with header and footer. - - The layout with header and footer. - - - - Sends log messages through System.Diagnostics.Trace. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -
-
- - - Always use independent of - - - - - - Forward to (Instead of ) - - - Trace.Fail can have special side-effects, and give fatal exceptions, message dialogs or Environment.FailFast - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Writes the specified logging event to the facility. - - Redirects the log message depending on and . - When is false: - - writes to - - writes to - - writes to - - writes to - - writes to - - writes to - - The logging event. - - - - Web service protocol. - - - - - Use SOAP 1.1 Protocol. - - - - - Use SOAP 1.2 Protocol. - - - - - Use HTTP POST Protocol. - - - - - Use HTTP GET Protocol. - - - - - Do an HTTP POST of a JSON document. - - - - - Do an HTTP POST of an XML document. - - - - - Web Service Proxy Configuration Type - - - - - Default proxy configuration from app.config (System.Net.WebRequest.DefaultWebProxy) - - - Example of how to configure default proxy using app.config - - <system.net> - <defaultProxy enabled = "true" useDefaultCredentials = "true" > - <proxy usesystemdefault = "True" /> - </defaultProxy> - </system.net> - - - - - - Automatic use of proxy with authentication (cached) - - - - - Disables use of proxy (fast) - - - - - Custom proxy address (cached) - - - - - Calls the specified web service on each log message. - - Documentation on NLog Wiki - - The web service must implement a method that accepts a number of string parameters. - - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- This assumes just one target and a single rule. More configuration - options are described here. -

-

- To set up the log target programmatically use code like this: -

- -

The example web service that works with this example is shown below

- -
-
- - - dictionary that maps a concrete implementation - to a specific -value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target - - - - Gets or sets the web service URL. - - - - - - Gets or sets the value of the User-agent HTTP header. - - - - - - Gets or sets the Web service method name. Only used with Soap. - - - - - - Gets or sets the Web service namespace. Only used with Soap. - - - - - - Gets or sets the protocol to be used when calling web service. - - - - - - Gets or sets the proxy configuration when calling web service - - - - - - Gets or sets the custom proxy address, include port separated by a colon - - - - - - Should we include the BOM (Byte-order-mark) for UTF? Influences the property. - - This will only work for UTF-8. - - - - - - Gets or sets the encoding. - - - - - - Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) - - A value of true if Rfc3986; otherwise, false for legacy Rfc2396. - - - - - Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) - - A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. - - - - - Gets or sets the name of the root XML element, - if POST of XML document chosen. - If so, this property must not be null. - (see and ). - - - - - - Gets or sets the (optional) root namespace of the XML document, - if POST of XML document chosen. - (see and ). - - - - - - Gets the array of parameters to be passed. - - - - - - Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters) - - - - - - Calls the target method. Must be implemented in concrete classes. - - Method call parameters. - - - - Calls the target DoInvoke method, and handles AsyncContinuation callback - - Method call parameters. - The continuation. - - - - Invokes the web service method. - - Parameters to be passed. - The logging event. - - - - Flush any pending log messages asynchronously (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. - - - - - - - Write from input to output. Fix the UTF-8 bom - - - - - - - - - base class for POST formatters, that - implement former PrepareRequest() method, - that creates the content for - the requested kind of HTTP request - - - - - Asynchronous request queue. - - - - - Initializes a new instance of the AsyncRequestQueue class. - - Request limit. - The overflow action. - - - - Gets the number of requests currently in the queue. - - - - - Enqueues another item. If the queue is overflown the appropriate - action is taken as specified by . - - The log event info. - Queue was empty before enqueue - - - - Dequeues a maximum of count items from the queue - and adds returns the list containing them. - - Maximum number of items to be dequeued (-1 means everything). - The array of log events. - - - - Dequeues into a preallocated array, instead of allocating a new one - - Maximum number of items to be dequeued - Preallocated list - - - - Clears the queue. - - - - - Gets or sets the request limit. - - - - - Gets or sets the action to be taken when there's no more room in - the queue and another request is enqueued. - - - - - Notifies about log event that was dropped when set to - - - - - Notifies when queue size is growing over - - - - - Raise event when queued element was dropped because of queue overflow - - Dropped queue item - - - - Raise event when RequestCount overflow - - current requests count - - - - Provides asynchronous, buffered execution of target writes. - - Documentation on NLog Wiki - -

- Asynchronous target wrapper allows the logger code to execute more quickly, by queueing - messages and processing them in a separate thread. You should wrap targets - that spend a non-trivial amount of time in their Write() method with asynchronous - target to speed up logging. -

-

- Because asynchronous logging is quite a common scenario, NLog supports a - shorthand notation for wrapping all targets with AsyncWrapper. Just add async="true" to - the <targets/> element in the configuration file. -

- - - ... your targets go here ... - - ]]> -
- -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of requests in the queue. - The action to be taken when the queue overflows. - - - - Gets or sets the number of log events that should be processed in a batch - by the lazy writer thread. - - - - - - Gets or sets the time in milliseconds to sleep between batches. (1 or less means trigger on new activity) - - - - - - Raise event when Target cannot store LogEvent. - Event arg contains lost LogEvents - - - - - Raises when event queue grow. - Queue can grow when was set to - - - - - Gets or sets the action to be taken when the lazy writer thread request queue count - exceeds the set limit. - - - - - - Gets or sets the limit on the number of requests in the lazy writer thread request queue. - - - - - - Gets or sets the limit of full s to write before yielding into - Performance is better when writing many small batches, than writing a single large batch - - - - - - Gets or sets whether to use the locking queue, instead of a lock-free concurrent queue - The locking queue is less concurrent when many logger threads, but reduces memory allocation - - - - - - Gets the queue of lazy writer thread requests. - - - - - Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target by starting the lazy writer timer. - - - - - Shuts down the lazy writer timer. - - - - - Starts the lazy writer thread which periodically writes - queued log messages. - - - - - Attempts to start an instant timer-worker-thread which can write - queued log messages. - - Returns true when scheduled a timer-worker-thread - - - - Stops the lazy writer thread. - - - - - Adds the log event to asynchronous queue to be processed by - the lazy writer thread. - - The log event. - - The is called - to ensure that the log event can be processed in another thread. - - - - - Write to queue without locking - - - - - - The action to be taken when the queue overflows. - - - - - Grow the queue. - - - - - Discard the overflowing item. - - - - - Block until there's more room in the queue. - - - - - Causes a flush on a wrapped target if LogEvent satisfies the . - If condition isn't set, flushes on each write. - - Documentation on NLog Wiki - -

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Gets or sets the condition expression. Log events who meet this condition will cause - a flush on the wrapped target. - - - - - - Delay the flush until the LogEvent has been confirmed as written - - If not explicitly set, then disabled by default for and AsyncTaskTarget - - - - - - Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - The wrapped target. - Name of the target - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes the target. - - - - - Forwards the call to the .Write() - and calls on it if LogEvent satisfies - the flush condition or condition is null. - - Logging event to be written out. - - - - Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). - - The asynchronous continuation. - - - - Closes the target. - - - - - A target that buffers log events and sends them in batches to the wrapped target. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - - - - Initializes a new instance of the class. - - The wrapped target. - Size of the buffer. - The flush timeout. - The action to take when the buffer overflows. - - - - Gets or sets the number of log events to be buffered. - - - - - - Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed - if there's no write in the specified period of time. Use -1 to disable timed flushes. - - - - - - Gets or sets a value indicating whether to use sliding timeout. - - - This value determines how the inactivity period is determined. If sliding timeout is enabled, - the inactivity timer is reset after each write, if it is disabled - inactivity timer will - count from the first event written to the buffer. - - - - - - Gets or sets the action to take if the buffer overflows. - - - Setting to will replace the - oldest event with new events without sending events down to the wrapped target, and - setting to will flush the - entire buffer to the wrapped target. - - - - - - Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. - - The asynchronous continuation. - - - - Initializes the target. - - - - - Closes the target by flushing pending events in the buffer (if any). - - - - - Adds the specified log event to the buffer and flushes - the buffer in case the buffer gets full. - - The log event. - - - - The action to be taken when the buffer overflows. - - - - - Flush the content of the buffer. - - - - - Discard the oldest item. - - - - - A base class for targets which wrap other (multiple) targets - and provide various forms of target routing. - - - - - Initializes a new instance of the class. - - The targets. - - - - Gets the collection of targets managed by this compound target. - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Writes logging event to the log target. - - Logging event to be written out. - - - - Flush any pending log messages for all wrapped targets. - - The asynchronous continuation. - - - - Provides fallback-on-error. - - Documentation on NLog Wiki - -

This example causes the messages to be written to server1, - and if it fails, messages go to server2.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Gets or sets a value indicating whether to return to the first target after any successful write. - - - - - - - - - - - - Forwards the log event to the sub-targets until one of them succeeds. - - The log event. - - The method remembers the last-known-successful target - and starts the iteration from it. - If is set, the method - resets the target to the first target - stored in . - - - - - Filtering rule for . - - - - - Initializes a new instance of the FilteringRule class. - - - - - Initializes a new instance of the FilteringRule class. - - Condition to be tested against all events. - Filter to apply to all log events when the first condition matches any of them. - - - - Gets or sets the condition to be tested. - - - - - - Gets or sets the resulting filter to be applied when the condition matches. - - - - - - Filters log entries based on a condition. - - Documentation on NLog Wiki - -

This example causes the messages not contains the string '1' to be ignored.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The condition. - - - - Initializes a new instance of the class. - - The wrapped target. - The condition. - - - - Gets or sets the condition expression. Log events who meet this condition will be forwarded - to the wrapped target. - - - - - - Gets or sets the filter. Log events who evaluates to will be discarded - - - - - - - - - Checks the condition against the passed log event. - If the condition is met, the log event is forwarded to - the wrapped target. - - Log event. - - - - - - - Limits the number of messages written per timespan to the wrapped target. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the target. - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - - - - Initializes a new instance of the class. - - The wrapped target. - Maximum number of messages written per interval. - Interval in which the maximum number of messages can be written. - - - - Gets or sets the maximum allowed number of messages written per . - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets or sets the interval in which messages will be written up to the number of messages. - - - Messages received after has been reached in the current will be discarded. - - - - - - Gets the DateTime when the current will be reset. - - - - - - Gets the number of written in the current . - - - - - - Initializes the target and resets the current Interval and . - - - - - Writes log event to the wrapped target if the current is lower than . - If the is already reached, no log event will be written to the wrapped target. - resets when the current is expired. - - Log event to be written out. - - - - Arguments for events. - - - - - - - - Instance of that was dropped by - - - - - Raises by when - queue is full - and set to - By default queue doubles it size. - - - - - Contains items count and new queue size. - - Required queue size - Current queue size - - - - New queue size - - - - - Current requests count - - - - - Logon provider. - - - - - Use the standard logon provider for the system. - - - The default security provider is negotiate, unless you pass NULL for the domain name and the user name - is not in UPN format. In this case, the default provider is NTLM. - NOTE: Windows 2000/NT: The default security provider is NTLM. - - - - - Filters buffered log entries based on a set of conditions that are evaluated on a group of events. - - Documentation on NLog Wiki - - PostFilteringWrapper must be used with some type of buffering target or wrapper, such as - AsyncTargetWrapper, BufferingWrapper or ASPNetBufferingWrapper. - - -

- This example works like this. If there are no Warn,Error or Fatal messages in the buffer - only Info messages are written to the file, but if there are any warnings or errors, - the output includes detailed trace (levels >= Debug). You can plug in a different type - of buffering wrapper (such as ASPNetBufferingWrapper) to achieve different - functionality. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - - - - Gets or sets the default filter to be applied when no specific rule matches. - - - - - - Gets the collection of filtering rules. The rules are processed top-down - and the first rule that matches determines the filtering condition to - be applied to log events. - - - - - - - - - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Evaluates all filtering rules to find the first one that matches. - The matching rule determines the filtering condition to be applied - to all items in a buffer. If no condition matches, default filter - is applied to the array of log events. - - Array of log events to be post-filtered. - - - - Evaluate all the rules to get the filtering condition - - - - - - - Sends log messages to a randomly selected target. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt - chosen randomly on a per-message basis. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the log event to one of the sub-targets. - The sub-target is randomly chosen. - - The log event. - - - - Repeats each log event the specified number of times. - - Documentation on NLog Wiki - -

This example causes each log message to be repeated 3 times.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The repeat count. - - - - Initializes a new instance of the class. - - The wrapped target. - The repeat count. - - - - Gets or sets the number of times to repeat each log message. - - - - - - Forwards the log message to the by calling the method times. - - The log event. - - - - Retries in case of write error. - - Documentation on NLog Wiki - -

This example causes each write attempt to be repeated 3 times, - sleeping 1 second between attempts if first one fails.

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Initializes a new instance of the class. - - The wrapped target. - The retry count. - The retry delay milliseconds. - - - - Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure. - - - - - - Gets or sets the time to wait between retries in milliseconds. - - - - - - Special SyncObject to allow closing down Target while busy retrying - - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Writes the specified log event to the wrapped target in a thread-safe manner. - - The log event. - - - - Writes the specified log event to the wrapped target, retrying and pausing in case of an error. - - The log event. - - - - Distributes log events to targets in a round-robin fashion. - - Documentation on NLog Wiki - -

This example causes the messages to be written to either file1.txt or file2.txt. - Each odd message is written to file2.txt, each even message goes to file1.txt. -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Ensures forwarding happens without holding lock - - - - - - Forwards the write to one of the targets from - the collection. - - The log event. - - The writes are routed in a round-robin fashion. - The first log event goes to the first target, the second - one goes to the second target and so on looping to the - first target when there are no more targets available. - In general request N goes to Targets[N % Targets.Count]. - - - - - Impersonation level. - - - - - Anonymous Level. - - - - - Identification Level. - - - - - Impersonation Level. - - - - - Delegation Level. - - - - - Logon type. - - - - - Interactive Logon. - - - This logon type is intended for users who will be interactively using the computer, such as a user being logged on - by a terminal server, remote shell, or similar process. - This logon type has the additional expense of caching logon information for disconnected operations; - therefore, it is inappropriate for some client/server applications, - such as a mail server. - - - - - Network Logon. - - - This logon type is intended for high performance servers to authenticate plaintext passwords. - The LogonUser function does not cache credentials for this logon type. - - - - - Batch Logon. - - - This logon type is intended for batch servers, where processes may be executing on behalf of a user without - their direct intervention. This type is also for higher performance servers that process many plaintext - authentication attempts at a time, such as mail or Web servers. - The LogonUser function does not cache credentials for this logon type. - - - - - Logon as a Service. - - - Indicates a service-type logon. The account provided must have the service privilege enabled. - - - - - Network Clear Text Logon. - - - This logon type preserves the name and password in the authentication package, which allows the server to make - connections to other network servers while impersonating the client. A server can accept plaintext credentials - from a client, call LogonUser, verify that the user can access the system across the network, and still - communicate with other servers. - NOTE: Windows NT: This value is not supported. - - - - - New Network Credentials. - - - This logon type allows the caller to clone its current token and specify new credentials for outbound connections. - The new logon session has the same local identifier but uses different credentials for other network connections. - NOTE: This logon type is supported only by the LOGON32_PROVIDER_WINNT50 logon provider. - NOTE: Windows NT: This value is not supported. - - - - - Writes log events to all targets. - - Documentation on NLog Wiki - -

This example causes the messages to be written to both file1.txt or file2.txt -

-

- To set up the target in the configuration file, - use the following syntax: -

- -

- The above examples assume just one target and a single rule. See below for - a programmatic configuration that's equivalent to the above config file: -

- -
-
- - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the target. - The targets. - - - - Initializes a new instance of the class. - - The targets. - - - - Forwards the specified log event to all sub-targets. - - The log event. - - - - NOTE! Obsolete, instead override Write(IList{AsyncLogEventInfo} logEvents) - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Writes an array of logging events to the log target. By default it iterates on all - events and passes them to "Write" method. Inheriting classes can use this method to - optimize batch writes. - - Logging events to be written out. - - - - Base class for targets wrap other (single) targets. - - - - - Gets or sets the target that is wrapped by this target. - - - - - - Returns the text representation of the object. Used for diagnostics. - - A string that describes the target. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Writes logging event to the log target. Must be overridden in inheriting - classes. - - Logging event to be written out. - - - - Current local time retrieved directly from DateTime.Now. - - - - - Gets current local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Current UTC time retrieved directly from DateTime.UtcNow. - - - - - Gets current UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Fast time source that updates current time only once per tick (15.6 milliseconds). - - - - - Gets raw uncached time from derived time source. - - - - - Gets current time cached for one system tick (15.6 milliseconds). - - - - - Fast local time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached local time directly from DateTime.Now. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to local time. - - - - - Fast UTC time source that is updated once per tick (15.6 milliseconds). - - - - - Gets uncached UTC time directly from DateTime.UtcNow. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to UTC time. - - - - - Defines source of current time. - - - - - Gets current time. - - - - - Gets or sets current global time source used in all log events. - - - Default time source is . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Converts the specified system time to the same form as the time value originated from this time source. - - The system originated time value to convert. - - The value of converted to the same form - as time values originated from this source. - - - - There are situations when NLog have to compare the time originated from TimeSource - to the time originated externally in the system. - To be able to provide meaningful result of such comparisons the system time must be expressed in - the same form as TimeSource time. - - - Examples: - - If the TimeSource provides time values of local time, it should also convert the provided - to the local time. - - If the TimeSource shifts or skews its time values, it should also apply - the same transform to the given . - - - - - - Marks class as a time source and assigns a name to it. - - - - - Initializes a new instance of the class. - - Name of the time source. - -
-
diff --git a/app/packages/Newtonsoft.Json.10.0.3/LICENSE.md b/app/packages/Newtonsoft.Json.10.0.3/LICENSE.md deleted file mode 100644 index dfaadbe..0000000 --- a/app/packages/Newtonsoft.Json.10.0.3/LICENSE.md +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2007 James Newton-King - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/app/packages/Newtonsoft.Json.10.0.3/Newtonsoft.Json.10.0.3.nupkg b/app/packages/Newtonsoft.Json.10.0.3/Newtonsoft.Json.10.0.3.nupkg deleted file mode 100644 index 8c7cb99..0000000 Binary files a/app/packages/Newtonsoft.Json.10.0.3/Newtonsoft.Json.10.0.3.nupkg and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/net20/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.10.0.3/lib/net20/Newtonsoft.Json.dll deleted file mode 100644 index c1f29c2..0000000 Binary files a/app/packages/Newtonsoft.Json.10.0.3/lib/net20/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/net20/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.10.0.3/lib/net20/Newtonsoft.Json.xml deleted file mode 100644 index 0647513..0000000 --- a/app/packages/Newtonsoft.Json.10.0.3/lib/net20/Newtonsoft.Json.xml +++ /dev/null @@ -1,9815 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to serialize. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to serialize. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Gets or sets how null values are handled during serialization and deserialization. - - - - - Gets or sets how default values are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. - When the or - - methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object constructor. - - The object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Provides a set of static (Shared in Visual Basic) methods for - querying objects that implement . - - - - - Returns the input typed as . - - - - - Returns an empty that has the - specified type argument. - - - - - Converts the elements of an to the - specified type. - - - - - Filters the elements of an based on a specified type. - - - - - Generates a sequence of integral numbers within a specified range. - - The value of the first integer in the sequence. - The number of sequential integers to generate. - - - - Generates a sequence that contains one repeated value. - - - - - Filters a sequence of values based on a predicate. - - - - - Filters a sequence of values based on a predicate. - Each element's index is used in the logic of the predicate function. - - - - - Projects each element of a sequence into a new form. - - - - - Projects each element of a sequence into a new form by - incorporating the element's index. - - - - - Projects each element of a sequence to an - and flattens the resulting sequences into one sequence. - - - - - Projects each element of a sequence to an , - and flattens the resulting sequences into one sequence. The - index of each source element is used in the projected form of - that element. - - - - - Projects each element of a sequence to an , - flattens the resulting sequences into one sequence, and invokes - a result selector function on each element therein. - - - - - Projects each element of a sequence to an , - flattens the resulting sequences into one sequence, and invokes - a result selector function on each element therein. The index of - each source element is used in the intermediate projected form - of that element. - - - - - Returns elements from a sequence as long as a specified condition is true. - - - - - Returns elements from a sequence as long as a specified condition is true. - The element's index is used in the logic of the predicate function. - - - - - Base implementation of First operator. - - - - - Returns the first element of a sequence. - - - - - Returns the first element in a sequence that satisfies a specified condition. - - - - - Returns the first element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the first element of the sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Last operator. - - - - - Returns the last element of a sequence. - - - - - Returns the last element of a sequence that satisfies a - specified condition. - - - - - Returns the last element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the last element of a sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Single operator. - - - - - Returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - - - Returns the only element of a sequence that satisfies a - specified condition, and throws an exception if more than one - such element exists. - - - - - Returns the only element of a sequence, or a default value if - the sequence is empty; this method throws an exception if there - is more than one element in the sequence. - - - - - Returns the only element of a sequence that satisfies a - specified condition or a default value if no such element - exists; this method throws an exception if more than one element - satisfies the condition. - - - - - Returns the element at a specified index in a sequence. - - - - - Returns the element at a specified index in a sequence or a - default value if the index is out of range. - - - - - Inverts the order of the elements in a sequence. - - - - - Returns a specified number of contiguous elements from the start - of a sequence. - - - - - Bypasses a specified number of elements in a sequence and then - returns the remaining elements. - - - - - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. - - - - - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. The element's - index is used in the logic of the predicate function. - - - - - Returns the number of elements in a sequence. - - - - - Returns a number that represents how many elements in the - specified sequence satisfy a condition. - - - - - Returns a that represents the total number - of elements in a sequence. - - - - - Returns a that represents how many elements - in a sequence satisfy a condition. - - - - - Concatenates two sequences. - - - - - Creates a from an . - - - - - Creates an array from an . - - - - - Returns distinct elements from a sequence by using the default - equality comparer to compare values. - - - - - Returns distinct elements from a sequence by using a specified - to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and a key comparer. - - - - - Creates a from an - according to specified key - and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer and an element selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function and compares the keys by using a specified - comparer. - - - - - Groups the elements of a sequence according to a specified key - selector function and projects the elements for each group by - using a specified function. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. - - - - - Groups the elements of a sequence according to a key selector - function. The keys are compared by using a comparer and each - group's elements are projected by using a specified function. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. The elements of each group are projected by using a - specified function. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. The keys are compared by using a specified comparer. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. Key values are compared by using a specified comparer, - and the elements of each group are projected by using a - specified function. - - - - - Applies an accumulator function over a sequence. - - - - - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value. - - - - - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value, and the - specified function is used to select the result value. - - - - - Produces the set union of two sequences by using the default - equality comparer. - - - - - Produces the set union of two sequences by using a specified - . - - - - - Returns the elements of the specified sequence or the type - parameter's default value in a singleton collection if the - sequence is empty. - - - - - Returns the elements of the specified sequence or the specified - value in a singleton collection if the sequence is empty. - - - - - Determines whether all elements of a sequence satisfy a condition. - - - - - Determines whether a sequence contains any elements. - - - - - Determines whether any element of a sequence satisfies a - condition. - - - - - Determines whether a sequence contains a specified element by - using the default equality comparer. - - - - - Determines whether a sequence contains a specified element by - using a specified . - - - - - Determines whether two sequences are equal by comparing the - elements by using the default equality comparer for their type. - - - - - Determines whether two sequences are equal by comparing their - elements by using a specified . - - - - - Base implementation for Min/Max operator. - - - - - Base implementation for Min/Max operator for nullable types. - - - - - Returns the minimum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the minimum resulting value. - - - - - Returns the maximum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the maximum resulting value. - - - - - Makes an enumerator seen as enumerable once more. - - - The supplied enumerator must have been started. The first element - returned is the element the enumerator was on when passed in. - DO NOT use this method if the caller must be a generator. It is - mostly safe among aggregate operations. - - - - - Sorts the elements of a sequence in ascending order according to a key. - - - - - Sorts the elements of a sequence in ascending order by using a - specified comparer. - - - - - Sorts the elements of a sequence in descending order according to a key. - - - - - Sorts the elements of a sequence in descending order by using a - specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order by using a specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order, according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order by using a specified comparer. - - - - - Base implementation for Intersect and Except operators. - - - - - Produces the set intersection of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set intersection of two sequences by using the - specified to compare values. - - - - - Produces the set difference of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set difference of two sequences by using the - specified to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and key comparer. - - - - - Creates a from an - according to specified key - selector and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer, and an element selector function. - - - - - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. - - - - - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. A - specified is used to compare keys. - - - - - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. - - - - - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. A specified - is used to compare keys. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Represents a collection of objects that have a common key. - - - - - Gets the key of the . - - - - - Defines an indexer, size property, and Boolean search method for - data structures that map keys to - sequences of values. - - - - - Represents a sorted sequence. - - - - - Performs a subsequent ordering on the elements of an - according to a key. - - - - - Represents a collection of keys each mapped to one or more values. - - - - - Gets the number of key/value collection pairs in the . - - - - - Gets the collection of values indexed by the specified key. - - - - - Determines whether a specified key is in the . - - - - - Applies a transform function to each key and its associated - values and returns the results. - - - - - Returns a generic enumerator that iterates through the . - - - - - See issue #11 - for why this method is needed and cannot be expressed as a - lambda at the call site. - - - - - See issue #11 - for why this method is needed and cannot be expressed as a - lambda at the call site. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - This attribute allows us to define extension methods without - requiring .NET Framework 3.5. For more information, see the section, - Extension Methods in .NET Framework 2.0 Apps, - of Basic Instincts: Extension Methods - column in MSDN Magazine, - issue Nov 2007. - - - - diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/net35/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.10.0.3/lib/net35/Newtonsoft.Json.dll deleted file mode 100644 index 78a1763..0000000 Binary files a/app/packages/Newtonsoft.Json.10.0.3/lib/net35/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/net35/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.10.0.3/lib/net35/Newtonsoft.Json.xml deleted file mode 100644 index cb7b932..0000000 --- a/app/packages/Newtonsoft.Json.10.0.3/lib/net35/Newtonsoft.Json.xml +++ /dev/null @@ -1,8944 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to serialize. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to serialize. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Gets or sets how null values are handled during serialization and deserialization. - - - - - Gets or sets how default values are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. - When the or - - methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object constructor. - - The object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/net40/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.10.0.3/lib/net40/Newtonsoft.Json.dll deleted file mode 100644 index 71ba702..0000000 Binary files a/app/packages/Newtonsoft.Json.10.0.3/lib/net40/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/net40/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.10.0.3/lib/net40/Newtonsoft.Json.xml deleted file mode 100644 index 6456226..0000000 --- a/app/packages/Newtonsoft.Json.10.0.3/lib/net40/Newtonsoft.Json.xml +++ /dev/null @@ -1,9144 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to serialize. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to serialize. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Gets or sets how null values are handled during serialization and deserialization. - - - - - Gets or sets how default values are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. - When the or - - methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object constructor. - - The object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/net45/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.10.0.3/lib/net45/Newtonsoft.Json.dll deleted file mode 100644 index 77a5d89..0000000 Binary files a/app/packages/Newtonsoft.Json.10.0.3/lib/net45/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/net45/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.10.0.3/lib/net45/Newtonsoft.Json.xml deleted file mode 100644 index b386458..0000000 --- a/app/packages/Newtonsoft.Json.10.0.3/lib/net45/Newtonsoft.Json.xml +++ /dev/null @@ -1,10760 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to serialize. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to serialize. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously skips the children of the current token. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Gets or sets how null values are handled during serialization and deserialization. - - - - - Gets or sets how default values are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the current token. - - The to read the token from. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the token and its value. - - The to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously ets the state of the . - - The being written. - The value being written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON property. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. - When the or - - methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Asynchronously creates an instance of with the content of the reader's current token. - - The reader. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns an instance of with the content of the reader's current token. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Writes this token to a asynchronously. - - A into which this method will write. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object constructor. - - The object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/netstandard1.0/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.10.0.3/lib/netstandard1.0/Newtonsoft.Json.dll deleted file mode 100644 index b9258ef..0000000 Binary files a/app/packages/Newtonsoft.Json.10.0.3/lib/netstandard1.0/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/netstandard1.0/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.10.0.3/lib/netstandard1.0/Newtonsoft.Json.xml deleted file mode 100644 index f7a4e30..0000000 --- a/app/packages/Newtonsoft.Json.10.0.3/lib/netstandard1.0/Newtonsoft.Json.xml +++ /dev/null @@ -1,10467 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously skips the children of the current token. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Gets or sets how null values are handled during serialization and deserialization. - - - - - Gets or sets how default values are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the current token. - - The to read the token from. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the token and its value. - - The to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously ets the state of the . - - The being written. - The value being written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON property. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a raw JSON string. - - - - - Asynchronously creates an instance of with the content of the reader's current token. - - The reader. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns an instance of with the content of the reader's current token. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Writes this token to a asynchronously. - - A into which this method will write. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - List of primitive types which can be widened. - - - - - Widening masks for primitive types above. - Index of the value in this array defines a type we're widening, - while the bits in mask define types it can be widened to (including itself). - - For example, value at index 0 defines a bool type, and it only has bit 0 set, - i.e. bool values can be assigned only to bool. - - - - - Checks if value of primitive type can be - assigned to parameter of primitive type . - - Source primitive type. - Target primitive type. - true if source type can be widened to target type, false otherwise. - - - - Checks if a set of values with given can be used - to invoke a method with specified . - - Method parameters. - Argument types. - Try to pack extra arguments into the last parameter when it is marked up with . - true if method can be called with given arguments, false otherwise. - - - - Compares two sets of parameters to determine - which one suits better for given argument types. - - - - - Returns a best method overload for given argument . - - List of method candidates. - Argument types. - Best method overload, or null if none matched. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. - - - - diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/netstandard1.3/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.10.0.3/lib/netstandard1.3/Newtonsoft.Json.dll deleted file mode 100644 index 96725e6..0000000 Binary files a/app/packages/Newtonsoft.Json.10.0.3/lib/netstandard1.3/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/netstandard1.3/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.10.0.3/lib/netstandard1.3/Newtonsoft.Json.xml deleted file mode 100644 index 6aae8c6..0000000 --- a/app/packages/Newtonsoft.Json.10.0.3/lib/netstandard1.3/Newtonsoft.Json.xml +++ /dev/null @@ -1,10559 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to serialize. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to serialize. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously skips the children of the current token. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Gets or sets how null values are handled during serialization and deserialization. - - - - - Gets or sets how default values are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the current token. - - The to read the token from. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the token and its value. - - The to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously ets the state of the . - - The being written. - The value being written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON property. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a raw JSON string. - - - - - Asynchronously creates an instance of with the content of the reader's current token. - - The reader. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns an instance of with the content of the reader's current token. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Writes this token to a asynchronously. - - A into which this method will write. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object constructor. - - The object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - List of primitive types which can be widened. - - - - - Widening masks for primitive types above. - Index of the value in this array defines a type we're widening, - while the bits in mask define types it can be widened to (including itself). - - For example, value at index 0 defines a bool type, and it only has bit 0 set, - i.e. bool values can be assigned only to bool. - - - - - Checks if value of primitive type can be - assigned to parameter of primitive type . - - Source primitive type. - Target primitive type. - true if source type can be widened to target type, false otherwise. - - - - Checks if a set of values with given can be used - to invoke a method with specified . - - Method parameters. - Argument types. - Try to pack extra arguments into the last parameter when it is marked up with . - true if method can be called with given arguments, false otherwise. - - - - Compares two sets of parameters to determine - which one suits better for given argument types. - - - - - Returns a best method overload for given argument . - - List of method candidates. - Argument types. - Best method overload, or null if none matched. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. - - - - diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.10.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index e9e9a4a..0000000 Binary files a/app/packages/Newtonsoft.Json.10.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.10.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml deleted file mode 100644 index 9550e31..0000000 --- a/app/packages/Newtonsoft.Json.10.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml +++ /dev/null @@ -1,8555 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Gets or sets how null values are handled during serialization and deserialization. - - - - - Gets or sets how default values are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. - - - - diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.10.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index 4b0917a..0000000 Binary files a/app/packages/Newtonsoft.Json.10.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.10.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.10.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml deleted file mode 100644 index f7a4e30..0000000 --- a/app/packages/Newtonsoft.Json.10.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml +++ /dev/null @@ -1,10467 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously skips the children of the current token. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Gets or sets how null values are handled during serialization and deserialization. - - - - - Gets or sets how default values are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled during serialization and deserialization. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the current token. - - The to read the token from. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the token and its value. - - The to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Asynchronously ets the state of the . - - The being written. - The value being written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asychronousity. - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON property. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a raw JSON string. - - - - - Asynchronously creates an instance of with the content of the reader's current token. - - The reader. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns an instance of with the content of the reader's current token. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Writes this token to a asynchronously. - - A into which this method will write. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - List of primitive types which can be widened. - - - - - Widening masks for primitive types above. - Index of the value in this array defines a type we're widening, - while the bits in mask define types it can be widened to (including itself). - - For example, value at index 0 defines a bool type, and it only has bit 0 set, - i.e. bool values can be assigned only to bool. - - - - - Checks if value of primitive type can be - assigned to parameter of primitive type . - - Source primitive type. - Target primitive type. - true if source type can be widened to target type, false otherwise. - - - - Checks if a set of values with given can be used - to invoke a method with specified . - - Method parameters. - Argument types. - Try to pack extra arguments into the last parameter when it is marked up with . - true if method can be called with given arguments, false otherwise. - - - - Compares two sets of parameters to determine - which one suits better for given argument types. - - - - - Returns a best method overload for given argument . - - List of method candidates. - Argument types. - Best method overload, or null if none matched. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. - - - - diff --git a/app/packages/Newtonsoft.Json.10.0.3/tools/install.ps1 b/app/packages/Newtonsoft.Json.10.0.3/tools/install.ps1 deleted file mode 100644 index 0cebb5e..0000000 --- a/app/packages/Newtonsoft.Json.10.0.3/tools/install.ps1 +++ /dev/null @@ -1,116 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -# open json.net splash page on package install -# don't open if json.net is installed as a dependency - -try -{ - $url = "http://www.newtonsoft.com/json/install?version=" + $package.Version - $dte2 = Get-Interface $dte ([EnvDTE80.DTE2]) - - if ($dte2.ActiveWindow.Caption -eq "Package Manager Console") - { - # user is installing from VS NuGet console - # get reference to the window, the console host and the input history - # show webpage if "install-package newtonsoft.json" was last input - - $consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow]) - - $props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor ` - [System.Reflection.BindingFlags]::NonPublic) - - $prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1 - if ($prop -eq $null) { return } - - $hostInfo = $prop.GetValue($consoleWindow) - if ($hostInfo -eq $null) { return } - - $history = $hostInfo.WpfConsole.InputHistory.History - - $lastCommand = $history | select -last 1 - - if ($lastCommand) - { - $lastCommand = $lastCommand.Trim().ToLower() - if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json")) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - } - else - { - # user is installing from VS NuGet dialog - # get reference to the window, then smart output console provider - # show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation - - $instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor ` - [System.Reflection.BindingFlags]::NonPublic) - - $consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor ` - [System.Reflection.BindingFlags]::NonPublic) - - if ($instanceField -eq $null -or $consoleField -eq $null) { return } - - $instance = $instanceField.GetValue($null) - - if ($instance -eq $null) { return } - - $consoleProvider = $consoleField.GetValue($instance) - if ($consoleProvider -eq $null) { return } - - $console = $consoleProvider.CreateOutputConsole($false) - - $messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor ` - [System.Reflection.BindingFlags]::NonPublic) - if ($messagesField -eq $null) { return } - - $messages = $messagesField.GetValue($console) - if ($messages -eq $null) { return } - - $operations = $messages -split "==============================" - - $lastOperation = $operations | select -last 1 - - if ($lastOperation) - { - $lastOperation = $lastOperation.ToLower() - - $lines = $lastOperation -split "`r`n" - - $installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1 - - if ($installMatch) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - } -} -catch -{ - try - { - $pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager") - - $selection = $pmPane.TextDocument.Selection - $selection.StartOfDocument($false) - $selection.EndOfDocument($true) - - if ($selection.Text.StartsWith("Attempting to gather dependencies information for package 'Newtonsoft.Json." + $package.Version + "'")) - { - # don't show on upgrade - if (!$selection.Text.Contains("Removed package")) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - } - catch - { - # stop potential errors from bubbling up - # worst case the splash page won't open - } -} - -# still yolo \ No newline at end of file diff --git a/app/packages/Newtonsoft.Json.11.0.2/LICENSE.md b/app/packages/Newtonsoft.Json.11.0.2/LICENSE.md deleted file mode 100644 index dfaadbe..0000000 --- a/app/packages/Newtonsoft.Json.11.0.2/LICENSE.md +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2007 James Newton-King - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/app/packages/Newtonsoft.Json.11.0.2/Newtonsoft.Json.11.0.2.nupkg b/app/packages/Newtonsoft.Json.11.0.2/Newtonsoft.Json.11.0.2.nupkg deleted file mode 100644 index df597fc..0000000 Binary files a/app/packages/Newtonsoft.Json.11.0.2/Newtonsoft.Json.11.0.2.nupkg and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/net20/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.11.0.2/lib/net20/Newtonsoft.Json.dll deleted file mode 100644 index d2b249a..0000000 Binary files a/app/packages/Newtonsoft.Json.11.0.2/lib/net20/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/net20/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.11.0.2/lib/net20/Newtonsoft.Json.xml deleted file mode 100644 index f0307d4..0000000 --- a/app/packages/Newtonsoft.Json.11.0.2/lib/net20/Newtonsoft.Json.xml +++ /dev/null @@ -1,9967 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - The default value is false. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - The default value is true. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from Unix epoch time - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to serialize. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to serialize. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Converts an object to and from JSON. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. If there is no existing value then null will be used. - The existing value has a value. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - The default value is . - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - The default value is false. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - The default value is . - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - The default value is false. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Determines whether the JSON object has the specified property name. - - Name of the property. - true if the JSON object has the specified property name; otherwise, false. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. - When the or - - methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types. - - - true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. - - - true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object constructor. - - The object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper class for serializing immutable collections. - Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed - https://github.com/JamesNK/Newtonsoft.Json/issues/652 - - - - - Provides a set of static (Shared in Visual Basic) methods for - querying objects that implement . - - - - - Returns the input typed as . - - - - - Returns an empty that has the - specified type argument. - - - - - Converts the elements of an to the - specified type. - - - - - Filters the elements of an based on a specified type. - - - - - Generates a sequence of integral numbers within a specified range. - - The value of the first integer in the sequence. - The number of sequential integers to generate. - - - - Generates a sequence that contains one repeated value. - - - - - Filters a sequence of values based on a predicate. - - - - - Filters a sequence of values based on a predicate. - Each element's index is used in the logic of the predicate function. - - - - - Projects each element of a sequence into a new form. - - - - - Projects each element of a sequence into a new form by - incorporating the element's index. - - - - - Projects each element of a sequence to an - and flattens the resulting sequences into one sequence. - - - - - Projects each element of a sequence to an , - and flattens the resulting sequences into one sequence. The - index of each source element is used in the projected form of - that element. - - - - - Projects each element of a sequence to an , - flattens the resulting sequences into one sequence, and invokes - a result selector function on each element therein. - - - - - Projects each element of a sequence to an , - flattens the resulting sequences into one sequence, and invokes - a result selector function on each element therein. The index of - each source element is used in the intermediate projected form - of that element. - - - - - Returns elements from a sequence as long as a specified condition is true. - - - - - Returns elements from a sequence as long as a specified condition is true. - The element's index is used in the logic of the predicate function. - - - - - Base implementation of First operator. - - - - - Returns the first element of a sequence. - - - - - Returns the first element in a sequence that satisfies a specified condition. - - - - - Returns the first element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the first element of the sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Last operator. - - - - - Returns the last element of a sequence. - - - - - Returns the last element of a sequence that satisfies a - specified condition. - - - - - Returns the last element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the last element of a sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Single operator. - - - - - Returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - - - Returns the only element of a sequence that satisfies a - specified condition, and throws an exception if more than one - such element exists. - - - - - Returns the only element of a sequence, or a default value if - the sequence is empty; this method throws an exception if there - is more than one element in the sequence. - - - - - Returns the only element of a sequence that satisfies a - specified condition or a default value if no such element - exists; this method throws an exception if more than one element - satisfies the condition. - - - - - Returns the element at a specified index in a sequence. - - - - - Returns the element at a specified index in a sequence or a - default value if the index is out of range. - - - - - Inverts the order of the elements in a sequence. - - - - - Returns a specified number of contiguous elements from the start - of a sequence. - - - - - Bypasses a specified number of elements in a sequence and then - returns the remaining elements. - - - - - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. - - - - - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. The element's - index is used in the logic of the predicate function. - - - - - Returns the number of elements in a sequence. - - - - - Returns a number that represents how many elements in the - specified sequence satisfy a condition. - - - - - Returns a that represents the total number - of elements in a sequence. - - - - - Returns a that represents how many elements - in a sequence satisfy a condition. - - - - - Concatenates two sequences. - - - - - Creates a from an . - - - - - Creates an array from an . - - - - - Returns distinct elements from a sequence by using the default - equality comparer to compare values. - - - - - Returns distinct elements from a sequence by using a specified - to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and a key comparer. - - - - - Creates a from an - according to specified key - and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer and an element selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function and compares the keys by using a specified - comparer. - - - - - Groups the elements of a sequence according to a specified key - selector function and projects the elements for each group by - using a specified function. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. - - - - - Groups the elements of a sequence according to a key selector - function. The keys are compared by using a comparer and each - group's elements are projected by using a specified function. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. The elements of each group are projected by using a - specified function. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. The keys are compared by using a specified comparer. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. Key values are compared by using a specified comparer, - and the elements of each group are projected by using a - specified function. - - - - - Applies an accumulator function over a sequence. - - - - - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value. - - - - - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value, and the - specified function is used to select the result value. - - - - - Produces the set union of two sequences by using the default - equality comparer. - - - - - Produces the set union of two sequences by using a specified - . - - - - - Returns the elements of the specified sequence or the type - parameter's default value in a singleton collection if the - sequence is empty. - - - - - Returns the elements of the specified sequence or the specified - value in a singleton collection if the sequence is empty. - - - - - Determines whether all elements of a sequence satisfy a condition. - - - - - Determines whether a sequence contains any elements. - - - - - Determines whether any element of a sequence satisfies a - condition. - - - - - Determines whether a sequence contains a specified element by - using the default equality comparer. - - - - - Determines whether a sequence contains a specified element by - using a specified . - - - - - Determines whether two sequences are equal by comparing the - elements by using the default equality comparer for their type. - - - - - Determines whether two sequences are equal by comparing their - elements by using a specified . - - - - - Base implementation for Min/Max operator. - - - - - Base implementation for Min/Max operator for nullable types. - - - - - Returns the minimum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the minimum resulting value. - - - - - Returns the maximum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the maximum resulting value. - - - - - Makes an enumerator seen as enumerable once more. - - - The supplied enumerator must have been started. The first element - returned is the element the enumerator was on when passed in. - DO NOT use this method if the caller must be a generator. It is - mostly safe among aggregate operations. - - - - - Sorts the elements of a sequence in ascending order according to a key. - - - - - Sorts the elements of a sequence in ascending order by using a - specified comparer. - - - - - Sorts the elements of a sequence in descending order according to a key. - - - - - Sorts the elements of a sequence in descending order by using a - specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order by using a specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order, according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order by using a specified comparer. - - - - - Base implementation for Intersect and Except operators. - - - - - Produces the set intersection of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set intersection of two sequences by using the - specified to compare values. - - - - - Produces the set difference of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set difference of two sequences by using the - specified to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and key comparer. - - - - - Creates a from an - according to specified key - selector and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer, and an element selector function. - - - - - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. - - - - - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. A - specified is used to compare keys. - - - - - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. - - - - - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. A specified - is used to compare keys. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Represents a collection of objects that have a common key. - - - - - Gets the key of the . - - - - - Defines an indexer, size property, and Boolean search method for - data structures that map keys to - sequences of values. - - - - - Represents a sorted sequence. - - - - - Performs a subsequent ordering on the elements of an - according to a key. - - - - - Represents a collection of keys each mapped to one or more values. - - - - - Gets the number of key/value collection pairs in the . - - - - - Gets the collection of values indexed by the specified key. - - - - - Determines whether a specified key is in the . - - - - - Applies a transform function to each key and its associated - values and returns the results. - - - - - Returns a generic enumerator that iterates through the . - - - - - See issue #11 - for why this method is needed and cannot be expressed as a - lambda at the call site. - - - - - See issue #11 - for why this method is needed and cannot be expressed as a - lambda at the call site. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - This attribute allows us to define extension methods without - requiring .NET Framework 3.5. For more information, see the section, - Extension Methods in .NET Framework 2.0 Apps, - of Basic Instincts: Extension Methods - column in MSDN Magazine, - issue Nov 2007. - - - - diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/net35/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.11.0.2/lib/net35/Newtonsoft.Json.dll deleted file mode 100644 index b2d3805..0000000 Binary files a/app/packages/Newtonsoft.Json.11.0.2/lib/net35/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/net35/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.11.0.2/lib/net35/Newtonsoft.Json.xml deleted file mode 100644 index 26949bf..0000000 --- a/app/packages/Newtonsoft.Json.11.0.2/lib/net35/Newtonsoft.Json.xml +++ /dev/null @@ -1,9096 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - The default value is false. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - The default value is true. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from Unix epoch time - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to serialize. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to serialize. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Converts an object to and from JSON. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. If there is no existing value then null will be used. - The existing value has a value. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - The default value is . - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - The default value is false. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - The default value is . - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - The default value is false. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Determines whether the JSON object has the specified property name. - - Name of the property. - true if the JSON object has the specified property name; otherwise, false. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. - When the or - - methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types. - - - true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. - - - true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object constructor. - - The object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper class for serializing immutable collections. - Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed - https://github.com/JamesNK/Newtonsoft.Json/issues/652 - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/net40/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.11.0.2/lib/net40/Newtonsoft.Json.dll deleted file mode 100644 index e319ff3..0000000 Binary files a/app/packages/Newtonsoft.Json.11.0.2/lib/net40/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/net40/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.11.0.2/lib/net40/Newtonsoft.Json.xml deleted file mode 100644 index cbd7075..0000000 --- a/app/packages/Newtonsoft.Json.11.0.2/lib/net40/Newtonsoft.Json.xml +++ /dev/null @@ -1,9296 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - The default value is false. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - The default value is true. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from Unix epoch time - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to serialize. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to serialize. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Converts an object to and from JSON. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. If there is no existing value then null will be used. - The existing value has a value. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - The default value is . - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - The default value is false. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - The default value is . - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - The default value is false. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Determines whether the JSON object has the specified property name. - - Name of the property. - true if the JSON object has the specified property name; otherwise, false. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. - When the or - - methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types. - - - true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. - - - true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object constructor. - - The object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Helper class for serializing immutable collections. - Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed - https://github.com/JamesNK/Newtonsoft.Json/issues/652 - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/net45/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.11.0.2/lib/net45/Newtonsoft.Json.dll deleted file mode 100644 index 8069902..0000000 Binary files a/app/packages/Newtonsoft.Json.11.0.2/lib/net45/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/net45/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.11.0.2/lib/net45/Newtonsoft.Json.xml deleted file mode 100644 index 2ef7a77..0000000 --- a/app/packages/Newtonsoft.Json.11.0.2/lib/net45/Newtonsoft.Json.xml +++ /dev/null @@ -1,10912 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - The default value is false. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - The default value is true. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from Unix epoch time - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to serialize. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to serialize. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Converts an object to and from JSON. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. If there is no existing value then null will be used. - The existing value has a value. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously skips the children of the current token. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - The default value is . - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - The default value is false. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - The default value is . - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - The default value is false. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the current token. - - The to read the token from. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the token and its value. - - The to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously ets the state of the . - - The being written. - The value being written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Determines whether the JSON object has the specified property name. - - Name of the property. - true if the JSON object has the specified property name; otherwise, false. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON property. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. - When the or - - methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Asynchronously creates an instance of with the content of the reader's current token. - - The reader. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns an instance of with the content of the reader's current token. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Writes this token to a asynchronously. - - A into which this method will write. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types. - - - true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. - - - true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object constructor. - - The object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Helper class for serializing immutable collections. - Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed - https://github.com/JamesNK/Newtonsoft.Json/issues/652 - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.0/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.0/Newtonsoft.Json.dll deleted file mode 100644 index 6002614..0000000 Binary files a/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.0/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.0/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.0/Newtonsoft.Json.xml deleted file mode 100644 index 482127f..0000000 --- a/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.0/Newtonsoft.Json.xml +++ /dev/null @@ -1,10619 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - The default value is false. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - The default value is true. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from Unix epoch time - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Converts an object to and from JSON. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. If there is no existing value then null will be used. - The existing value has a value. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously skips the children of the current token. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - The default value is . - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - The default value is false. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - The default value is . - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - The default value is false. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the current token. - - The to read the token from. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the token and its value. - - The to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously ets the state of the . - - The being written. - The value being written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Determines whether the JSON object has the specified property name. - - Name of the property. - true if the JSON object has the specified property name; otherwise, false. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON property. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a raw JSON string. - - - - - Asynchronously creates an instance of with the content of the reader's current token. - - The reader. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns an instance of with the content of the reader's current token. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Writes this token to a asynchronously. - - A into which this method will write. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types. - - - true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. - - - true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Helper class for serializing immutable collections. - Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed - https://github.com/JamesNK/Newtonsoft.Json/issues/652 - - - - - List of primitive types which can be widened. - - - - - Widening masks for primitive types above. - Index of the value in this array defines a type we're widening, - while the bits in mask define types it can be widened to (including itself). - - For example, value at index 0 defines a bool type, and it only has bit 0 set, - i.e. bool values can be assigned only to bool. - - - - - Checks if value of primitive type can be - assigned to parameter of primitive type . - - Source primitive type. - Target primitive type. - true if source type can be widened to target type, false otherwise. - - - - Checks if a set of values with given can be used - to invoke a method with specified . - - Method parameters. - Argument types. - Try to pack extra arguments into the last parameter when it is marked up with . - true if method can be called with given arguments, false otherwise. - - - - Compares two sets of parameters to determine - which one suits better for given argument types. - - - - - Returns a best method overload for given argument . - - List of method candidates. - Argument types. - Best method overload, or null if none matched. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. - - - - diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.3/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.3/Newtonsoft.Json.dll deleted file mode 100644 index ef690ca..0000000 Binary files a/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.3/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.3/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.3/Newtonsoft.Json.xml deleted file mode 100644 index aa0ab33..0000000 --- a/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard1.3/Newtonsoft.Json.xml +++ /dev/null @@ -1,10722 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - The default value is false. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - The default value is true. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from Unix epoch time - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to serialize. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to serialize. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Converts an object to and from JSON. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. If there is no existing value then null will be used. - The existing value has a value. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously skips the children of the current token. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - The default value is . - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - The default value is false. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - The default value is . - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - The default value is false. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the current token. - - The to read the token from. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the token and its value. - - The to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously ets the state of the . - - The being written. - The value being written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Determines whether the JSON object has the specified property name. - - Name of the property. - true if the JSON object has the specified property name; otherwise, false. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON property. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a raw JSON string. - - - - - Asynchronously creates an instance of with the content of the reader's current token. - - The reader. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns an instance of with the content of the reader's current token. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Writes this token to a asynchronously. - - A into which this method will write. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types. - - - true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. - - - true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object constructor. - - The object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Helper class for serializing immutable collections. - Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed - https://github.com/JamesNK/Newtonsoft.Json/issues/652 - - - - - List of primitive types which can be widened. - - - - - Widening masks for primitive types above. - Index of the value in this array defines a type we're widening, - while the bits in mask define types it can be widened to (including itself). - - For example, value at index 0 defines a bool type, and it only has bit 0 set, - i.e. bool values can be assigned only to bool. - - - - - Checks if value of primitive type can be - assigned to parameter of primitive type . - - Source primitive type. - Target primitive type. - true if source type can be widened to target type, false otherwise. - - - - Checks if a set of values with given can be used - to invoke a method with specified . - - Method parameters. - Argument types. - Try to pack extra arguments into the last parameter when it is marked up with . - true if method can be called with given arguments, false otherwise. - - - - Compares two sets of parameters to determine - which one suits better for given argument types. - - - - - Returns a best method overload for given argument . - - List of method candidates. - Argument types. - Best method overload, or null if none matched. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. - - - - diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard2.0/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard2.0/Newtonsoft.Json.dll deleted file mode 100644 index e2118f9..0000000 Binary files a/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard2.0/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard2.0/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard2.0/Newtonsoft.Json.xml deleted file mode 100644 index b1a5357..0000000 --- a/app/packages/Newtonsoft.Json.11.0.2/lib/netstandard2.0/Newtonsoft.Json.xml +++ /dev/null @@ -1,10887 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - The default value is false. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - The default value is true. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from Unix epoch time - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to serialize. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to serialize. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Converts an object to and from JSON. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. If there is no existing value then null will be used. - The existing value has a value. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously skips the children of the current token. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - The default value is . - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - The default value is false. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - The default value is . - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - The default value is false. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the current token. - - The to read the token from. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the token and its value. - - The to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously ets the state of the . - - The being written. - The value being written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Determines whether the JSON object has the specified property name. - - Name of the property. - true if the JSON object has the specified property name; otherwise, false. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON property. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. - When the or - - methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Asynchronously creates an instance of with the content of the reader's current token. - - The reader. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns an instance of with the content of the reader's current token. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Writes this token to a asynchronously. - - A into which this method will write. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types. - - - true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. - - - true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object constructor. - - The object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Helper class for serializing immutable collections. - Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed - https://github.com/JamesNK/Newtonsoft.Json/issues/652 - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.11.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index 0395b1e..0000000 Binary files a/app/packages/Newtonsoft.Json.11.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.11.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml deleted file mode 100644 index 1d9143f..0000000 --- a/app/packages/Newtonsoft.Json.11.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml +++ /dev/null @@ -1,8707 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - The default value is false. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - The default value is true. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from Unix epoch time - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Converts an object to and from JSON. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. If there is no existing value then null will be used. - The existing value has a value. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - The default value is . - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - The default value is false. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - The default value is . - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - The default value is false. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Determines whether the JSON object has the specified property name. - - Name of the property. - true if the JSON object has the specified property name; otherwise, false. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types. - - - true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. - - - true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper class for serializing immutable collections. - Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed - https://github.com/JamesNK/Newtonsoft.Json/issues/652 - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. - - - - diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll b/app/packages/Newtonsoft.Json.11.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index 2d82d36..0000000 Binary files a/app/packages/Newtonsoft.Json.11.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll and /dev/null differ diff --git a/app/packages/Newtonsoft.Json.11.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml b/app/packages/Newtonsoft.Json.11.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml deleted file mode 100644 index 482127f..0000000 --- a/app/packages/Newtonsoft.Json.11.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml +++ /dev/null @@ -1,10619 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. - - - - - Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The containing the BSON data to read. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The to write to. - - - - Initializes a new instance of the class. - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a parameterized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Creates a custom object. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - The default value is false. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed when deserializing. - The default value is true. - - true if integers are allowed when deserializing; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from Unix epoch time - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. - - The name of the deserialized root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attribute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - true if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that it is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and set members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent an array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, when returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, when returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items. - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between .NET types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output should be formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output should be formatted. - A collection of converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output should be formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be inferred from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the . - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output should be formatted. - A JSON string of the . - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output should be formatted. - Omits writing the root object. - A JSON string of the . - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized . - - - - Deserializes the from a JSON string nested in a root element specified by - and writes a Json.NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized . - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Converts an object to and from JSON. - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. If there is no existing value then null will be used. - The existing value has a value. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the . - - - - Initializes a new instance of the class. - - Type of the . - Parameter list to use when constructing the . Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the used when serializing the property's collection items. - - The collection's items . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the of the . - - The of the . - - - - The parameter list to use when constructing the described by . - If null, the default constructor is used. - When non-null, there must be a constructor defined in the that exactly matches the number, - order, and type of these parameters. - - - - [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] - - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously skips the children of the current token. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Specifies the state of the reader. - - - - - A read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader is in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the source should be closed when this reader is closed. - - - true to close the source when this reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. - The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Gets or sets how time zones are handled when reading JSON. - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Gets or sets how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets the .NET type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Reads the next JSON token from the source. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the source as a of . - - A of . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the current token and value. - - The new token. - The value. - A flag indicating whether the position index inside an array should be updated. - - - - Sets the state based on current token type. - - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the reader's state to . - If is set to true, the source is also closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The line number indicating where the error occurred. - The line position indicating where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Instructs the to always serialize the member, and to require that the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - The default value is . - - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - The default value is false. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifying the type is optional. - - - - - Serializes the specified and writes the JSON structure - using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) are handled. - The default value is . - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - The default value is . - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - The default value is . - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - The default value is . - - Null value handling. - - - - Gets or sets how default values are handled during serialization and deserialization. - The default value is . - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - The default value is . - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - The default value is . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - The default value is . - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - The default value is . - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - The default value is . - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Gets or sets how and values are formatted when writing JSON text, - and the expected date format when reading JSON text. - The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - A null value means there is no maximum. - The default value is null. - - - - - Indicates how JSON text output is formatted. - The default value is . - - - - - Gets or sets how dates are written to JSON text. - The default value is . - - - - - Gets or sets how time zones are handled during serialization and deserialization. - The default value is . - - - - - Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - The default value is . - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written as JSON. - The default value is . - - - - - Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - The default value is . - - - - - Gets or sets how strings are escaped when writing JSON text. - The default value is . - - - - - Gets or sets the culture used when reading JSON. - The default value is . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - The default value is false. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Asynchronously reads the next JSON token from the source. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns true if the next token was read successfully; false if there are no more tokens to read. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a []. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the []. This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a of . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the of . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously reads the next JSON token from the source as a . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous read. The - property returns the . This result will be null at the end of an array. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Initializes a new instance of the class with the specified . - - The containing the JSON data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a []. - - A [] or null if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if and can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - Derived classes must override this method to get asynchronous behaviour. Otherwise it will - execute synchronously, returning an already-completed task. - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many s to write for each level in the hierarchy when is set to . - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to . - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Initializes a new instance of the class using the specified . - - The to write to. - - - - Flushes whatever is in the buffer to the underlying and also flushes the underlying . - - - - - Closes this writer. - If is set to true, the underlying is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a read method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the .NET type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Changes the reader's state to . - If is set to true, the underlying is also closed. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a []. - - - A [] or null if the next JSON token is null. - - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . This method will return null at the end of an array. - - - - Reads the next JSON token from the underlying as a of . - - A of . - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Asynchronously closes this writer. - If is set to true, the destination is also closed. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the specified end token. - - The end token to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes indent characters. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the JSON value delimiter. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes an indent space. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes raw JSON without changing the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of the current JSON object or array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of an array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of a constructor. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the end of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a null value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the beginning of a JSON array. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the start of a constructor with the given name. - - The name of the constructor. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the beginning of a JSON object. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the current token. - - The to read the token from. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the token and its value. - - The to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a [] value. - - The [] value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a value. - - The value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes a of value. - - The of value to write. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes an undefined value. - - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously writes the given white space. - - The string of white space characters. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Asynchronously ets the state of the . - - The being written. - The value being written. - The token to monitor for cancellation requests. The default value is . - A that represents the asynchronous operation. - The default behaviour is to execute synchronously, returning an already-completed task. Derived - classes can override this behaviour for true asynchronicity. - - - - Gets or sets a value indicating whether the destination should be closed when this writer is closed. - - - true to close the destination when this writer is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. - - - true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Gets or sets a value indicating how JSON text output should be formatted. - - - - - Gets or sets how dates are written to JSON text. - - - - - Gets or sets how time zones are handled when writing JSON text. - - - - - Gets or sets how strings are escaped when writing JSON text. - - - - - Gets or sets how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Gets or sets how and values are formatted when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the destination and also flushes the destination. - - - - - Closes this writer. - If is set to true, the destination is also closed. - If is set to true, the JSON is auto-completed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair of a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - null can be passed to the method for tokens that don't have a value, e.g. . - - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a of value. - - The of value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the . - - The being written. - The value being written. - - - - The exception thrown when an error occurs while writing JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Initializes a new instance of the class - with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The path to the JSON where the error occurred. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token. - - - - Gets the of with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous load. The property contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - - - - - Returns an enumerator that iterates through the collection. - - - A of that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - - - - Removes all items from the . - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an array, starting at a particular array index. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - - - Represents a JSON constructor. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An of containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An of containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates a that can be used to add tokens to the . - - A that is ready to have content written to it. - - - - Replaces the child nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens. - - - - Represents a collection of objects. - - The type of token. - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Gets the of with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous load. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of of this object's properties. - - An of of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets a of of this object's property values. - - A of of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - is not valid JSON. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - is not valid JSON. - - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object. - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Determines whether the JSON object has the specified property name. - - Name of the property. - true if the JSON object has the specified property name; otherwise, false. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries to get the with the specified property name. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that can be used to iterate through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON property. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Asynchronously loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns a that contains the JSON that was read from the specified . - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads a from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads a from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a raw JSON string. - - - - - Asynchronously creates an instance of with the content of the reader's current token. - - The reader. - The token to monitor for cancellation requests. The default value is . - A representing the asynchronous creation. The - property returns an instance of with the content of the reader's current token. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Initializes a new instance of the class. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Writes this token to a asynchronously. - - A into which this method will write. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains - the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Asynchronously creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - The token to monitor for cancellation requests. The default value is . - - A that represents the asynchronous creation. The - property returns a that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output should be formatted. - A collection of s which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to of . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from of to . - - The value to create a from. - The initialized with the specified value. - - - - Creates a for this token. - - A that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object. - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates an instance of the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - A positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - A positioned at the token to read into this . - - A that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An of that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An of that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the underlying . - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being written. - - The token being written. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying . - - - - - Closes this writer. - If is set to true, the JSON is auto-completed. - - - Setting to true has no additional effect, since the underlying is a type that cannot be closed. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will be raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Writes this token to a asynchronously. - - A into which this method will write. - The token to monitor for cancellation requests. - A collection of which will be used when writing the token. - A that represents the asynchronous write operation. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of s which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not of the same type as this instance. - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read-only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisible by. - - A number that the value should be divisible by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). - - A flag indicating whether the value can not equal the number defined by the minimum attribute (). - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). - - A flag indicating whether the value can not equal the number defined by the maximum attribute (). - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallowed types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains JSON Schema. - - A that contains JSON Schema. - A populated from the string that contains JSON Schema. - - - - Load a from a string that contains JSON Schema using the specified . - - A that contains JSON Schema. - The resolver. - A populated from the string that contains JSON Schema. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or null if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - A camel case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used by to resolve a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types. - - - true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. - - - true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. - - The naming strategy used to resolve how property names and dictionary keys are serialized. - - - - Initializes a new instance of the class. - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the name of the extension data. By default no changes are made to extension data names. - - Name of the extension data. - Resolved name of the extension data. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default naming strategy. Property names and dictionary keys are unchanged. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - Initializes a new instance of the class. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolve a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that was resolved from the reference. - - - - Gets the reference for the specified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Allows users to control class loading and mandate what class to load. - - - - - When implemented, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When implemented, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non-public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets or sets how the object's properties with null values are handled during serialization and deserialization. - - How the object's properties with null values are handled during serialization and deserialization. - - - - Gets the object's properties. - - The object's properties. - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Gets or sets the extension data name resolver. - - The extension data name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes precedence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the type described by the argument. - - The type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of will exclude messages and include , - and messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - A base class for resolving how property names and dictionary keys are serialized. - - - - - A flag indicating whether dictionary keys should be processed. - Defaults to false. - - - - - A flag indicating whether extension data names should be processed. - Defaults to false. - - - - - A flag indicating whether explicitly specified property names, - e.g. a property name customized with a , should be processed. - Defaults to false. - - - - - Gets the serialized name for a given property name. - - The initial property name. - A flag indicating whether the property has had a name explicitly specified. - The serialized property name. - - - - Gets the serialized name for a given extension data name. - - The initial extension data name. - The serialized extension data name. - - - - Gets the serialized key for a given dictionary key. - - The initial dictionary key. - The serialized dictionary key. - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - A snake case naming strategy. - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - - - Initializes a new instance of the class. - - - A flag indicating whether dictionary keys should be processed. - - - A flag indicating whether explicitly specified property names should be processed, - e.g. a property name customized with a . - - - A flag indicating whether extension data names should be processed. - - - - - Initializes a new instance of the class. - - - - - Resolves the specified property name. - - The property name to resolve. - The resolved property name. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than . - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON - you must specify a root type object with - or . - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic . - - The list to add to. - The collection of elements to add. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Helper class for serializing immutable collections. - Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed - https://github.com/JamesNK/Newtonsoft.Json/issues/652 - - - - - List of primitive types which can be widened. - - - - - Widening masks for primitive types above. - Index of the value in this array defines a type we're widening, - while the bits in mask define types it can be widened to (including itself). - - For example, value at index 0 defines a bool type, and it only has bit 0 set, - i.e. bool values can be assigned only to bool. - - - - - Checks if value of primitive type can be - assigned to parameter of primitive type . - - Source primitive type. - Target primitive type. - true if source type can be widened to target type, false otherwise. - - - - Checks if a set of values with given can be used - to invoke a method with specified . - - Method parameters. - Argument types. - Try to pack extra arguments into the last parameter when it is marked up with . - true if method can be called with given arguments, false otherwise. - - - - Compares two sets of parameters to determine - which one suits better for given argument types. - - - - - Returns a best method overload for given argument . - - List of method candidates. - Argument types. - Best method overload, or null if none matched. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike this class lets you reuse its internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls result in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - An array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. - - - - diff --git a/app/packages/System.Data.SQLite.1.0.94.1/System.Data.SQLite.1.0.94.1.nupkg b/app/packages/System.Data.SQLite.1.0.94.1/System.Data.SQLite.1.0.94.1.nupkg deleted file mode 100644 index 0429895..0000000 Binary files a/app/packages/System.Data.SQLite.1.0.94.1/System.Data.SQLite.1.0.94.1.nupkg and /dev/null differ diff --git a/app/packages/System.Data.SQLite.1.0.94.1/System.Data.SQLite.1.0.94.1.nuspec b/app/packages/System.Data.SQLite.1.0.94.1/System.Data.SQLite.1.0.94.1.nuspec deleted file mode 100644 index af88374..0000000 --- a/app/packages/System.Data.SQLite.1.0.94.1/System.Data.SQLite.1.0.94.1.nuspec +++ /dev/null @@ -1,39 +0,0 @@ - - - - System.Data.SQLite - 1.0.94.1 - System.Data.SQLite (x86/x64) - SQLite Development Team - SQLite Development Team - http://www.sqlite.org/copyright.html - http://system.data.sqlite.org/ - http://system.data.sqlite.org/images/sqlite128.png - false - The official SQLite database engine for both x86 and x64 along with the ADO.NET provider. This package includes support for LINQ and Entity Framework 6. - Public Domain - en-US - sqlite database ado.net provider interop - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/packages/repositories.config b/app/packages/repositories.config deleted file mode 100644 index d1f90c1..0000000 --- a/app/packages/repositories.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file